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
18 background-repeat: no-repeat;
19 background-image: url("chrome://browser/skin/devtools/controls.png");
20 background-position: 0 -14px;
23 .theme-twisty:-moz-focusring {
28 background-position: -14px -14px;
32 display: inline-block;
38 background-image: url("chrome://browser/skin/devtools/controls.png");
39 background-position: 0 0;
42 .theme-checkbox[checked] {
43 background-position: -14px 0;
51 .cm-s-mozilla .CodeMirror-gutters {
52 background-color: rgba(0,0,0,0.5);
55 .theme-bg-contrast { /* contrast bg color to attract attention on a container */
60 .cm-s-mozilla .cm-link { /* original: blue */
65 * FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion
66 * failures in debug builds.
69 .cm-s-mozilla .cm-link:visited { /* original: blue */
74 .cm-s-mozilla .cm-meta,
76 .cm-s-mozilla .cm-comment { /* original: grey */
81 background-color: #000000;
83 border-color: #9C9CFF;
86 .theme-separator { /* original: grey */
87 border-color: #8050B0;
91 .cm-s-mozilla .cm-number { /* original: green */
96 .cm-s-mozilla .cm-attribute,
97 .cm-s-mozilla .cm-variable,
98 .cm-s-mozilla .cm-def,
99 .cm-s-mozilla .cm-property,
100 .cm-s-mozilla .cm-qualifier { /* original: blue */
105 .cm-s-mozilla .cm-builtin,
106 .cm-s-mozilla .cm-tag,
107 .cm-s-mozilla .cm-header { /* original: pink/lavender */
111 .theme-fg-color4 { /* original: purple/violet */
116 .cm-s-mozilla .cm-bracket,
117 .cm-s-mozilla .cm-keyword { /* original: Yellow */
122 .cm-s-mozilla .cm-string,
123 .cm-s-mozilla .cm-string-2 { /* original: Orange */
128 .cm-s-mozilla .cm-atom,
129 .cm-s-mozilla .cm-quote,
130 .cm-s-mozilla .cm-error { /* original: Red */
134 .theme-fg-contrast { /* To be used for text on theme-bg-contrast */
138 .ruleview-colorswatch,
139 .computedview-colorswatch,
140 .markupview-colorswatch {
141 /* box-shadow: 0 0 0 1px rgba(0,0,0,0.5); */
144 /* CodeMirror specific styles.
145 * Best effort to match the existing theme, some of the colors
146 * are duplicated here to prevent weirdness in the main theme. */
148 .CodeMirror { /* Inherit platform specific font sizing and styles */
149 font-family: inherit;
151 background: transparent;
155 .cm-s-mozilla .cm-variable-2,
156 .cm-s-mozilla .cm-variable-3,
157 .cm-s-mozilla .cm-operator,
158 .cm-s-mozilla .cm-special { /* theme-body color */
162 .cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor {
163 border-left: solid 1px #FF9F00;
166 .cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */
171 .cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */
176 .cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */
177 background: rgba(0, 132, 132, .15);
180 div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */
181 outline: solid 1px rgba(0, 132, 132, .25);
185 .cm-s-mozilla .CodeMirror-linenumber { /* line number text */
189 .cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */
190 border-right-color: #9C9CFF;
193 .cm-s-markup-view pre {