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