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 > treecol { |
196 | } | |
197 | ||
198 | #handlersView > scrollbox { | |
199 | border-left: 1px solid #9C9CFF; | |
200 | border-right: 1px solid #9C9CFF; | |
201 | border-bottom: 1px solid #9C9CFF; | |
bb9362a9 RK |
202 | } |
203 | ||
cac2a998 RK |
204 | #handlersView > listheader { |
205 | background: transparent; | |
206 | border: 0; | |
207 | padding: 0; | |
208 | } | |
209 | ||
bb9362a9 RK |
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, | |
cac2a998 RK |
310 | #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label, |
311 | #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-small) > label { | |
9168a62c RK |
312 | /* no margin-start for elements at the begin of a line */ |
313 | -moz-margin-start: 0; | |
314 | } | |
315 | ||
bb9362a9 RK |
316 | #advancedPrefs { |
317 | padding-bottom: 0; /* no padding needed in inContent prefs */ | |
318 | } | |
319 | ||
320 | #encryptionPanel { | |
321 | margin-top: 15px; | |
bb9362a9 RK |
322 | } |
323 | ||
bb9362a9 RK |
324 | #telemetryLearnMore, |
325 | #FHRLearnMore, | |
326 | #crashReporterLearnMore { | |
327 | /* center the links */ | |
328 | margin-top: 8px; | |
329 | margin-bottom: 8px; | |
330 | } | |
331 | ||
6edbc6e8 RK |
332 | |
333 | /** | |
334 | * Sub-dialog | |
335 | */ | |
336 | ||
337 | #dialogOverlay { | |
338 | background-color: rgba(0,0,0,0.75); | |
339 | visibility: hidden; | |
340 | } | |
341 | ||
342 | #dialogBox { | |
343 | border: 1px solid #9C9CFF; | |
344 | display: -moz-box; | |
345 | margin: 0; | |
346 | padding-right: 6px; | |
347 | padding-left: 6px; | |
348 | } | |
349 | ||
350 | #dialogBox[resizable="true"] { | |
351 | resize: both; | |
352 | overflow: hidden; | |
353 | min-height: 30em; | |
354 | min-width: 66ch; | |
355 | } | |
356 | ||
357 | .close-icon { | |
358 | background-color: transparent !important; | |
359 | border: none; | |
360 | box-shadow: none; | |
361 | height: 18px; | |
362 | padding: 0; | |
363 | min-width: 18px; | |
364 | } | |
365 | ||
d4d77dc0 RK |
366 | #dialogBox > .groupbox-title > caption { |
367 | margin: 0; | |
368 | border-radius: 1000px; | |
369 | background-color: #A09090; | |
370 | } | |
371 | ||
6edbc6e8 RK |
372 | #dialogBox > .groupbox-body { |
373 | -moz-appearance: none; | |
374 | padding: 0; | |
375 | } | |
376 | ||
377 | #dialogFrame { | |
378 | -moz-box-flex: 1; | |
379 | /* Default dialog dimensions */ | |
d4d77dc0 | 380 | height: 30em; |
6edbc6e8 RK |
381 | width: 66ch; |
382 | } | |
383 | ||
6edbc6e8 RK |
384 | tree:not(#rejectsTree) { |
385 | min-height: 15em; | |
386 | } | |
387 | ||
388 | :-moz-any(dialog, window, prefwindow) groupbox { | |
389 | -moz-margin-start: 8px; | |
390 | -moz-margin-end: 8px; | |
391 | } | |
392 | ||
393 | /** | |
394 | * End sub-dialog | |
395 | */ | |
396 | ||
bb9362a9 RK |
397 | /* === END shared/in-content/preferences.css === */ |
398 | ||
0bcd5587 RK |
399 | caption { |
400 | } | |
401 | ||
bb9362a9 RK |
402 | .indent-small { |
403 | -moz-margin-start: 10px; | |
404 | } | |
405 | ||
406 | @media (min-resolution: 2dppx) { | |
407 | checkbox:hover::before, | |
408 | checkbox[checked]::before { | |
409 | } | |
410 | ||
411 | checkbox[checked]::before { | |
412 | } | |
413 | ||
414 | .category-icon { | |
415 | list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png"); | |
416 | } | |
417 | ||
418 | #category-general > .category-icon { | |
419 | -moz-image-region: rect(0, 48px, 48px, 0); | |
420 | } | |
421 | ||
422 | #category-general[selected] > .category-icon { | |
423 | -moz-image-region: rect(48px, 48px, 96px, 0); | |
424 | } | |
425 | ||
426 | #category-content > .category-icon { | |
427 | -moz-image-region: rect(0, 96px, 48px, 48px); | |
428 | } | |
429 | ||
430 | #category-content[selected] > .category-icon { | |
431 | -moz-image-region: rect(48px, 96px, 96px, 48px); | |
432 | } | |
433 | ||
434 | #category-application > .category-icon { | |
435 | -moz-image-region: rect(0, 144px, 48px, 96px); | |
436 | } | |
437 | ||
438 | #category-application[selected] > .category-icon { | |
439 | -moz-image-region: rect(48px, 144px, 96px, 96px); | |
440 | } | |
441 | ||
442 | #category-privacy > .category-icon { | |
443 | -moz-image-region: rect(0, 192px, 48px, 144px); | |
444 | } | |
445 | ||
446 | #category-privacy[selected] > .category-icon { | |
447 | -moz-image-region: rect(48px, 192px, 96px, 144px); | |
448 | } | |
449 | ||
450 | #category-security > .category-icon { | |
451 | -moz-image-region: rect(0, 240px, 48px, 192px); | |
452 | } | |
453 | ||
454 | #category-security[selected] > .category-icon { | |
455 | -moz-image-region: rect(48px, 240px, 96px, 192px); | |
456 | } | |
457 | ||
458 | #category-sync > .category-icon { | |
459 | -moz-image-region: rect(0, 288px, 48px, 240px); | |
460 | } | |
461 | ||
462 | #category-sync[selected] > .category-icon { | |
463 | -moz-image-region: rect(48px, 288px, 96px, 240px); | |
464 | } | |
465 | ||
466 | #category-advanced > .category-icon { | |
467 | -moz-image-region: rect(0, 336px, 48px, 288px); | |
468 | } | |
469 | ||
470 | #category-advanced[selected] > .category-icon { | |
471 | -moz-image-region: rect(48px, 336px, 96px, 288px); | |
472 | } | |
473 | } |