Commit | Line | Data |
---|---|---|
e0c47e26 | 1 | /* vim:set ts=2 sw=2 sts=2 et: */ |
9099c61d RK |
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/. */ | |
e0c47e26 | 5 | |
445863a2 RK |
6 | window:not([windowtype]) { |
7 | /* This does not apply to the standalone window in FF 19 and lower, | |
8 | * only to the dev toolbox in FF 20+. */ | |
9 | padding: 0; | |
10 | } | |
11 | ||
e0c47e26 RK |
12 | #style-editor-chrome { |
13 | background-color: #000000; | |
14 | } | |
15 | ||
16 | .stylesheet-title, | |
17 | .stylesheet-name { | |
18 | text-decoration: none; | |
28e80a05 | 19 | color: var(--theme-highlight-blue); |
e0c47e26 RK |
20 | } |
21 | ||
22 | .stylesheet-name { | |
23 | font-size: 13px; | |
24 | } | |
25 | ||
26 | .stylesheet-rule-count, | |
46e71434 | 27 | .stylesheet-linked-file, |
e0c47e26 | 28 | .stylesheet-saveButton { |
28e80a05 | 29 | color: var(--theme-body-color); |
e0c47e26 RK |
30 | } |
31 | ||
32 | .stylesheet-saveButton { | |
33 | text-decoration: underline; | |
34 | cursor: pointer; | |
35 | } | |
36 | ||
37 | .splitview-active .stylesheet-title, | |
38 | .splitview-active .stylesheet-name { | |
28e80a05 | 39 | color: var(--theme-highlight-lightorange); |
e0c47e26 RK |
40 | } |
41 | ||
42 | .splitview-active .stylesheet-rule-count, | |
46e71434 | 43 | .splitview-active .stylesheet-linked-file, |
e0c47e26 | 44 | .splitview-active .stylesheet-saveButton { |
28e80a05 | 45 | color: var(--theme-highlight-pink); |
e0c47e26 RK |
46 | } |
47 | ||
48 | .splitview-nav:focus { | |
49 | outline: 0; /* focus ring is on the stylesheet name */ | |
50 | } | |
51 | ||
52 | .splitview-nav > li.unsaved > hgroup .stylesheet-name { | |
53 | font-style: italic; | |
54 | } | |
55 | ||
56 | .splitview-nav:-moz-locale-dir(ltr) > li.unsaved > hgroup .stylesheet-name:before, | |
57 | .splitview-nav:-moz-locale-dir(rtl) > li.unsaved > hgroup .stylesheet-name:after { | |
58 | font-style: italic; | |
59 | } | |
60 | ||
82b4252f RK |
61 | .splitview-nav.empty > p { |
62 | padding: 0 10px; | |
63 | } | |
64 | ||
3d64e0ce | 65 | .stylesheet-sidebar { |
9168a62c RK |
66 | max-width: 400px; |
67 | min-width: 100px; | |
3d64e0ce | 68 | |
2b5a5147 | 69 | border-color: #9C9CFF; /* Splitters */ |
3d64e0ce RK |
70 | } |
71 | ||
72 | .media-rule-label { | |
2b5a5147 | 73 | border-bottom: 1px solid #A09090; /* Grey */ |
3d64e0ce RK |
74 | } |
75 | ||
76 | .media-rule-label { | |
77 | padding: 4px; | |
78 | cursor: pointer; | |
79 | } | |
80 | ||
2b5a5147 RK |
81 | .media-rule-line { |
82 | -moz-padding-start: 4px; | |
83 | } | |
84 | ||
3d64e0ce RK |
85 | .media-condition-unmatched { |
86 | color: #8050B0; | |
87 | } | |
88 | ||
e0c47e26 RK |
89 | .stylesheet-enabled { |
90 | padding: 8px 0; | |
91 | margin: 0 8px; | |
92 | background-image: url("itemToggle.png"); | |
93 | background-repeat: no-repeat; | |
94 | background-clip: content-box; | |
95 | background-position: 0 8px; | |
3d64e0ce | 96 | background-size: 48px 24px; |
e0c47e26 RK |
97 | width: 24px; |
98 | height: 40px; | |
99 | } | |
100 | ||
3d64e0ce RK |
101 | @media (min-resolution: 2dppx) { |
102 | .stylesheet-enabled { | |
103 | background-image: url("itemToggle@2x.png"); | |
104 | } | |
105 | } | |
106 | ||
e0c47e26 RK |
107 | .disabled > .stylesheet-enabled { |
108 | background-position: -24px 8px; | |
109 | } | |
110 | ||
111 | .splitview-nav > li > .stylesheet-enabled:focus, | |
112 | .splitview-nav > li:hover > .stylesheet-enabled { | |
113 | outline: 0; | |
114 | } | |
115 | ||
46e71434 RK |
116 | .stylesheet-linked-file:not(:empty){ |
117 | -moz-margin-end: 0.4em; | |
118 | } | |
119 | ||
120 | .stylesheet-linked-file:not(:empty):before { | |
121 | -moz-margin-start: 0.4em; | |
122 | } | |
123 | ||
124 | li.linked-file-error .stylesheet-linked-file:after { | |
125 | font-size: 110%; | |
e0c47e26 RK |
126 | } |
127 | ||
128 | .stylesheet-more > h3 { | |
129 | font-size: 11px; | |
130 | -moz-margin-end: 2px; | |
131 | } | |
132 | ||
133 | .devtools-searchinput { | |
134 | max-width: 25ex; | |
135 | font-size: 11px; | |
136 | } | |
137 | ||
e0c47e26 RK |
138 | .placeholder a { |
139 | text-decoration: underline; | |
140 | } | |
141 | ||
142 | h1, | |
143 | h2, | |
144 | h3 { | |
145 | font-size: inherit; | |
146 | font-weight: normal; | |
147 | margin: 0; | |
148 | padding: 0; | |
149 | } | |
150 | ||
3d64e0ce RK |
151 | @media (max-width: 700px) { |
152 | .stylesheet-sidebar { | |
153 | width: 150px; | |
154 | } | |
155 | } | |
156 | ||
e0c47e26 RK |
157 | /* portrait mode */ |
158 | @media (max-width: 550px) { | |
159 | .splitview-nav { | |
160 | box-shadow: none; | |
161 | } | |
162 | ||
163 | .splitview-nav > li.splitview-active { | |
164 | background-size: 0 0, 0 0, auto; | |
165 | } | |
166 | ||
167 | .stylesheet-enabled { | |
168 | padding: 0; | |
169 | background-position: 0 0; | |
170 | height: 24px; | |
171 | } | |
172 | ||
173 | .disabled > .stylesheet-enabled { | |
174 | background-position: -24px 0; | |
175 | } | |
176 | ||
177 | .splitview-nav > li > hgroup.stylesheet-info { | |
178 | -moz-box-align: baseline; | |
179 | } | |
3d64e0ce RK |
180 | |
181 | .stylesheet-sidebar { | |
182 | width: 180px; | |
183 | } | |
e0c47e26 | 184 | } |
28e80a05 RK |
185 | |
186 | .csscoverage-report { | |
187 | background-color: var(--theme-contrastsidebar-background); | |
188 | } | |
189 | ||
190 | .csscoverage-report-container { | |
191 | height: 100vh; | |
192 | padding: 10px; | |
193 | } | |
194 | ||
195 | .csscoverage-report-content { | |
196 | margin: 20px auto; | |
197 | -moz-column-width: 300px; | |
198 | font-size: 13px; | |
199 | } | |
200 | ||
201 | .csscoverage-report h1 { | |
202 | font-size: 120%; | |
203 | } | |
204 | ||
205 | .csscoverage-report h2 { | |
206 | font-size: 110%; | |
207 | } | |
208 | ||
209 | .csscoverage-report h1, | |
210 | .csscoverage-report h2, | |
211 | .csscoverage-report h3 { | |
212 | font-weight: bold; | |
213 | margin: 10px 0; | |
214 | } | |
215 | ||
216 | .csscoverage-list:after { | |
217 | content: ', '; | |
218 | } | |
219 | ||
220 | .csscoverage-list:last-child:after { | |
221 | display: none; | |
222 | } | |
223 | ||
224 | .csscoverage-report textarea { | |
225 | width: 100%; | |
226 | height: 100px; | |
227 | } | |
228 | ||
229 | .csscoverage-report a { | |
230 | cursor: pointer; | |
231 | text-decoration: underline; | |
232 | } | |
233 | ||
234 | .csscoverage-report > .csscoverage-toolbar { | |
235 | border: none; | |
236 | margin: 0; | |
237 | padding: 0; | |
238 | } | |
239 | ||
240 | .csscoverage-report > .csscoverage-toolbarbutton { | |
241 | min-width: 4em; | |
242 | min-height: 100vh; | |
243 | margin: 0; | |
244 | padding: 0; | |
245 | border-radius: 0; | |
246 | border-top: none; | |
247 | border-bottom: none; | |
248 | -moz-border-start: none; | |
249 | } | |
250 | ||
251 | .chart-colored-blob[name="Used Preload"] { | |
252 | fill: var(--theme-highlight-pink); | |
253 | background: var(--theme-highlight-pink);; | |
254 | } | |
255 | ||
256 | .chart-colored-blob[name=Used] { | |
257 | fill: var(--theme-highlight-green); | |
258 | background: var(--theme-highlight-green); | |
259 | } | |
260 | ||
261 | .chart-colored-blob[name=Unused] { | |
262 | fill: var(--theme-highlight-lightorange); | |
263 | background: var(--theme-highlight-lightorange); | |
264 | } | |
265 | ||
266 | /* Undo 'largest' customization */ | |
267 | .pie-chart-slice[largest] { | |
268 | stroke-width: 1px; | |
269 | stroke: rgba(0,0,0,0.2); | |
270 | } | |
271 | ||
272 | .csscoverage-report .pie-chart-slice { | |
273 | cursor: default; | |
274 | } | |
275 | ||
276 | .csscoverage-report-chart { | |
277 | margin: 0 50px; | |
278 | } |