Skip to content

Commit 2179c95

Browse files
authored
Merge pull request #5715 from Nudasoft/ci4-debug-toolbar-fix-few-btn-alignments-plug-style-tweaks
Fix alignment on few buttons in debug toobar and change color
2 parents 8ae26ec + dc43271 commit 2179c95

File tree

4 files changed

+15
-43
lines changed

4 files changed

+15
-43
lines changed

admin/css/debug-toolbar/_theme-dark.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@
129129
}
130130

131131
.badge {
132-
background-color: $g-blue;
133-
color: $m-gray;
132+
background-color: $g-red;
133+
color: $t-light;
134134
}
135135
}
136136

admin/css/debug-toolbar/_theme-light.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
}
126126

127127
.badge {
128-
background-color: $g-blue;
128+
background-color: $g-red;
129129
color: $t-light;
130130
}
131131
}

admin/css/debug-toolbar/toolbar.scss

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,9 @@
7777

7878
// General elements
7979
h1 {
80-
bottom: 0;
81-
display: inline-block;
82-
font-size: $base-size - 2;
80+
display: flex;
8381
font-weight: normal;
84-
margin: 0 16px 0 0;
85-
padding: 0;
86-
position: absolute;
87-
right: 30px;
88-
text-align: left;
89-
top: 0;
82+
margin: 0 0 0 auto;
9083

9184
svg {
9285
width: 16px;
@@ -238,15 +231,8 @@
238231

239232
// The "Open/Close" toggle
240233
#debug-bar-link {
241-
bottom: 0;
242-
display: inline-block;
243-
font-size: $base-size;
244-
line-height: 36px;
234+
display: flex;
245235
padding: 6px;
246-
position: absolute;
247-
right: 10px;
248-
top: 0;
249-
width: 24px;
250236
}
251237

252238
// The toolbar menus

system/Debug/Toolbar/Views/toolbar.css

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,9 @@
3939
font-size: 16px;
4040
font-weight: 400; }
4141
#debug-bar h1 {
42-
bottom: 0;
43-
display: inline-block;
44-
font-size: 14px;
42+
display: flex;
4543
font-weight: normal;
46-
margin: 0 16px 0 0;
47-
padding: 0;
48-
position: absolute;
49-
right: 30px;
50-
text-align: left;
51-
top: 0; }
44+
margin: 0 0 0 auto; }
5245
#debug-bar h1 svg {
5346
width: 16px;
5447
margin-right: 5px; }
@@ -135,15 +128,8 @@
135128
#debug-bar #toolbar-theme a:hover {
136129
text-decoration: none; }
137130
#debug-bar #debug-bar-link {
138-
bottom: 0;
139-
display: inline-block;
140-
font-size: 16px;
141-
line-height: 36px;
142131
padding: 6px;
143-
position: absolute;
144-
right: 10px;
145-
top: 0;
146-
width: 24px; }
132+
display: flex; }
147133
#debug-bar .ci-label {
148134
display: inline-flex;
149135
font-size: 14px; }
@@ -329,7 +315,7 @@
329315
#debug-bar .ci-label:hover {
330316
background-color: #DFDFDF; }
331317
#debug-bar .ci-label .badge {
332-
background-color: #5BC0DE;
318+
background-color: #DD4814;
333319
color: #FFFFFF; }
334320
#debug-bar .tab {
335321
background-color: #FFFFFF;
@@ -420,8 +406,8 @@
420406
#debug-bar .ci-label:hover {
421407
background-color: #252525; }
422408
#debug-bar .ci-label .badge {
423-
background-color: #5BC0DE;
424-
color: #DFDFDF; }
409+
background-color: #DD4814;
410+
color: #FFFFFF; }
425411
#debug-bar .tab {
426412
background-color: #252525;
427413
box-shadow: 0 -1px 4px #434343;
@@ -509,8 +495,8 @@
509495
#toolbarContainer.dark #debug-bar .ci-label:hover {
510496
background-color: #252525; }
511497
#toolbarContainer.dark #debug-bar .ci-label .badge {
512-
background-color: #5BC0DE;
513-
color: #DFDFDF; }
498+
background-color: #DD4814;
499+
color: #FFFFFF; }
514500
#toolbarContainer.dark #debug-bar .tab {
515501
background-color: #252525;
516502
box-shadow: 0 -1px 4px #434343;
@@ -602,7 +588,7 @@
602588
#toolbarContainer.light #debug-bar .ci-label:hover {
603589
background-color: #DFDFDF; }
604590
#toolbarContainer.light #debug-bar .ci-label .badge {
605-
background-color: #5BC0DE;
591+
background-color: #DD4814;
606592
color: #FFFFFF; }
607593
#toolbarContainer.light #debug-bar .tab {
608594
background-color: #FFFFFF;

0 commit comments

Comments
 (0)