|
|
|
|
| 1 |
/* vim:set ts=2 sw=2 sts=2 et: */ |
1 |
/* vim:set ts=2 sw=2 sts=2 et: */ |
| 2 |
/* This Source Code Form is subject to the terms of the Mozilla Public |
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 |
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/. */ |
4 |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 5 |
|
5 |
|
| 6 |
/* According to: |
6 |
/* According to: |
| 7 |
* https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17 |
7 |
* https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17 |
| 8 |
*/ |
8 |
*/ |
|
|
9 |
|
| 10 |
%include dark-theme-colors.inc |
| 11 |
%filter substitution |
| 12 |
|
| 9 |
.theme-body { |
13 |
.theme-body { |
| 10 |
background: #131c26; |
14 |
background: @mainBackgroundColor@; |
| 11 |
color: #8fa1b2; |
15 |
color: @textColor@; |
| 12 |
} |
16 |
} |
| 13 |
|
17 |
|
| 14 |
.theme-twisty { |
18 |
.theme-twisty { |
| 15 |
cursor: pointer; |
19 |
cursor: pointer; |
| 16 |
width: 14px; |
20 |
width: 14px; |
| 17 |
height: 14px; |
21 |
height: 14px; |
| 18 |
background-repeat: no-repeat; |
22 |
background-repeat: no-repeat; |
| 19 |
background-image: url("chrome://browser/skin/devtools/controls.png"); |
23 |
background-image: url("chrome://browser/skin/devtools/controls.png"); |
|
|
| 39 |
background-position: -28px 0; |
43 |
background-position: -28px 0; |
| 40 |
} |
44 |
} |
| 41 |
|
45 |
|
| 42 |
.theme-checkbox[checked] { |
46 |
.theme-checkbox[checked] { |
| 43 |
background-position: -42px 0; |
47 |
background-position: -42px 0; |
| 44 |
} |
48 |
} |
| 45 |
|
49 |
|
| 46 |
.theme-selected { |
50 |
.theme-selected { |
| 47 |
background: #26394D; |
51 |
background: @selectedColor@; |
| 48 |
} |
52 |
} |
| 49 |
|
53 |
|
| 50 |
.theme-bg-darker, |
54 |
.theme-bg-darker, |
| 51 |
.cm-s-mozilla .CodeMirror-gutters { |
55 |
.cm-s-mozilla .CodeMirror-gutters { |
| 52 |
background-color: rgba(0,0,0,0.5); |
56 |
background-color: @darkerBackgroundColor@; |
| 53 |
} |
57 |
} |
| 54 |
|
58 |
|
| 55 |
.theme-bg-contrast { /* contrast bg color to attract attention on a container */ |
59 |
.theme-bg-contrast { /* contrast bg color to attract attention on a container */ |
| 56 |
background: #a18650; |
60 |
background: @contrastBackgroundColor@; |
| 57 |
} |
61 |
} |
| 58 |
|
62 |
|
| 59 |
.theme-link, |
63 |
.theme-link, |
| 60 |
.cm-s-mozilla .cm-link { /* blue */ |
64 |
.cm-s-mozilla .cm-link { /* blue */ |
| 61 |
color: #3689b2; |
65 |
color: @linkColor@; |
| 62 |
} |
66 |
} |
| 63 |
|
67 |
|
| 64 |
/* |
68 |
/* |
| 65 |
* FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion |
69 |
* FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion |
| 66 |
* failures in debug builds. |
70 |
* failures in debug builds. |
| 67 |
*/ |
71 |
*/ |
| 68 |
.theme-link:visited, |
72 |
.theme-link:visited, |
| 69 |
.cm-s-mozilla .cm-link:visited { /* blue */ |
73 |
.cm-s-mozilla .cm-link:visited { /* blue */ |
| 70 |
color: #3689b2; |
74 |
color: @linkVisitedColor@; |
| 71 |
} |
75 |
} |
| 72 |
|
76 |
|
| 73 |
|
77 |
|
| 74 |
.theme-comment, |
78 |
.theme-comment, |
| 75 |
.cm-s-mozilla .cm-meta, |
79 |
.cm-s-mozilla .cm-meta, |
| 76 |
.cm-s-mozilla .cm-hr, |
80 |
.cm-s-mozilla .cm-hr, |
| 77 |
.cm-s-mozilla .cm-comment { /* grey */ |
81 |
.cm-s-mozilla .cm-comment { /* grey */ |
| 78 |
color: #5c6773; |
82 |
color: @commentColor@; |
| 79 |
} |
83 |
} |
| 80 |
|
84 |
|
| 81 |
.theme-gutter { |
85 |
.theme-gutter { |
| 82 |
background-color: #0f171f; |
86 |
background-color: #0f171f; |
| 83 |
color: #667380; |
87 |
color: #667380; |
| 84 |
border-color: #303b47; |
88 |
border-color: @separatorColor@; |
| 85 |
} |
89 |
} |
| 86 |
|
90 |
|
| 87 |
.theme-separator { /* grey */ |
91 |
.theme-separator { /* grey */ |
| 88 |
border-color: #303b47; |
92 |
border-color: @separatorColor@; |
| 89 |
} |
93 |
} |
| 90 |
|
94 |
|
| 91 |
.theme-fg-color1, |
95 |
.theme-fg-color1, |
| 92 |
.cm-s-mozilla .cm-number { /* green */ |
96 |
.cm-s-mozilla .cm-number { /* green */ |
| 93 |
color: #5c9966; |
97 |
color: @fg1Color@; |
| 94 |
} |
98 |
} |
| 95 |
|
99 |
|
| 96 |
.theme-fg-color2, |
100 |
.theme-fg-color2, |
| 97 |
.cm-s-mozilla .cm-attribute, |
101 |
.cm-s-mozilla .cm-attribute, |
| 98 |
.cm-s-mozilla .cm-variable, |
102 |
.cm-s-mozilla .cm-variable, |
| 99 |
.cm-s-mozilla .cm-def, |
103 |
.cm-s-mozilla .cm-def, |
| 100 |
.cm-s-mozilla .cm-property, |
104 |
.cm-s-mozilla .cm-property, |
| 101 |
.cm-s-mozilla .cm-qualifier { /* blue */ |
105 |
.cm-s-mozilla .cm-qualifier { /* blue */ |
| 102 |
color: #3689b2; |
106 |
color: @fg2Color@; |
| 103 |
} |
107 |
} |
| 104 |
|
108 |
|
| 105 |
.theme-fg-color3, |
109 |
.theme-fg-color3, |
| 106 |
.cm-s-mozilla .cm-builtin, |
110 |
.cm-s-mozilla .cm-builtin, |
| 107 |
.cm-s-mozilla .cm-tag, |
111 |
.cm-s-mozilla .cm-tag, |
| 108 |
.cm-s-mozilla .cm-header { /* pink/lavender */ |
112 |
.cm-s-mozilla .cm-header { /* pink/lavender */ |
| 109 |
color: #a673bf; |
113 |
color: @fg3Color@; |
| 110 |
} |
114 |
} |
| 111 |
|
115 |
|
| 112 |
.theme-fg-color4 { /* purple/violet */ |
116 |
.theme-fg-color4 { /* purple/violet */ |
| 113 |
color: #6270b2; |
117 |
color: @fg4Color@; |
| 114 |
} |
118 |
} |
| 115 |
|
119 |
|
| 116 |
.theme-fg-color5, |
120 |
.theme-fg-color5, |
| 117 |
.cm-s-mozilla .cm-bracket, |
121 |
.cm-s-mozilla .cm-bracket, |
| 118 |
.cm-s-mozilla .cm-keyword { /* Yellow */ |
122 |
.cm-s-mozilla .cm-keyword { /* Yellow */ |
| 119 |
color: #a18650; |
123 |
color: @fg5Color@; |
| 120 |
} |
124 |
} |
| 121 |
|
125 |
|
| 122 |
.theme-fg-color6, |
126 |
.theme-fg-color6, |
| 123 |
.cm-s-mozilla .cm-string, |
127 |
.cm-s-mozilla .cm-string, |
| 124 |
.cm-s-mozilla .cm-string-2 { /* Orange */ |
128 |
.cm-s-mozilla .cm-string-2 { /* Orange */ |
| 125 |
color: #b26b47; |
129 |
color: @fg6Color@; |
| 126 |
} |
130 |
} |
| 127 |
|
131 |
|
| 128 |
.theme-fg-color7, |
132 |
.theme-fg-color7, |
| 129 |
.cm-s-mozilla .cm-atom, |
133 |
.cm-s-mozilla .cm-atom, |
| 130 |
.cm-s-mozilla .cm-quote, |
134 |
.cm-s-mozilla .cm-quote, |
| 131 |
.cm-s-mozilla .cm-error { /* Red */ |
135 |
.cm-s-mozilla .cm-error { /* Red */ |
| 132 |
color: #bf5656; |
136 |
color: @fg7Color@; |
| 133 |
} |
137 |
} |
| 134 |
|
138 |
|
| 135 |
.theme-toolbar, |
139 |
.theme-toolbar, |
| 136 |
.devtools-toolbar { /* General toolbar styling */ |
140 |
.devtools-toolbar { /* General toolbar styling */ |
| 137 |
color: hsl(210,30%,85%); |
141 |
color: hsl(210,30%,85%); |
| 138 |
background-image: url(background-noise-toolbar.png), linear-gradient(#3e4750, #3e4750); |
142 |
background-image: url(background-noise-toolbar.png), linear-gradient(#3e4750, #3e4750); |
| 139 |
border-color: #060a0d; |
143 |
border-color: #060a0d; |
| 140 |
box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset, -1px 0 0 hsla(204,45%,98%,.05) inset, 0 -1px 0 hsla(204,45%,98%,.05) inset; |
144 |
box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset, -1px 0 0 hsla(204,45%,98%,.05) inset, 0 -1px 0 hsla(204,45%,98%,.05) inset; |