Commit | Line | Data |
---|---|---|
2efcd25d RK |
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/. */ | |
5 | ||
6 | /* According to: | |
7 | * https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17 | |
8 | */ | |
9 | .theme-body { | |
10 | background: #000000; | |
11 | color: #FF9F00; | |
12 | } | |
13 | ||
14 | .theme-twisty { | |
15 | cursor: pointer; | |
fe524e0c RK |
16 | width: 14px; |
17 | height: 14px; | |
18 | background-repeat: no-repeat; | |
19 | background-image: url("chrome://browser/skin/devtools/controls.png"); | |
20 | background-position: 0 -14px; | |
2efcd25d RK |
21 | } |
22 | ||
23 | .theme-twisty:-moz-focusring { | |
24 | outline-style: none; | |
25 | } | |
26 | ||
2efcd25d | 27 | .theme-twisty[open] { |
fe524e0c | 28 | background-position: -14px -14px; |
2efcd25d RK |
29 | } |
30 | ||
31 | .theme-checkbox { | |
32 | display: inline-block; | |
ed1a91c6 RK |
33 | border: 0; |
34 | width: 14px; | |
35 | height: 14px; | |
36 | padding: 0; | |
2efcd25d | 37 | outline: none; |
fe524e0c RK |
38 | background-image: url("chrome://browser/skin/devtools/controls.png"); |
39 | background-position: 0 0; | |
2efcd25d RK |
40 | } |
41 | ||
42 | .theme-checkbox[checked] { | |
fe524e0c | 43 | background-position: -14px 0; |
2efcd25d RK |
44 | } |
45 | ||
46 | .theme-selected { | |
47 | background: #004242; | |
48 | } | |
49 | ||
7600e0b1 RK |
50 | .theme-bg-darker |
51 | .cm-s-mozilla .CodeMirror-gutters { | |
1b13529a | 52 | background-color: rgba(0,0,0,0.5); |
2efcd25d RK |
53 | } |
54 | ||
3a0880a9 RK |
55 | .theme-bg-contrast { /* contrast bg color to attract attention on a container */ |
56 | background: #404000; | |
57 | } | |
58 | ||
7600e0b1 RK |
59 | .theme-link, |
60 | .cm-s-mozilla .cm-link { /* original: blue */ | |
2efcd25d RK |
61 | color: #3333FF; |
62 | } | |
63 | ||
6568957a RK |
64 | /* |
65 | * FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion | |
66 | * failures in debug builds. | |
67 | */ | |
68 | .theme-link:visited, | |
69 | .cm-s-mozilla .cm-link:visited { /* original: blue */ | |
70 | color: #3333FF; | |
71 | } | |
72 | ||
7600e0b1 RK |
73 | .theme-comment, |
74 | .cm-s-mozilla .cm-meta, | |
75 | .cm-s-mozilla .cm-hr, | |
6568957a | 76 | .cm-s-mozilla .cm-comment { /* original: grey */ |
2efcd25d RK |
77 | color: #A09090; |
78 | } | |
79 | ||
80 | .theme-gutter { | |
81 | background-color: #000000; | |
82 | color: #FF9F00; | |
83 | border-color: #9C9CFF; | |
84 | } | |
85 | ||
86 | .theme-separator { /* original: grey */ | |
87 | border-color: #8050B0; | |
88 | } | |
89 | ||
7600e0b1 | 90 | .theme-fg-color1, |
6568957a | 91 | .cm-s-mozilla .cm-number { /* original: green */ |
2efcd25d RK |
92 | color: #008484; |
93 | } | |
94 | ||
7600e0b1 RK |
95 | .theme-fg-color2, |
96 | .cm-s-mozilla .cm-attribute, | |
7600e0b1 RK |
97 | .cm-s-mozilla .cm-variable, |
98 | .cm-s-mozilla .cm-def, | |
7600e0b1 RK |
99 | .cm-s-mozilla .cm-property, |
100 | .cm-s-mozilla .cm-qualifier { /* original: blue */ | |
2efcd25d RK |
101 | color: #9C9CFF; |
102 | } | |
103 | ||
7600e0b1 | 104 | .theme-fg-color3, |
6568957a | 105 | .cm-s-mozilla .cm-builtin, |
7600e0b1 RK |
106 | .cm-s-mozilla .cm-tag, |
107 | .cm-s-mozilla .cm-header { /* original: pink/lavender */ | |
2efcd25d RK |
108 | color: #E7ADE7; |
109 | } | |
110 | ||
6568957a | 111 | .theme-fg-color4 { /* original: purple/violet */ |
2efcd25d RK |
112 | color: #C09070; |
113 | } | |
114 | ||
7600e0b1 RK |
115 | .theme-fg-color5, |
116 | .cm-s-mozilla .cm-bracket, | |
7600e0b1 | 117 | .cm-s-mozilla .cm-keyword { /* original: Yellow */ |
2efcd25d RK |
118 | color: #FFCF00; |
119 | } | |
120 | ||
6568957a RK |
121 | .theme-fg-color6, |
122 | .cm-s-mozilla .cm-string, | |
123 | .cm-s-mozilla .cm-string-2 { /* original: Orange */ | |
2efcd25d RK |
124 | color: #FF9F00; |
125 | } | |
126 | ||
7600e0b1 | 127 | .theme-fg-color7, |
6568957a RK |
128 | .cm-s-mozilla .cm-atom, |
129 | .cm-s-mozilla .cm-quote, | |
7600e0b1 | 130 | .cm-s-mozilla .cm-error { /* original: Red */ |
2efcd25d RK |
131 | color: #FF0000; |
132 | } | |
3a0880a9 RK |
133 | |
134 | .theme-fg-contrast { /* To be used for text on theme-bg-contrast */ | |
135 | color: #FFCF00; | |
136 | } | |
137 | ||
138 | .ruleview-colorswatch, | |
139 | .computedview-colorswatch, | |
140 | .markupview-colorswatch { | |
141 | /* box-shadow: 0 0 0 1px rgba(0,0,0,0.5); */ | |
142 | } | |
7600e0b1 RK |
143 | |
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. */ | |
147 | ||
148 | .CodeMirror { /* Inherit platform specific font sizing and styles */ | |
149 | font-family: inherit; | |
150 | font-size: inherit; | |
151 | background: transparent; | |
152 | } | |
153 | ||
154 | .CodeMirror pre, | |
6568957a RK |
155 | .cm-s-mozilla .cm-variable-2, |
156 | .cm-s-mozilla .cm-variable-3, | |
7600e0b1 | 157 | .cm-s-mozilla .cm-operator, |
6568957a | 158 | .cm-s-mozilla .cm-special { /* theme-body color */ |
7600e0b1 RK |
159 | color: #FF9F00; |
160 | } | |
161 | ||
162 | .cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor { | |
163 | border-left: solid 1px #FF9F00; | |
164 | } | |
165 | ||
166 | .cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */ | |
167 | background: #008484; | |
168 | color: #FFCF00; | |
169 | } | |
170 | ||
6568957a | 171 | .cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */ |
7600e0b1 RK |
172 | background: #008484; |
173 | color: #000000; | |
174 | } | |
175 | ||
6568957a RK |
176 | .cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */ |
177 | background: rgba(0, 132, 132, .15); | |
178 | } | |
179 | ||
180 | div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */ | |
181 | outline: solid 1px rgba(0, 132, 132, .25); | |
182 | color: #FFCF00; | |
183 | } | |
184 | ||
185 | .cm-s-mozilla .CodeMirror-linenumber { /* line number text */ | |
186 | color: #A09090; | |
187 | } | |
188 | ||
189 | .cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */ | |
190 | border-right-color: #9C9CFF; | |
7600e0b1 RK |
191 | } |
192 | ||
193 | .cm-s-markup-view pre { | |
194 | line-height: 1.4em; | |
195 | min-height: 1.4em; | |
196 | } |