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