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 */
36 background: #402800; /* Background - Attention */
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 .ruleview-bezierswatch {
180 /* box-shadow: 0 0 0 1px #818181; */
183 .variables-view-scope:focus > .title,
184 .variable-or-property:focus > .title {
185 background-color: #008484; /* fg-color2 */
189 /* CodeMirror specific styles.
190 * Best effort to match the existing theme, some of the colors
191 * are duplicated here to prevent weirdness in the main theme. */
193 .CodeMirror { /* Inherit platform specific font sizing and styles */
194 font-family: inherit;
196 background: transparent;
200 .cm-s-mozilla .cm-variable-2,
201 .cm-s-mozilla .cm-variable-3,
202 .cm-s-mozilla .cm-operator,
203 .cm-s-mozilla .cm-special { /* theme-body color */
207 .cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor {
208 border-left: solid 1px #FF9F00;
211 .cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */
216 .cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */
221 .cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */
222 background: rgba(0, 132, 132, .25);
225 div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */
226 outline: solid 1px rgba(0, 132, 132, .4);
230 /* Highlight for a line that contains an error. */
231 div.CodeMirror div.error-line {
232 background: rgba(255, 0, 0, 0.2);
235 /* Highlight for a line that represents a stack frame's location. */
236 div.CodeMirror div.debug-line {
237 background: rgba(156, 156, 255, 0.2);
240 /* Generic highlighted text */
241 div.CodeMirror span.marked-text {
242 background: rgba(255,207,0,0.2);
243 border: 1px dashed rgba(156, 156, 255, 0.6);
244 -moz-margin-start: -1px;
245 -moz-margin-end: -1px;
248 /* Highlight for evaluating current statement. */
249 div.CodeMirror span.eval-text {
250 background-color: #403800;
253 .cm-s-mozilla .CodeMirror-linenumber { /* line number text */
257 .cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */
258 border-right-color: #A09090;
259 background-color: #402800;
262 .cm-s-markup-view pre {
267 /* Twisty and checkbox controls */
268 .theme-twisty, .theme-checkbox {
271 background-repeat: no-repeat;
272 background-image: url("chrome://browser/skin/devtools/controls.png");
273 background-size: 28px 28px;
278 background-position: -0px -14px;
281 .theme-twisty:-moz-focusring {
285 .theme-twisty[open] {
286 background-position: -14px -14px;
289 .theme-twisty[invisible] {
294 display: inline-block;
298 background-position: 0 0;
301 .theme-checkbox[checked] {
302 background-position: -14px 0;
305 @media (min-resolution: 2dppx) {
306 .theme-twisty, .theme-checkbox {
307 background-image: url("chrome://browser/skin/devtools/controls@2x.png");
311 /* XUL panel styling (see browser/devtools/shared/widgets/Tooltip.js) */
313 .theme-tooltip-panel .panel-arrowcontent {
315 background: rgba(0, 0, 0, .9);
316 /* border-radius: 5px;
318 border: 3px solid #9C9CFF; */
321 /* Overring panel arrow images to fit with our light and dark themes */
323 .theme-tooltip-panel .panel-arrow[side="top"] {
324 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png");
328 .theme-tooltip-panel .panel-arrow[side="bottom"] {
329 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png");
333 .theme-tooltip-panel .panel-arrow[side="left"] {
334 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png");
338 .theme-tooltip-panel .panel-arrow[side="right"] {
339 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png");
343 @media (min-resolution: 2dppx) {
344 .theme-tooltip-panel .panel-arrow[side="top"],
345 .theme-tooltip-panel .panel-arrow[side="bottom"] {
346 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark@2x.png");
349 .theme-tooltip-panel .panel-arrow[side="left"],
350 .theme-tooltip-panel .panel-arrow[side="right"] {
351 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark@2x.png");
355 .theme-tooltip-panel .devtools-tooltip-simple-text {
357 border-bottom: 1px solid #A09090;
360 .theme-tooltip-panel .devtools-tooltip-simple-text:last-child {
364 .devtools-horizontal-splitter {
367 .devtools-side-splitter {
371 .devtools-searchinput {
372 background-color: #000000;
376 .CodeMirror-Tern-fname {
381 .CodeMirror-Tern-tooltip {
382 background-color: #000000;
386 /* === BEGIN toolbars.inc.css === */
390 .devtools-sidebar-tabs > tabs {
396 .devtools-toolbar checkbox {
397 /* LCARStrek checkbox colors don't work well against toolbar background */
398 background-color: #000000;
401 .devtools-toolbar checkbox .checkbox-check {
403 .devtools-toolbar checkbox .checkbox-label-box {
405 .devtools-toolbar checkbox .checkbox-label-box .checkbox-label {
408 /* Toolbar buttons */
410 .devtools-toolbarbutton {
411 /* transition: background 0.05s ease-in-out; */
414 .devtools-menulist:-moz-focusring,
415 .devtools-toolbarbutton:-moz-focusring {
416 outline: 1px dotted #008484;
419 .devtools-toolbarbutton[standalone] {
421 .devtools-toolbarbutton[label][standalone] {
424 .devtools-toolbarbutton:not([label]),
425 .devtools-toolbarbutton[text-as-image] {
429 #toolbox-buttons .devtools-toolbarbutton[text-as-image] {
430 -moz-padding-start: 5px;
431 -moz-padding-end: 5px;
435 /* Command buttons with menupopups should be styled slightly differently -
436 no background color and a bit more narrow */
437 #toolbox-buttons .devtools-toolbarbutton:not([text-as-image]):not(:hover):not([open=true]) {
438 background: transparent;
440 #toolbox-buttons .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker {
444 .devtools-toolbarbutton:not([label]) > .toolbarbutton-text {
448 .devtools-toolbar .devtools-toolbarbutton {
451 .devtools-toolbarbutton > .toolbarbutton-icon {
454 .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
455 /* -moz-box-orient: horizontal; */
458 .devtools-toolbarbutton[type=menu-button] {
461 .devtools-toolbarbutton > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
464 .devtools-menulist > .menulist-dropmarker {
467 .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
468 .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
472 .devtools-toolbarbutton {
475 /* Text-only buttons */
476 .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]),
477 #toolbox-buttons .devtools-toolbarbutton[text-as-image] {
478 /* background-color: rgba(0, 0, 0, .2); / Splitter */
482 .devtools-toolbarbutton:hover,
483 #toolbox-buttons .devtools-toolbarbutton[text-as-image]:hover,
484 .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]):hover {
485 /* background: rgba(0, 0, 0, .3); / Splitters */
488 .devtools-toolbarbutton:hover:active,
489 #toolbox-buttons .devtools-toolbarbutton[text-as-image]:hover:active,
490 .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]):hover:active {
491 /* background: rgba(0, 0, 0, .4); / Splitters */
494 /* Menu type buttons and checked states */
495 .devtools-toolbarbutton[checked=true],
496 #toolbox-buttons .devtools-toolbarbutton[text-as-image][checked] {
497 /* background: rgba(29, 79, 115, .7); / Select highlight blue /
501 .devtools-menulist[open=true],
502 .devtools-toolbarbutton[open=true],
503 .devtools-toolbarbutton[open=true]:hover,
504 .devtools-toolbarbutton[open=true]:hover:active,
505 .devtools-toolbarbutton[checked=true],
506 .devtools-toolbarbutton[checked=true]:hover,
507 #toolbox-buttons .devtools-toolbarbutton[text-as-image][checked] {
508 /* background: rgba(29, 79, 115, .8); / Select highlight blue /
512 .devtools-toolbarbutton[checked=true]:hover {
515 .devtools-option-toolbarbutton {
516 list-style-image: url("chrome://browser/skin/devtools/tool-options-tbutton.svg");
521 .devtools-option-toolbarbutton:hover,
522 .devtools-option-toolbarbutton[open=true] {
523 list-style-image: url("chrome://browser/skin/devtools/tool-options.svg");
526 /* Toolbar button groups */
527 .devtools-toolbarbutton-group > .devtools-toolbarbutton {
530 .devtools-toolbarbutton-group > .devtools-toolbarbutton:last-child {
533 .devtools-toolbarbutton-group + .devtools-toolbarbutton {
536 .devtools-separator + .devtools-toolbarbutton {
542 .devtools-searchinput {
543 /* -moz-appearance: none;
545 border: 1px solid rgb(88, 94, 101);
547 background-color: rgba(24, 29, 32, 1);
549 color: rgba(184, 200, 217, 1);*/
552 .devtools-searchinput {
556 -moz-padding-start: 22px;
557 -moz-padding-end: 12px;
558 background-position: 8px center;
559 background-size: 11px 11px;
560 background-repeat: no-repeat;
563 background-image: url("magnifying-glass.png");
566 @media (min-resolution: 2dppx) {
567 .devtools-searchinput {
568 background-image: url("magnifying-glass@2x.png");
572 .devtools-searchinput:-moz-locale-dir(rtl) {
573 background-position: calc(100% - 8px) center;
576 .devtools-searchinput > .textbox-input-box > .textbox-search-icons {
580 .devtools-no-search-result {
581 border-color: #FF0000 !important;
586 .devtools-closebutton {
591 .devtools-closebutton > image {
594 -moz-appearance: none;
595 background-size: 32px 16px;
596 background-image: url("chrome://browser/skin/devtools/close@2x.png");
597 background-position: 0 center;
598 background-repeat: no-repeat;
601 .devtools-closebutton:hover > image,
602 .devtools-closebutton:hover:active > image {
603 background-position: -16px center;
606 .devtools-closebutton > .toolbarbutton-text {
610 /* In-tools sidebar */
612 .devtools-sidebar-tabs {
615 .devtools-sidebar-tabs > tabpanels {
620 .devtools-sidebar-tabs > tabs {
625 .devtools-sidebar-tabs > tabs > .tabs-right,
626 .devtools-sidebar-tabs > tabs > .tabs-left {
630 .devtools-sidebar-tabs > tabs > tab {
638 .devtools-sidebar-tabs > tabs > tab:-moz-focusring {
642 .devtools-sidebar-tabs > tabs > tab:last-of-type {
643 -moz-border-end-width: 0;
646 .devtools-sidebar-tabs > tabs > tab:first-child {
649 .devtools-sidebar-tabs > tabs > tab:hover {
652 .devtools-sidebar-tabs > tabs > tab:hover:active {
655 .devtools-sidebar-tabs > tabs > tab[selected] + tab {
658 .devtools-sidebar-tabs > tabs > tab[selected] + tab:hover {
661 .devtools-sidebar-tabs > tabs > tab[selected] + tab:hover:active {
664 .devtools-sidebar-tabs > tabs > tab[selected],
665 .devtools-sidebar-tabs > tabs > tab[selected]:hover:active {
668 /* Toolbox - moved from toolbox.css.
669 * Rules that apply to the global toolbox like command buttons,
670 * devtools tabs, docking buttons, etc. */
672 #toolbox-controls > toolbarbutton,
673 #toolbox-dock-buttons > toolbarbutton {
675 /* padding: 1px 3px; */
678 #toolbox-dock-buttons > toolbarbutton > image {
681 background-size: 32px 16px;
682 background-position: 0 center;
683 background-repeat: no-repeat;
686 #toolbox-dock-buttons > toolbarbutton:hover > image {
687 background-position: -16px center;
690 #toolbox-dock-bottom > image {
691 background-image: url("chrome://browser/skin/devtools/dock-bottom@2x.png");
694 #toolbox-dock-side > image {
695 background-image: url("chrome://browser/skin/devtools/dock-side@2x.png");
698 #toolbox-dock-window > image {
699 background-image: url("chrome://browser/skin/devtools/undock@2x.png");
702 #toolbox-dock-window,
703 #toolbox-dock-bottom,
707 #toolbox-dock-window:hover,
708 #toolbox-dock-bottom:hover,
709 #toolbox-dock-side:hover {
712 .devtools-separator {
717 #toolbox-buttons:empty + .devtools-separator,
718 .devtools-separator[invisible] {
722 #toolbox-controls-separator {
726 /* Command buttons */
729 /* padding: 1px 4px; */
733 .command-button:hover {
735 .command-button:hover:active {
738 .command-button > image {
741 background-size: 32px 16px;
742 background-position: 0 center;
743 background-repeat: no-repeat;
746 .command-button:hover > image,
747 .command-button:hover:active > image,
748 .command-button[checked=true] > image,
749 .command-button[open=true] > image {
750 background-position: -16px center;
753 #command-button-paintflashing > image {
754 background-image: url("chrome://browser/skin/devtools/command-paintflashing.png");
757 #command-button-screenshot > image {
758 background-image: url("chrome://browser/skin/devtools/command-screenshot.png");
761 #command-button-responsive > image {
762 background-image: url("chrome://browser/skin/devtools/command-responsivemode.png");
765 #command-button-tilt > image {
766 background-image: url("chrome://browser/skin/devtools/command-tilt.png");
769 #command-button-scratchpad > image {
770 background-image: url("chrome://browser/skin/devtools/command-scratchpad.png");
773 #command-button-pick > image {
774 background-image: url("chrome://browser/skin/devtools/command-pick.png");
777 #command-button-frames > image {
778 background-image: url("chrome://browser/skin/devtools/command-frames.png");
781 #command-button-splitconsole > image {
782 background-image: url("chrome://browser/skin/devtools/command-console.png");
785 #command-button-eyedropper > image {
786 background-image: url("chrome://browser/skin/devtools/command-eyedropper.png");
789 @media (min-resolution: 2dppx) {
790 #command-button-paintflashing > image {
791 background-image: url("chrome://browser/skin/devtools/command-paintflashing@2x.png");
794 #command-button-screenshot > image {
795 background-image: url("chrome://browser/skin/devtools/command-screenshot@2x.png");
798 #command-button-responsive > image {
799 background-image: url("chrome://browser/skin/devtools/command-responsivemode@2x.png");
802 #command-button-tilt > image {
803 background-image: url("chrome://browser/skin/devtools/command-tilt@2x.png");
806 #command-button-scratchpad > image {
807 background-image: url("chrome://browser/skin/devtools/command-scratchpad@2x.png");
810 #command-button-pick > image {
811 background-image: url("chrome://browser/skin/devtools/command-pick@2x.png");
814 #command-button-frames > image {
815 background-image: url("chrome://browser/skin/devtools/command-frames@2x.png");
818 #command-button-splitconsole > image {
819 background-image: url("chrome://browser/skin/devtools/command-console@2x.png");
822 #command-button-eyedropper > image {
823 background-image: url("chrome://browser/skin/devtools/command-eyedropper@2x.png");
834 -moz-padding-start: 3px;
835 background-color: #000000;
844 -moz-margin-end: 3px;
846 -moz-padding-start: 3px;
847 background-color: #C09070;
848 border-radius: 8px 8px 0 0;
851 .devtools-tab > image {
852 -moz-margin-end: 0px;
853 /* -moz-margin-start: 4px; */
855 width: 16px; /* Prevents collapse during theme switching */
858 .devtools-tab:hover > image {
861 .devtools-tab:active > image,
862 .devtools-tab[selected] > image {
866 .devtools-tab:hover:active {
867 background-color: #FFCF00;
871 .devtools-tab[selected] {
872 background-color: #008484;
876 .devtools-tab > spacer {
881 .devtools-tab > image {
883 -moz-margin-start: 0;
886 #toolbox-option-container {
887 background-color: #000000;
888 -moz-padding-start: 3px;
891 #toolbox-tab-options {
895 #toolbox-tab-options > image {
896 -moz-margin-end: 3px;
899 .devtools-tab:not([highlighted]) > .highlighted-icon,
900 .devtools-tab[selected] > .highlighted-icon,
901 .devtools-tab:not([selected])[highlighted] > .default-icon {
902 visibility: collapse;
905 .devtools-tab:not([selected])[highlighted] {
909 .devtools-tab:not([highlighted]) > .highlighted-icon,
910 .devtools-tab[selected] > .highlighted-icon,
911 .devtools-tab:not([selected])[highlighted] > .default-icon {
912 visibility: collapse;
915 /* The options tab is special - it doesn't have the same parent
916 as the other tabs (toolbox-option-container vs toolbox-tabs) */
917 #toolbox-option-container .devtools-tab:not([selected]) {
918 /* background-color: transparent;*/
920 #toolbox-option-container .devtools-tab {
921 /* border-color: transparent;
923 -moz-padding-start: 1px;*/
925 #toolbox-tab-options > image {
929 .hidden-labels-box:not(.visible) > label,
930 .hidden-labels-box.visible ~ .hidden-labels-box > label:last-child {
934 /* === END toolbars.inc.css === */