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("toolbox.css"); /* workaround until the move to toolbars.inc.css is done */
9 * https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17
20 background-repeat: no-repeat;
21 background-image: url("chrome://browser/skin/devtools/controls.png");
22 background-position: 0 -14px;
25 .theme-twisty:-moz-focusring {
30 background-position: -14px -14px;
34 display: inline-block;
40 background-image: url("chrome://browser/skin/devtools/controls.png");
41 background-position: 0 0;
44 .theme-checkbox[checked] {
45 background-position: -14px 0;
53 background-color: rgba(0,0,0,0.5);
56 .theme-bg-contrast { /* contrast bg color to attract attention on a container */
61 .cm-s-mozilla .cm-link { /* original: blue */
66 * FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion
67 * failures in debug builds.
70 .cm-s-mozilla .cm-link:visited { /* original: blue */
75 .cm-s-mozilla .cm-meta,
77 .cm-s-mozilla .cm-comment { /* original: grey */
82 background-color: #000000;
84 border-color: #9C9CFF;
87 .theme-separator { /* original: grey */
88 border-color: #8050B0;
92 .cm-s-mozilla .cm-number { /* original: green */
97 .cm-s-mozilla .cm-attribute,
98 .cm-s-mozilla .cm-variable,
99 .cm-s-mozilla .cm-def,
100 .cm-s-mozilla .cm-property,
101 .cm-s-mozilla .cm-qualifier { /* original: blue */
106 .cm-s-mozilla .cm-builtin,
107 .cm-s-mozilla .cm-tag,
108 .cm-s-mozilla .cm-header { /* original: pink/lavender */
112 .theme-fg-color4 { /* original: purple/violet */
117 .cm-s-mozilla .cm-bracket,
118 .cm-s-mozilla .cm-keyword { /* original: Yellow */
123 .cm-s-mozilla .cm-string,
124 .cm-s-mozilla .cm-string-2 { /* original: Orange */
129 .cm-s-mozilla .cm-atom,
130 .cm-s-mozilla .cm-quote,
131 .cm-s-mozilla .cm-error { /* original: Red */
136 .devtools-toolbar { /* General toolbar styling */
140 .theme-fg-contrast { /* To be used for text on theme-bg-contrast */
144 .ruleview-colorswatch,
145 .computedview-colorswatch,
146 .markupview-colorswatch {
147 /* box-shadow: 0 0 0 1px rgba(0,0,0,0.5); */
150 /* CodeMirror specific styles.
151 * Best effort to match the existing theme, some of the colors
152 * are duplicated here to prevent weirdness in the main theme. */
154 .CodeMirror { /* Inherit platform specific font sizing and styles */
155 font-family: inherit;
157 background: transparent;
161 .cm-s-mozilla .cm-variable-2,
162 .cm-s-mozilla .cm-variable-3,
163 .cm-s-mozilla .cm-operator,
164 .cm-s-mozilla .cm-special { /* theme-body color */
168 .cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor {
169 border-left: solid 1px #FF9F00;
172 .cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */
177 .cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */
182 .cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */
183 background: rgba(0, 132, 132, .15);
186 div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */
187 outline: solid 1px rgba(0, 132, 132, .25);
191 /* Highlight for a line that contains an error. */
192 div.CodeMirror div.error-line {
193 background: rgba(255,0,0,0.2);
196 /* Highlight for a line that represents a stack frame's location. */
197 div.CodeMirror div.debug-line {
198 background: rgba(156,156,255,0.1);
201 /* Generic highlighted text */
202 div.CodeMirror span.marked-text {
203 background: rgba(255,207,0,0.2);
204 border: 1px dashed rgba(156,156,255,0.6);
205 -moz-margin-start: -1px;
206 -moz-margin-end: -1px;
209 /* Highlight for evaluating current statement. */
210 div.CodeMirror span.eval-text {
211 background-color: #403800;
214 .cm-s-mozilla .CodeMirror-linenumber { /* line number text */
218 .cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */
219 border-right-color: #A09090;
220 background-color: #402800;
223 .cm-s-markup-view pre {
228 /* XUL panel styling (see browser/devtools/shared/widgets/Tooltip.js) */
230 .theme-tooltip-panel .panel-arrowcontent {
232 background: rgba(0, 0, 0, .9);
233 /* border-radius: 5px;
235 border: 3px solid #9C9CFF; */
238 /* Overring panel arrow images to fit with our light and dark themes */
240 .theme-tooltip-panel .panel-arrow[side="top"] {
241 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png");
245 .theme-tooltip-panel .panel-arrow[side="bottom"] {
246 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png");
250 .theme-tooltip-panel .panel-arrow[side="left"] {
251 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png");
255 .theme-tooltip-panel .panel-arrow[side="right"] {
256 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png");
260 @media (min-resolution: 2dppx) {
261 .theme-tooltip-panel .panel-arrow[side="top"],
262 .theme-tooltip-panel .panel-arrow[side="bottom"] {
263 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark@2x.png");
266 .theme-tooltip-panel .panel-arrow[side="left"],
267 .theme-tooltip-panel .panel-arrow[side="right"] {
268 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark@2x.png");
272 .theme-tooltip-panel .devtools-tooltip-simple-text {
274 border-bottom: 1px solid #A09090;
277 .theme-tooltip-panel .devtools-tooltip-simple-text:last-child {
281 /* remove import on top of file when toolbars.inc.css work is done */