third part of syncing LCARStrek with Firefox 32 windows theme changes
[themes.git] / LCARStrek / browser / preferences / in-content / preferences.css
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
9 @font-face {
10   font-family: "Clear Sans";
11   src: url("chrome://browser/content/fonts/ClearSans-Regular.woff") format('woff');
12 }
13
14 #dialogBox,
15 dialog,
16 window,
17 prefwindow,
18 .windowDialog,
19 page {
20   background-color: #000000;
21 }
22
23 * {
24   -moz-user-select: text;
25 }
26
27 treecol {
28   /* override the * rule to let the treecol be sortable */
29   -moz-user-select: none;
30 }
31
32 caption {
33   -moz-appearance: none;
34   margin: 0;
35 }
36
37 caption > label {
38   font-size: 1.3rem;
39   font-weight: bold;
40   line-height: 22px;
41   margin: 0 !important;
42 }
43
44 .main-content {
45   padding: 40px 48px 48px;
46   overflow: auto;
47 }
48
49 prefpane {
50   max-width: 800px;
51   padding: 0;
52   font-family: "Clear Sans", sans-serif;
53   font-size: 1.25rem;
54   line-height: 22px;
55   color: #FF9F00;
56 }
57
58 prefpane > .content-box {
59   overflow: visible;
60 }
61
62 /* groupboxes */
63
64 groupbox {
65 }
66
67 groupbox label {
68 }
69
70 /* tabpanels and tabs */
71
72 tabpanels {
73 }
74
75 tabs {
76 }
77
78 .tabs-left,
79 .tabs-right {
80 }
81
82 tab {
83 }
84
85 tab[selected] {
86 }
87
88 .tab-text {
89 }
90
91 tab:not([selected]):hover > .tab-middle > .tab-text {
92 }
93
94 tab:not([selected]):hover:active > .tab-middle > .tab-text {
95 }
96
97 tab[selected] > .tab-middle > .tab-text {
98 }
99
100 /* buttons and menulists */
101
102 button,
103 menulist {
104 }
105
106 button:not([disabled]):hover,
107 menulist:not([disabled]):hover {
108 }
109
110 button:not([disabled]):hover:active,
111 menulist[open="true"]:not([disabled]) {
112 }
113
114 button[disabled],
115 menulist[disabled] {
116 }
117
118 button > .button-box,
119 menulist > .menulist-label-box {
120 }
121
122 button[type="menu"] > .button-box > .button-menu-dropmarker {
123 }
124 /*
125 .help-button {
126   min-width: 30px;
127   border-radius: 2px;
128   border: 1px solid #C1C1C1;
129   background-color: #FFCB00;
130   background-image: none;
131   box-shadow: none;
132 }
133
134 .help-button:not([disabled="true"]):hover {
135   background-color: #F4C200;
136   background-image: none;
137 }
138
139 .help-button:not([disabled="true"]):hover:active {
140   background-color: #EABA00;
141   background-image: none;
142 }
143
144 .close-icon > .button-box,
145 .help-button > .button-box {
146   padding-top: 0;
147   padding-bottom: 0;
148   padding-right: 0 !important;
149   padding-left: 0 !important;
150 }
151 */
152 .help-button > .button-box > .button-icon {
153   width: 26px;
154   height: 26px;
155   background-image: url("chrome://browser/skin/preferences/in-content/help-glyph.png");
156   background-position: center;
157 }
158
159 @media (min-resolution: 2dppx) {
160   .help-button > .button-box > .button-icon {
161     background-size: 26px 26px;
162     background-image: url("chrome://browser/skin/preferences/in-content/help-glyph@2x.png");
163   }
164 }
165
166 .help-button > .button-box > .button-text {
167   display: none;
168 }
169
170 .spinbuttons-button {
171 }
172
173 .spinbuttons-up {
174 }
175
176 .spinbuttons-down  {
177 }
178
179 .spinbuttons-button > .button-box {
180 }
181
182 .spinbuttons-up > .button-box > .button-icon {
183 }
184
185 .spinbuttons-up[disabled] > .button-box > .button-icon {
186 }
187
188 .spinbuttons-down > .button-box > .button-icon {
189 }
190
191 .spinbuttons-down[disabled] > .button-box > .button-icon {
192 }
193
194 menulist:not([editable="true"]) > .menulist-dropmarker {
195 }
196
197 menulist[disabled]:not([editable="true"]) > .menulist-dropmarker {
198 }
199
200 menulist > menupopup,
201 button[type="menu"] > menupopup {
202 }
203
204 menulist > menupopup menu,
205 menulist > menupopup menuitem,
206 button[type="menu"] > menupopup menu,
207 button[type="menu"] > menupopup menuitem {
208 }
209
210 menulist > menupopup > menu[_moz-menuactive="true"],
211 menulist > menupopup > menuitem[_moz-menuactive="true"],
212 button[type="menu"] > menupopup > menu[_moz-menuactive="true"],
213 button[type="menu"] > menupopup > menuitem[_moz-menuactive="true"] {
214 }
215
216 menulist > menupopup > menu[selected="true"],
217 menulist > menupopup > menuitem[selected="true"],
218 button[type="menu"] > menupopup > menu[selected="true"],
219 button[type="menu"] > menupopup > menuitem[selected="true"] {
220 }
221
222 menulist > menupopup menuseparator,
223 button[type="menu"] > menupopup menuseparator {
224 }
225
226 /* textboxes */
227
228 textbox {
229 }
230
231 textbox[focused] {
232 }
233
234 textbox[disabled] {
235 }
236
237 /* Links */
238
239 .text-link,
240 .inline-link,
241 html|a.inline-link {
242 }
243
244 .text-link:hover,
245 .inline-link:hover {
246 }
247
248 .text-link:hover:active,
249 .inline-link:hover:active {
250 }
251
252 /* Checkboxes and radio buttons */
253
254 .checkbox-check {
255 }
256
257 .checkbox-check[checked] {
258 }
259
260 radio {
261 }
262
263 .radio-check {
264 }
265
266 .radio-check[selected] {
267 }
268
269 /* Category List */
270
271 #categories {
272   background-color: #A09090;
273   padding-top: 39px;
274   margin: 0;
275   border-radius: 1em 0 0 0;
276 }
277
278 .category {
279   background-color: #000000;
280   color: #FFCF00;
281   -moz-border-end-width: 0;
282   -moz-padding-start: 15px;
283   -moz-padding-end: 21px;
284   min-height: 40px;
285   transition: background-color 150ms;
286 }
287
288 .category:hover {
289   background-color: #FFCF00;
290   color: #000000;
291 }
292
293 .category[selected] {
294   background-color: #008484;
295   color: #000000;
296 }
297
298 .category-name {
299   line-height: 22px;
300   font-family: "Clear Sans", sans-serif;
301   font-size: 1.25rem;
302   padding-bottom: 2px;
303   -moz-padding-start: 9px;
304   margin: 0;
305 }
306
307 .category-icon {
308   width: 24px;
309   height: 24px;
310   list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png");
311 }
312
313 #category-general > .category-icon {
314   -moz-image-region: rect(0, 24px, 24px, 0);
315 }
316
317 #category-general:hover > .category-icon,
318 #category-general[selected] > .category-icon {
319   -moz-image-region: rect(24px, 24px, 48px, 0);
320 }
321
322 #category-content > .category-icon {
323   -moz-image-region: rect(0, 48px,  24px, 24px)
324 }
325
326 #category-content:hover > .category-icon,
327 #category-content[selected] > .category-icon {
328   -moz-image-region: rect(24px, 48px, 48px, 24px);
329 }
330
331 #category-application > .category-icon {
332   -moz-image-region: rect(0, 72px,  24px, 48px)
333 }
334
335 #category-application:hover > .category-icon,
336 #category-application[selected] > .category-icon {
337   -moz-image-region: rect(24px, 72px, 48px, 48px);
338 }
339
340 #category-privacy > .category-icon {
341   -moz-image-region: rect(0, 96px,  24px, 72px)
342 }
343
344 #category-privacy:hover > .category-icon,
345 #category-privacy[selected] > .category-icon {
346   -moz-image-region: rect(24px, 96px, 48px, 72px);
347 }
348
349 #category-security > .category-icon {
350   -moz-image-region: rect(0, 120px,  24px, 96px)
351 }
352
353 #category-security:hover > .category-icon,
354 #category-security[selected] > .category-icon {
355   -moz-image-region: rect(24px, 120px, 48px, 96px);
356 }
357
358 #category-sync > .category-icon {
359   -moz-image-region: rect(0, 144px, 24px, 120px);
360 }
361
362 #category-sync:hover > .category-icon,
363 #category-sync[selected] > .category-icon {
364   -moz-image-region: rect(24px, 144px, 48px, 120px);
365 }
366
367 #category-advanced > .category-icon {
368   -moz-image-region: rect(0, 168px, 24px, 144px)
369 }
370
371 #category-advanced:hover > .category-icon,
372 #category-advanced[selected] > .category-icon {
373   -moz-image-region: rect(24px, 168px, 48px, 144px);
374 }
375
376 /* header */
377
378 .header {
379   margin-bottom: 15px;
380 }
381
382 .header-icon {
383   width: 40px;
384   max-height: 40px;
385   -moz-margin-end: 20px;
386   list-style-image: url("chrome://browser/skin/preferences/in-content/header.png");
387 }
388
389 .header-name {
390   font-size: 2.5rem;
391   font-weight: normal;
392   line-height: 40px;
393   margin: 0;
394 }
395
396 #header-general > .header-icon {
397   -moz-image-region: rect(0, 40px, 40px, 0);
398 }
399
400 #header-content > .header-icon {
401   -moz-image-region: rect(0, 80px, 40px, 40px);
402 }
403
404 #header-application > .header-icon {
405   -moz-image-region: rect(0, 120px, 40px, 80px);
406 }
407
408 #header-privacy > .header-icon {
409   -moz-image-region: rect(0, 160px, 40px, 120px);
410 }
411
412 #header-security > .header-icon {
413   -moz-image-region: rect(0, 200px, 40px, 160px);
414 }
415
416 #header-sync > .header-icon {
417   -moz-image-region: rect(0, 240px, 40px, 200px);
418 }
419
420 #header-advanced > .header-icon {
421   -moz-image-region: rect(0, 280px, 40px, 240px);
422 }
423
424 @media (min-resolution: 2dppx) {
425   .header-icon {
426     list-style-image: url("chrome://browser/skin/preferences/in-content/header@2x.png");
427   }
428
429   #header-general > .header-icon {
430     -moz-image-region: rect(0, 80px, 80px, 0);
431   }
432
433   #header-content > .header-icon {
434     -moz-image-region: rect(0, 160px, 80px, 80px);
435   }
436
437   #header-application > .header-icon {
438     -moz-image-region: rect(0, 240px, 80px, 160px);
439   }
440
441   #header-privacy > .header-icon {
442     -moz-image-region: rect(0, 320px, 80px, 240px);
443   }
444
445   #header-security > .header-icon {
446     -moz-image-region: rect(0, 400px, 80px, 320px);
447   }
448
449   #header-sync > .header-icon {
450     -moz-image-region: rect(0, 480px, 80px, 400px);
451   }
452
453   #header-advanced > .header-icon {
454     -moz-image-region: rect(0, 560px, 80px, 480px);
455   }
456 }
457
458 .indent {
459   margin-top: 7px;
460   margin-bottom: 7px;
461 }
462
463 /* General Pane */
464 /*
465 filefield {
466   -moz-appearance: none;
467   background-color: transparent;
468   border: none;
469   padding: 0;
470 }
471
472 .fileFieldContentBox {
473   background-color: transparent;
474 }
475
476 .fileFieldIcon {
477   -moz-margin-start: 10px;
478   -moz-margin-end: 0;
479 }
480
481 .fileFieldLabel {
482   -moz-margin-start: -26px;
483   -moz-padding-start: 36px;
484 }
485 */
486
487 /* Applications Pane Styles */
488
489 #applicationsContent {
490   -moz-margin-start: 60px;
491   padding: 15px 0;
492 }
493
494 #filter {
495   -moz-margin-start: 0;
496 }
497
498 #handlersView {
499   -moz-margin-start: 0;
500   font-size: 1.25rem;
501   line-height: 22px;
502   border: none; /*1px solid #9C9CFF;*/
503   margin: 0;
504   overflow-y: auto;
505   border-top-left-radius: 0;
506   border-top-right-radius: 0;
507 }
508
509 #handersView > listheader > treecol {
510   border-radius: 0;
511 }
512
513 #typeColumn,
514 #actionColumn {
515   font-family: "Clear Sans", sans-serif;
516   line-height: 20px;
517 /*  color: #737980;
518   height: 36px;
519   padding: 0 10px;
520   background-color: #F7F7F7;
521   border: 1px solid #CCCCCC;
522   -moz-border-top-colors: none;
523   -moz-border-right-colors: none;
524   -moz-border-bottom-colors: none;
525   -moz-border-left-colors: none;
526 */
527 }
528
529 #typeColumn:-moz-locale-dir(ltr),
530 #actionColumn:-moz-locale-dir(rtl) {
531   border-top-left-radius: 5px;
532 }
533
534 #typeColumn:-moz-locale-dir(rtl),
535 #actionColumn:-moz-locale-dir(ltr) {
536   border-top-right-radius: 5px;
537 }
538 /*
539 #typeColumn:hover,
540 #actionColumn:hover {
541   border-color: #737980;
542 }
543
544 #typeColumn:hover:active,
545 #actionColumn:hover:active {
546   padding: 0 10px;
547   border-color: #0096DC;
548 }
549 */
550 #typeColumn > .treecol-sortdirection[sortDirection=ascending],
551 #actionColumn > .treecol-sortdirection[sortDirection=ascending],
552 #typeColumn > .treecol-sortdirection[sortDirection=descending],
553 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
554 }
555
556 #typeColumn > .treecol-sortdirection[sortDirection=descending],
557 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
558 }
559
560 #handlersView > richlistitem {
561   min-height: 40px !important;
562 }
563
564 .typeIcon {
565   -moz-margin-start: 10px !important;
566   -moz-margin-end: 9px !important;
567 }
568
569 .actionIcon {
570   -moz-margin-start: 11px !important;
571   -moz-margin-end: 8px !important;
572 }
573
574 .actionsMenu {
575   height: 40px;
576   max-height: 40px;
577 }
578
579 .actionsMenu > menupopup > menuitem {
580   -moz-padding-start: 10px !important;
581 }
582
583 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
584   -moz-margin-end: 8px !important;
585 }
586
587 /* XXX This style is for bug 740213 and should be removed once that
588    bug has a solution. */
589 description > html|a {
590   cursor: pointer;
591 }
592
593 #offlineAppsList,
594 #syncEnginesList {
595 /*  -moz-appearance: none;
596   color: #737980;
597   padding: 10px;
598   border: 1px solid rgba(23,50,77,0.4);
599   border-radius: 5px;
600   background-color: #F1F1F1;*/
601 }
602
603 #advancedPrefs {
604   padding-bottom: 0; /* no padding needed in inContent prefs */
605 }
606
607 #encryptionPanel {
608   margin-top: 15px;
609   -moz-margin-start: 60px;
610 }
611
612 #telemetryLearnMore,
613 #FHRLearnMore,
614 #crashReporterLearnMore {
615   /* center the links */
616   margin-top: 8px;
617   margin-bottom: 8px;
618 }
619
620
621 /**
622  * Sub-dialog
623  */
624
625 #dialogOverlay {
626   background-color: rgba(0,0,0,0.75);
627   visibility: hidden;
628 }
629
630 #dialogBox {
631   border: 1px solid #9C9CFF;
632   display: -moz-box;
633   margin: 0;
634   padding-right: 6px;
635   padding-left: 6px;
636 }
637
638 #dialogBox[resizable="true"] {
639   resize: both;
640   overflow: hidden;
641   min-height: 30em;
642   min-width: 66ch;
643 }
644
645 .close-icon {
646   background-color: transparent !important;
647   border: none;
648   box-shadow: none;
649   height: 18px;
650   padding: 0;
651   min-width: 18px;
652 }
653
654 #dialogBox > .groupbox-body {
655   -moz-appearance: none;
656   padding: 0;
657 }
658
659 #dialogFrame {
660   -moz-box-flex: 1;
661   /* Default dialog dimensions */
662   height: 30em;
663   width: 66ch;
664 }
665
666 /* needs to be removed with bug 1035625 */
667 :-moz-any(dialog, window, prefwindow) resizer {
668   display: none;
669 }
670
671 tree:not(#rejectsTree) {
672   min-height: 15em;
673 }
674
675 :-moz-any(dialog, window, prefwindow) groupbox {
676   -moz-margin-start: 8px;
677   -moz-margin-end: 8px;
678 }
679
680 /**
681  * End sub-dialog
682  */
683
684 /* === END shared/in-content/preferences.css === */
685
686 .indent-small {
687   -moz-margin-start: 10px;
688 }
689
690 @media (min-resolution: 2dppx) {
691   checkbox:hover::before,
692   checkbox[checked]::before {
693   }
694
695   checkbox[checked]::before {
696   }
697
698   .category-icon {
699     list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
700   }
701
702   #category-general > .category-icon {
703     -moz-image-region: rect(0, 48px, 48px, 0);
704   }
705
706   #category-general[selected] > .category-icon {
707     -moz-image-region: rect(48px, 48px, 96px, 0);
708   }
709
710   #category-content > .category-icon {
711     -moz-image-region: rect(0, 96px, 48px, 48px);
712   }
713
714   #category-content[selected] > .category-icon {
715     -moz-image-region: rect(48px, 96px, 96px, 48px);
716   }
717
718   #category-application > .category-icon {
719     -moz-image-region: rect(0, 144px, 48px, 96px);
720   }
721
722   #category-application[selected] > .category-icon {
723     -moz-image-region: rect(48px, 144px, 96px, 96px);
724   }
725
726   #category-privacy > .category-icon {
727     -moz-image-region: rect(0, 192px, 48px, 144px);
728   }
729
730   #category-privacy[selected] > .category-icon {
731     -moz-image-region: rect(48px, 192px, 96px, 144px);
732   }
733
734   #category-security > .category-icon {
735     -moz-image-region: rect(0, 240px, 48px, 192px);
736   }
737
738   #category-security[selected] > .category-icon {
739     -moz-image-region: rect(48px, 240px, 96px, 192px);
740   }
741
742   #category-sync > .category-icon {
743     -moz-image-region: rect(0, 288px, 48px, 240px);
744   }
745
746   #category-sync[selected] > .category-icon {
747     -moz-image-region: rect(48px, 288px, 96px, 240px);
748   }
749
750   #category-advanced > .category-icon {
751     -moz-image-region: rect(0, 336px, 48px, 288px);
752   }
753
754   #category-advanced[selected] > .category-icon {
755     -moz-image-region: rect(48px, 336px, 96px, 288px);
756   }
757 }