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 | ||
58036cb8 RK |
101 | #category-search > .category-icon { |
102 | -moz-image-region: rect(0, 194px, 24px, 168px); | |
103 | } | |
104 | ||
105 | #category-search:hover > .category-icon, | |
106 | #category-search[selected] > .category-icon { | |
107 | -moz-image-region: rect(24px, 194px, 48px, 168px); | |
108 | } | |
109 | ||
bb9362a9 RK |
110 | #category-content > .category-icon { |
111 | -moz-image-region: rect(0, 48px, 24px, 24px) | |
112 | } | |
113 | ||
114 | #category-content:hover > .category-icon, | |
115 | #category-content[selected] > .category-icon { | |
116 | -moz-image-region: rect(24px, 48px, 48px, 24px); | |
117 | } | |
118 | ||
119 | #category-application > .category-icon { | |
120 | -moz-image-region: rect(0, 72px, 24px, 48px) | |
121 | } | |
122 | ||
123 | #category-application:hover > .category-icon, | |
124 | #category-application[selected] > .category-icon { | |
125 | -moz-image-region: rect(24px, 72px, 48px, 48px); | |
126 | } | |
127 | ||
128 | #category-privacy > .category-icon { | |
129 | -moz-image-region: rect(0, 96px, 24px, 72px) | |
130 | } | |
131 | ||
132 | #category-privacy:hover > .category-icon, | |
133 | #category-privacy[selected] > .category-icon { | |
134 | -moz-image-region: rect(24px, 96px, 48px, 72px); | |
135 | } | |
136 | ||
137 | #category-security > .category-icon { | |
138 | -moz-image-region: rect(0, 120px, 24px, 96px) | |
139 | } | |
140 | ||
141 | #category-security:hover > .category-icon, | |
142 | #category-security[selected] > .category-icon { | |
143 | -moz-image-region: rect(24px, 120px, 48px, 96px); | |
144 | } | |
145 | ||
146 | #category-sync > .category-icon { | |
147 | -moz-image-region: rect(0, 144px, 24px, 120px); | |
148 | } | |
149 | ||
150 | #category-sync:hover > .category-icon, | |
151 | #category-sync[selected] > .category-icon { | |
152 | -moz-image-region: rect(24px, 144px, 48px, 120px); | |
153 | } | |
154 | ||
155 | #category-advanced > .category-icon { | |
156 | -moz-image-region: rect(0, 168px, 24px, 144px) | |
157 | } | |
158 | ||
159 | #category-advanced:hover > .category-icon, | |
160 | #category-advanced[selected] > .category-icon { | |
161 | -moz-image-region: rect(24px, 168px, 48px, 144px); | |
162 | } | |
163 | ||
164 | /* header */ | |
165 | ||
d4d77dc0 RK |
166 | #header-advanced { |
167 | border-bottom: none; | |
168 | padding-bottom: 0; | |
bb9362a9 RK |
169 | } |
170 | ||
bb9362a9 RK |
171 | .indent { |
172 | margin-top: 7px; | |
173 | margin-bottom: 7px; | |
174 | } | |
175 | ||
176 | /* General Pane */ | |
bb9362a9 | 177 | |
a21f2959 RK |
178 | #isNotDefaultLabel { |
179 | font-weight: bold; | |
bb9362a9 RK |
180 | } |
181 | ||
bb9362a9 RK |
182 | /* Applications Pane Styles */ |
183 | ||
3d64e0ce | 184 | #applicationsContent { |
3d64e0ce RK |
185 | padding: 15px 0; |
186 | } | |
187 | ||
188 | #filter { | |
189 | -moz-margin-start: 0; | |
bb9362a9 RK |
190 | } |
191 | ||
192 | #handlersView { | |
3d64e0ce | 193 | -moz-margin-start: 0; |
bb9362a9 RK |
194 | font-size: 1.25rem; |
195 | line-height: 22px; | |
196 | border: none; /*1px solid #9C9CFF;*/ | |
197 | margin: 0; | |
198 | overflow-y: auto; | |
199 | border-top-left-radius: 0; | |
200 | border-top-right-radius: 0; | |
2b5a5147 | 201 | height: 500px; |
bb9362a9 RK |
202 | } |
203 | ||
0b8749a4 RK |
204 | #handlersView > listheader > treecol { |
205 | } | |
206 | ||
207 | #handlersView > scrollbox { | |
208 | border-left: 1px solid #9C9CFF; | |
209 | border-right: 1px solid #9C9CFF; | |
210 | border-bottom: 1px solid #9C9CFF; | |
bb9362a9 RK |
211 | } |
212 | ||
cac2a998 RK |
213 | #handlersView > listheader { |
214 | background: transparent; | |
215 | border: 0; | |
216 | padding: 0; | |
217 | } | |
218 | ||
bb9362a9 RK |
219 | #typeColumn, |
220 | #actionColumn { | |
bb9362a9 RK |
221 | line-height: 20px; |
222 | /* color: #737980; | |
223 | height: 36px; | |
224 | padding: 0 10px; | |
225 | background-color: #F7F7F7; | |
226 | border: 1px solid #CCCCCC; | |
227 | -moz-border-top-colors: none; | |
228 | -moz-border-right-colors: none; | |
229 | -moz-border-bottom-colors: none; | |
230 | -moz-border-left-colors: none; | |
231 | */ | |
232 | } | |
233 | ||
234 | #typeColumn:-moz-locale-dir(ltr), | |
235 | #actionColumn:-moz-locale-dir(rtl) { | |
236 | border-top-left-radius: 5px; | |
237 | } | |
238 | ||
239 | #typeColumn:-moz-locale-dir(rtl), | |
240 | #actionColumn:-moz-locale-dir(ltr) { | |
241 | border-top-right-radius: 5px; | |
242 | } | |
243 | /* | |
244 | #typeColumn:hover, | |
245 | #actionColumn:hover { | |
246 | border-color: #737980; | |
247 | } | |
248 | ||
249 | #typeColumn:hover:active, | |
250 | #actionColumn:hover:active { | |
251 | padding: 0 10px; | |
252 | border-color: #0096DC; | |
253 | } | |
254 | */ | |
255 | #typeColumn > .treecol-sortdirection[sortDirection=ascending], | |
256 | #actionColumn > .treecol-sortdirection[sortDirection=ascending], | |
257 | #typeColumn > .treecol-sortdirection[sortDirection=descending], | |
589b5528 | 258 | #actionColumn > .treecol-sortdirection[sortDirection=descending] { |
bb9362a9 RK |
259 | } |
260 | ||
261 | #typeColumn > .treecol-sortdirection[sortDirection=descending], | |
262 | #actionColumn > .treecol-sortdirection[sortDirection=descending] { | |
263 | } | |
264 | ||
265 | #handlersView > richlistitem { | |
266 | min-height: 40px !important; | |
267 | } | |
268 | ||
269 | .typeIcon { | |
270 | -moz-margin-start: 10px !important; | |
271 | -moz-margin-end: 9px !important; | |
272 | } | |
273 | ||
274 | .actionIcon { | |
275 | -moz-margin-start: 11px !important; | |
276 | -moz-margin-end: 8px !important; | |
277 | } | |
278 | ||
279 | .actionsMenu { | |
280 | height: 40px; | |
281 | max-height: 40px; | |
282 | } | |
283 | ||
284 | .actionsMenu > menupopup > menuitem { | |
285 | -moz-padding-start: 10px !important; | |
286 | } | |
287 | ||
288 | .actionsMenu > menupopup > menuitem > .menu-iconic-left { | |
289 | -moz-margin-end: 8px !important; | |
290 | } | |
291 | ||
292 | /* XXX This style is for bug 740213 and should be removed once that | |
293 | bug has a solution. */ | |
294 | description > html|a { | |
295 | cursor: pointer; | |
296 | } | |
297 | ||
3d64e0ce | 298 | #offlineAppsList, |
bb9362a9 RK |
299 | #syncEnginesList { |
300 | /* -moz-appearance: none; | |
301 | color: #737980; | |
302 | padding: 10px; | |
303 | border: 1px solid rgba(23,50,77,0.4); | |
304 | border-radius: 5px; | |
305 | background-color: #F1F1F1;*/ | |
306 | } | |
307 | ||
9168a62c RK |
308 | #noFxaAccount { |
309 | /* Overriding the margins from the base preferences.css theme file. | |
310 | These overrides can be simplified by fixing bug 1027174 */ | |
311 | margin: 0; | |
312 | } | |
313 | ||
314 | #weavePrefsDeck > vbox > label, | |
315 | #weavePrefsDeck > vbox > groupbox, | |
316 | #weavePrefsDeck > vbox > description, | |
317 | #weavePrefsDeck > vbox > #pairDevice > label, | |
318 | #weavePrefsDeck > #needsUpdate > hbox > #loginError, | |
cac2a998 RK |
319 | #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label, |
320 | #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-small) > label { | |
9168a62c RK |
321 | /* no margin-start for elements at the begin of a line */ |
322 | -moz-margin-start: 0; | |
323 | } | |
324 | ||
bb9362a9 RK |
325 | #advancedPrefs { |
326 | padding-bottom: 0; /* no padding needed in inContent prefs */ | |
327 | } | |
328 | ||
329 | #encryptionPanel { | |
330 | margin-top: 15px; | |
bb9362a9 RK |
331 | } |
332 | ||
bb9362a9 RK |
333 | #telemetryLearnMore, |
334 | #FHRLearnMore, | |
335 | #crashReporterLearnMore { | |
336 | /* center the links */ | |
337 | margin-top: 8px; | |
338 | margin-bottom: 8px; | |
339 | } | |
340 | ||
6edbc6e8 RK |
341 | |
342 | /** | |
343 | * Sub-dialog | |
344 | */ | |
345 | ||
346 | #dialogOverlay { | |
347 | background-color: rgba(0,0,0,0.75); | |
348 | visibility: hidden; | |
349 | } | |
350 | ||
351 | #dialogBox { | |
352 | border: 1px solid #9C9CFF; | |
353 | display: -moz-box; | |
354 | margin: 0; | |
355 | padding-right: 6px; | |
356 | padding-left: 6px; | |
357 | } | |
358 | ||
359 | #dialogBox[resizable="true"] { | |
360 | resize: both; | |
361 | overflow: hidden; | |
362 | min-height: 30em; | |
363 | min-width: 66ch; | |
364 | } | |
365 | ||
366 | .close-icon { | |
367 | background-color: transparent !important; | |
368 | border: none; | |
369 | box-shadow: none; | |
370 | height: 18px; | |
371 | padding: 0; | |
372 | min-width: 18px; | |
373 | } | |
374 | ||
d4d77dc0 RK |
375 | #dialogBox > .groupbox-title > caption { |
376 | margin: 0; | |
377 | border-radius: 1000px; | |
378 | background-color: #A09090; | |
379 | } | |
380 | ||
6edbc6e8 RK |
381 | #dialogBox > .groupbox-body { |
382 | -moz-appearance: none; | |
383 | padding: 0; | |
384 | } | |
385 | ||
386 | #dialogFrame { | |
387 | -moz-box-flex: 1; | |
388 | /* Default dialog dimensions */ | |
d4d77dc0 | 389 | height: 30em; |
6edbc6e8 RK |
390 | width: 66ch; |
391 | } | |
392 | ||
6edbc6e8 RK |
393 | tree:not(#rejectsTree) { |
394 | min-height: 15em; | |
395 | } | |
396 | ||
397 | :-moz-any(dialog, window, prefwindow) groupbox { | |
398 | -moz-margin-start: 8px; | |
399 | -moz-margin-end: 8px; | |
400 | } | |
401 | ||
402 | /** | |
403 | * End sub-dialog | |
404 | */ | |
405 | ||
bb9362a9 RK |
406 | /* === END shared/in-content/preferences.css === */ |
407 | ||
0bcd5587 RK |
408 | caption { |
409 | } | |
410 | ||
bb9362a9 RK |
411 | .indent-small { |
412 | -moz-margin-start: 10px; | |
413 | } | |
414 | ||
415 | @media (min-resolution: 2dppx) { | |
416 | checkbox:hover::before, | |
417 | checkbox[checked]::before { | |
418 | } | |
419 | ||
420 | checkbox[checked]::before { | |
421 | } | |
422 | ||
423 | .category-icon { | |
424 | list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png"); | |
425 | } | |
426 | ||
427 | #category-general > .category-icon { | |
428 | -moz-image-region: rect(0, 48px, 48px, 0); | |
429 | } | |
430 | ||
58036cb8 | 431 | #category-general:hover > .category-icon, |
bb9362a9 RK |
432 | #category-general[selected] > .category-icon { |
433 | -moz-image-region: rect(48px, 48px, 96px, 0); | |
434 | } | |
435 | ||
58036cb8 RK |
436 | #category-search > .category-icon { |
437 | -moz-image-region: rect(0, 384px, 48px, 336px); | |
438 | } | |
439 | ||
440 | #category-search:hover > .category-icon, | |
441 | #category-search[selected] > .category-icon { | |
442 | -moz-image-region: rect(48, 384px, 96px, 336px); | |
443 | } | |
444 | ||
bb9362a9 RK |
445 | #category-content > .category-icon { |
446 | -moz-image-region: rect(0, 96px, 48px, 48px); | |
447 | } | |
448 | ||
58036cb8 | 449 | #category-content:hover > .category-icon, |
bb9362a9 RK |
450 | #category-content[selected] > .category-icon { |
451 | -moz-image-region: rect(48px, 96px, 96px, 48px); | |
452 | } | |
453 | ||
454 | #category-application > .category-icon { | |
455 | -moz-image-region: rect(0, 144px, 48px, 96px); | |
456 | } | |
457 | ||
58036cb8 | 458 | #category-application:hover > .category-icon, |
bb9362a9 RK |
459 | #category-application[selected] > .category-icon { |
460 | -moz-image-region: rect(48px, 144px, 96px, 96px); | |
461 | } | |
462 | ||
463 | #category-privacy > .category-icon { | |
464 | -moz-image-region: rect(0, 192px, 48px, 144px); | |
465 | } | |
466 | ||
58036cb8 | 467 | #category-privacy:hover > .category-icon, |
bb9362a9 RK |
468 | #category-privacy[selected] > .category-icon { |
469 | -moz-image-region: rect(48px, 192px, 96px, 144px); | |
470 | } | |
471 | ||
472 | #category-security > .category-icon { | |
473 | -moz-image-region: rect(0, 240px, 48px, 192px); | |
474 | } | |
475 | ||
58036cb8 | 476 | #category-security:hover > .category-icon, |
bb9362a9 RK |
477 | #category-security[selected] > .category-icon { |
478 | -moz-image-region: rect(48px, 240px, 96px, 192px); | |
479 | } | |
480 | ||
481 | #category-sync > .category-icon { | |
482 | -moz-image-region: rect(0, 288px, 48px, 240px); | |
483 | } | |
484 | ||
58036cb8 | 485 | #category-sync:hover > .category-icon, |
bb9362a9 RK |
486 | #category-sync[selected] > .category-icon { |
487 | -moz-image-region: rect(48px, 288px, 96px, 240px); | |
488 | } | |
489 | ||
490 | #category-advanced > .category-icon { | |
491 | -moz-image-region: rect(0, 336px, 48px, 288px); | |
492 | } | |
493 | ||
58036cb8 | 494 | #category-advanced:hover > .category-icon, |
bb9362a9 RK |
495 | #category-advanced[selected] > .category-icon { |
496 | -moz-image-region: rect(48px, 336px, 96px, 288px); | |
497 | } | |
498 | } |