Commit | Line | Data |
---|---|---|
dadba0f2 RK |
1 | /* vim:set ts=2 sw=2 sts=2 et: */ |
2 | /* This Source Code Form is subject to the terms of the Mozilla Public | |
3 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
5 | ||
6 | /* CSS Variables specific to the devtools toolbar that aren't defined by the themes */ | |
7 | .theme-light, | |
7d6161c5 RK |
8 | .theme-dark, |
9 | .theme-firebug { | |
10 | --toolbar-tab-hover: #FFCF00; | |
11 | --toolbar-tab-hover-active: #FF9F00; | |
dadba0f2 RK |
12 | --searchbox-background-color: #000000; |
13 | --searchbox-border-color: #9C9CFF; | |
14 | --searcbox-no-match-background-color: #400000; | |
15 | --searcbox-no-match-border-color: #FF0000; | |
1e9e1791 RK |
16 | --magnifying-glass-image: url(images/search.svg); |
17 | --filter-image: url(images/filter.svg); | |
18 | --tool-options-image: url(images/tool-options-tbutton.svg); | |
7d6161c5 | 19 | --icon-filter: invert(1); |
6f751fd1 | 20 | --checked-icon-filter: url(images/filters.svg#checked-icon-state); |
7d6161c5 | 21 | --toolbar-button-border-color: #A09090; |
1e9e1791 RK |
22 | } |
23 | ||
dadba0f2 RK |
24 | /* Toolbars */ |
25 | .devtools-toolbar, | |
26 | .devtools-sidebar-tabs tabs { | |
27 | } | |
28 | ||
29 | .devtools-toolbar { | |
1e9e1791 | 30 | border-bottom: 3px solid var(--theme-body-background); |
dadba0f2 RK |
31 | } |
32 | ||
33 | .devtools-toolbar checkbox { | |
34 | /* LCARStrek checkbox colors don't work well against toolbar background */ | |
35 | background-color: var(--theme-toolbar-background); | |
36 | padding: 2px; | |
37 | line-height: -moz-block-height; | |
38 | } | |
39 | .devtools-toolbar checkbox .checkbox-check { | |
40 | } | |
41 | .devtools-toolbar checkbox .checkbox-label-box { | |
42 | } | |
43 | .devtools-toolbar checkbox .checkbox-label-box .checkbox-label { | |
44 | } | |
45 | ||
6f751fd1 RK |
46 | .devtools-separator { |
47 | margin: 0 2px; | |
48 | width: 2px; | |
49 | background-image: linear-gradient(transparent 15%, var(--theme-splitter-color) 15%, var(--theme-splitter-color) 85%, transparent 85%); | |
50 | background-size: 1px 100%; | |
51 | background-repeat: no-repeat; | |
52 | background-position: 0, 1px, 2px; | |
53 | } | |
54 | ||
dadba0f2 RK |
55 | /* Toolbar buttons */ |
56 | ||
57 | .devtools-menulist, | |
58 | .devtools-toolbarbutton, | |
59 | .devtools-button { | |
dadba0f2 RK |
60 | } |
61 | ||
62 | .devtools-menulist, | |
63 | .devtools-toolbarbutton { | |
64 | } | |
65 | ||
dadba0f2 RK |
66 | .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon, |
67 | .devtools-button::before { | |
68 | width: 16px; | |
69 | height: 16px; | |
70 | /* transition: opacity 0.05s ease-in-out;*/ | |
71 | } | |
72 | ||
73 | /* HTML buttons */ | |
74 | .devtools-button { | |
75 | margin: 0; | |
76 | padding: 0; | |
1e9e1791 RK |
77 | border: none; |
78 | border-radius: 3px; | |
6f751fd1 | 79 | min-width: 18px; |
1e9e1791 RK |
80 | height: 100%; |
81 | margin-inline-start: 2px; | |
dadba0f2 RK |
82 | background: var(--theme-toolbar-background); |
83 | color: var(--theme-body-color); | |
84 | /* The icon is absolutely positioned in the button using ::before */ | |
85 | position: relative; | |
86 | } | |
87 | ||
88 | .devtools-button:not([disabled]):hover { | |
89 | background: var(--theme-hover-background); | |
90 | color: var(--theme-hover-color); | |
91 | } | |
92 | ||
93 | .devtools-button:not([disabled]):hover:active { | |
94 | background: var(--theme-active-background); | |
95 | color: var(--theme-active-color); | |
96 | } | |
97 | ||
98 | /* Menu type buttons and checked states */ | |
99 | .devtools-button[checked] { | |
100 | background: var(--theme-selection-background); | |
101 | color: var(--theme-selection-color); | |
102 | } | |
103 | ||
104 | .devtools-button::before { | |
105 | content: ""; | |
106 | display: block; | |
107 | position: absolute; | |
108 | left: 50%; | |
109 | top: 50%; | |
110 | margin: -8px 0 0 -8px; | |
6f751fd1 RK |
111 | /* background-size: cover; |
112 | background-repeat: no-repeat;*/ | |
dadba0f2 RK |
113 | /* transition: opacity 0.05s ease-in-out;*/ |
114 | } | |
115 | ||
6f751fd1 RK |
116 | .devtools-button:-moz-focusring { |
117 | outline: none; | |
118 | } | |
119 | ||
dadba0f2 RK |
120 | /* Standalone buttons */ |
121 | .devtools-button[standalone], | |
122 | .devtools-button[data-standalone], | |
123 | .devtools-toolbarbutton[standalone], | |
124 | .devtools-toolbarbutton[data-standalone] { | |
125 | border: none; | |
126 | /* min-height: 32px; */ | |
127 | background-color: var(--theme-button-background); | |
1e9e1791 RK |
128 | color: var(--theme-button-color); |
129 | border-radius: 300px; | |
130 | } | |
131 | ||
132 | .devtools-button[standalone]:hover, | |
133 | .devtools-button[data-standalone]:hover, | |
134 | .devtools-toolbarbutton[standalone]:hover, | |
135 | .devtools-toolbarbutton[data-standalone]:hover { | |
136 | background-color: var(--theme-hover-background); | |
137 | color: var(--theme-hover-color); | |
138 | } | |
139 | ||
140 | .devtools-button[standalone]:hover:active, | |
141 | .devtools-button[data-standalone]:hover:active, | |
142 | .devtools-toolbarbutton[standalone]:hover:active, | |
143 | .devtools-toolbarbutton[data-standalone]:hover:active { | |
144 | background-color: var(--theme-active-background); | |
145 | color: var(--theme-active-color); | |
dadba0f2 RK |
146 | } |
147 | ||
7d6161c5 | 148 | .devtools-toolbarbutton[standalone], .devtools-toolbarbutton[data-standalone] { |
dadba0f2 | 149 | } |
7d6161c5 | 150 | |
dadba0f2 RK |
151 | .devtools-toolbarbutton[label][standalone] { |
152 | } | |
153 | ||
7d6161c5 RK |
154 | .devtools-menulist, |
155 | .devtools-toolbarbutton, | |
156 | .devtools-button { | |
6f751fd1 | 157 | min-height: 18px; |
7d6161c5 RK |
158 | } |
159 | ||
dadba0f2 RK |
160 | /* Icon button styles */ |
161 | .devtools-toolbarbutton:not([label]), | |
162 | .devtools-toolbarbutton[text-as-image] { | |
7d6161c5 | 163 | min-width: 16px; |
dadba0f2 RK |
164 | } |
165 | ||
6f751fd1 RK |
166 | /* Set flex attribute to Toolbox buttons and Picker container so, |
167 | they don't overlapp with the tab bar */ | |
168 | #toolbox-buttons { | |
169 | display: flex; | |
dadba0f2 RK |
170 | } |
171 | ||
6f751fd1 RK |
172 | #toolbox-picker-container { |
173 | display: flex; | |
174 | margin-inline-start: 1px; | |
dadba0f2 RK |
175 | } |
176 | ||
177 | .devtools-toolbarbutton:not([label]) > .toolbarbutton-text { | |
178 | display: none; | |
179 | } | |
180 | ||
181 | .devtools-toolbar .devtools-toolbarbutton { | |
dae45075 | 182 | margin-inline-start: 2px; |
dadba0f2 RK |
183 | } |
184 | ||
185 | .devtools-toolbarbutton > .toolbarbutton-icon { | |
186 | } | |
187 | ||
188 | /* Menu button styles (eg. web console filters) */ | |
189 | .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { | |
190 | /* -moz-box-orient: horizontal; */ | |
191 | } | |
192 | ||
193 | .devtools-toolbarbutton[type=menu-button] { | |
194 | } | |
195 | ||
196 | .devtools-toolbarbutton > .toolbarbutton-menubutton-button > .toolbarbutton-icon { | |
197 | } | |
198 | ||
199 | .devtools-menulist > .menulist-dropmarker { | |
200 | } | |
201 | ||
202 | .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, | |
203 | .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { | |
204 | } | |
205 | ||
206 | /* Icon-only buttons */ | |
207 | .devtools-button:empty::before, | |
208 | .devtools-toolbarbutton:not([label]):not([disabled]) > image { | |
209 | /* opacity: 0.8;*/ | |
210 | } | |
211 | ||
212 | .devtools-button:hover:empty::before, | |
213 | .devtools-button[checked]:empty::before, | |
214 | .devtools-button[open]:empty::before, | |
215 | .devtools-toolbarbutton:not([label]):hover > image, | |
216 | .devtools-toolbarbutton:not([label])[checked=true] > image, | |
217 | .devtools-toolbarbutton:not([label])[open=true] > image { | |
218 | /* opacity: 1;*/ | |
219 | } | |
220 | ||
221 | .devtools-button:disabled, | |
222 | .devtools-button[disabled], | |
223 | .devtools-toolbarbutton[disabled] { | |
224 | /* opacity: 0.5 !important;*/ | |
225 | } | |
226 | ||
1e9e1791 RK |
227 | .devtools-button[standalone]::before, |
228 | .devtools-button[data-standalone]::before, | |
1e9e1791 RK |
229 | .devtools-button:not([disabled]):hover::before, |
230 | .devtools-button:not([disabled]):hover:active::before, | |
dadba0f2 RK |
231 | .devtools-button[checked]:empty::before, |
232 | .devtools-button[open]:empty::before, | |
1e9e1791 RK |
233 | .devtools-toolbarbutton[standalone] > image, |
234 | .devtools-toolbarbutton[data-standalone] > image, | |
235 | .devtools-toolbarbutton:not([disabled]):hover > image, | |
236 | .devtools-toolbarbutton:not([disabled]):hover:active > image, | |
237 | .devtools-toolbarbutton[checked=true] > image, | |
238 | .devtools-toolbarbutton[open=true] > image { | |
6f751fd1 | 239 | filter: var(--checked-icon-filter); |
dadba0f2 RK |
240 | } |
241 | ||
1e9e1791 RK |
242 | .devtools-button[disabled]::before, |
243 | .devtools-toolbarbutton[disabled] > image { | |
244 | filter: url(images/filters.svg#disabled-icon-state); | |
245 | } | |
246 | ||
7d6161c5 RK |
247 | /* Icon-and-text buttons */ |
248 | .devtools-toolbarbutton.icon-and-text .toolbarbutton-text { | |
249 | margin-inline-start: .5em !important; | |
250 | font-weight: 600; | |
251 | } | |
252 | ||
dadba0f2 RK |
253 | /* Text-only buttons */ |
254 | .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]), | |
7d6161c5 | 255 | .devtools-toolbarbutton[data-text-only], |
dadba0f2 RK |
256 | #toolbox-buttons .devtools-toolbarbutton[text-as-image] { |
257 | /* background-color: rgba(0, 0, 0, .2); / Splitter */ | |
258 | } | |
259 | ||
260 | /* Text-only button states */ | |
261 | .devtools-button:not(:empty):not([disabled]):hover, | |
262 | #toolbox-buttons .devtools-toolbarbutton:not([disabled])[text-as-image]:hover, | |
263 | .devtools-toolbarbutton:not(:-moz-any([checked=true],[disabled],[text-as-image]))[label]:hover { | |
264 | /* background: rgba(0, 0, 0, .3); / Splitters */ | |
265 | } | |
266 | ||
267 | .devtools-button:not(:empty):not([disabled]):hover:active, | |
268 | #toolbox-buttons .devtools-toolbarbutton:not([disabled])[text-as-image]:hover:active, | |
269 | .devtools-toolbarbutton:not(:-moz-any([checked=true],[disabled],[text-as-image]))[label]:hover:active { | |
270 | /* background: rgba(0, 0, 0, .4); / Splitters */ | |
271 | } | |
272 | ||
273 | .devtools-toolbarbutton:not([disabled])[label][checked=true], | |
274 | .devtools-toolbarbutton:not([disabled])[label][open], | |
275 | .devtools-button:not(:empty)[checked=true], | |
276 | #toolbox-buttons .devtools-toolbarbutton[text-as-image][checked=true] { | |
277 | /* background: rgba(29, 79, 115, .7); / Select highlight blue / | |
278 | color: var(--theme-selection-color); */ | |
279 | } | |
280 | ||
281 | .devtools-menulist[open=true], | |
282 | .devtools-toolbarbutton[open=true], | |
283 | .devtools-toolbarbutton[open=true]:hover, | |
284 | .devtools-toolbarbutton[open=true]:hover:active, | |
285 | .devtools-toolbarbutton[checked=true], | |
286 | .devtools-toolbarbutton[checked=true]:hover, | |
287 | #toolbox-buttons .devtools-toolbarbutton[text-as-image][checked] { | |
288 | /* background: rgba(29, 79, 115, .8); / Select highlight blue / | |
289 | color: var(--theme-selection-color); */ | |
290 | } | |
291 | ||
7d6161c5 RK |
292 | :root { |
293 | --clear-icon-url: url("chrome://devtools/skin/images/clear.svg"); | |
dadba0f2 RK |
294 | } |
295 | ||
7d6161c5 RK |
296 | .devtools-button.devtools-clear-icon::before { |
297 | background-image: var(--clear-icon-url); | |
dadba0f2 RK |
298 | } |
299 | ||
7d6161c5 RK |
300 | .devtools-toolbarbutton.devtools-clear-icon { |
301 | list-style-image: var(--clear-icon-url); | |
302 | } | |
303 | ||
304 | .devtools-option-toolbarbutton { | |
305 | list-style-image: var(--tool-options-image); | |
dadba0f2 RK |
306 | } |
307 | ||
308 | .devtools-toolbarbutton-group > .devtools-toolbarbutton:last-child { | |
309 | } | |
310 | ||
311 | .devtools-toolbarbutton-group + .devtools-toolbarbutton { | |
312 | } | |
313 | ||
314 | .devtools-separator + .devtools-toolbarbutton { | |
315 | } | |
316 | ||
dadba0f2 RK |
317 | /* Text input */ |
318 | ||
319 | .devtools-textinput, | |
6f751fd1 RK |
320 | .devtools-searchinput, |
321 | .devtools-filterinput { | |
dadba0f2 | 322 | /* -moz-appearance: none; |
7d6161c5 RK |
323 | margin: 1 3px; |
324 | border: 1px solid; | |
dadba0f2 | 325 | border-radius: 2px; |
dadba0f2 | 326 | padding: 4px 6px; |
6f751fd1 RK |
327 | border-color: var(--theme-splitter-color); |
328 | font: message-box;*/ | |
1e9e1791 RK |
329 | margin-top: 0; |
330 | margin-bottom: 0; | |
dadba0f2 RK |
331 | } |
332 | ||
6f751fd1 RK |
333 | :root[platform="mac"] .devtools-searchinput, |
334 | :root[platform="mac"] .devtools-textinput { | |
dadba0f2 RK |
335 | /* border-radius: 20px;*/ |
336 | } | |
337 | ||
6f751fd1 RK |
338 | .devtools-searchinput, |
339 | .devtools-filterinput { | |
dadba0f2 RK |
340 | /* margin-top: 1px; |
341 | margin-bottom: 1px; | |
342 | padding: 0;*/ | |
dae45075 RK |
343 | padding-inline-start: 22px; |
344 | padding-inline-end: 4px; | |
dadba0f2 RK |
345 | background-position: 8px center; |
346 | background-size: 11px 11px; | |
347 | background-repeat: no-repeat; | |
348 | font-size: inherit; | |
dadba0f2 RK |
349 | } |
350 | ||
6f751fd1 RK |
351 | .devtools-searchinput { |
352 | background-image: var(--magnifying-glass-image); | |
353 | } | |
354 | ||
355 | .devtools-filterinput { | |
356 | background-image: url(--filter-image); | |
357 | } | |
358 | ||
dadba0f2 | 359 | .devtools-searchinput:-moz-locale-dir(rtl), |
6f751fd1 RK |
360 | .devtools-searchinput:dir(rtl), |
361 | .devtools-filterinput:-moz-locale-dir(rtl), | |
362 | .devtools-filterinput:dir(rtl) { | |
dadba0f2 RK |
363 | background-position: calc(100% - 8px) center; |
364 | } | |
365 | ||
6f751fd1 RK |
366 | .devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-icon, |
367 | .devtools-filterinput > .textbox-input-box > .textbox-search-icons > .textbox-search-icon { | |
dadba0f2 RK |
368 | visibility: hidden; |
369 | } | |
370 | ||
6f751fd1 RK |
371 | .devtools-searchinput .textbox-input::-moz-placeholder, |
372 | .devtools-filterinput .textbox-input::-moz-placeholder { | |
373 | font-style: normal; | |
374 | } | |
375 | ||
dadba0f2 RK |
376 | /* Searchbox is a div container element for a search input element */ |
377 | .devtools-searchbox { | |
378 | display: flex; | |
379 | flex: 1; | |
380 | position: relative; | |
381 | } | |
382 | ||
7d6161c5 RK |
383 | /* The spacing is accomplished with a padding on the searchbox */ |
384 | .devtools-searchbox > .devtools-textinput, | |
385 | .devtools-searchbox > .devtools-searchinput { | |
386 | } | |
387 | ||
6f751fd1 RK |
388 | .devtools-textinput:focus, |
389 | .devtools-searchinput:focus, | |
390 | .devtools-filterinput:focus { | |
391 | border-color: var(--theme-focus-border-color-textbox); | |
392 | /* box-shadow: var(--theme-focus-box-shadow-textbox);*/ | |
393 | transition: all 0.2s ease-in-out; | |
394 | outline: none; | |
395 | } | |
396 | ||
7d6161c5 RK |
397 | /* Don't add 'double spacing' for inputs that are at beginning / end |
398 | of a toolbar (since the toolbar has it's own spacing). */ | |
399 | .devtools-toolbar > .devtools-textinput:first-child, | |
6f751fd1 RK |
400 | .devtools-toolbar > .devtools-searchinput:first-child, |
401 | .devtools-toolbar > .devtools-filterinput:first-child { | |
7d6161c5 RK |
402 | } |
403 | .devtools-toolbar > .devtools-textinput:last-child, | |
6f751fd1 RK |
404 | .devtools-toolbar > .devtools-searchinput:last-child, |
405 | .devtools-toolbar > .devtools-filterinput:last-child { | |
7d6161c5 RK |
406 | } |
407 | .devtools-toolbar > .devtools-searchbox:first-child { | |
408 | } | |
409 | .devtools-toolbar > .devtools-searchbox:last-child { | |
410 | } | |
411 | ||
dadba0f2 RK |
412 | .devtools-rule-searchbox { |
413 | -moz-box-flex: 1; | |
414 | width: 100%; | |
415 | font: inherit; | |
416 | } | |
417 | ||
418 | .devtools-rule-searchbox[filled] { | |
419 | background-color: var(--searchbox-background-color); | |
420 | border-color: var(--searchbox-border-color); | |
dae45075 | 421 | padding-inline-end: 23px; |
dadba0f2 RK |
422 | } |
423 | ||
424 | .devtools-style-searchbox-no-match { | |
425 | background-color: var(--searcbox-no-match-background-color) !important; | |
426 | border-color: var(--searcbox-no-match-border-color) !important; | |
427 | } | |
428 | ||
dadba0f2 RK |
429 | .devtools-searchinput-clear { |
430 | position: absolute; | |
431 | top: 3.5px; | |
432 | right: 7px; | |
433 | padding: 0; | |
434 | border: 0; | |
435 | width: 16px; | |
436 | height: 16px; | |
437 | background-position: 0 0; | |
438 | background-repeat: no-repeat; | |
439 | background-color: transparent; | |
440 | } | |
441 | ||
dae45075 | 442 | .devtools-searchinput-clear:dir(rtl) { |
dadba0f2 RK |
443 | right: unset; |
444 | left: 7px; | |
445 | } | |
446 | ||
447 | .devtools-searchinput-clear { | |
7d6161c5 | 448 | background-image: url("chrome://devtools/skin/images/search-clear.svg"); |
dadba0f2 RK |
449 | } |
450 | ||
451 | .devtools-style-searchbox-no-match + .devtools-searchinput-clear { | |
7d6161c5 | 452 | background-image: url("chrome://devtools/skin/images/search-clear-failed.svg") !important; |
dadba0f2 RK |
453 | } |
454 | ||
455 | .devtools-searchinput-clear:hover { | |
456 | background-position: -16px 0; | |
457 | } | |
458 | ||
6f751fd1 RK |
459 | .devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear, |
460 | .devtools-filterinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear { | |
7d6161c5 | 461 | list-style-image: url("chrome://devtools/skin/images/search-clear.svg"); |
dadba0f2 RK |
462 | -moz-image-region: rect(0, 16px, 16px, 0); |
463 | } | |
464 | ||
6f751fd1 RK |
465 | .devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear:hover, |
466 | .devtools-filterinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear:hover { | |
dadba0f2 RK |
467 | -moz-image-region: rect(0, 32px, 16px, 16px); |
468 | } | |
469 | ||
dadba0f2 RK |
470 | /* In-tools sidebar */ |
471 | ||
6f751fd1 | 472 | .devtools-sidebar-tabs { |
1e9e1791 | 473 | height: 100%; |
dadba0f2 RK |
474 | } |
475 | ||
476 | .devtools-sidebar-tabs > tabpanels { | |
477 | padding: 0; | |
478 | border: 0; | |
479 | } | |
480 | ||
481 | .devtools-sidebar-tabs tabs { | |
482 | position: static; | |
483 | overflow: hidden; | |
484 | } | |
485 | ||
486 | .devtools-sidebar-alltabs { | |
7d6161c5 RK |
487 | /* -moz-appearance: none; |
488 | height: 24px; | |
dadba0f2 RK |
489 | line-height: 24px; |
490 | padding: 0 4px; | |
491 | margin: 0; | |
492 | border-width: 0 0 1px 0; | |
dae45075 | 493 | border-inline-start-width: 1px; |
dadba0f2 RK |
494 | border-style: solid;*/ |
495 | } | |
496 | ||
497 | .devtools-sidebar-alltabs .toolbarbutton-icon { | |
498 | display: none; | |
499 | } | |
500 | ||
501 | .devtools-sidebar-tabs tabs > .tabs-right, | |
502 | .devtools-sidebar-tabs tabs > .tabs-left { | |
503 | display: none; | |
504 | } | |
505 | ||
506 | .devtools-sidebar-tabs tabs > tab { | |
507 | min-width: 78px; | |
508 | text-align: center; | |
509 | -moz-box-flex: 1; | |
510 | position: static; | |
511 | margin-top: 0; | |
512 | } | |
513 | ||
514 | .devtools-sidebar-tabs tabs > tab:-moz-focusring { | |
515 | position: static; | |
516 | } | |
517 | ||
518 | .devtools-sidebar-tabs tabs > tab:first-of-type { | |
dae45075 | 519 | margin-inline-start: 0; |
dadba0f2 RK |
520 | } |
521 | ||
522 | .devtools-sidebar-tabs tabs > tab:last-of-type { | |
dae45075 | 523 | border-inline-end-width: 0; |
dadba0f2 RK |
524 | } |
525 | ||
526 | .devtools-sidebar-tabs tabs > tab { | |
527 | } | |
528 | ||
529 | .devtools-sidebar-tabs tabs > tab[selected], | |
530 | .devtools-sidebar-tabs tabs > tab[selected] + tab { | |
531 | } | |
532 | ||
533 | .devtools-sidebar-tabs tabs > tab:first-child { | |
534 | } | |
535 | ||
536 | .devtools-sidebar-tabs tabs > tab:hover { | |
537 | } | |
538 | ||
539 | .devtools-sidebar-tabs tabs > tab:hover:active { | |
540 | } | |
541 | ||
dadba0f2 RK |
542 | .devtools-sidebar-tabs tabs > tab[selected], |
543 | .devtools-sidebar-tabs tabs > tab[selected]:hover:active { | |
544 | } | |
545 | ||
dadba0f2 RK |
546 | .hidden-labels-box:not(.visible) > label, |
547 | .hidden-labels-box.visible ~ .hidden-labels-box > label:last-child { | |
548 | display: none; | |
549 | } | |
550 | ||
7d6161c5 RK |
551 | .devtools-invisible-splitter { |
552 | border-color: transparent; | |
553 | background-color: transparent; | |
554 | } | |
555 | ||
6f751fd1 RK |
556 | .devtools-horizontal-splitter, |
557 | .devtools-side-splitter { | |
558 | /* background-color: var(--theme-splitter-color);*/ | |
559 | } | |
560 | ||
dadba0f2 RK |
561 | /* Throbbers */ |
562 | ||
563 | .devtools-throbber::before { | |
564 | content: ""; | |
565 | display: inline-block; | |
566 | vertical-align: bottom; | |
dae45075 | 567 | margin-inline-end: 0.5em; |
dadba0f2 RK |
568 | width: 1em; |
569 | height: 1em; | |
570 | border: 2px solid currentColor; | |
571 | border-right-color: transparent; | |
572 | border-radius: 50%; | |
573 | animation: 1.1s linear throbber-spin infinite; | |
574 | } | |
575 | ||
576 | @keyframes throbber-spin { | |
577 | from { | |
578 | transform: none; | |
579 | } | |
580 | to { | |
581 | transform: rotate(360deg); | |
582 | } | |
583 | } |