1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
6 @namespace html url("http://www.w3.org/1999/xhtml");
8 /* Mostly copied from mozilla/devtools/client/themes/commandline.inc.css */
11 /* Developer toolbar */
13 /* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
14 We are copy/pasting variables from light-theme and dark-theme,
15 since they aren't loaded in this context (within browser.css). */
16 #developer-toolbar[devtoolstheme="light"],
17 #developer-toolbar[devtoolstheme="dark"] {
18 --gcli-background-color: #000000; /* --theme-toolbar-background */
19 --gcli-input-background: #000000; /* --theme-tab-toolbar-background */
20 --gcli-input-focused-background: #402800; /* --theme-tab-toolbar-background */
21 --gcli-input-color: #A09090; /* --theme-body-color-alt */
22 --gcli-border-color: #9C9CFF; /* --theme-splitter-color */
23 --selection-background: #008484; /* --theme-selection-background */
24 --selection-color: #000000; /* --theme-selection-color */
29 background-color: var(--gcli-background-color);
30 border-top: 1px solid var(--gcli-border-color);
33 #developer-toolbar[devtoolstheme="light"] .gclitoolbar-input-node:not([focused=true])::before {
37 #developer-toolbar-toolbox-button {
38 list-style-image: url("chrome://devtools/skin/images/toggle-tools.png");
39 -moz-image-region: rect(0px, 64px, 16px, 48px);
42 #developer-toolbar-toolbox-button:hover > .toolbarbutton-icon {
43 filter: brightness(120%);
46 #developer-toolbar-toolbox-button:hover:active > .toolbarbutton-icon {
47 filter: saturate(150%);
50 #developer-toolbar-toolbox-button[checked=true] > .toolbarbutton-icon {
51 filter: hue-rotate(180deg);
54 @media (min-resolution: 1.1dppx) {
55 #developer-toolbar-toolbox-button {
56 list-style-image: url("chrome://devtools/skin/images/toggle-tools@2x.png");
57 -moz-image-region: rect(0px, 128px, 32px, 96px);
63 #developer-toolbar-toolbox-button[error-count]:before {
67 background-color: #FF0000;
69 margin-inline-end: 5px;
71 Firefox browser/themes/windows/browser.css
75 background-image: linear-gradient(#B4211B, #8A1915);
77 margin-inline-end: 5px;
78 Firefox browser/themes/linux/browser.css
82 background-image: linear-gradient(#B4211B, #8A1915);
84 margin-inline-end: 2px;
90 html|*#gcli-tooltip-frame,
91 html|*#gcli-output-frame {
94 background-color: transparent;
100 background-color: transparent;
101 -moz-appearance: none;
104 .gclitoolbar-input-node,
105 .gclitoolbar-complete-node {
106 -moz-box-align: center;
112 background-color: transparent;
115 .gclitoolbar-input-node {
116 -moz-appearance: none;
117 color: var(--gcli-input-color);
118 background-color: var(--gcli-input-background);
119 background-repeat: no-repeat;
120 background-position: 4px center;
121 box-shadow: 1px 0 0 var(--gcli-border-color) inset,
122 -1px 0 0 var(--gcli-border-color) inset;
127 .gclitoolbar-input-node[focused="true"] {
128 background-color: var(--gcli-input-focused-background);
131 .gclitoolbar-input-node::before {
133 display: inline-block;
134 -moz-box-ordinal-group: 0;
138 background-image: url("chrome://devtools/skin/images/commandline-icon.png");
139 background-position: 0 center;
140 background-size: 32px 16px;
143 .gclitoolbar-input-node[focused="true"]::before {
144 background-position: -16px center;
147 @media (min-resolution: 1.1dppx) {
148 .gclitoolbar-input-node::before {
149 background-image: url("chrome://devtools/skin/images/commandline-icon@2x.png");
153 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
154 background-color: var(--selection-background);
155 color: var(--selection-color);
159 .gclitoolbar-complete-node {
161 background-color: transparent;
164 pointer-events: none;
178 .gcli-in-incomplete {
179 border-bottom: 2px dotted #8050B0;
183 border-bottom: 2px dotted #FF0000;
194 .gcli-in-closebrace {