first part of syncing LCARStrek with Firefox 37 windows theme changes
[themes.git] / LCARStrek / browser / devtools / dark-theme.css
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 /* According to:
7  * https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17
8  */
9 :root {
10   --theme-body-background: #000000;
11   --theme-sidebar-background: #000000;
12   --theme-contrast-background: #402800;
13   --theme-contrast-border: #A09090;
14   --theme-contrast-background2: #795900;
15
16 /*  --theme-tab-toolbar-background: #.252c33; */
17   --theme-toolbar-background: #000000;
18   --theme-hover-background: #FFCF00;
19   --theme-hover-color: #000000;
20   --theme-selection-background: #008484;
21   --theme-selection-color: #000000;
22   --theme-selection-background2: #004242;
23   --theme-selection-color2: #FF9F00;
24   --theme-selection-background-semitransparent: rgba(0, 132, 132, .5);
25   --theme-splitter-color: #9C9CFF;
26   --theme-comment: #A09090;
27
28   --theme-contrastsidebar-background: #A09090;
29   --theme-contrastsidebar-color: #000000;
30   --theme-contrastsidebar-bordercolor: #000000;
31
32   --theme-body-color: #FF9F00;
33   --theme-body-color-alt: #A09090;
34   --theme-content-color1: #FF9F00;
35   --theme-content-color2: #A09090;
36   --theme-content-color3: #FF9F00;
37   --theme-content-disabled: #8050B0;
38
39   --theme-text-blue: #3333FF;
40   --theme-highlight-green: #008484;
41   --theme-highlight-blue: #9C9CFF;
42   --theme-highlight-bluegrey: #A09090;
43   --theme-highlight-purple: #C09070;
44   --theme-highlight-darkpurple: #6000CF;
45   --theme-highlight-lightorange: #FFCF00;
46   --theme-highlight-orange: #FF9F00;
47   --theme-highlight-red: #FF0000;
48   --theme-highlight-pink: #E7ADE7;
49 }
50
51 .theme-body {
52   background: var(--theme-body-background);
53   color: var(--theme-body-color);
54 }
55
56 .theme-sidebar {
57   background: var(--theme-sidebar-background);
58   color: var(--theme-content-color1);
59 }
60
61 ::-moz-selection {
62   background-color: var(--theme-selection-background);
63   color: var(--theme-selection-color);
64 }
65
66 .theme-bg-darker {
67   background: var(--theme-selection-background-semitransparent);
68 }
69
70 .theme-selected,
71 .CodeMirror-hint-active {
72   background-color: var(--theme-selection-background2);
73   color: var(--theme-selection-color2);
74 }
75
76 .theme-bg-contrast,
77 .variable-or-property:not([overridden])[changed] {
78   background: var(--theme-contrast-background);
79 }
80
81 .theme-link,
82 .cm-s-mozilla .cm-link { /* original: blue */
83   color: var(--theme-text-blue);
84 }
85
86 /*
87  * FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion
88  * failures in debug builds.
89  */
90 .theme-link:visited,
91 .cm-s-mozilla .cm-link:visited,
92 .CodeMirror-Tern-type {
93   color: var(--theme-text-blue);
94 }
95
96 .theme-comment,
97 .cm-s-mozilla .cm-meta,
98 .cm-s-mozilla .cm-hr,
99 .cm-s-mozilla .cm-comment,
100 .variable-or-property .token-undefined,
101 .variable-or-property .token-null,
102 .CodeMirror-Tern-completion-unknown:before {
103   color: var(--theme-comment);
104 }
105
106 .theme-gutter {
107   background-color: #000000;
108   color: var(--theme-content-color3);
109   border-color: #9C9CFF;
110 }
111
112 .theme-separator { /* original: grey */
113   border-color: #8050B0;
114 }
115
116 .theme-fg-color1,
117 .cm-s-mozilla .cm-number,
118 .variable-or-property .token-number,
119 .variable-or-property[return] > .title > .name,
120 .variable-or-property[scope] > .title > .name {
121   color: var(--theme-highlight-green);
122 }
123
124 .CodeMirror-Tern-completion-number:before {
125   background-color: #008484;
126 }
127
128 .theme-fg-color2,
129 .cm-s-mozilla .cm-attribute,
130 .cm-s-mozilla .cm-variable,
131 .cm-s-mozilla .cm-def,
132 .cm-s-mozilla .cm-property,
133 .cm-s-mozilla .cm-qualifier,
134 .variables-view-variable > .title > .name {
135   color: var(--theme-highlight-blue);
136 }
137
138 .CodeMirror-Tern-completion-object:before {
139   background-color: #9C9CFF;
140 }
141
142 .cm-s-mozilla .cm-unused-line {
143   text-decoration: line-through;
144   text-decoration-color: #8050B0;
145 }
146
147 .cm-s-mozilla .cm-executed-line {
148   background-color: #404000;
149 }
150
151 .theme-fg-color3,
152 .cm-s-mozilla .cm-builtin,
153 .cm-s-mozilla .cm-tag,
154 .cm-s-mozilla .cm-header,
155 .cm-s-mozilla .cm-bracket,
156 .variables-view-property > .title > .name,
157 .variable-or-property[safe-getter] > .title > .name {
158   color: var(--theme-highlight-pink);
159 }
160
161 .CodeMirror-Tern-completion-array:before {
162   color: var(--theme-highlight-pink); /* var(--theme-highlight-bluegrey) */
163 }
164
165 .theme-fg-color4 {
166   color: var(--theme-highlight-purple);
167 }
168
169 .theme-fg-color5,
170 .cm-s-mozilla .cm-keyword {
171   color: var(--theme-highlight-lightorange);
172 }
173
174 .theme-fg-color6,
175 .cm-s-mozilla .cm-string,
176 .cm-s-mozilla .cm-string-2,
177 .variable-or-property .token-string,
178 .CodeMirror-Tern-farg {
179   color: var(--theme-highlight-pink); /* -orange? */
180 }
181
182 .CodeMirror-Tern-completion-string:before,
183 .CodeMirror-Tern-completion-fn:before {
184   background-color: #E7ADE7;
185 }
186
187 .theme-fg-color7,
188 .cm-s-mozilla .cm-atom,
189 .cm-s-mozilla .cm-quote,
190 .cm-s-mozilla .cm-error,
191 .variable-or-property .token-boolean,
192 .variable-or-property .token-domnode,
193 .variable-or-property[exception] > .title > .name {
194   color: var(--theme-highlight-red);
195 }
196
197 .CodeMirror-Tern-completion-bool:before {
198   background-color: #FF0000;
199 }
200
201 .variable-or-property .token-domnode {
202   font-weight: bold;
203 }
204
205 .theme-toolbar,
206 .devtools-toolbar,
207 .devtools-sidebar-tabs > tabs,
208 .CodeMirror-dialog { /* General toolbar styling */
209 /*  color: var(--theme-body-color-alt);
210   background-color: var(--theme-toolbar-background);*/
211 }
212
213
214 .theme-fg-contrast { /* To be used for text on theme-bg-contrast */
215   color: #FFCF00;
216 }
217
218 .ruleview-colorswatch,
219 .computedview-colorswatch,
220 .ruleview-bezierswatch {
221 /*  box-shadow: 0 0 0 1px #818181; */
222 }
223
224 .variables-view-scope:focus > .title,
225 .variable-or-property:focus > .title {
226   background-color: #008484; /* fg-color2 */
227   color: #000000;
228 }
229
230 /* CodeMirror specific styles.
231  * Best effort to match the existing theme, some of the colors
232  * are duplicated here to prevent weirdness in the main theme. */
233
234 .CodeMirror { /* Inherit platform specific font sizing and styles */
235   font-family: inherit;
236   font-size: inherit;
237   background: transparent;
238 }
239
240 .CodeMirror pre,
241 .cm-s-mozilla .cm-variable-2,
242 .cm-s-mozilla .cm-variable-3,
243 .cm-s-mozilla .cm-operator,
244 .cm-s-mozilla .cm-special {
245   color: var(--theme-content-color1);
246 }
247
248 .cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor {
249   border-left: solid 1px #FF9F00;
250 }
251
252 .cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */
253   background: #008484;
254   color: #FFCF00;
255 }
256
257 .cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */
258   background: #008484;
259   color: #000000;
260 }
261
262 .cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */
263   background: rgba(0, 132, 132, .25);
264 }
265
266 div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */
267   outline: solid 1px rgba(0, 132, 132, .4);
268   color: #FFCF00;
269 }
270
271 /* Highlight for a line that contains an error. */
272 div.CodeMirror div.error-line {
273   background: rgba(255, 0, 0, 0.2);
274 }
275
276 /* Highlight for a line that represents a stack frame's location. */
277 div.CodeMirror div.debug-line {
278   background: rgba(156, 156, 255, 0.2);
279 }
280
281 /* Generic highlighted text */
282 div.CodeMirror span.marked-text {
283   background: rgba(255,207,0,0.2);
284   border: 1px dashed rgba(156, 156, 255, 0.6);
285   -moz-margin-start: -1px;
286   -moz-margin-end: -1px;
287 }
288
289 /* Highlight for evaluating current statement. */
290 div.CodeMirror span.eval-text {
291   background-color: #403800;
292 }
293
294 .cm-s-mozilla .CodeMirror-linenumber { /* line number text */
295   color: var(--theme-content-color2);
296 }
297
298 .cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */
299   border-right-color: var(--theme-contrast-border);
300   background-color: var(--theme-contrast-background);
301 }
302
303 .cm-s-markup-view pre {
304   line-height: 1.4em;
305   min-height: 1.4em;
306 }
307
308 /* Twisty and checkbox controls */
309 .theme-twisty, .theme-checkbox {
310   width: 14px;
311   height: 14px;
312   background-repeat: no-repeat;
313   background-image: url("chrome://browser/skin/devtools/controls.png");
314   background-size: 28px 28px;
315 }
316
317 .theme-twisty {
318   cursor: pointer;
319   background-position: -0px -14px;
320 }
321
322 .theme-twisty:-moz-focusring {
323   outline-style: none;
324 }
325
326 .theme-twisty[open] {
327   background-position: -14px -14px;
328 }
329
330 .theme-twisty[invisible] {
331   visibility: hidden;
332 }
333
334 .theme-checkbox {
335   display: inline-block;
336   border: 0;
337   padding: 0;
338   outline: none;
339   background-position: 0 0;
340 }
341
342 .theme-checkbox[checked] {
343   background-position: -14px 0;
344 }
345
346 @media (min-resolution: 2dppx) {
347   .theme-twisty, .theme-checkbox {
348     background-image: url("chrome://browser/skin/devtools/controls@2x.png");
349   }
350 }
351
352 /* XUL panel styling (see browser/devtools/shared/widgets/Tooltip.js) */
353
354 .theme-tooltip-panel .panel-arrowcontent {
355 /*  padding: 5px; */
356   background: rgba(0, 0, 0, .9);
357 /*  border-radius: 5px;
358   box-shadow: none;
359   border: 3px solid #9C9CFF; */
360 }
361
362 /* Overring panel arrow images to fit with our light and dark themes */
363 /*
364 .theme-tooltip-panel .panel-arrow[side="top"] {
365   list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png");
366   margin-bottom: -4px;
367 }
368
369 .theme-tooltip-panel .panel-arrow[side="bottom"] {
370   list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png");
371   margin-top: -4px;
372 }
373
374 .theme-tooltip-panel .panel-arrow[side="left"] {
375   list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png");
376   margin-right: -4px;
377 }
378
379 .theme-tooltip-panel .panel-arrow[side="right"] {
380   list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png");
381   margin-left: -4px;
382 }
383
384 @media (min-resolution: 2dppx) {
385   .theme-tooltip-panel .panel-arrow[side="top"],
386   .theme-tooltip-panel .panel-arrow[side="bottom"] {
387     list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark@2x.png");
388   }
389
390   .theme-tooltip-panel .panel-arrow[side="left"],
391   .theme-tooltip-panel .panel-arrow[side="right"] {
392     list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark@2x.png");
393   }
394 }
395 */
396 .theme-tooltip-panel .devtools-tooltip-simple-text {
397 /*  color: white; */
398   border-bottom: 1px solid #A09090;
399 }
400
401 .theme-tooltip-panel .devtools-tooltip-simple-text:last-child {
402  border-bottom: 0;
403 }
404
405 .devtools-textinput,
406 .devtools-searchinput {
407   background-color: #000000;
408   color: #E7ADE7;
409 }
410
411 .CodeMirror-Tern-fname {
412   color: #A09090;
413 }
414
415 .CodeMirror-hints,
416 .CodeMirror-Tern-tooltip {
417   background-color: #000000;
418   color: var(--theme-body-color);
419 }
420
421 /* === BEGIN toolbars.inc.css === */
422
423 /* Toolbars */
424 .devtools-toolbar,
425 .devtools-sidebar-tabs > tabs {
426 }
427
428 .devtools-toolbar {
429 }
430
431 .devtools-toolbar checkbox {
432   /* LCARStrek checkbox colors don't work well against toolbar background */
433   background-color: var(--theme-toolbar-background);
434   padding: 2px;
435 }
436 .devtools-toolbar checkbox .checkbox-check {
437 }
438 .devtools-toolbar checkbox .checkbox-label-box {
439 }
440 .devtools-toolbar checkbox .checkbox-label-box .checkbox-label {
441 }
442
443 /* Toolbar buttons */
444 .devtools-menulist,
445 .devtools-toolbarbutton {
446 /*  transition: background 0.05s ease-in-out; */
447 }
448
449 .devtools-menulist:-moz-focusring,
450 .devtools-toolbarbutton:-moz-focusring {
451   outline: 1px dotted var(--theme-selection-color);
452 }
453
454 .devtools-toolbarbutton[standalone] {
455 }
456 .devtools-toolbarbutton[label][standalone] {
457 }
458
459 .devtools-toolbarbutton:not([label]),
460 .devtools-toolbarbutton[text-as-image] {
461   min-width: 20px;
462 }
463
464 #toolbox-buttons .devtools-toolbarbutton[text-as-image] {
465   -moz-padding-start: 5px;
466   -moz-padding-end: 5px;
467   min-width: inherit;
468 }
469
470 /* Command buttons with menupopups should be styled slightly differently -
471    no background color and a bit more narrow */
472 #toolbox-buttons .devtools-toolbarbutton:not([text-as-image]):not(:hover):not([open=true]) {
473   background: transparent;
474 }
475 #toolbox-buttons .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker {
476   padding: 0 2px;
477 }
478
479 .devtools-toolbarbutton:not([label]) > .toolbarbutton-text {
480   display: none;
481 }
482
483 .devtools-toolbar .devtools-toolbarbutton {
484 }
485
486 .devtools-toolbarbutton > .toolbarbutton-icon {
487 }
488
489 .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
490 /*  -moz-box-orient: horizontal; */
491 }
492
493 .devtools-toolbarbutton[type=menu-button] {
494 }
495
496 .devtools-toolbarbutton > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
497 }
498
499 .devtools-menulist > .menulist-dropmarker {
500 }
501
502 .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
503 .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
504 }
505
506 .devtools-menulist,
507 .devtools-toolbarbutton {
508 }
509
510 /* Text-only buttons */
511 .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]),
512 #toolbox-buttons .devtools-toolbarbutton[text-as-image] {
513 /*  background-color: rgba(0, 0, 0, .2); / Splitter */
514 }
515
516 /* Button States */
517 .devtools-toolbarbutton:hover,
518 #toolbox-buttons .devtools-toolbarbutton[text-as-image]:hover,
519 .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]):hover {
520 /*  background: rgba(0, 0, 0, .3); / Splitters */
521 }
522
523 .devtools-toolbarbutton:hover:active,
524 #toolbox-buttons .devtools-toolbarbutton[text-as-image]:hover:active,
525 .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]):hover:active {
526 /*  background: rgba(0, 0, 0, .4); / Splitters */
527 }
528
529 /* Menu type buttons and checked states */
530 .devtools-toolbarbutton[checked=true],
531 #toolbox-buttons .devtools-toolbarbutton[text-as-image][checked] {
532 /*  background: rgba(29, 79, 115, .7); / Select highlight blue /
533   color: var(--theme-selection-color); */
534 }
535
536 .devtools-menulist[open=true],
537 .devtools-toolbarbutton[open=true],
538 .devtools-toolbarbutton[open=true]:hover,
539 .devtools-toolbarbutton[open=true]:hover:active,
540 .devtools-toolbarbutton[checked=true],
541 .devtools-toolbarbutton[checked=true]:hover,
542 #toolbox-buttons .devtools-toolbarbutton[text-as-image][checked] {
543 /*  background: rgba(29, 79, 115, .8); / Select highlight blue /
544   color: var(--theme-selection-color); */
545 }
546
547 .devtools-toolbarbutton[checked=true]:hover {
548 }
549
550 .devtools-option-toolbarbutton {
551   list-style-image: url("chrome://browser/skin/devtools/tool-options-tbutton.svg");
552 /*  background: none;
553   border: none; */
554 }
555
556 .devtools-option-toolbarbutton:hover,
557 .devtools-option-toolbarbutton[open=true] {
558   list-style-image: url("chrome://browser/skin/devtools/tool-options.svg");
559 }
560
561 /* Toolbar button groups */
562 .devtools-toolbarbutton-group > .devtools-toolbarbutton {
563 }
564
565 .devtools-toolbarbutton-group > .devtools-toolbarbutton:last-child {
566 }
567
568 .devtools-toolbarbutton-group + .devtools-toolbarbutton {
569 }
570
571 .devtools-separator + .devtools-toolbarbutton {
572 }
573
574 /* Text input */
575
576 .devtools-textinput,
577 .devtools-searchinput {
578 /*  -moz-appearance: none;
579   margin: 0 3px;
580   border: 1px solid rgb(88, 94, 101);
581   border-radius: 2px;
582   background-color: rgba(24, 29, 32, 1);
583   padding: 4px 6px;
584   color: rgba(184, 200, 217, 1);*/
585 }
586
587 .devtools-searchinput {
588 /*  margin-top: 1px;
589   margin-bottom: 1px;
590   padding: 0;*/
591   -moz-padding-start: 22px;
592   -moz-padding-end: 12px;
593   background-position: 8px center;
594   background-size: 11px 11px;
595   background-repeat: no-repeat;
596   font-size: inherit;
597
598   background-image: url("magnifying-glass.png");
599 }
600
601 @media (min-resolution: 2dppx) {
602   .devtools-searchinput {
603     background-image: url("magnifying-glass@2x.png");
604   }
605 }
606
607 .devtools-searchinput:-moz-locale-dir(rtl) {
608   background-position: calc(100% - 8px) center;
609 }
610
611 .devtools-searchinput > .textbox-input-box > .textbox-search-icons {
612   display: none;
613 }
614
615 .devtools-no-search-result {
616   border-color: var(--theme-highlight-red) !important;
617 }
618
619 /* Close button */
620
621 .devtools-closebutton {
622   min-width: 16px;
623   width: 16px;
624 }
625
626 .devtools-closebutton > image {
627   width: 16px;
628   height: 16px;
629   -moz-appearance: none;
630   background-size: 32px 16px;
631   background-image: url("chrome://browser/skin/devtools/close@2x.png");
632   background-position: 0 center;
633   background-repeat: no-repeat;
634 }
635
636 .devtools-closebutton:hover > image,
637 .devtools-closebutton:hover:active > image {
638   background-position: -16px center;
639 }
640
641 .devtools-closebutton > .toolbarbutton-text {
642   display: none;
643 }
644
645 /* In-tools sidebar */
646
647 .devtools-sidebar-tabs {
648 }
649
650 .devtools-sidebar-tabs > tabpanels {
651   padding: 0;
652   border: 0;
653 }
654
655 .devtools-sidebar-tabs > tabs {
656   position: static;
657   overflow: hidden;
658 }
659
660 .devtools-sidebar-tabs > tabs > .tabs-right,
661 .devtools-sidebar-tabs > tabs > .tabs-left {
662   display: none;
663 }
664
665 .devtools-sidebar-tabs > tabs > tab {
666   min-width: 78px;
667   text-align: center;
668   -moz-box-flex: 1;
669   position: static;
670   margin-top: 0;
671 }
672
673 .devtools-sidebar-tabs > tabs > tab:-moz-focusring {
674   position: static;
675 }
676
677 .devtools-sidebar-tabs > tabs > tab:last-of-type {
678   -moz-border-end-width: 0;
679 }
680
681 .devtools-sidebar-tabs > tabs > tab:first-child {
682 }
683
684 .devtools-sidebar-tabs > tabs > tab:hover {
685 }
686
687 .devtools-sidebar-tabs > tabs > tab:hover:active {
688 }
689
690 .devtools-sidebar-tabs > tabs > tab[selected] + tab {
691 }
692
693 .devtools-sidebar-tabs > tabs > tab[selected] + tab:hover {
694 }
695
696 .devtools-sidebar-tabs > tabs > tab[selected] + tab:hover:active {
697 }
698
699 .devtools-sidebar-tabs > tabs > tab[selected],
700 .devtools-sidebar-tabs > tabs > tab[selected]:hover:active {
701 }
702
703 /* Toolbox - moved from toolbox.css.
704  * Rules that apply to the global toolbox like command buttons,
705  * devtools tabs, docking buttons, etc. */
706
707 #toolbox-controls > toolbarbutton,
708 #toolbox-dock-buttons > toolbarbutton {
709   min-width: 16px;
710 /*  padding: 1px 3px; */
711 }
712
713 #toolbox-dock-buttons > toolbarbutton > image {
714   width: 16px;
715   height: 16px;
716   background-size: 32px 16px;
717   background-position: 0 center;
718   background-repeat: no-repeat;
719 }
720  
721 #toolbox-dock-buttons > toolbarbutton:hover > image {
722   background-position: -16px center;
723 }
724  
725 #toolbox-dock-bottom > image {
726   background-image: url("chrome://browser/skin/devtools/dock-bottom@2x.png");
727 }
728  
729 #toolbox-dock-side > image {
730   background-image: url("chrome://browser/skin/devtools/dock-side@2x.png");
731 }
732
733 #toolbox-dock-window > image {
734   background-image: url("chrome://browser/skin/devtools/undock@2x.png");
735 }
736
737 #toolbox-dock-window,
738 #toolbox-dock-bottom,
739 #toolbox-dock-side {
740 }
741
742 #toolbox-dock-window:hover,
743 #toolbox-dock-bottom:hover,
744 #toolbox-dock-side:hover {
745 }
746
747 .devtools-separator {
748   margin: 0 2px;
749   width: 2px;
750 }
751
752 #toolbox-buttons:empty + .devtools-separator,
753 .devtools-separator[invisible] {
754   visibility: hidden;
755 }
756
757 #toolbox-controls-separator {
758   margin: 0;
759 }
760
761 /* Command buttons */
762
763 .command-button {
764 /*  padding: 1px 4px; */
765   min-width: 16px;
766 }
767
768 .command-button:hover {
769 }
770 .command-button:hover:active {
771 }
772
773 .command-button > image {
774   width: 16px;
775   height: 16px;
776   background-size: 32px 16px;
777   background-position: 0 center;
778   background-repeat: no-repeat;
779 }
780
781 .command-button:hover > image,
782 .command-button:hover:active > image,
783 .command-button[checked=true] > image,
784 .command-button[open=true] > image {
785   background-position: -16px center;
786 }
787
788 #command-button-paintflashing > image {
789   background-image: url("chrome://browser/skin/devtools/command-paintflashing.png");
790 }
791
792 #command-button-screenshot > image {
793   background-image: url("chrome://browser/skin/devtools/command-screenshot.png");
794 }
795
796 #command-button-responsive > image {
797   background-image: url("chrome://browser/skin/devtools/command-responsivemode.png");
798 }
799
800 #command-button-tilt > image {
801   background-image: url("chrome://browser/skin/devtools/command-tilt.png");
802 }
803
804 #command-button-scratchpad > image {
805   background-image: url("chrome://browser/skin/devtools/command-scratchpad.png");
806 }
807
808 #command-button-pick > image {
809   background-image: url("chrome://browser/skin/devtools/command-pick.png");
810 }
811
812 #command-button-frames > image {
813   background-image: url("chrome://browser/skin/devtools/command-frames.png");
814 }
815
816 #command-button-splitconsole > image {
817   background-image: url("chrome://browser/skin/devtools/command-console.png");
818 }
819
820 #command-button-eyedropper > image {
821   background-image: url("chrome://browser/skin/devtools/command-eyedropper.png");
822 }
823
824 @media (min-resolution: 2dppx) {
825   #command-button-paintflashing > image {
826     background-image: url("chrome://browser/skin/devtools/command-paintflashing@2x.png");
827   }
828
829   #command-button-screenshot > image {
830     background-image: url("chrome://browser/skin/devtools/command-screenshot@2x.png");
831   }
832
833   #command-button-responsive > image {
834     background-image: url("chrome://browser/skin/devtools/command-responsivemode@2x.png");
835   }
836
837   #command-button-tilt > image {
838     background-image: url("chrome://browser/skin/devtools/command-tilt@2x.png");
839   }
840
841   #command-button-scratchpad > image {
842     background-image: url("chrome://browser/skin/devtools/command-scratchpad@2x.png");
843   }
844
845   #command-button-pick > image {
846     background-image: url("chrome://browser/skin/devtools/command-pick@2x.png");
847   }
848
849   #command-button-frames > image {
850     background-image: url("chrome://browser/skin/devtools/command-frames@2x.png");
851   }
852
853   #command-button-splitconsole > image {
854     background-image: url("chrome://browser/skin/devtools/command-console@2x.png");
855   }
856
857   #command-button-eyedropper > image {
858     background-image: url("chrome://browser/skin/devtools/command-eyedropper@2x.png");
859   }
860 }
861
862 /* Tabs */
863
864 .devtools-tabbar {
865 }
866
867 #toolbox-tabs {
868   margin: 0 2px;
869   -moz-padding-start: 3px;
870   background-color: #000000;
871   color: #FFCF00;
872 }
873
874 .devtools-tab {
875   min-width: 32px;
876   max-width: 110px;
877   color: #000000;
878   margin: 0;
879   -moz-margin-end: 3px;
880   padding: 1px;
881   -moz-padding-start: 3px;
882   background-color: #C09070;
883   border-radius: 8px 8px 0 0;
884 }
885
886 .devtools-tab > image {
887   -moz-margin-end: 0px;
888 /*  -moz-margin-start: 4px; */
889   max-height: 16px;
890   width: 16px; /* Prevents collapse during theme switching */
891 }
892
893 .devtools-tab:hover > image {
894 }
895
896 .devtools-tab:active > image,
897 .devtools-tab[selected] > image {
898 }
899
900 .devtools-tab:hover,
901 .devtools-tab:hover:active {
902   background-color: var(--theme-hover-background);
903   color: var(--theme-hover-color);
904 }
905
906 .devtools-tab[selected] {
907   background-color: var(--theme-selection-background);
908   color: var(--theme-selection-color);
909 }
910
911 .devtools-tab > spacer {
912   max-width: 0;
913   -moz-box-flex: 0;
914 }
915
916 .devtools-tab > image {
917   -moz-margin-end: 0;
918   -moz-margin-start: 0;
919 }
920
921 #toolbox-option-container {
922   background-color: #000000;
923   -moz-padding-start: 3px;
924 }
925
926 #toolbox-tab-options {
927   min-width: 20px;
928 }
929
930 #toolbox-tab-options > image {
931   -moz-margin-end: 3px;
932 }
933
934 .devtools-tab:not([highlighted]) > .highlighted-icon,
935 .devtools-tab[selected] > .highlighted-icon,
936 .devtools-tab:not([selected])[highlighted] > .default-icon {
937   visibility: collapse;
938 }
939
940 .devtools-tab:not([selected])[highlighted] {
941   color: #FFCF00;
942 }
943
944 .devtools-tab:not([highlighted]) > .highlighted-icon,
945 .devtools-tab[selected] > .highlighted-icon,
946 .devtools-tab:not([selected])[highlighted] > .default-icon {
947   visibility: collapse;
948 }
949
950 /* The options tab is special - it doesn't have the same parent
951    as the other tabs (toolbox-option-container vs toolbox-tabs) */
952 #toolbox-option-container .devtools-tab:not([selected]) {
953 /*  background-color: transparent;*/
954 }
955 #toolbox-option-container .devtools-tab {
956 /*  border-color: transparent;
957   border-width: 0;
958   -moz-padding-start: 1px;*/
959 }
960 #toolbox-tab-options > image {
961 /*  margin: 0 8px;*/
962 }
963
964 .hidden-labels-box:not(.visible) > label,
965 .hidden-labels-box.visible ~ .hidden-labels-box > label:last-child {
966   display: none;
967 }
968
969 .devtools-horizontal-splitter {
970 /*  border-bottom: 1px solid var(--theme-splitter-color); */
971 }
972
973 .devtools-side-splitter {
974 /*  -moz-border-end: 1px solid var(--theme-splitter-color);
975   border-color: var(--theme-splitter-color); / Needed for responsive container at low width. */
976 }
977
978 /* === END toolbars.inc.css === */