/* vim:set ts=2 sw=2 sts=2 et: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* According to: * https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17 */ :root { --theme-body-background: #000000; --theme-sidebar-background: #000000; --theme-contrast-background: #402800; --theme-contrast-border: #A09090; --theme-contrast-background2: #795900; /* --theme-tab-toolbar-background: #.252c33; */ --theme-toolbar-background: #000000; --theme-hover-background: #FFCF00; --theme-hover-color: #000000; --theme-selection-background: #008484; --theme-selection-color: #000000; --theme-selection-background2: #004242; --theme-selection-color2: #FF9F00; --theme-selection-background-semitransparent: rgba(0, 132, 132, .5); --theme-splitter-color: #9C9CFF; --theme-comment: #A09090; --theme-contrastsidebar-background: #A09090; --theme-contrastsidebar-color: #000000; --theme-contrastsidebar-bordercolor: #000000; --theme-body-color: #FF9F00; --theme-body-color-alt: #A09090; --theme-content-color1: #FF9F00; --theme-content-color2: #A09090; --theme-content-color3: #FF9F00; --theme-content-disabled: #8050B0; --theme-text-blue: #3333FF; --theme-highlight-green: #008484; --theme-highlight-blue: #9C9CFF; --theme-highlight-bluegrey: #A09090; --theme-highlight-purple: #C09070; --theme-highlight-darkpurple: #6000CF; --theme-highlight-lightorange: #FFCF00; --theme-highlight-orange: #FF9F00; --theme-highlight-red: #FF0000; --theme-highlight-pink: #E7ADE7; } .theme-body { background: var(--theme-body-background); color: var(--theme-body-color); } .theme-sidebar { background: var(--theme-sidebar-background); color: var(--theme-content-color1); } ::-moz-selection { background-color: var(--theme-selection-background); color: var(--theme-selection-color); } .theme-bg-darker { background: var(--theme-selection-background-semitransparent); } .theme-selected, .CodeMirror-hint-active { background-color: var(--theme-selection-background2); color: var(--theme-selection-color2); } .theme-bg-contrast, .variable-or-property:not([overridden])[changed] { background: var(--theme-contrast-background); } .theme-link, .cm-s-mozilla .cm-link { /* original: blue */ color: var(--theme-text-blue); } /* * FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion * failures in debug builds. */ .theme-link:visited, .cm-s-mozilla .cm-link:visited, .CodeMirror-Tern-type { color: var(--theme-text-blue); } .theme-comment, .cm-s-mozilla .cm-meta, .cm-s-mozilla .cm-hr, .cm-s-mozilla .cm-comment, .variable-or-property .token-undefined, .variable-or-property .token-null, .CodeMirror-Tern-completion-unknown:before { color: var(--theme-comment); } .theme-gutter { background-color: #000000; color: var(--theme-content-color3); border-color: #9C9CFF; } .theme-separator { /* original: grey */ border-color: #8050B0; } .theme-fg-color1, .cm-s-mozilla .cm-number, .variable-or-property .token-number, .variable-or-property[return] > .title > .name, .variable-or-property[scope] > .title > .name { color: var(--theme-highlight-green); } .CodeMirror-Tern-completion-number:before { background-color: #008484; } .theme-fg-color2, .cm-s-mozilla .cm-attribute, .cm-s-mozilla .cm-variable, .cm-s-mozilla .cm-def, .cm-s-mozilla .cm-property, .cm-s-mozilla .cm-qualifier, .variables-view-variable > .title > .name { color: var(--theme-highlight-blue); } .CodeMirror-Tern-completion-object:before { background-color: #9C9CFF; } .cm-s-mozilla .cm-unused-line { text-decoration: line-through; text-decoration-color: #8050B0; } .cm-s-mozilla .cm-executed-line { background-color: #404000; } .theme-fg-color3, .cm-s-mozilla .cm-builtin, .cm-s-mozilla .cm-tag, .cm-s-mozilla .cm-header, .cm-s-mozilla .cm-bracket, .variables-view-property > .title > .name, .variable-or-property[safe-getter] > .title > .name { color: var(--theme-highlight-pink); } .CodeMirror-Tern-completion-array:before { color: var(--theme-highlight-pink); /* var(--theme-highlight-bluegrey) */ } .theme-fg-color4 { color: var(--theme-highlight-purple); } .theme-fg-color5, .cm-s-mozilla .cm-keyword { color: var(--theme-highlight-lightorange); } .theme-fg-color6, .cm-s-mozilla .cm-string, .cm-s-mozilla .cm-string-2, .variable-or-property .token-string, .CodeMirror-Tern-farg { color: var(--theme-highlight-pink); /* -orange? */ } .CodeMirror-Tern-completion-string:before, .CodeMirror-Tern-completion-fn:before { background-color: #E7ADE7; } .theme-fg-color7, .cm-s-mozilla .cm-atom, .cm-s-mozilla .cm-quote, .cm-s-mozilla .cm-error, .variable-or-property .token-boolean, .variable-or-property .token-domnode, .variable-or-property[exception] > .title > .name { color: var(--theme-highlight-red); } .CodeMirror-Tern-completion-bool:before { background-color: #FF0000; } .variable-or-property .token-domnode { font-weight: bold; } .theme-toolbar, .devtools-toolbar, .devtools-sidebar-tabs > tabs, .CodeMirror-dialog { /* General toolbar styling */ /* color: var(--theme-body-color-alt); background-color: var(--theme-toolbar-background);*/ } .theme-fg-contrast { /* To be used for text on theme-bg-contrast */ color: #FFCF00; } .ruleview-colorswatch, .computedview-colorswatch, .ruleview-bezierswatch { /* box-shadow: 0 0 0 1px #818181; */ } .variables-view-scope:focus > .title, .variable-or-property:focus > .title { background-color: #008484; /* fg-color2 */ color: #000000; } /* CodeMirror specific styles. * Best effort to match the existing theme, some of the colors * are duplicated here to prevent weirdness in the main theme. */ .CodeMirror { /* Inherit platform specific font sizing and styles */ font-family: inherit; font-size: inherit; background: transparent; } .CodeMirror pre, .cm-s-mozilla .cm-variable-2, .cm-s-mozilla .cm-variable-3, .cm-s-mozilla .cm-operator, .cm-s-mozilla .cm-special { color: var(--theme-content-color1); } .cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor { border-left: solid 1px #FF9F00; } .cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */ background: #008484; color: #FFCF00; } .cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */ background: #008484; color: #000000; } .cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */ background: rgba(0, 132, 132, .25); } div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */ outline: solid 1px rgba(0, 132, 132, .4); color: #FFCF00; } /* Highlight for a line that contains an error. */ div.CodeMirror div.error-line { background: rgba(255, 0, 0, 0.2); } /* Highlight for a line that represents a stack frame's location. */ div.CodeMirror div.debug-line { background: rgba(156, 156, 255, 0.2); } /* Generic highlighted text */ div.CodeMirror span.marked-text { background: rgba(255,207,0,0.2); border: 1px dashed rgba(156, 156, 255, 0.6); -moz-margin-start: -1px; -moz-margin-end: -1px; } /* Highlight for evaluating current statement. */ div.CodeMirror span.eval-text { background-color: #403800; } .cm-s-mozilla .CodeMirror-linenumber { /* line number text */ color: var(--theme-content-color2); } .cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */ border-right-color: var(--theme-contrast-border); background-color: var(--theme-contrast-background); } .cm-s-markup-view pre { line-height: 1.4em; min-height: 1.4em; } /* Twisty and checkbox controls */ .theme-twisty, .theme-checkbox { width: 14px; height: 14px; background-repeat: no-repeat; background-image: url("chrome://browser/skin/devtools/controls.png"); background-size: 28px 28px; } .theme-twisty { cursor: pointer; background-position: -0px -14px; } .theme-twisty:-moz-focusring { outline-style: none; } .theme-twisty[open] { background-position: -14px -14px; } .theme-twisty[invisible] { visibility: hidden; } .theme-checkbox { display: inline-block; border: 0; padding: 0; outline: none; background-position: 0 0; } .theme-checkbox[checked] { background-position: -14px 0; } @media (min-resolution: 2dppx) { .theme-twisty, .theme-checkbox { background-image: url("chrome://browser/skin/devtools/controls@2x.png"); } } /* XUL panel styling (see browser/devtools/shared/widgets/Tooltip.js) */ .theme-tooltip-panel .panel-arrowcontent { /* padding: 5px; */ background: rgba(0, 0, 0, .9); /* border-radius: 5px; box-shadow: none; border: 3px solid #9C9CFF; */ } /* Overring panel arrow images to fit with our light and dark themes */ /* .theme-tooltip-panel .panel-arrow[side="top"] { list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png"); margin-bottom: -4px; } .theme-tooltip-panel .panel-arrow[side="bottom"] { list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png"); margin-top: -4px; } .theme-tooltip-panel .panel-arrow[side="left"] { list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png"); margin-right: -4px; } .theme-tooltip-panel .panel-arrow[side="right"] { list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png"); margin-left: -4px; } @media (min-resolution: 2dppx) { .theme-tooltip-panel .panel-arrow[side="top"], .theme-tooltip-panel .panel-arrow[side="bottom"] { list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark@2x.png"); } .theme-tooltip-panel .panel-arrow[side="left"], .theme-tooltip-panel .panel-arrow[side="right"] { list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark@2x.png"); } } */ .theme-tooltip-panel .devtools-tooltip-simple-text { /* color: white; */ border-bottom: 1px solid #A09090; } .theme-tooltip-panel .devtools-tooltip-simple-text:last-child { border-bottom: 0; } .devtools-horizontal-splitter { /* border-bottom: 1px solid var(--theme-splitter-color); */ } .devtools-side-splitter { /* -moz-border-end: 1px solid var(--theme-splitter-color); border-color: var(--theme-splitter-color); / Needed for responsive container at low width. */ } .devtools-textinput, .devtools-searchinput { background-color: #000000; color: #E7ADE7; } .CodeMirror-Tern-fname { color: #A09090; } .CodeMirror-hints, .CodeMirror-Tern-tooltip { background-color: #000000; color: var(--theme-body-color); } /* === BEGIN toolbars.inc.css === */ /* Toolbars */ .devtools-toolbar, .devtools-sidebar-tabs > tabs { } .devtools-toolbar { } .devtools-toolbar checkbox { /* LCARStrek checkbox colors don't work well against toolbar background */ background-color: var(--theme-toolbar-background); padding: 2px; } .devtools-toolbar checkbox .checkbox-check { } .devtools-toolbar checkbox .checkbox-label-box { } .devtools-toolbar checkbox .checkbox-label-box .checkbox-label { } /* Toolbar buttons */ .devtools-menulist, .devtools-toolbarbutton { /* transition: background 0.05s ease-in-out; */ } .devtools-menulist:-moz-focusring, .devtools-toolbarbutton:-moz-focusring { outline: 1px dotted var(--theme-selection-color); } .devtools-toolbarbutton[standalone] { } .devtools-toolbarbutton[label][standalone] { } .devtools-toolbarbutton:not([label]), .devtools-toolbarbutton[text-as-image] { min-width: 20px; } #toolbox-buttons .devtools-toolbarbutton[text-as-image] { -moz-padding-start: 5px; -moz-padding-end: 5px; min-width: inherit; } /* Command buttons with menupopups should be styled slightly differently - no background color and a bit more narrow */ #toolbox-buttons .devtools-toolbarbutton:not([text-as-image]):not(:hover):not([open=true]) { background: transparent; } #toolbox-buttons .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker { padding: 0 2px; } .devtools-toolbarbutton:not([label]) > .toolbarbutton-text { display: none; } .devtools-toolbar .devtools-toolbarbutton { } .devtools-toolbarbutton > .toolbarbutton-icon { } .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { /* -moz-box-orient: horizontal; */ } .devtools-toolbarbutton[type=menu-button] { } .devtools-toolbarbutton > .toolbarbutton-menubutton-button > .toolbarbutton-icon { } .devtools-menulist > .menulist-dropmarker { } .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { } .devtools-menulist, .devtools-toolbarbutton { } /* Text-only buttons */ .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]), #toolbox-buttons .devtools-toolbarbutton[text-as-image] { /* background-color: rgba(0, 0, 0, .2); / Splitter */ } /* Button States */ .devtools-toolbarbutton:hover, #toolbox-buttons .devtools-toolbarbutton[text-as-image]:hover, .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]):hover { /* background: rgba(0, 0, 0, .3); / Splitters */ } .devtools-toolbarbutton:hover:active, #toolbox-buttons .devtools-toolbarbutton[text-as-image]:hover:active, .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]):hover:active { /* background: rgba(0, 0, 0, .4); / Splitters */ } /* Menu type buttons and checked states */ .devtools-toolbarbutton[checked=true], #toolbox-buttons .devtools-toolbarbutton[text-as-image][checked] { /* background: rgba(29, 79, 115, .7); / Select highlight blue / color: var(--theme-selection-color); */ } .devtools-menulist[open=true], .devtools-toolbarbutton[open=true], .devtools-toolbarbutton[open=true]:hover, .devtools-toolbarbutton[open=true]:hover:active, .devtools-toolbarbutton[checked=true], .devtools-toolbarbutton[checked=true]:hover, #toolbox-buttons .devtools-toolbarbutton[text-as-image][checked] { /* background: rgba(29, 79, 115, .8); / Select highlight blue / color: var(--theme-selection-color); */ } .devtools-toolbarbutton[checked=true]:hover { } .devtools-option-toolbarbutton { list-style-image: url("chrome://browser/skin/devtools/tool-options-tbutton.svg"); /* background: none; border: none; */ } .devtools-option-toolbarbutton:hover, .devtools-option-toolbarbutton[open=true] { list-style-image: url("chrome://browser/skin/devtools/tool-options.svg"); } /* Toolbar button groups */ .devtools-toolbarbutton-group > .devtools-toolbarbutton { } .devtools-toolbarbutton-group > .devtools-toolbarbutton:last-child { } .devtools-toolbarbutton-group + .devtools-toolbarbutton { } .devtools-separator + .devtools-toolbarbutton { } /* Text input */ .devtools-textinput, .devtools-searchinput { /* -moz-appearance: none; margin: 0 3px; border: 1px solid rgb(88, 94, 101); border-radius: 2px; background-color: rgba(24, 29, 32, 1); padding: 4px 6px; color: rgba(184, 200, 217, 1);*/ } .devtools-searchinput { /* margin-top: 1px; margin-bottom: 1px; padding: 0;*/ -moz-padding-start: 22px; -moz-padding-end: 12px; background-position: 8px center; background-size: 11px 11px; background-repeat: no-repeat; font-size: inherit; background-image: url("magnifying-glass.png"); } @media (min-resolution: 2dppx) { .devtools-searchinput { background-image: url("magnifying-glass@2x.png"); } } .devtools-searchinput:-moz-locale-dir(rtl) { background-position: calc(100% - 8px) center; } .devtools-searchinput > .textbox-input-box > .textbox-search-icons { display: none; } .devtools-no-search-result { border-color: var(--theme-highlight-red) !important; } /* Close button */ .devtools-closebutton { min-width: 16px; width: 16px; } .devtools-closebutton > image { width: 16px; height: 16px; -moz-appearance: none; background-size: 32px 16px; background-image: url("chrome://browser/skin/devtools/close@2x.png"); background-position: 0 center; background-repeat: no-repeat; } .devtools-closebutton:hover > image, .devtools-closebutton:hover:active > image { background-position: -16px center; } .devtools-closebutton > .toolbarbutton-text { display: none; } /* In-tools sidebar */ .devtools-sidebar-tabs { } .devtools-sidebar-tabs > tabpanels { padding: 0; border: 0; } .devtools-sidebar-tabs > tabs { position: static; overflow: hidden; } .devtools-sidebar-tabs > tabs > .tabs-right, .devtools-sidebar-tabs > tabs > .tabs-left { display: none; } .devtools-sidebar-tabs > tabs > tab { min-width: 78px; text-align: center; -moz-box-flex: 1; position: static; margin-top: 0; } .devtools-sidebar-tabs > tabs > tab:-moz-focusring { position: static; } .devtools-sidebar-tabs > tabs > tab:last-of-type { -moz-border-end-width: 0; } .devtools-sidebar-tabs > tabs > tab:first-child { } .devtools-sidebar-tabs > tabs > tab:hover { } .devtools-sidebar-tabs > tabs > tab:hover:active { } .devtools-sidebar-tabs > tabs > tab[selected] + tab { } .devtools-sidebar-tabs > tabs > tab[selected] + tab:hover { } .devtools-sidebar-tabs > tabs > tab[selected] + tab:hover:active { } .devtools-sidebar-tabs > tabs > tab[selected], .devtools-sidebar-tabs > tabs > tab[selected]:hover:active { } /* Toolbox - moved from toolbox.css. * Rules that apply to the global toolbox like command buttons, * devtools tabs, docking buttons, etc. */ #toolbox-controls > toolbarbutton, #toolbox-dock-buttons > toolbarbutton { min-width: 16px; /* padding: 1px 3px; */ } #toolbox-dock-buttons > toolbarbutton > image { width: 16px; height: 16px; background-size: 32px 16px; background-position: 0 center; background-repeat: no-repeat; } #toolbox-dock-buttons > toolbarbutton:hover > image { background-position: -16px center; } #toolbox-dock-bottom > image { background-image: url("chrome://browser/skin/devtools/dock-bottom@2x.png"); } #toolbox-dock-side > image { background-image: url("chrome://browser/skin/devtools/dock-side@2x.png"); } #toolbox-dock-window > image { background-image: url("chrome://browser/skin/devtools/undock@2x.png"); } #toolbox-dock-window, #toolbox-dock-bottom, #toolbox-dock-side { } #toolbox-dock-window:hover, #toolbox-dock-bottom:hover, #toolbox-dock-side:hover { } .devtools-separator { margin: 0 2px; width: 2px; } #toolbox-buttons:empty + .devtools-separator, .devtools-separator[invisible] { visibility: hidden; } #toolbox-controls-separator { margin: 0; } /* Command buttons */ .command-button { /* padding: 1px 4px; */ min-width: 16px; } .command-button:hover { } .command-button:hover:active { } .command-button > image { width: 16px; height: 16px; background-size: 32px 16px; background-position: 0 center; background-repeat: no-repeat; } .command-button:hover > image, .command-button:hover:active > image, .command-button[checked=true] > image, .command-button[open=true] > image { background-position: -16px center; } #command-button-paintflashing > image { background-image: url("chrome://browser/skin/devtools/command-paintflashing.png"); } #command-button-screenshot > image { background-image: url("chrome://browser/skin/devtools/command-screenshot.png"); } #command-button-responsive > image { background-image: url("chrome://browser/skin/devtools/command-responsivemode.png"); } #command-button-tilt > image { background-image: url("chrome://browser/skin/devtools/command-tilt.png"); } #command-button-scratchpad > image { background-image: url("chrome://browser/skin/devtools/command-scratchpad.png"); } #command-button-pick > image { background-image: url("chrome://browser/skin/devtools/command-pick.png"); } #command-button-frames > image { background-image: url("chrome://browser/skin/devtools/command-frames.png"); } #command-button-splitconsole > image { background-image: url("chrome://browser/skin/devtools/command-console.png"); } #command-button-eyedropper > image { background-image: url("chrome://browser/skin/devtools/command-eyedropper.png"); } @media (min-resolution: 2dppx) { #command-button-paintflashing > image { background-image: url("chrome://browser/skin/devtools/command-paintflashing@2x.png"); } #command-button-screenshot > image { background-image: url("chrome://browser/skin/devtools/command-screenshot@2x.png"); } #command-button-responsive > image { background-image: url("chrome://browser/skin/devtools/command-responsivemode@2x.png"); } #command-button-tilt > image { background-image: url("chrome://browser/skin/devtools/command-tilt@2x.png"); } #command-button-scratchpad > image { background-image: url("chrome://browser/skin/devtools/command-scratchpad@2x.png"); } #command-button-pick > image { background-image: url("chrome://browser/skin/devtools/command-pick@2x.png"); } #command-button-frames > image { background-image: url("chrome://browser/skin/devtools/command-frames@2x.png"); } #command-button-splitconsole > image { background-image: url("chrome://browser/skin/devtools/command-console@2x.png"); } #command-button-eyedropper > image { background-image: url("chrome://browser/skin/devtools/command-eyedropper@2x.png"); } } /* Tabs */ .devtools-tabbar { } #toolbox-tabs { margin: 0 2px; -moz-padding-start: 3px; background-color: #000000; color: #FFCF00; } .devtools-tab { min-width: 32px; max-width: 110px; color: #000000; margin: 0; -moz-margin-end: 3px; padding: 1px; -moz-padding-start: 3px; background-color: #C09070; border-radius: 8px 8px 0 0; } .devtools-tab > image { -moz-margin-end: 0px; /* -moz-margin-start: 4px; */ max-height: 16px; width: 16px; /* Prevents collapse during theme switching */ } .devtools-tab:hover > image { } .devtools-tab:active > image, .devtools-tab[selected] > image { } .devtools-tab:hover, .devtools-tab:hover:active { background-color: var(--theme-hover-background); color: var(--theme-hover-color); } .devtools-tab[selected] { background-color: var(--theme-selection-background); color: var(--theme-selection-color); } .devtools-tab > spacer { max-width: 0; -moz-box-flex: 0; } .devtools-tab > image { -moz-margin-end: 0; -moz-margin-start: 0; } #toolbox-option-container { background-color: #000000; -moz-padding-start: 3px; } #toolbox-tab-options { min-width: 20px; } #toolbox-tab-options > image { -moz-margin-end: 3px; } .devtools-tab:not([highlighted]) > .highlighted-icon, .devtools-tab[selected] > .highlighted-icon, .devtools-tab:not([selected])[highlighted] > .default-icon { visibility: collapse; } .devtools-tab:not([selected])[highlighted] { color: #FFCF00; } .devtools-tab:not([highlighted]) > .highlighted-icon, .devtools-tab[selected] > .highlighted-icon, .devtools-tab:not([selected])[highlighted] > .default-icon { visibility: collapse; } /* The options tab is special - it doesn't have the same parent as the other tabs (toolbox-option-container vs toolbox-tabs) */ #toolbox-option-container .devtools-tab:not([selected]) { /* background-color: transparent;*/ } #toolbox-option-container .devtools-tab { /* border-color: transparent; border-width: 0; -moz-padding-start: 1px;*/ } #toolbox-tab-options > image { /* margin: 0 8px;*/ } .hidden-labels-box:not(.visible) > label, .hidden-labels-box.visible ~ .hidden-labels-box > label:last-child { display: none; } /* === END toolbars.inc.css === */