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/. */
7 * https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17
20 background-color: #008484;
25 background-color: rgba(0,0,0,0.5);
29 .CodeMirror-hint-active {
31 color: #FF9F00; /* Light foreground text */
35 .variable-or-property:not([overridden])[changed] { /* contrast bg color to attract attention on a container */
40 .cm-s-mozilla .cm-link { /* original: blue */
45 * FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion
46 * failures in debug builds.
49 .cm-s-mozilla .cm-link:visited,
50 .CodeMirror-Tern-type { /* original: blue */
55 .cm-s-mozilla .cm-meta,
57 .cm-s-mozilla .cm-comment,
58 .variable-or-property .token-undefined,
59 .variable-or-property .token-null { /* original: grey */
63 .CodeMirror-Tern-completion-unknown:before {
64 background-color: #A09090;
68 background-color: #000000;
70 border-color: #9C9CFF;
73 .theme-separator { /* original: grey */
74 border-color: #8050B0;
78 .cm-s-mozilla .cm-number,
79 .variable-or-property .token-number,
80 .variable-or-property[return] > .title > .name,
81 .variable-or-property[scope] > .title > .name { /* original: green */
85 .CodeMirror-Tern-completion-number:before {
86 background-color: #008484;
90 .cm-s-mozilla .cm-attribute,
91 .cm-s-mozilla .cm-variable,
92 .cm-s-mozilla .cm-def,
93 .cm-s-mozilla .cm-property,
94 .cm-s-mozilla .cm-qualifier,
95 .variables-view-variable > .title > .name { /* original: blue */
99 .CodeMirror-Tern-completion-object:before {
100 background-color: #9C9CFF;
103 .cm-s-mozilla .cm-unused-line {
104 text-decoration: line-through;
105 -moz-text-decoration-color: #8050B0;
108 .cm-s-mozilla .cm-executed-line {
109 background-color: #404000;
113 .cm-s-mozilla .cm-builtin,
114 .cm-s-mozilla .cm-tag,
115 .cm-s-mozilla .cm-header,
116 .variables-view-property > .title > .name,
117 .variable-or-property[safe-getter] > .title > .name { /* original: pink/lavender */
121 .CodeMirror-Tern-completion-array:before {
122 background-color: #E7ADE7;
125 .theme-fg-color4 { /* original: purple/violet */
130 .cm-s-mozilla .cm-bracket,
131 .cm-s-mozilla .cm-keyword { /* original: Yellow */
136 .cm-s-mozilla .cm-string,
137 .cm-s-mozilla .cm-string-2,
138 .variable-or-property .token-string,
139 .CodeMirror-Tern-farg { /* original: Orange */
143 .CodeMirror-Tern-completion-string:before,
144 .CodeMirror-Tern-completion-fn:before {
145 background-color: #E7ADE7;
149 .cm-s-mozilla .cm-atom,
150 .cm-s-mozilla .cm-quote,
151 .cm-s-mozilla .cm-error,
152 .variable-or-property .token-boolean,
153 .variable-or-property .token-domnode,
154 .variable-or-property[exception] > .title > .name { /* original: Red */
158 .CodeMirror-Tern-completion-bool:before {
159 background-color: #FF0000;
162 .variable-or-property .token-domnode {
168 .devtools-sidebar-tabs > tabs,
169 .CodeMirror-dialog { /* General toolbar styling */
173 .theme-fg-contrast { /* To be used for text on theme-bg-contrast */
177 .ruleview-colorswatch,
178 .computedview-colorswatch {
179 /* box-shadow: 0 0 0 1px #818181; */
182 .variables-view-scope:focus > .title,
183 .variable-or-property:focus > .title {
184 background-color: #008484; /* fg-color2 */
188 /* CodeMirror specific styles.
189 * Best effort to match the existing theme, some of the colors
190 * are duplicated here to prevent weirdness in the main theme. */
192 .CodeMirror { /* Inherit platform specific font sizing and styles */
193 font-family: inherit;
195 background: transparent;
199 .cm-s-mozilla .cm-variable-2,
200 .cm-s-mozilla .cm-variable-3,
201 .cm-s-mozilla .cm-operator,
202 .cm-s-mozilla .cm-special { /* theme-body color */
206 .cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor {
207 border-left: solid 1px #FF9F00;
210 .cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */
215 .cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */
220 .cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */
221 background: rgba(0, 132, 132, .25);
224 div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */
225 outline: solid 1px rgba(0, 132, 132, .4);
229 /* Highlight for a line that contains an error. */
230 div.CodeMirror div.error-line {
231 background: rgba(255, 0, 0, 0.2);
234 /* Highlight for a line that represents a stack frame's location. */
235 div.CodeMirror div.debug-line {
236 background: rgba(156, 156, 255, 0.2);
239 /* Generic highlighted text */
240 div.CodeMirror span.marked-text {
241 background: rgba(255,207,0,0.2);
242 border: 1px dashed rgba(156, 156, 255, 0.6);
243 -moz-margin-start: -1px;
244 -moz-margin-end: -1px;
247 /* Highlight for evaluating current statement. */
248 div.CodeMirror span.eval-text {
249 background-color: #403800;
252 .cm-s-mozilla .CodeMirror-linenumber { /* line number text */
256 .cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */
257 border-right-color: #A09090;
258 background-color: #402800;
261 .cm-s-markup-view pre {
266 /* Twisty and checkbox controls */
267 .theme-twisty, .theme-checkbox {
270 background-repeat: no-repeat;
271 background-image: url("chrome://browser/skin/devtools/controls.png");
272 background-size: 28px 28px;
277 background-position: -0px -14px;
280 .theme-twisty:-moz-focusring {
284 .theme-twisty[open] {
285 background-position: -14px -14px;
288 .theme-twisty[invisible] {
293 display: inline-block;
297 background-position: 0 0;
300 .theme-checkbox[checked] {
301 background-position: -14px 0;
304 @media (min-resolution: 2dppx) {
305 .theme-twisty, .theme-checkbox {
306 background-image: url("chrome://browser/skin/devtools/controls@2x.png");
310 /* XUL panel styling (see browser/devtools/shared/widgets/Tooltip.js) */
312 .theme-tooltip-panel .panel-arrowcontent {
314 background: rgba(0, 0, 0, .9);
315 /* border-radius: 5px;
317 border: 3px solid #9C9CFF; */
320 /* Overring panel arrow images to fit with our light and dark themes */
322 .theme-tooltip-panel .panel-arrow[side="top"] {
323 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png");
327 .theme-tooltip-panel .panel-arrow[side="bottom"] {
328 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png");
332 .theme-tooltip-panel .panel-arrow[side="left"] {
333 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png");
337 .theme-tooltip-panel .panel-arrow[side="right"] {
338 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png");
342 @media (min-resolution: 2dppx) {
343 .theme-tooltip-panel .panel-arrow[side="top"],
344 .theme-tooltip-panel .panel-arrow[side="bottom"] {
345 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark@2x.png");
348 .theme-tooltip-panel .panel-arrow[side="left"],
349 .theme-tooltip-panel .panel-arrow[side="right"] {
350 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark@2x.png");
354 .theme-tooltip-panel .devtools-tooltip-simple-text {
356 border-bottom: 1px solid #A09090;
359 .theme-tooltip-panel .devtools-tooltip-simple-text:last-child {
363 .devtools-horizontal-splitter {
366 .devtools-side-splitter {
370 .devtools-searchinput {
371 background-color: #000000;
375 .CodeMirror-Tern-fname {
380 .CodeMirror-Tern-tooltip {
381 background-color: #000000;
385 /* === BEGIN toolbars.inc.css === */
389 .devtools-sidebar-tabs > tabs {
395 /* LCARStrek checkbox colors don't work well against toolbar background */
396 .devtools-toolbar > checkbox {
397 background-color: #000000;
401 /* Toolbar buttons */
403 .devtools-toolbarbutton {
406 .devtools-menulist:-moz-focusring,
407 .devtools-toolbarbutton:-moz-focusring {
408 outline: 1px dotted #008484;
411 .devtools-toolbarbutton[standalone] {
413 .devtools-toolbarbutton[label][standalone] {
416 .devtools-toolbarbutton:not([label]),
417 .devtools-toolbarbutton[text-as-image] {
421 .devtools-toolbarbutton:not([label]) > .toolbarbutton-text {
425 .devtools-toolbar .devtools-toolbarbutton {
428 .devtools-toolbarbutton > .toolbarbutton-icon {
431 .devtools-toolbarbutton > .toolbarbutton-menubutton-button {
432 /*-moz-box-orient: horizontal;*/
435 .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
438 .devtools-toolbarbutton[type=menu-button] {
441 .devtools-menulist > .menulist-dropmarker {
444 .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
445 .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
449 .devtools-toolbarbutton {
452 /* Text-only buttons */
453 .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]) {
454 /* background-color: rgba(0, 0, 0, .2); / Splitter */
458 .devtools-toolbarbutton:hover,
459 .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]):hover {
460 /* background: rgba(0, 0, 0, .3); / Splitters */
463 .devtools-toolbarbutton:hover:active,
464 .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]):hover:active {
465 /* background: rgba(0, 0, 0, .4); / Splitters */
468 /* Menu type buttons and checked states */
469 .theme-dark .devtools-menulist[open=true],
470 .theme-dark .devtools-toolbarbutton[open=true],
471 .theme-dark .devtools-toolbarbutton[open=true]:hover,
472 .theme-dark .devtools-toolbarbutton[open=true]:hover:active,
473 .theme-dark .devtools-toolbarbutton[checked=true],
474 .theme-dark .devtools-toolbarbutton[checked=true]:hover {
475 /* background: rgba(29, 79, 115, .7); /*Select highlight blue /
479 .devtools-toolbarbutton[checked=true]:hover {
482 .devtools-option-toolbarbutton {
483 list-style-image: url("chrome://browser/skin/devtools/tool-options-tbutton.svg");
488 .devtools-option-toolbarbutton:hover,
489 .devtools-option-toolbarbutton[open=true] {
490 list-style-image: url("chrome://browser/skin/devtools/tool-options.svg");
493 /* Toolbar button groups */
494 .devtools-toolbarbutton-group > .devtools-toolbarbutton {
497 .devtools-toolbarbutton-group > .devtools-toolbarbutton:last-child {
500 .devtools-toolbarbutton-group + .devtools-toolbarbutton {
503 .devtools-separator + .devtools-toolbarbutton {
509 .devtools-searchinput {
510 /* -moz-appearance: none;
512 border: 1px solid rgb(88, 94, 101);
514 background-color: rgba(24, 29, 32, 1);
516 color: rgba(184, 200, 217, 1);*/
519 .devtools-searchinput {
523 -moz-padding-start: 22px;
524 -moz-padding-end: 12px;
525 background-position: 8px center;
526 background-size: 11px 11px;
527 background-repeat: no-repeat;
530 background-image: url("magnifying-glass.png");
533 @media (min-resolution: 2dppx) {
534 .devtools-searchinput {
535 background-image: url("magnifying-glass@2x.png");
539 .devtools-searchinput:-moz-locale-dir(rtl) {
540 background-position: calc(100% - 8px) center;
543 .devtools-searchinput > .textbox-input-box > .textbox-search-icons {
547 .devtools-no-search-result {
548 border-color: #FF0000 !important;
553 .devtools-closebutton {
558 .devtools-closebutton > image {
561 -moz-appearance: none;
562 background-size: 32px 16px;
563 background-image: url("chrome://browser/skin/devtools/close@2x.png");
564 background-position: 0 center;
565 background-repeat: no-repeat;
568 .devtools-closebutton:hover > image,
569 .devtools-closebutton:hover:active > image {
570 background-position: -16px center;
573 .devtools-closebutton > .toolbarbutton-text {
577 /* In-tools sidebar */
579 .devtools-sidebar-tabs {
582 .devtools-sidebar-tabs > tabpanels {
587 .devtools-sidebar-tabs > tabs {
592 .devtools-sidebar-tabs > tabs > .tabs-right,
593 .devtools-sidebar-tabs > tabs > .tabs-left {
597 .devtools-sidebar-tabs > tabs > tab {
605 .devtools-sidebar-tabs > tabs > tab:-moz-focusring {
609 .devtools-sidebar-tabs > tabs > tab:last-of-type {
610 -moz-border-end-width: 0;
613 .devtools-sidebar-tabs > tabs > tab:first-of-type {
614 -moz-margin-start: 0;
617 .devtools-sidebar-tabs > tabs > tab {
620 .devtools-sidebar-tabs > tabs > tab:not(:last-of-type) {
623 .devtools-sidebar-tabs:-moz-locale-dir(rtl) > tabs > tab {
626 .devtools-sidebar-tabs > tabs > tab {
629 .devtools-sidebar-tabs > tabs > tab:hover {
632 .devtools-sidebar-tabs > tabs > tab:hover:active {
635 .devtools-sidebar-tabs > tabs > tab[selected] + tab {
638 .devtools-sidebar-tabs > tabs > tab[selected] + tab:hover {
641 .devtools-sidebar-tabs > tabs > tab[selected] + tab:hover:active {
644 .devtools-sidebar-tabs > tabs > tab[selected] {
647 .devtools-sidebar-tabs > tabs > tab[selected]:hover {
650 .devtools-sidebar-tabs > tabs > tab[selected]:hover:active {
653 /* Toolbox - moved from toolbox.css.
654 * Rules that apply to the global toolbox like command buttons,
655 * devtools tabs, docking buttons, etc. */
657 #toolbox-controls > toolbarbutton,
658 #toolbox-dock-buttons > toolbarbutton {
660 /* padding: 1px 3px; */
663 #toolbox-dock-buttons > toolbarbutton > image {
666 background-size: 32px 16px;
667 background-position: 0 center;
668 background-repeat: no-repeat;
671 #toolbox-dock-buttons > toolbarbutton:hover > image {
672 background-position: -16px center;
675 #toolbox-dock-bottom > image {
676 background-image: url("chrome://browser/skin/devtools/dock-bottom@2x.png");
679 #toolbox-dock-side > image {
680 background-image: url("chrome://browser/skin/devtools/dock-side@2x.png");
683 #toolbox-dock-window > image {
684 background-image: url("chrome://browser/skin/devtools/undock@2x.png");
687 #toolbox-dock-window,
688 #toolbox-dock-bottom,
692 #toolbox-dock-window:hover,
693 #toolbox-dock-bottom:hover,
694 #toolbox-dock-side:hover {
697 .devtools-separator {
702 #toolbox-buttons:empty + .devtools-separator,
703 .devtools-separator[invisible] {
707 #toolbox-controls-separator {
711 /* Command buttons */
714 /* padding: 1px 4px; */
718 .command-button:hover {
720 .command-button:hover:active {
723 .command-button > image {
726 background-size: 32px 16px;
727 background-position: 0 center;
728 background-repeat: no-repeat;
731 .command-button:hover > image,
732 .command-button:hover:active > image,
733 .command-button[checked=true] > image {
734 background-position: -16px center;
737 #command-button-paintflashing > image {
738 background-image: url("chrome://browser/skin/devtools/command-paintflashing.png");
741 #command-button-screenshot > image {
742 background-image: url("chrome://browser/skin/devtools/command-screenshot.png");
745 #command-button-responsive > image {
746 background-image: url("chrome://browser/skin/devtools/command-responsivemode.png");
749 #command-button-tilt > image {
750 background-image: url("chrome://browser/skin/devtools/command-tilt.png");
753 #command-button-scratchpad > image {
754 background-image: url("chrome://browser/skin/devtools/command-scratchpad.png");
757 #command-button-pick > image {
758 background-image: url("chrome://browser/skin/devtools/command-pick.png");
761 #command-button-splitconsole > image {
762 background-image: url("chrome://browser/skin/devtools/command-console.png");
765 #command-button-eyedropper > image {
766 background-image: url("chrome://browser/skin/devtools/command-eyedropper.png");
769 @media (min-resolution: 2dppx) {
770 #command-button-paintflashing > image {
771 background-image: url("chrome://browser/skin/devtools/command-paintflashing@2x.png");
774 #command-button-screenshot > image {
775 background-image: url("chrome://browser/skin/devtools/command-screenshot@2x.png");
778 #command-button-responsive > image {
779 background-image: url("chrome://browser/skin/devtools/command-responsivemode@2x.png");
782 #command-button-tilt > image {
783 background-image: url("chrome://browser/skin/devtools/command-tilt@2x.png");
786 #command-button-scratchpad > image {
787 background-image: url("chrome://browser/skin/devtools/command-scratchpad@2x.png");
790 #command-button-pick > image {
791 background-image: url("chrome://browser/skin/devtools/command-pick@2x.png");
794 #command-button-splitconsole > image {
795 background-image: url("chrome://browser/skin/devtools/command-console@2x.png");
798 #command-button-eyedropper > image {
799 background-image: url("chrome://browser/skin/devtools/command-eyedropper@2x.png");
810 -moz-padding-start: 3px;
811 background-color: #000000;
820 -moz-margin-end: 3px;
822 -moz-padding-start: 3px;
823 background-color: #C09070;
824 border-radius: 8px 8px 0 0;
827 .devtools-tab > image {
828 -moz-margin-end: 0px;
829 /* -moz-margin-start: 4px; */
831 width: 16px; /* Prevents collapse during theme switching */
834 .devtools-tab:hover > image {
837 .devtools-tab:active > image,
838 .devtools-tab[selected] > image {
842 .devtools-tab:hover:active {
843 background-color: #FFCF00;
847 .devtools-tab[selected] {
848 background-color: #008484;
852 .devtools-tab > spacer {
857 .devtools-tab > image {
859 -moz-margin-start: 0;
862 #toolbox-option-container {
863 background-color: #000000;
864 -moz-padding-start: 3px;
867 #toolbox-tab-options {
871 #toolbox-tab-options > image {
872 -moz-margin-end: 3px;
875 .devtools-tab:not([highlighted]) > .highlighted-icon,
876 .devtools-tab[selected] > .highlighted-icon,
877 .devtools-tab:not([selected])[highlighted] > .default-icon {
878 visibility: collapse;
881 .devtools-tab:not([selected])[highlighted] {
885 .devtools-tab:not([highlighted]) > .highlighted-icon,
886 .devtools-tab[selected] > .highlighted-icon,
887 .devtools-tab:not([selected])[highlighted] > .default-icon {
888 visibility: collapse;
891 /* The options tab is special - it doesn't have the same parent
892 as the other tabs (toolbox-option-container vs toolbox-tabs) */
893 #toolbox-option-container .devtools-tab:not([selected]) {
894 /* background-color: transparent;*/
896 #toolbox-option-container .devtools-tab {
897 /* border-color: transparent;
899 -moz-padding-start: 1px;*/
901 #toolbox-tab-options > image {
905 .hidden-labels-box:not(.visible) > label,
906 .hidden-labels-box.visible ~ .hidden-labels-box > label:last-child {
910 /* === END toolbars.inc.css === */