second and last part of syncing LCARStrek with Firefox 49/50 windows theme changes
[themes.git] / LCARStrek / devtools / dark-theme.css
CommitLineData
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
dadba0f2 6@import url(variables.css);
873a46f8 7@import url(common.css);
dadba0f2 8@import url(toolbars.css);
1e9e1791 9@import url(tooltips.css);
dc9d5d64
RK
10
11body, html {
12 padding: 0;
13 margin: 0;
de5e780d
RK
14}
15
2efcd25d 16.theme-body {
de5e780d
RK
17 background: var(--theme-body-background);
18 color: var(--theme-body-color);
2efcd25d
RK
19}
20
45dc7657 21.theme-sidebar {
de5e780d
RK
22 background: var(--theme-sidebar-background);
23 color: var(--theme-content-color1);
45dc7657
RK
24}
25
dfa34f73 26::-moz-selection {
de5e780d
RK
27 background-color: var(--theme-selection-background);
28 color: var(--theme-selection-color);
dfa34f73
RK
29}
30
649b5d38 31.theme-bg-darker {
8c6555e2 32 background: var(--theme-selection-background-semitransparent);
2efcd25d
RK
33}
34
ed88669c
RK
35.theme-selected,
36.CodeMirror-hint-active {
de5e780d
RK
37 background-color: var(--theme-selection-background2);
38 color: var(--theme-selection-color2);
2efcd25d
RK
39}
40
de57e474 41.theme-bg-contrast,
de5e780d
RK
42.variable-or-property:not([overridden])[changed] {
43 background: var(--theme-contrast-background);
3a0880a9
RK
44}
45
7600e0b1
RK
46.theme-link,
47.cm-s-mozilla .cm-link { /* original: blue */
de5e780d 48 color: var(--theme-text-blue);
2efcd25d
RK
49}
50
6568957a
RK
51/*
52 * FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion
53 * failures in debug builds.
54 */
55.theme-link:visited,
ed88669c 56.cm-s-mozilla .cm-link:visited,
de5e780d
RK
57.CodeMirror-Tern-type {
58 color: var(--theme-text-blue);
6568957a
RK
59}
60
7600e0b1
RK
61.theme-comment,
62.cm-s-mozilla .cm-meta,
63.cm-s-mozilla .cm-hr,
de57e474
RK
64.cm-s-mozilla .cm-comment,
65.variable-or-property .token-undefined,
de5e780d 66.variable-or-property .token-null,
ed88669c 67.CodeMirror-Tern-completion-unknown:before {
de5e780d 68 color: var(--theme-comment);
ed88669c
RK
69}
70
2efcd25d 71.theme-gutter {
7d6161c5 72 background-color: var(--theme-tab-toolbar-background);
de5e780d 73 color: var(--theme-content-color3);
7d6161c5 74 border-color: var(--theme-splitter-color);
2efcd25d
RK
75}
76
7d6161c5
RK
77.theme-separator {
78 border-color: var(--theme-splitter-color);
2efcd25d
RK
79}
80
7600e0b1 81.theme-fg-color1,
de57e474
RK
82.cm-s-mozilla .cm-number,
83.variable-or-property .token-number,
dfa34f73 84.variable-or-property[return] > .title > .name,
de5e780d
RK
85.variable-or-property[scope] > .title > .name {
86 color: var(--theme-highlight-green);
2efcd25d
RK
87}
88
ed88669c
RK
89.CodeMirror-Tern-completion-number:before {
90 background-color: #008484;
91}
92
7600e0b1
RK
93.theme-fg-color2,
94.cm-s-mozilla .cm-attribute,
7600e0b1
RK
95.cm-s-mozilla .cm-variable,
96.cm-s-mozilla .cm-def,
7600e0b1 97.cm-s-mozilla .cm-property,
de57e474 98.cm-s-mozilla .cm-qualifier,
de5e780d
RK
99.variables-view-variable > .title > .name {
100 color: var(--theme-highlight-blue);
2efcd25d
RK
101}
102
ed88669c
RK
103.CodeMirror-Tern-completion-object:before {
104 background-color: #9C9CFF;
105}
106
3d64e0ce
RK
107.cm-s-mozilla .cm-unused-line {
108 text-decoration: line-through;
de5e780d 109 text-decoration-color: #8050B0;
3d64e0ce
RK
110}
111
112.cm-s-mozilla .cm-executed-line {
113 background-color: #404000;
114}
115
7600e0b1 116.theme-fg-color3,
6568957a 117.cm-s-mozilla .cm-builtin,
7600e0b1 118.cm-s-mozilla .cm-tag,
de57e474 119.cm-s-mozilla .cm-header,
de5e780d 120.cm-s-mozilla .cm-bracket,
6184c7f7 121.variables-view-property > .title > .name {
de5e780d 122 color: var(--theme-highlight-pink);
2efcd25d
RK
123}
124
ed88669c 125.CodeMirror-Tern-completion-array:before {
de5e780d 126 color: var(--theme-highlight-pink); /* var(--theme-highlight-bluegrey) */
ed88669c
RK
127}
128
de5e780d
RK
129.theme-fg-color4 {
130 color: var(--theme-highlight-purple);
2efcd25d
RK
131}
132
7600e0b1 133.theme-fg-color5,
de5e780d
RK
134.cm-s-mozilla .cm-keyword {
135 color: var(--theme-highlight-lightorange);
2efcd25d
RK
136}
137
6568957a
RK
138.theme-fg-color6,
139.cm-s-mozilla .cm-string,
de57e474 140.cm-s-mozilla .cm-string-2,
ed88669c 141.variable-or-property .token-string,
de5e780d
RK
142.CodeMirror-Tern-farg {
143 color: var(--theme-highlight-pink); /* -orange? */
2efcd25d
RK
144}
145
ed88669c
RK
146.CodeMirror-Tern-completion-string:before,
147.CodeMirror-Tern-completion-fn:before {
148 background-color: #E7ADE7;
149}
150
7600e0b1 151.theme-fg-color7,
6568957a
RK
152.cm-s-mozilla .cm-atom,
153.cm-s-mozilla .cm-quote,
de57e474
RK
154.cm-s-mozilla .cm-error,
155.variable-or-property .token-boolean,
46e71434 156.variable-or-property .token-domnode,
de5e780d
RK
157.variable-or-property[exception] > .title > .name {
158 color: var(--theme-highlight-red);
2efcd25d 159}
3a0880a9 160
ed88669c
RK
161.CodeMirror-Tern-completion-bool:before {
162 background-color: #FF0000;
163}
164
46e71434
RK
165.variable-or-property .token-domnode {
166 font-weight: bold;
167}
168
6dc70335 169.theme-toolbar,
45dc7657 170.devtools-toolbar,
368d0b7f
RK
171.devtools-sidebar-tabs tabs,
172.devtools-sidebar-alltabs,
d0a8de80 173.cm-s-mozilla .CodeMirror-dialog { /* General toolbar styling */
de5e780d
RK
174/* color: var(--theme-body-color-alt);
175 background-color: var(--theme-toolbar-background);*/
6dc70335
RK
176}
177
3a0880a9
RK
178.theme-fg-contrast { /* To be used for text on theme-bg-contrast */
179 color: #FFCF00;
180}
181
6184c7f7
RK
182.ruleview-swatch,
183.computedview-colorswatch {
dccbbf95 184/* box-shadow: 0 0 0 1px #818181; */
3a0880a9 185}
7600e0b1 186
de57e474
RK
187.variables-view-scope:focus > .title,
188.variable-or-property:focus > .title {
189 background-color: #008484; /* fg-color2 */
190 color: #000000;
191}
192
7600e0b1
RK
193/* CodeMirror specific styles.
194 * Best effort to match the existing theme, some of the colors
195 * are duplicated here to prevent weirdness in the main theme. */
196
873a46f8 197.CodeMirror.cm-s-mozilla { /* Inherit platform specific font sizing and styles */
7600e0b1
RK
198 font-family: inherit;
199 font-size: inherit;
200 background: transparent;
201}
202
d0a8de80 203.CodeMirror.cm-s-mozilla pre,
6568957a
RK
204.cm-s-mozilla .cm-variable-2,
205.cm-s-mozilla .cm-variable-3,
7600e0b1 206.cm-s-mozilla .cm-operator,
de5e780d
RK
207.cm-s-mozilla .cm-special {
208 color: var(--theme-content-color1);
7600e0b1
RK
209}
210
211.cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor {
212 border-left: solid 1px #FF9F00;
213}
214
215.cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */
216 background: #008484;
217 color: #FFCF00;
218}
219
6568957a 220.cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */
7600e0b1
RK
221 background: #008484;
222 color: #000000;
223}
224
6568957a 225.cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */
3886293f 226 background: rgba(0, 132, 132, .25);
6568957a
RK
227}
228
229div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */
3886293f 230 outline: solid 1px rgba(0, 132, 132, .4);
6568957a
RK
231 color: #FFCF00;
232}
233
d2ce251d
RK
234/* Highlight for a line that contains an error. */
235div.CodeMirror div.error-line {
3886293f 236 background: rgba(255, 0, 0, 0.2);
d2ce251d
RK
237}
238
d2ce251d
RK
239/* Generic highlighted text */
240div.CodeMirror span.marked-text {
241 background: rgba(255,207,0,0.2);
3886293f 242 border: 1px dashed rgba(156, 156, 255, 0.6);
dae45075
RK
243 margin-inline-start: -1px;
244 margin-inline-end: -1px;
d2ce251d
RK
245}
246
247/* Highlight for evaluating current statement. */
248div.CodeMirror span.eval-text {
249 background-color: #403800;
250}
251
6568957a 252.cm-s-mozilla .CodeMirror-linenumber { /* line number text */
de5e780d 253 color: var(--theme-content-color2);
6568957a
RK
254}
255
256.cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */
de5e780d
RK
257 border-right-color: var(--theme-contrast-border);
258 background-color: var(--theme-contrast-background);
7600e0b1
RK
259}
260
261.cm-s-markup-view pre {
262 line-height: 1.4em;
263 min-height: 1.4em;
264}
c5987919 265
649b5d38
RK
266/* Twisty and checkbox controls */
267.theme-twisty, .theme-checkbox {
268 width: 14px;
269 height: 14px;
270 background-repeat: no-repeat;
6184c7f7 271 background-image: url("chrome://devtools/skin/images/controls.png");
649b5d38
RK
272 background-size: 28px 28px;
273}
274
275.theme-twisty {
276 cursor: pointer;
277 background-position: -0px -14px;
278}
279
280.theme-twisty:-moz-focusring {
281 outline-style: none;
282}
283
284.theme-twisty[open] {
285 background-position: -14px -14px;
286}
287
2b5a5147
RK
288.theme-twisty[invisible] {
289 visibility: hidden;
290}
291
649b5d38
RK
292.theme-checkbox {
293 display: inline-block;
294 border: 0;
295 padding: 0;
296 outline: none;
297 background-position: 0 0;
298}
299
300.theme-checkbox[checked] {
301 background-position: -14px 0;
302}
303
024a65e9 304@media (min-resolution: 1.1dppx) {
649b5d38 305 .theme-twisty, .theme-checkbox {
6184c7f7 306 background-image: url("chrome://devtools/skin/images/controls@2x.png");
649b5d38
RK
307 }
308}
309
6184c7f7 310/* XUL panel styling (see devtools/client/shared/widgets/Tooltip.js) */
6dc70335
RK
311
312.theme-tooltip-panel .panel-arrowcontent {
313/* padding: 5px; */
314 background: rgba(0, 0, 0, .9);
315/* border-radius: 5px;
316 box-shadow: none;
317 border: 3px solid #9C9CFF; */
318}
319
320/* Overring panel arrow images to fit with our light and dark themes */
321/*
d0a8de80
RK
322.theme-tooltip-panel .panel-arrow {
323 --arrow-margin: -4px;
324}
325
326:root[platform="win"] .theme-tooltip-panel .panel-arrow {
327 --arrow-margin: -7px;
6dc70335
RK
328}
329
d0a8de80 330.theme-tooltip-panel .panel-arrow[side="top"],
6dc70335 331.theme-tooltip-panel .panel-arrow[side="bottom"] {
dc9d5d64 332 list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark.png");
d0a8de80
RK
333 / !important is needed to override the popup.css rules in toolkit/themes /
334 width: 39px !important;
335 height: 16px !important;
6dc70335
RK
336}
337
d0a8de80
RK
338.theme-tooltip-panel .panel-arrow[side="left"],
339.theme-tooltip-panel .panel-arrow[side="right"] {
dc9d5d64 340 list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark.png");
d0a8de80
RK
341 / !important is needed to override the popup.css rules in toolkit/themes /
342 width: 16px !important;
343 height: 39px !important;
344}
345
346.theme-tooltip-panel .panel-arrow[side="top"] {
347 margin-bottom: var(--arrow-margin);
348}
349
350.theme-tooltip-panel .panel-arrow[side="bottom"] {
351 margin-top: var(--arrow-margin);
352}
353
354.theme-tooltip-panel .panel-arrow[side="left"] {
355 margin-right: var(--arrow-margin);
6dc70335
RK
356}
357
358.theme-tooltip-panel .panel-arrow[side="right"] {
d0a8de80 359 margin-left: var(--arrow-margin);
6dc70335
RK
360}
361
024a65e9 362@media (min-resolution: 1.1dppx) {
6dc70335
RK
363 .theme-tooltip-panel .panel-arrow[side="top"],
364 .theme-tooltip-panel .panel-arrow[side="bottom"] {
dc9d5d64 365 list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark@2x.png");
6dc70335
RK
366 }
367
368 .theme-tooltip-panel .panel-arrow[side="left"],
369 .theme-tooltip-panel .panel-arrow[side="right"] {
dc9d5d64 370 list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark@2x.png");
6dc70335
RK
371 }
372}
373*/
374.theme-tooltip-panel .devtools-tooltip-simple-text {
375/* color: white; */
376 border-bottom: 1px solid #A09090;
377}
378
379.theme-tooltip-panel .devtools-tooltip-simple-text:last-child {
6184c7f7 380 border-bottom: 0;
6dc70335
RK
381}
382
45dc7657 383.devtools-textinput,
1e9e1791 384.devtools-filterinput,
45dc7657
RK
385.devtools-searchinput {
386 background-color: #000000;
387 color: #E7ADE7;
1f756abf
RK
388 border: 1px solid #9C9CFF;
389}
390
391.devtools-textinput:focus,
1e9e1791 392.devtools-filterinput:focus,
1f756abf
RK
393.devtools-searchinput:focus {
394 border-color: #008484;
45dc7657
RK
395}
396
ed88669c
RK
397.CodeMirror-Tern-fname {
398 color: #A09090;
399}
400
401.CodeMirror-hints,
402.CodeMirror-Tern-tooltip {
403 background-color: #000000;
de5e780d 404 color: var(--theme-body-color);
ed88669c 405}