Commit | Line | Data |
---|---|---|
bb9362a9 RK |
1 | /* - This Source Code Form is subject to the terms of the Mozilla Public |
2 | - License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
3 | - You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
4 | ||
5 | /* === BEGIN shared/in-content/preferences.css === */ | |
6 | ||
7 | @namespace html "http://www.w3.org/1999/xhtml"; | |
8 | ||
6edbc6e8 RK |
9 | #dialogBox, |
10 | dialog, | |
11 | window, | |
12 | prefwindow, | |
a21f2959 | 13 | .windowDialog { |
bb9362a9 RK |
14 | background-color: #000000; |
15 | } | |
16 | ||
bb9362a9 | 17 | .main-content { |
0b8749a4 | 18 | padding: 1.5em 0 0; /* That padding needs to match the upper stripe. */ |
bb9362a9 | 19 | overflow: auto; |
0b8749a4 RK |
20 | |
21 | /* This actually results in two black boxes extending to the right and bottom, | |
22 | * leaving the LCARS-gray background only in a top stripe and | |
23 | * a bit larger area on the top left. | |
24 | * The prefpane will overlay that with the rounded shape we want. */ | |
25 | background-color: #A09090; | |
26 | background-position: 3em 1.5em, 0px 5em; | |
27 | background-image: linear-gradient(0deg, #000, #000), linear-gradient(0deg, #000, #000); | |
28 | background-repeat: no-repeat; | |
bb9362a9 RK |
29 | } |
30 | ||
31 | prefpane { | |
0b8749a4 RK |
32 | padding: 10px 20px 0px; |
33 | border-radius: 1em 0 0 0; | |
34 | background-color: #000000; | |
35 | ||
589b5528 | 36 | max-width: 800px; |
93c91f62 | 37 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
bb9362a9 RK |
38 | font-size: 1.25rem; |
39 | line-height: 22px; | |
6edbc6e8 | 40 | color: #FF9F00; |
bb9362a9 RK |
41 | } |
42 | ||
bb9362a9 RK |
43 | /* Category List */ |
44 | ||
45 | #categories { | |
46 | background-color: #A09090; | |
0b8749a4 | 47 | padding-top: 4em; |
bb9362a9 RK |
48 | margin: 0; |
49 | border-radius: 1em 0 0 0; | |
0b8749a4 | 50 | border: none; |
bb9362a9 RK |
51 | } |
52 | ||
53 | .category { | |
54 | background-color: #000000; | |
55 | color: #FFCF00; | |
56 | -moz-border-end-width: 0; | |
3d64e0ce | 57 | -moz-padding-start: 15px; |
bb9362a9 RK |
58 | -moz-padding-end: 21px; |
59 | min-height: 40px; | |
3d64e0ce | 60 | transition: background-color 150ms; |
bb9362a9 RK |
61 | } |
62 | ||
63 | .category:hover { | |
64 | background-color: #FFCF00; | |
65 | color: #000000; | |
66 | } | |
67 | ||
68 | .category[selected] { | |
69 | background-color: #008484; | |
70 | color: #000000; | |
71 | } | |
72 | ||
2b5a5147 RK |
73 | #categories[keyboard-navigation="true"]:-moz-focusring > .category[current] { |
74 | border-top: 1px dotted #000000; | |
75 | border-bottom: 1px dotted #000000; | |
76 | } | |
77 | ||
bb9362a9 RK |
78 | .category-name { |
79 | line-height: 22px; | |
bb9362a9 RK |
80 | font-size: 1.25rem; |
81 | padding-bottom: 2px; | |
82 | -moz-padding-start: 9px; | |
83 | margin: 0; | |
84 | } | |
85 | ||
86 | .category-icon { | |
87 | width: 24px; | |
88 | height: 24px; | |
89 | list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png"); | |
90 | } | |
91 | ||
92 | #category-general > .category-icon { | |
93 | -moz-image-region: rect(0, 24px, 24px, 0); | |
94 | } | |
95 | ||
96 | #category-general:hover > .category-icon, | |
97 | #category-general[selected] > .category-icon { | |
98 | -moz-image-region: rect(24px, 24px, 48px, 0); | |
99 | } | |
100 | ||
101 | #category-content > .category-icon { | |
102 | -moz-image-region: rect(0, 48px, 24px, 24px) | |
103 | } | |
104 | ||
105 | #category-content:hover > .category-icon, | |
106 | #category-content[selected] > .category-icon { | |
107 | -moz-image-region: rect(24px, 48px, 48px, 24px); | |
108 | } | |
109 | ||
110 | #category-application > .category-icon { | |
111 | -moz-image-region: rect(0, 72px, 24px, 48px) | |
112 | } | |
113 | ||
114 | #category-application:hover > .category-icon, | |
115 | #category-application[selected] > .category-icon { | |
116 | -moz-image-region: rect(24px, 72px, 48px, 48px); | |
117 | } | |
118 | ||
119 | #category-privacy > .category-icon { | |
120 | -moz-image-region: rect(0, 96px, 24px, 72px) | |
121 | } | |
122 | ||
123 | #category-privacy:hover > .category-icon, | |
124 | #category-privacy[selected] > .category-icon { | |
125 | -moz-image-region: rect(24px, 96px, 48px, 72px); | |
126 | } | |
127 | ||
128 | #category-security > .category-icon { | |
129 | -moz-image-region: rect(0, 120px, 24px, 96px) | |
130 | } | |
131 | ||
132 | #category-security:hover > .category-icon, | |
133 | #category-security[selected] > .category-icon { | |
134 | -moz-image-region: rect(24px, 120px, 48px, 96px); | |
135 | } | |
136 | ||
137 | #category-sync > .category-icon { | |
138 | -moz-image-region: rect(0, 144px, 24px, 120px); | |
139 | } | |
140 | ||
141 | #category-sync:hover > .category-icon, | |
142 | #category-sync[selected] > .category-icon { | |
143 | -moz-image-region: rect(24px, 144px, 48px, 120px); | |
144 | } | |
145 | ||
146 | #category-advanced > .category-icon { | |
147 | -moz-image-region: rect(0, 168px, 24px, 144px) | |
148 | } | |
149 | ||
150 | #category-advanced:hover > .category-icon, | |
151 | #category-advanced[selected] > .category-icon { | |
152 | -moz-image-region: rect(24px, 168px, 48px, 144px); | |
153 | } | |
154 | ||
155 | /* header */ | |
156 | ||
d4d77dc0 RK |
157 | #header-advanced { |
158 | border-bottom: none; | |
159 | padding-bottom: 0; | |
bb9362a9 RK |
160 | } |
161 | ||
bb9362a9 RK |
162 | .indent { |
163 | margin-top: 7px; | |
164 | margin-bottom: 7px; | |
165 | } | |
166 | ||
167 | /* General Pane */ | |
bb9362a9 | 168 | |
a21f2959 RK |
169 | #isNotDefaultLabel { |
170 | font-weight: bold; | |
bb9362a9 RK |
171 | } |
172 | ||
bb9362a9 RK |
173 | /* Applications Pane Styles */ |
174 | ||
3d64e0ce | 175 | #applicationsContent { |
3d64e0ce RK |
176 | padding: 15px 0; |
177 | } | |
178 | ||
179 | #filter { | |
180 | -moz-margin-start: 0; | |
bb9362a9 RK |
181 | } |
182 | ||
183 | #handlersView { | |
3d64e0ce | 184 | -moz-margin-start: 0; |
bb9362a9 RK |
185 | font-size: 1.25rem; |
186 | line-height: 22px; | |
187 | border: none; /*1px solid #9C9CFF;*/ | |
188 | margin: 0; | |
189 | overflow-y: auto; | |
190 | border-top-left-radius: 0; | |
191 | border-top-right-radius: 0; | |
2b5a5147 | 192 | height: 500px; |
bb9362a9 RK |
193 | } |
194 | ||
0b8749a4 RK |
195 | #handlersView > listheader { |
196 | border: none; | |
197 | background: transparent; | |
198 | padding: 0; | |
199 | } | |
200 | ||
201 | #handlersView > listheader > treecol { | |
202 | } | |
203 | ||
204 | #handlersView > scrollbox { | |
205 | border-left: 1px solid #9C9CFF; | |
206 | border-right: 1px solid #9C9CFF; | |
207 | border-bottom: 1px solid #9C9CFF; | |
bb9362a9 RK |
208 | } |
209 | ||
210 | #typeColumn, | |
211 | #actionColumn { | |
bb9362a9 RK |
212 | line-height: 20px; |
213 | /* color: #737980; | |
214 | height: 36px; | |
215 | padding: 0 10px; | |
216 | background-color: #F7F7F7; | |
217 | border: 1px solid #CCCCCC; | |
218 | -moz-border-top-colors: none; | |
219 | -moz-border-right-colors: none; | |
220 | -moz-border-bottom-colors: none; | |
221 | -moz-border-left-colors: none; | |
222 | */ | |
223 | } | |
224 | ||
225 | #typeColumn:-moz-locale-dir(ltr), | |
226 | #actionColumn:-moz-locale-dir(rtl) { | |
227 | border-top-left-radius: 5px; | |
228 | } | |
229 | ||
230 | #typeColumn:-moz-locale-dir(rtl), | |
231 | #actionColumn:-moz-locale-dir(ltr) { | |
232 | border-top-right-radius: 5px; | |
233 | } | |
234 | /* | |
235 | #typeColumn:hover, | |
236 | #actionColumn:hover { | |
237 | border-color: #737980; | |
238 | } | |
239 | ||
240 | #typeColumn:hover:active, | |
241 | #actionColumn:hover:active { | |
242 | padding: 0 10px; | |
243 | border-color: #0096DC; | |
244 | } | |
245 | */ | |
246 | #typeColumn > .treecol-sortdirection[sortDirection=ascending], | |
247 | #actionColumn > .treecol-sortdirection[sortDirection=ascending], | |
248 | #typeColumn > .treecol-sortdirection[sortDirection=descending], | |
589b5528 | 249 | #actionColumn > .treecol-sortdirection[sortDirection=descending] { |
bb9362a9 RK |
250 | } |
251 | ||
252 | #typeColumn > .treecol-sortdirection[sortDirection=descending], | |
253 | #actionColumn > .treecol-sortdirection[sortDirection=descending] { | |
254 | } | |
255 | ||
256 | #handlersView > richlistitem { | |
257 | min-height: 40px !important; | |
258 | } | |
259 | ||
260 | .typeIcon { | |
261 | -moz-margin-start: 10px !important; | |
262 | -moz-margin-end: 9px !important; | |
263 | } | |
264 | ||
265 | .actionIcon { | |
266 | -moz-margin-start: 11px !important; | |
267 | -moz-margin-end: 8px !important; | |
268 | } | |
269 | ||
270 | .actionsMenu { | |
271 | height: 40px; | |
272 | max-height: 40px; | |
273 | } | |
274 | ||
275 | .actionsMenu > menupopup > menuitem { | |
276 | -moz-padding-start: 10px !important; | |
277 | } | |
278 | ||
279 | .actionsMenu > menupopup > menuitem > .menu-iconic-left { | |
280 | -moz-margin-end: 8px !important; | |
281 | } | |
282 | ||
283 | /* XXX This style is for bug 740213 and should be removed once that | |
284 | bug has a solution. */ | |
285 | description > html|a { | |
286 | cursor: pointer; | |
287 | } | |
288 | ||
3d64e0ce | 289 | #offlineAppsList, |
bb9362a9 RK |
290 | #syncEnginesList { |
291 | /* -moz-appearance: none; | |
292 | color: #737980; | |
293 | padding: 10px; | |
294 | border: 1px solid rgba(23,50,77,0.4); | |
295 | border-radius: 5px; | |
296 | background-color: #F1F1F1;*/ | |
297 | } | |
298 | ||
9168a62c RK |
299 | #noFxaAccount { |
300 | /* Overriding the margins from the base preferences.css theme file. | |
301 | These overrides can be simplified by fixing bug 1027174 */ | |
302 | margin: 0; | |
303 | } | |
304 | ||
305 | #weavePrefsDeck > vbox > label, | |
306 | #weavePrefsDeck > vbox > groupbox, | |
307 | #weavePrefsDeck > vbox > description, | |
308 | #weavePrefsDeck > vbox > #pairDevice > label, | |
309 | #weavePrefsDeck > #needsUpdate > hbox > #loginError, | |
310 | #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP) > label { | |
311 | /* no margin-start for elements at the begin of a line */ | |
312 | -moz-margin-start: 0; | |
313 | } | |
314 | ||
bb9362a9 RK |
315 | #advancedPrefs { |
316 | padding-bottom: 0; /* no padding needed in inContent prefs */ | |
317 | } | |
318 | ||
319 | #encryptionPanel { | |
320 | margin-top: 15px; | |
bb9362a9 RK |
321 | } |
322 | ||
bb9362a9 RK |
323 | #telemetryLearnMore, |
324 | #FHRLearnMore, | |
325 | #crashReporterLearnMore { | |
326 | /* center the links */ | |
327 | margin-top: 8px; | |
328 | margin-bottom: 8px; | |
329 | } | |
330 | ||
6edbc6e8 RK |
331 | |
332 | /** | |
333 | * Sub-dialog | |
334 | */ | |
335 | ||
336 | #dialogOverlay { | |
337 | background-color: rgba(0,0,0,0.75); | |
338 | visibility: hidden; | |
339 | } | |
340 | ||
341 | #dialogBox { | |
342 | border: 1px solid #9C9CFF; | |
343 | display: -moz-box; | |
344 | margin: 0; | |
345 | padding-right: 6px; | |
346 | padding-left: 6px; | |
347 | } | |
348 | ||
349 | #dialogBox[resizable="true"] { | |
350 | resize: both; | |
351 | overflow: hidden; | |
352 | min-height: 30em; | |
353 | min-width: 66ch; | |
354 | } | |
355 | ||
356 | .close-icon { | |
357 | background-color: transparent !important; | |
358 | border: none; | |
359 | box-shadow: none; | |
360 | height: 18px; | |
361 | padding: 0; | |
362 | min-width: 18px; | |
363 | } | |
364 | ||
d4d77dc0 RK |
365 | #dialogBox > .groupbox-title > caption { |
366 | margin: 0; | |
367 | border-radius: 1000px; | |
368 | background-color: #A09090; | |
369 | } | |
370 | ||
6edbc6e8 RK |
371 | #dialogBox > .groupbox-body { |
372 | -moz-appearance: none; | |
373 | padding: 0; | |
374 | } | |
375 | ||
376 | #dialogFrame { | |
377 | -moz-box-flex: 1; | |
378 | /* Default dialog dimensions */ | |
d4d77dc0 | 379 | height: 30em; |
6edbc6e8 RK |
380 | width: 66ch; |
381 | } | |
382 | ||
6edbc6e8 RK |
383 | tree:not(#rejectsTree) { |
384 | min-height: 15em; | |
385 | } | |
386 | ||
387 | :-moz-any(dialog, window, prefwindow) groupbox { | |
388 | -moz-margin-start: 8px; | |
389 | -moz-margin-end: 8px; | |
390 | } | |
391 | ||
392 | /** | |
393 | * End sub-dialog | |
394 | */ | |
395 | ||
bb9362a9 RK |
396 | /* === END shared/in-content/preferences.css === */ |
397 | ||
0bcd5587 RK |
398 | caption { |
399 | } | |
400 | ||
bb9362a9 RK |
401 | .indent-small { |
402 | -moz-margin-start: 10px; | |
403 | } | |
404 | ||
405 | @media (min-resolution: 2dppx) { | |
406 | checkbox:hover::before, | |
407 | checkbox[checked]::before { | |
408 | } | |
409 | ||
410 | checkbox[checked]::before { | |
411 | } | |
412 | ||
413 | .category-icon { | |
414 | list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png"); | |
415 | } | |
416 | ||
417 | #category-general > .category-icon { | |
418 | -moz-image-region: rect(0, 48px, 48px, 0); | |
419 | } | |
420 | ||
421 | #category-general[selected] > .category-icon { | |
422 | -moz-image-region: rect(48px, 48px, 96px, 0); | |
423 | } | |
424 | ||
425 | #category-content > .category-icon { | |
426 | -moz-image-region: rect(0, 96px, 48px, 48px); | |
427 | } | |
428 | ||
429 | #category-content[selected] > .category-icon { | |
430 | -moz-image-region: rect(48px, 96px, 96px, 48px); | |
431 | } | |
432 | ||
433 | #category-application > .category-icon { | |
434 | -moz-image-region: rect(0, 144px, 48px, 96px); | |
435 | } | |
436 | ||
437 | #category-application[selected] > .category-icon { | |
438 | -moz-image-region: rect(48px, 144px, 96px, 96px); | |
439 | } | |
440 | ||
441 | #category-privacy > .category-icon { | |
442 | -moz-image-region: rect(0, 192px, 48px, 144px); | |
443 | } | |
444 | ||
445 | #category-privacy[selected] > .category-icon { | |
446 | -moz-image-region: rect(48px, 192px, 96px, 144px); | |
447 | } | |
448 | ||
449 | #category-security > .category-icon { | |
450 | -moz-image-region: rect(0, 240px, 48px, 192px); | |
451 | } | |
452 | ||
453 | #category-security[selected] > .category-icon { | |
454 | -moz-image-region: rect(48px, 240px, 96px, 192px); | |
455 | } | |
456 | ||
457 | #category-sync > .category-icon { | |
458 | -moz-image-region: rect(0, 288px, 48px, 240px); | |
459 | } | |
460 | ||
461 | #category-sync[selected] > .category-icon { | |
462 | -moz-image-region: rect(48px, 288px, 96px, 240px); | |
463 | } | |
464 | ||
465 | #category-advanced > .category-icon { | |
466 | -moz-image-region: rect(0, 336px, 48px, 288px); | |
467 | } | |
468 | ||
469 | #category-advanced[selected] > .category-icon { | |
470 | -moz-image-region: rect(48px, 336px, 96px, 288px); | |
471 | } | |
472 | } |