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/. */
5 /* === BEGIN shared/in-content/preferences.css === */
7 @namespace html "http://www.w3.org/1999/xhtml";
10 font-family: "Clear Sans";
11 src: url("chrome://browser/content/fonts/ClearSans-Regular.woff") format('woff');
20 background-color: #000000;
24 -moz-user-select: text;
28 /* override the * rule to let the treecol be sortable */
29 -moz-user-select: none;
33 -moz-appearance: none;
45 padding: 40px 48px 48px;
52 font-family: "Clear Sans", sans-serif;
58 prefpane > .content-box {
70 /* tabpanels and tabs */
91 tab:not([selected]):hover > .tab-middle > .tab-text {
94 tab:not([selected]):hover:active > .tab-middle > .tab-text {
97 tab[selected] > .tab-middle > .tab-text {
100 /* buttons and menulists */
106 button:not([disabled]):hover,
107 menulist:not([disabled]):hover {
110 button:not([disabled]):hover:active,
111 menulist[open="true"]:not([disabled]) {
118 button > .button-box,
119 menulist > .menulist-label-box {
122 button[type="menu"] > .button-box > .button-menu-dropmarker {
128 border: 1px solid #C1C1C1;
129 background-color: #FFCB00;
130 background-image: none;
134 .help-button:not([disabled="true"]):hover {
135 background-color: #F4C200;
136 background-image: none;
139 .help-button:not([disabled="true"]):hover:active {
140 background-color: #EABA00;
141 background-image: none;
144 .close-icon > .button-box,
145 .help-button > .button-box {
148 padding-right: 0 !important;
149 padding-left: 0 !important;
152 .help-button > .button-box > .button-icon {
155 background-image: url("chrome://browser/skin/preferences/in-content/help-glyph.png");
156 background-position: center;
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");
166 .help-button > .button-box > .button-text {
170 .spinbuttons-button {
179 .spinbuttons-button > .button-box {
182 .spinbuttons-up > .button-box > .button-icon {
185 .spinbuttons-up[disabled] > .button-box > .button-icon {
188 .spinbuttons-down > .button-box > .button-icon {
191 .spinbuttons-down[disabled] > .button-box > .button-icon {
194 menulist:not([editable="true"]) > .menulist-dropmarker {
197 menulist[disabled]:not([editable="true"]) > .menulist-dropmarker {
200 menulist > menupopup,
201 button[type="menu"] > menupopup {
204 menulist > menupopup menu,
205 menulist > menupopup menuitem,
206 button[type="menu"] > menupopup menu,
207 button[type="menu"] > menupopup menuitem {
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"] {
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"] {
222 menulist > menupopup menuseparator,
223 button[type="menu"] > menupopup menuseparator {
248 .text-link:hover:active,
249 .inline-link:hover:active {
252 /* Checkboxes and radio buttons */
257 .checkbox-check[checked] {
266 .radio-check[selected] {
272 background-color: #A09090;
275 border-radius: 1em 0 0 0;
279 background-color: #000000;
281 -moz-border-end-width: 0;
282 -moz-padding-start: 15px;
283 -moz-padding-end: 21px;
285 transition: background-color 150ms;
289 background-color: #FFCF00;
293 .category[selected] {
294 background-color: #008484;
300 font-family: "Clear Sans", sans-serif;
303 -moz-padding-start: 9px;
310 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png");
313 #category-general > .category-icon {
314 -moz-image-region: rect(0, 24px, 24px, 0);
317 #category-general:hover > .category-icon,
318 #category-general[selected] > .category-icon {
319 -moz-image-region: rect(24px, 24px, 48px, 0);
322 #category-content > .category-icon {
323 -moz-image-region: rect(0, 48px, 24px, 24px)
326 #category-content:hover > .category-icon,
327 #category-content[selected] > .category-icon {
328 -moz-image-region: rect(24px, 48px, 48px, 24px);
331 #category-application > .category-icon {
332 -moz-image-region: rect(0, 72px, 24px, 48px)
335 #category-application:hover > .category-icon,
336 #category-application[selected] > .category-icon {
337 -moz-image-region: rect(24px, 72px, 48px, 48px);
340 #category-privacy > .category-icon {
341 -moz-image-region: rect(0, 96px, 24px, 72px)
344 #category-privacy:hover > .category-icon,
345 #category-privacy[selected] > .category-icon {
346 -moz-image-region: rect(24px, 96px, 48px, 72px);
349 #category-security > .category-icon {
350 -moz-image-region: rect(0, 120px, 24px, 96px)
353 #category-security:hover > .category-icon,
354 #category-security[selected] > .category-icon {
355 -moz-image-region: rect(24px, 120px, 48px, 96px);
358 #category-sync > .category-icon {
359 -moz-image-region: rect(0, 144px, 24px, 120px);
362 #category-sync:hover > .category-icon,
363 #category-sync[selected] > .category-icon {
364 -moz-image-region: rect(24px, 144px, 48px, 120px);
367 #category-advanced > .category-icon {
368 -moz-image-region: rect(0, 168px, 24px, 144px)
371 #category-advanced:hover > .category-icon,
372 #category-advanced[selected] > .category-icon {
373 -moz-image-region: rect(24px, 168px, 48px, 144px);
385 -moz-margin-end: 20px;
386 list-style-image: url("chrome://browser/skin/preferences/in-content/header.png");
396 #header-general > .header-icon {
397 -moz-image-region: rect(0, 40px, 40px, 0);
400 #header-content > .header-icon {
401 -moz-image-region: rect(0, 80px, 40px, 40px);
404 #header-application > .header-icon {
405 -moz-image-region: rect(0, 120px, 40px, 80px);
408 #header-privacy > .header-icon {
409 -moz-image-region: rect(0, 160px, 40px, 120px);
412 #header-security > .header-icon {
413 -moz-image-region: rect(0, 200px, 40px, 160px);
416 #header-sync > .header-icon {
417 -moz-image-region: rect(0, 240px, 40px, 200px);
420 #header-advanced > .header-icon {
421 -moz-image-region: rect(0, 280px, 40px, 240px);
424 @media (min-resolution: 2dppx) {
426 list-style-image: url("chrome://browser/skin/preferences/in-content/header@2x.png");
429 #header-general > .header-icon {
430 -moz-image-region: rect(0, 80px, 80px, 0);
433 #header-content > .header-icon {
434 -moz-image-region: rect(0, 160px, 80px, 80px);
437 #header-application > .header-icon {
438 -moz-image-region: rect(0, 240px, 80px, 160px);
441 #header-privacy > .header-icon {
442 -moz-image-region: rect(0, 320px, 80px, 240px);
445 #header-security > .header-icon {
446 -moz-image-region: rect(0, 400px, 80px, 320px);
449 #header-sync > .header-icon {
450 -moz-image-region: rect(0, 480px, 80px, 400px);
453 #header-advanced > .header-icon {
454 -moz-image-region: rect(0, 560px, 80px, 480px);
466 -moz-appearance: none;
467 background-color: transparent;
472 .fileFieldContentBox {
473 background-color: transparent;
477 -moz-margin-start: 10px;
482 -moz-margin-start: -26px;
483 -moz-padding-start: 36px;
487 /* Applications Pane Styles */
489 #applicationsContent {
490 -moz-margin-start: 60px;
495 -moz-margin-start: 0;
499 -moz-margin-start: 0;
502 border: none; /*1px solid #9C9CFF;*/
505 border-top-left-radius: 0;
506 border-top-right-radius: 0;
509 #handersView > listheader > treecol {
515 font-family: "Clear Sans", sans-serif;
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;
529 #typeColumn:-moz-locale-dir(ltr),
530 #actionColumn:-moz-locale-dir(rtl) {
531 border-top-left-radius: 5px;
534 #typeColumn:-moz-locale-dir(rtl),
535 #actionColumn:-moz-locale-dir(ltr) {
536 border-top-right-radius: 5px;
540 #actionColumn:hover {
541 border-color: #737980;
544 #typeColumn:hover:active,
545 #actionColumn:hover:active {
547 border-color: #0096DC;
550 #typeColumn > .treecol-sortdirection[sortDirection=ascending],
551 #actionColumn > .treecol-sortdirection[sortDirection=ascending],
552 #typeColumn > .treecol-sortdirection[sortDirection=descending],
553 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
556 #typeColumn > .treecol-sortdirection[sortDirection=descending],
557 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
560 #handlersView > richlistitem {
561 min-height: 40px !important;
565 -moz-margin-start: 10px !important;
566 -moz-margin-end: 9px !important;
570 -moz-margin-start: 11px !important;
571 -moz-margin-end: 8px !important;
579 .actionsMenu > menupopup > menuitem {
580 -moz-padding-start: 10px !important;
583 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
584 -moz-margin-end: 8px !important;
587 /* XXX This style is for bug 740213 and should be removed once that
588 bug has a solution. */
589 description > html|a {
595 /* -moz-appearance: none;
598 border: 1px solid rgba(23,50,77,0.4);
600 background-color: #F1F1F1;*/
604 padding-bottom: 0; /* no padding needed in inContent prefs */
609 -moz-margin-start: 60px;
614 #crashReporterLearnMore {
615 /* center the links */
626 background-color: rgba(0,0,0,0.75);
631 border: 1px solid #9C9CFF;
638 #dialogBox[resizable="true"] {
646 background-color: transparent !important;
654 #dialogBox > .groupbox-body {
655 -moz-appearance: none;
661 /* Default dialog dimensions */
666 /* needs to be removed with bug 1035625 */
667 :-moz-any(dialog, window, prefwindow) resizer {
671 tree:not(#rejectsTree) {
675 :-moz-any(dialog, window, prefwindow) groupbox {
676 -moz-margin-start: 8px;
677 -moz-margin-end: 8px;
684 /* === END shared/in-content/preferences.css === */
687 -moz-margin-start: 10px;
690 @media (min-resolution: 2dppx) {
691 checkbox:hover::before,
692 checkbox[checked]::before {
695 checkbox[checked]::before {
699 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
702 #category-general > .category-icon {
703 -moz-image-region: rect(0, 48px, 48px, 0);
706 #category-general[selected] > .category-icon {
707 -moz-image-region: rect(48px, 48px, 96px, 0);
710 #category-content > .category-icon {
711 -moz-image-region: rect(0, 96px, 48px, 48px);
714 #category-content[selected] > .category-icon {
715 -moz-image-region: rect(48px, 96px, 96px, 48px);
718 #category-application > .category-icon {
719 -moz-image-region: rect(0, 144px, 48px, 96px);
722 #category-application[selected] > .category-icon {
723 -moz-image-region: rect(48px, 144px, 96px, 96px);
726 #category-privacy > .category-icon {
727 -moz-image-region: rect(0, 192px, 48px, 144px);
730 #category-privacy[selected] > .category-icon {
731 -moz-image-region: rect(48px, 192px, 96px, 144px);
734 #category-security > .category-icon {
735 -moz-image-region: rect(0, 240px, 48px, 192px);
738 #category-security[selected] > .category-icon {
739 -moz-image-region: rect(48px, 240px, 96px, 192px);
742 #category-sync > .category-icon {
743 -moz-image-region: rect(0, 288px, 48px, 240px);
746 #category-sync[selected] > .category-icon {
747 -moz-image-region: rect(48px, 288px, 96px, 240px);
750 #category-advanced > .category-icon {
751 -moz-image-region: rect(0, 336px, 48px, 288px);
754 #category-advanced[selected] > .category-icon {
755 -moz-image-region: rect(48px, 336px, 96px, 288px);