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/. */
6 @import url(common.css);
8 /* Colors are taken from:
9 * https://developer.mozilla.org/en-US/docs/Tools/DevToolsColors.
10 * Changes should be kept in sync with commandline.css and commandline.inc.css.
13 --theme-body-background: #000000;
14 --theme-sidebar-background: #000000;
15 --theme-contrast-background: #402800;
16 --theme-contrast-border: #A09090;
17 --theme-contrast-background2: #795900;
19 --theme-tab-toolbar-background: #402800;
20 --theme-toolbar-background: #000000;
21 --theme-hover-background: #FFCF00;
22 --theme-hover-color: #000000;
23 --theme-active-background: #FFCF00;
24 --theme-active-color: #000000;
25 --theme-selection-background: #008484;
26 --theme-selection-color: #000000;
27 --theme-selection-background2: #004242;
28 --theme-selection-color2: #FF9F00;
29 --theme-selection-background-semitransparent: rgba(0, 132, 132, .5);
30 --theme-splitter-color: #9C9CFF;
31 --theme-comment: #A09090;
33 --theme-sidebar-background: #000000;
34 --theme-contrastsidebar-background: #A09090;
35 --theme-contrastsidebar-color: #000000;
36 --theme-contrastsidebar-bordercolor: #000000;
38 --theme-body-color: #FF9F00;
39 --theme-body-color-alt: #A09090;
40 --theme-content-color1: #FF9F00;
41 --theme-content-color2: #A09090;
42 --theme-content-color3: #FF9F00;
43 --theme-content-color4: #9C9CFF;
44 --theme-content-disabled: #8050B0;
46 --theme-text-blue: #3333FF;
47 --theme-highlight-green: #008484;
48 --theme-highlight-blue: #9C9CFF;
49 --theme-highlight-bluegrey: #A09090;
50 --theme-highlight-purple: #C09070;
51 --theme-highlight-darkpurple: #6000CF;
52 --theme-highlight-lightorange: #FFCF00;
53 --theme-highlight-orange: #FF9F00;
54 --theme-highlight-red: #FF0000;
55 --theme-highlight-pink: #E7ADE7;
57 /* Colors used in Graphs, like performance tools. Mostly similar to some "highlight-*" colors. */
58 --theme-graphs-green: #008484;
59 --theme-graphs-blue: #9C9CFF;
60 --theme-graphs-bluegrey: #C09070;
61 --theme-graphs-purple: #C09070;
62 --theme-graphs-yellow: #FFCF00;
63 --theme-graphs-red: #FF0000;
64 --theme-graphs-grey: #A09090;
67 --theme-pane-collapse-image: url(chrome://devtools/skin/images/pane-collapse.svg);
68 --theme-pane-expand-image: url(chrome://devtools/skin/images/pane-expand.svg);
77 background: var(--theme-body-background);
78 color: var(--theme-body-color);
82 background: var(--theme-sidebar-background);
83 color: var(--theme-content-color1);
87 background-color: var(--theme-selection-background);
88 color: var(--theme-selection-color);
92 background: var(--theme-selection-background-semitransparent);
96 .CodeMirror-hint-active {
97 background-color: var(--theme-selection-background2);
98 color: var(--theme-selection-color2);
102 .variable-or-property:not([overridden])[changed] {
103 background: var(--theme-contrast-background);
107 .cm-s-mozilla .cm-link { /* original: blue */
108 color: var(--theme-text-blue);
112 * FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion
113 * failures in debug builds.
116 .cm-s-mozilla .cm-link:visited,
117 .CodeMirror-Tern-type {
118 color: var(--theme-text-blue);
122 .cm-s-mozilla .cm-meta,
123 .cm-s-mozilla .cm-hr,
124 .cm-s-mozilla .cm-comment,
125 .variable-or-property .token-undefined,
126 .variable-or-property .token-null,
127 .CodeMirror-Tern-completion-unknown:before {
128 color: var(--theme-comment);
132 background-color: #000000;
133 color: var(--theme-content-color3);
134 border-color: #9C9CFF;
137 .theme-separator { /* original: grey */
138 border-color: #8050B0;
142 .cm-s-mozilla .cm-number,
143 .variable-or-property .token-number,
144 .variable-or-property[return] > .title > .name,
145 .variable-or-property[scope] > .title > .name {
146 color: var(--theme-highlight-green);
149 .CodeMirror-Tern-completion-number:before {
150 background-color: #008484;
154 .cm-s-mozilla .cm-attribute,
155 .cm-s-mozilla .cm-variable,
156 .cm-s-mozilla .cm-def,
157 .cm-s-mozilla .cm-property,
158 .cm-s-mozilla .cm-qualifier,
159 .variables-view-variable > .title > .name {
160 color: var(--theme-highlight-blue);
163 .CodeMirror-Tern-completion-object:before {
164 background-color: #9C9CFF;
167 .cm-s-mozilla .cm-unused-line {
168 text-decoration: line-through;
169 text-decoration-color: #8050B0;
172 .cm-s-mozilla .cm-executed-line {
173 background-color: #404000;
177 .cm-s-mozilla .cm-builtin,
178 .cm-s-mozilla .cm-tag,
179 .cm-s-mozilla .cm-header,
180 .cm-s-mozilla .cm-bracket,
181 .variables-view-property > .title > .name,
182 .variable-or-property[safe-getter] > .title > .name {
183 color: var(--theme-highlight-pink);
186 .CodeMirror-Tern-completion-array:before {
187 color: var(--theme-highlight-pink); /* var(--theme-highlight-bluegrey) */
191 color: var(--theme-highlight-purple);
195 .cm-s-mozilla .cm-keyword {
196 color: var(--theme-highlight-lightorange);
200 .cm-s-mozilla .cm-string,
201 .cm-s-mozilla .cm-string-2,
202 .variable-or-property .token-string,
203 .CodeMirror-Tern-farg {
204 color: var(--theme-highlight-pink); /* -orange? */
207 .CodeMirror-Tern-completion-string:before,
208 .CodeMirror-Tern-completion-fn:before {
209 background-color: #E7ADE7;
213 .cm-s-mozilla .cm-atom,
214 .cm-s-mozilla .cm-quote,
215 .cm-s-mozilla .cm-error,
216 .variable-or-property .token-boolean,
217 .variable-or-property .token-domnode,
218 .variable-or-property[exception] > .title > .name {
219 color: var(--theme-highlight-red);
222 .CodeMirror-Tern-completion-bool:before {
223 background-color: #FF0000;
226 .variable-or-property .token-domnode {
232 .devtools-sidebar-tabs tabs,
233 .devtools-sidebar-alltabs,
234 .CodeMirror-dialog { /* General toolbar styling */
235 /* color: var(--theme-body-color-alt);
236 background-color: var(--theme-toolbar-background);*/
240 .theme-fg-contrast { /* To be used for text on theme-bg-contrast */
244 .ruleview-colorswatch,
245 .computedview-colorswatch,
246 .ruleview-bezierswatch {
247 /* box-shadow: 0 0 0 1px #818181; */
250 .variables-view-scope:focus > .title,
251 .variable-or-property:focus > .title {
252 background-color: #008484; /* fg-color2 */
256 /* CodeMirror specific styles.
257 * Best effort to match the existing theme, some of the colors
258 * are duplicated here to prevent weirdness in the main theme. */
261 .CodeMirror.cm-s-mozilla { /* Inherit platform specific font sizing and styles */
262 font-family: inherit;
264 background: transparent;
268 .cm-s-mozilla .cm-variable-2,
269 .cm-s-mozilla .cm-variable-3,
270 .cm-s-mozilla .cm-operator,
271 .cm-s-mozilla .cm-special {
272 color: var(--theme-content-color1);
275 .cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor {
276 border-left: solid 1px #FF9F00;
279 .cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */
284 .cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */
289 .cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */
290 background: rgba(0, 132, 132, .25);
293 div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */
294 outline: solid 1px rgba(0, 132, 132, .4);
298 /* Highlight for a line that contains an error. */
299 div.CodeMirror div.error-line {
300 background: rgba(255, 0, 0, 0.2);
303 /* Highlight for a line that represents a stack frame's location. */
304 div.CodeMirror div.debug-line {
305 background: rgba(156, 156, 255, 0.2);
308 /* Generic highlighted text */
309 div.CodeMirror span.marked-text {
310 background: rgba(255,207,0,0.2);
311 border: 1px dashed rgba(156, 156, 255, 0.6);
312 -moz-margin-start: -1px;
313 -moz-margin-end: -1px;
316 /* Highlight for evaluating current statement. */
317 div.CodeMirror span.eval-text {
318 background-color: #403800;
321 .cm-s-mozilla .CodeMirror-linenumber { /* line number text */
322 color: var(--theme-content-color2);
325 .cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */
326 border-right-color: var(--theme-contrast-border);
327 background-color: var(--theme-contrast-background);
330 .cm-s-markup-view pre {
335 /* Twisty and checkbox controls */
336 .theme-twisty, .theme-checkbox {
339 background-repeat: no-repeat;
340 background-image: url("chrome://devtools/skin/controls.png");
341 background-size: 28px 28px;
346 background-position: -0px -14px;
349 .theme-twisty:-moz-focusring {
353 .theme-twisty[open] {
354 background-position: -14px -14px;
357 .theme-twisty[invisible] {
362 display: inline-block;
366 background-position: 0 0;
369 .theme-checkbox[checked] {
370 background-position: -14px 0;
373 @media (min-resolution: 1.1dppx) {
374 .theme-twisty, .theme-checkbox {
375 background-image: url("chrome://devtools/skin/controls@2x.png");
379 /* XUL panel styling (see browser/devtools/shared/widgets/Tooltip.js) */
381 .theme-tooltip-panel .panel-arrowcontent {
383 background: rgba(0, 0, 0, .9);
384 /* border-radius: 5px;
386 border: 3px solid #9C9CFF; */
389 /* Overring panel arrow images to fit with our light and dark themes */
391 .theme-tooltip-panel .panel-arrow[side="top"] {
392 list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark.png");
396 .theme-tooltip-panel .panel-arrow[side="bottom"] {
397 list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark.png");
401 .theme-tooltip-panel .panel-arrow[side="left"] {
402 list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark.png");
406 .theme-tooltip-panel .panel-arrow[side="right"] {
407 list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark.png");
411 @media (min-resolution: 1.1dppx) {
412 .theme-tooltip-panel .panel-arrow[side="top"],
413 .theme-tooltip-panel .panel-arrow[side="bottom"] {
414 list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark@2x.png");
417 .theme-tooltip-panel .panel-arrow[side="left"],
418 .theme-tooltip-panel .panel-arrow[side="right"] {
419 list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark@2x.png");
423 .theme-tooltip-panel .devtools-tooltip-simple-text {
425 border-bottom: 1px solid #A09090;
428 .theme-tooltip-panel .devtools-tooltip-simple-text:last-child {
433 .devtools-searchinput {
434 background-color: #000000;
436 border: 1px solid #9C9CFF;
439 .devtools-textinput:focus,
440 .devtools-searchinput:focus {
441 border-color: #008484;
444 .CodeMirror-Tern-fname {
449 .CodeMirror-Tern-tooltip {
450 background-color: #000000;
451 color: var(--theme-body-color);
454 /* === BEGIN toolbars.inc.css === */
456 /* CSS Variables specific to the devtools toolbar that aren't defined by the themes */
459 --searchbox-background-color: #000000;
460 --searchbox-border-color: #9C9CFF;
461 --searcbox-no-match-background-color: #400000;
462 --searcbox-no-match-border-color: #FF0000;
467 .devtools-sidebar-tabs tabs {
473 .devtools-toolbar checkbox {
474 /* LCARStrek checkbox colors don't work well against toolbar background */
475 background-color: var(--theme-toolbar-background);
477 line-height: -moz-block-height;
479 .devtools-toolbar checkbox .checkbox-check {
481 .devtools-toolbar checkbox .checkbox-label-box {
483 .devtools-toolbar checkbox .checkbox-label-box .checkbox-label {
486 /* Toolbar buttons */
488 .devtools-toolbarbutton {
489 /* transition: background 0.05s ease-in-out; */
492 .devtools-menulist:-moz-focusring,
493 .devtools-toolbarbutton:-moz-focusring {
494 outline: 1px dotted var(--theme-selection-color);
497 .devtools-toolbarbutton[standalone] {
499 .devtools-toolbarbutton[label][standalone] {
502 .devtools-toolbarbutton:not([label]),
503 .devtools-toolbarbutton[text-as-image] {
507 #toolbox-buttons .devtools-toolbarbutton[text-as-image] {
508 -moz-padding-start: 5px;
509 -moz-padding-end: 5px;
513 /* Command buttons with menupopups should be styled slightly differently -
514 no background color and a bit more narrow */
515 #toolbox-buttons .devtools-toolbarbutton:not([text-as-image]):not(:hover):not([open=true]) {
516 /* background: transparent; */
518 #toolbox-buttons .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker {
522 .devtools-toolbarbutton:not([label]) > .toolbarbutton-text {
526 .devtools-toolbar .devtools-toolbarbutton {
527 -moz-margin-start: 2px;
530 .devtools-toolbarbutton > .toolbarbutton-icon {
533 .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
534 /* -moz-box-orient: horizontal; */
537 .devtools-toolbarbutton[type=menu-button] {
540 .devtools-toolbarbutton > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
543 .devtools-menulist > .menulist-dropmarker {
546 .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
547 .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
551 .devtools-toolbarbutton {
554 /* Text-only buttons */
555 .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]),
556 #toolbox-buttons .devtools-toolbarbutton[text-as-image] {
557 /* background-color: rgba(0, 0, 0, .2); / Splitter */
561 .devtools-toolbarbutton:not([disabled]):hover,
562 #toolbox-buttons .devtools-toolbarbutton:not([disabled])[text-as-image]:hover,
563 .devtools-toolbarbutton:not([disabled])[label]:not([text-as-image]):not([type=menu-button]):hover {
564 /* background: rgba(0, 0, 0, .3); / Splitters */
567 .devtools-toolbarbutton:not([disabled]):hover:active,
568 #toolbox-buttons .devtools-toolbarbutton:not([disabled])[text-as-image]:hover:active,
569 .devtools-toolbarbutton:not([disabled])[label]:not([text-as-image]):not([type=menu-button]):hover:active {
570 /* background: rgba(0, 0, 0, .4); / Splitters */
573 /* Menu type buttons and checked states */
574 .devtools-toolbarbutton[checked=true],
575 #toolbox-buttons .devtools-toolbarbutton[text-as-image][checked] {
576 /* background: rgba(29, 79, 115, .7); / Select highlight blue /
577 color: var(--theme-selection-color); */
580 .devtools-menulist[open=true],
581 .devtools-toolbarbutton[open=true],
582 .devtools-toolbarbutton[open=true]:hover,
583 .devtools-toolbarbutton[open=true]:hover:active,
584 .devtools-toolbarbutton[checked=true],
585 .devtools-toolbarbutton[checked=true]:hover,
586 #toolbox-buttons .devtools-toolbarbutton[text-as-image][checked] {
587 /* background: rgba(29, 79, 115, .8); / Select highlight blue /
588 color: var(--theme-selection-color); */
591 .devtools-toolbarbutton[checked=true]:hover {
594 .devtools-option-toolbarbutton {
595 list-style-image: url("chrome://devtools/skin/tool-options-tbutton.svg");
600 .devtools-option-toolbarbutton:hover,
601 .devtools-option-toolbarbutton[open=true] {
602 list-style-image: url("chrome://devtools/skin/tool-options.svg");
605 /* Toolbar button groups */
606 .devtools-toolbarbutton-group > .devtools-toolbarbutton {
609 .devtools-toolbarbutton-group > .devtools-toolbarbutton:last-child {
612 .devtools-toolbarbutton-group + .devtools-toolbarbutton {
615 .devtools-separator + .devtools-toolbarbutton {
618 /* HTML buttons, similar to toolbar buttons, but work in HTML documents */
621 border: 0 solid var(--theme-splitter-color);
622 background: var(--theme-toolbar-background);
623 color: var(--theme-body-color);
628 /* The icon is absolutely positioned in the button using ::before */
632 .devtools-button[standalone] {
638 .devtools-button:not([disabled]):hover {
639 background: var(--theme-hover-background);
640 color: var(--theme-hover-color);
643 .devtools-button:not([disabled]):hover:active {
644 background: var(--theme-active-background);
645 color: var(--theme-active-color);
648 /* Menu type buttons and checked states */
649 .devtools-button[checked] {
650 background: var(--theme-selection-background);
651 color: var(--theme-selection-color);
654 .devtools-button::before {
662 margin: -8px 0 0 -8px;
663 background-repeat: no-repeat;
666 .devtools-button[disabled]::before,
667 .devtools-button:disabled::before {
671 @media (min-resolution: 1.1dppx) {
672 .devtools-button::before {
673 background-size: 32px;
678 --clear-icon-url: url("chrome://devtools/skin/images/clear.svg");
681 .devtools-button.devtools-clear-icon::before {
682 background-image: var(--clear-icon-url);
685 .devtools-toolbarbutton.devtools-clear-icon {
686 list-style-image: var(--clear-icon-url);
692 .devtools-searchinput {
693 /* -moz-appearance: none;
695 border: 1px solid rgb(88, 94, 101);
697 background-color: rgba(24, 29, 32, 1);
699 color: rgba(184, 200, 217, 1);*/
702 .devtools-searchinput {
706 -moz-padding-start: 22px;
707 -moz-padding-end: 4px;
708 background-position: 8px center;
709 background-size: 11px 11px;
710 background-repeat: no-repeat;
713 background-image: url("magnifying-glass.png");
716 .devtools-searchinput:-moz-locale-dir(rtl) {
717 background-position: calc(100% - 8px) center;
720 .devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-icon {
724 /* Searchbox is a div container element for a search input element */
725 .devtools-searchbox {
731 .devtools-rule-searchbox {
738 .devtools-rule-searchbox[filled] {
739 background-color: var(--searchbox-background-color);
740 border-color: var(--searchbox-border-color);
743 .devtools-style-searchbox-no-match {
744 background-color: var(--searcbox-no-match-background-color) !important;
745 border-color: var(--searcbox-no-match-border-color) !important;
748 .devtools-no-search-result {
749 border-color: var(--theme-highlight-red) !important;
752 .devtools-searchinput-clear {
760 background-position: 0 0;
761 background-repeat: no-repeat;
762 background-color: transparent;
765 .devtools-searchinput-clear {
766 background-image: url("chrome://devtools/skin/search-clear.svg");
769 .devtools-style-searchbox-no-match + .devtools-searchinput-clear {
770 background-image: url("chrome://devtools/skin/search-clear-failed.svg") !important;
773 .devtools-searchinput-clear:hover {
774 background-position: -16px 0;
777 .devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear {
778 list-style-image: url("chrome://devtools/skin/search-clear.svg");
779 -moz-image-region: rect(0, 16px, 16px, 0);
782 .devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear:hover {
783 -moz-image-region: rect(0, 32px, 16px, 16px);
786 @media (min-resolution: 1.1dppx) {
787 .devtools-searchinput {
788 background-image: url("magnifying-glass@2x.png");
794 .devtools-closebutton {
799 .devtools-closebutton > image {
802 -moz-appearance: none;
803 background-size: 32px 16px;
804 background-image: url("chrome://devtools/skin/close@2x.png");
805 background-position: 0 center;
806 background-repeat: no-repeat;
809 .devtools-closebutton:hover > image,
810 .devtools-closebutton:hover:active > image {
811 background-position: -16px center;
814 .devtools-closebutton > .toolbarbutton-text {
818 #toolbox-close::before {
819 background-image: url("chrome://devtools/skin/close@2x.png");
822 /* In-tools sidebar */
824 .devtools-sidebar-tabs {
827 .devtools-sidebar-tabs > tabpanels {
832 .devtools-sidebar-tabs tabs {
837 .devtools-sidebar-alltabs {
842 border-width: 0 0 1px 0;
843 -moz-border-start-width: 1px;
844 border-style: solid;*/
847 .devtools-sidebar-alltabs .toolbarbutton-icon {
851 .devtools-sidebar-tabs tabs > .tabs-right,
852 .devtools-sidebar-tabs tabs > .tabs-left {
856 .devtools-sidebar-tabs tabs > tab {
864 .devtools-sidebar-tabs tabs > tab:-moz-focusring {
868 .devtools-sidebar-tabs tabs > tab:first-of-type {
869 -moz-margin-start: 0;
872 .devtools-sidebar-tabs tabs > tab:last-of-type {
873 -moz-border-end-width: 0;
876 .devtools-sidebar-tabs tabs > tab {
879 .devtools-sidebar-tabs tabs > tab[selected],
880 .devtools-sidebar-tabs tabs > tab[selected] + tab {
883 .devtools-sidebar-tabs tabs > tab:first-child {
886 .devtools-sidebar-tabs tabs > tab:hover {
889 .devtools-sidebar-tabs tabs > tab:hover:active {
892 .devtools-sidebar-tabs tabs > tab[selected] + tab:hover {
895 .devtools-sidebar-tabs tabs > tab[selected] + tab:hover:active {
898 .devtools-sidebar-tabs tabs > tab[selected],
899 .devtools-sidebar-tabs tabs > tab[selected]:hover:active {
902 /* Toolbox - moved from toolbox.css.
903 * Rules that apply to the global toolbox like command buttons,
904 * devtools tabs, docking buttons, etc. */
906 #toolbox-controls > toolbarbutton,
907 #toolbox-dock-buttons > toolbarbutton {
909 /* padding: 1px 3px; */
912 #toolbox-dock-buttons > toolbarbutton > image {
915 background-size: 32px 16px;
916 background-position: 0 center;
917 background-repeat: no-repeat;
920 #toolbox-dock-buttons > toolbarbutton:hover > image {
921 background-position: -16px center;
924 #toolbox-dock-bottom::before,
925 #toolbox-dock-bottom > image {
926 background-image: url("chrome://devtools/skin/dock-bottom@2x.png");
929 #toolbox-dock-side::before,
930 #toolbox-dock-side > image {
931 background-image: url("chrome://devtools/skin/dock-side@2x.png");
934 #toolbox-dock-window::before,
935 #toolbox-dock-window > image {
936 background-image: url("chrome://devtools/skin/undock@2x.png");
939 #toolbox-dock-bottom-minimize {
940 /* Bug 1177463 - The minimize button is currently hidden until we agree on
941 the UI for it, and until bug 1173849 is fixed too. */
945 #toolbox-dock-bottom-minimize > image {
946 background-image: url("chrome://devtools/skin/dock-bottom-minimize@2x.png");
949 #toolbox-dock-bottom-minimize.minimized > image {
950 background-image: url("chrome://devtools/skin/dock-bottom-maximize@2x.png");
953 #toolbox-dock-window,
954 #toolbox-dock-bottom,
958 #toolbox-dock-window:hover,
959 #toolbox-dock-bottom:hover,
960 #toolbox-dock-side:hover {
963 .devtools-separator {
968 #toolbox-buttons:empty + .devtools-separator,
969 .devtools-separator[invisible] {
973 #toolbox-controls-separator {
978 /* Command buttons */
981 /* padding: 1px 4px; */
985 .command-button:hover {
987 .command-button:hover:active {
990 #toolbox-close::before,
991 .toolbox-dock-button::before,
992 .command-button::before,
993 .command-button > image {
996 background-size: 32px 16px;
997 background-position: 0 center;
998 background-repeat: no-repeat;
1001 #toolbox-close:hover::before,
1002 #toolbox-close:hover:active::before,
1003 .toolbox-dock-button:hover::before,
1004 .toolbox-dock-button:hover:active::before,
1005 .command-button:hover::before,
1006 .command-button:hover:active::before,
1007 .command-button[checked=true]::before,
1008 .command-button[open=true]::before,
1009 .command-button:hover > image,
1010 .command-button:hover:active > image,
1011 .command-button[checked=true] > image,
1012 .command-button[open=true] > image {
1013 background-position: -16px center;
1016 #command-button-paintflashing::before,
1017 #command-button-paintflashing > image {
1018 background-image: url("chrome://devtools/skin/command-paintflashing.png");
1021 #command-button-screenshot::before,
1022 #command-button-screenshot > image {
1023 background-image: url("chrome://devtools/skin/command-screenshot.png");
1026 #command-button-responsive::before,
1027 #command-button-responsive > image {
1028 background-image: url("chrome://devtools/skin/command-responsivemode.png");
1031 #command-button-tilt::before,
1032 #command-button-tilt > image {
1033 background-image: url("chrome://devtools/skin/command-tilt.png");
1036 #command-button-scratchpad::before,
1037 #command-button-scratchpad > image {
1038 background-image: url("chrome://devtools/skin/command-scratchpad.png");
1041 #command-button-pick::before,
1042 #command-button-pick > image {
1043 background-image: url("chrome://devtools/skin/command-pick.png");
1046 #command-button-frames::before,
1047 #command-button-frames > image {
1048 background-image: url("chrome://devtools/skin/command-frames.png");
1051 #command-button-splitconsole::before,
1052 #command-button-splitconsole > image {
1053 background-image: url("chrome://devtools/skin/command-console.png");
1056 #command-button-eyedropper::before,
1057 #command-button-eyedropper > image {
1058 background-image: url("chrome://devtools/skin/command-eyedropper.png");
1061 #command-button-rulers::before,
1062 #command-button-rulers > image {
1063 background-image: url("chrome://devtools/skin/command-rulers.png");
1066 #command-button-measure::before,
1067 #command-button-measure > image {
1068 background-image: url("chrome://devtools/skin/images/command-measure.png");
1071 @media (min-resolution: 1.1dppx) {
1072 #command-button-paintflashing > image {
1073 background-image: url("chrome://devtools/skin/command-paintflashing@2x.png");
1076 #command-button-screenshot > image {
1077 background-image: url("chrome://devtools/skin/command-screenshot@2x.png");
1080 #command-button-responsive > image {
1081 background-image: url("chrome://devtools/skin/command-responsivemode@2x.png");
1084 #command-button-tilt > image {
1085 background-image: url("chrome://devtools/skin/command-tilt@2x.png");
1088 #command-button-scratchpad > image {
1089 background-image: url("chrome://devtools/skin/command-scratchpad@2x.png");
1092 #command-button-pick > image {
1093 background-image: url("chrome://devtools/skin/command-pick@2x.png");
1096 #command-button-frames > image {
1097 background-image: url("chrome://devtools/skin/command-frames@2x.png");
1100 #command-button-splitconsole > image {
1101 background-image: url("chrome://devtools/skin/command-console@2x.png");
1104 #command-button-eyedropper > image {
1105 background-image: url("chrome://devtools/skin/command-eyedropper@2x.png");
1108 #command-button-rulers > image {
1109 background-image: url("chrome://devtools/skin/command-rulers@2x.png");
1112 #command-button-measure > image {
1113 background-image: url("chrome://devtools/skin/images/command-measure@2x.png");
1123 padding-inline-start: 3px;
1124 margin-inline-start: 2px; /* this is only needed for the old button design */
1125 margin-inline-end: 3px; /* this is for the new ::before-based button design */
1126 background-color: #000000;
1133 visibility: collapse;
1136 #toolbox-deck[selectedIndex] > .toolbox-panel, /* workaround for Firefox 47 and older */
1137 .toolbox-panel[selected] {
1138 visibility: visible;
1146 -moz-margin-end: 3px;
1148 -moz-padding-start: 3px;
1149 background-color: #C09070;
1150 border-radius: 8px 8px 0 0;
1153 .devtools-tab > image {
1154 -moz-margin-end: 0px;
1155 /* -moz-margin-start: 4px; */
1157 width: 16px; /* Prevents collapse during theme switching */
1160 .devtools-tab:hover > image {
1163 .devtools-tab:active > image,
1164 .devtools-tab[selected] > image {
1167 .devtools-tab:hover,
1168 .devtools-tab:hover:active {
1169 background-color: var(--theme-hover-background);
1170 color: var(--theme-hover-color);
1173 .devtools-tab[selected] {
1174 background-color: var(--theme-selection-background);
1175 color: var(--theme-selection-color);
1178 .devtools-tab > spacer {
1183 .devtools-tab > image {
1185 -moz-margin-start: 0;
1188 #toolbox-picker-container {
1189 margin-inline-start: 1px;
1192 #toolbox-option-container {
1193 background-color: #000000;
1194 padding-inline-start: 3px;
1195 margin-inline-end: 1px;
1198 #toolbox-tab-options {
1202 #toolbox-tab-options > image {
1203 -moz-margin-end: 3px;
1206 .devtools-tab:not([highlighted]) > .highlighted-icon,
1207 .devtools-tab[selected] > .highlighted-icon,
1208 .devtools-tab:not([selected])[highlighted] > .default-icon {
1209 visibility: collapse;
1212 .devtools-tab:not([selected])[highlighted] {
1215 .devtools-tab:not([selected])[highlighted] {
1219 .devtools-tab:not([highlighted]) > .highlighted-icon,
1220 .devtools-tab[selected] > .highlighted-icon,
1221 .devtools-tab:not([selected])[highlighted] > .default-icon {
1222 visibility: collapse;
1225 /* The options tab is special - it doesn't have the same parent
1226 as the other tabs (toolbox-option-container vs toolbox-tabs) */
1227 #toolbox-option-container .devtools-tab:not([selected]) {
1228 /* background-color: transparent;*/
1230 #toolbox-option-container .devtools-tab {
1231 /* border-color: transparent;
1233 -moz-padding-start: 1px;*/
1235 #toolbox-tab-options > image {
1239 .hidden-labels-box:not(.visible) > label,
1240 .hidden-labels-box.visible ~ .hidden-labels-box > label:last-child {
1244 .devtools-horizontal-splitter {
1245 /* border-bottom: 1px solid var(--theme-splitter-color); */
1248 .devtools-side-splitter {
1249 /* -moz-border-end: 1px solid var(--theme-splitter-color);
1250 border-color: var(--theme-splitter-color); / Needed for responsive container at low width. */
1254 .devtools-throbber::before {
1256 display: inline-block;
1257 vertical-align: bottom;
1258 -moz-margin-end: 0.5em;
1261 border: 2px solid currentColor;
1262 border-right-color: transparent;
1264 animation: 1.1s linear throbber-spin infinite;
1267 @keyframes throbber-spin {
1272 transform: rotate(360deg);
1276 /* === END toolbars.inc.css === */