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;
273 /* -moz-border-end: 1px solid #FF9F00; */
276 border-radius: 1em 0 0 0;
280 background-color: #000000;
282 -moz-border-end-width: 0;
283 -moz-padding-start: 14px;
284 -moz-padding-end: 21px;
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 #applications-content {
490 -moz-margin-start: 60px;
497 border: none; /*1px solid #9C9CFF;*/
500 border-top-left-radius: 0;
501 border-top-right-radius: 0;
504 #handersView > listheader > treecol {
510 font-family: "Clear Sans", sans-serif;
515 background-color: #F7F7F7;
516 border: 1px solid #CCCCCC;
517 -moz-border-top-colors: none;
518 -moz-border-right-colors: none;
519 -moz-border-bottom-colors: none;
520 -moz-border-left-colors: none;
524 #typeColumn:-moz-locale-dir(ltr),
525 #actionColumn:-moz-locale-dir(rtl) {
526 border-top-left-radius: 5px;
529 #typeColumn:-moz-locale-dir(rtl),
530 #actionColumn:-moz-locale-dir(ltr) {
531 border-top-right-radius: 5px;
535 #actionColumn:hover {
536 border-color: #737980;
539 #typeColumn:hover:active,
540 #actionColumn:hover:active {
542 border-color: #0096DC;
545 #typeColumn > .treecol-sortdirection[sortDirection=ascending],
546 #actionColumn > .treecol-sortdirection[sortDirection=ascending],
547 #typeColumn > .treecol-sortdirection[sortDirection=descending],
548 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
551 #typeColumn > .treecol-sortdirection[sortDirection=descending],
552 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
555 #handlersView > richlistitem {
556 min-height: 40px !important;
560 -moz-margin-start: 10px !important;
561 -moz-margin-end: 9px !important;
565 -moz-margin-start: 11px !important;
566 -moz-margin-end: 8px !important;
574 .actionsMenu > menupopup > menuitem {
575 -moz-padding-start: 10px !important;
578 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
579 -moz-margin-end: 8px !important;
582 /* XXX This style is for bug 740213 and should be removed once that
583 bug has a solution. */
584 description > html|a {
597 /* -moz-appearance: none;
600 border: 1px solid rgba(23,50,77,0.4);
602 background-color: #F1F1F1;*/
608 padding-bottom: 0; /* no padding needed in inContent prefs */
613 -moz-margin-start: 60px;
617 /* -moz-appearance: none;
620 border: 1px solid rgba(23,50,77,0.4);
622 background-color: #F1F1F1;*/
627 #crashReporterLearnMore {
628 /* center the links */
639 background-color: rgba(0,0,0,0.75);
644 border: 1px solid #9C9CFF;
651 #dialogBox[resizable="true"] {
659 background-color: transparent !important;
667 #dialogBox > .groupbox-body {
668 -moz-appearance: none;
674 /* Default dialog dimensions */
679 /* needs to be removed with bug 1035625 */
680 :-moz-any(dialog, window, prefwindow) resizer {
684 tree:not(#rejectsTree) {
688 :-moz-any(dialog, window, prefwindow) groupbox {
689 -moz-margin-start: 8px;
690 -moz-margin-end: 8px;
697 /* === END shared/in-content/preferences.css === */
700 -moz-margin-start: 10px;
703 @media (min-resolution: 2dppx) {
704 checkbox:hover::before,
705 checkbox[checked]::before {
708 checkbox[checked]::before {
712 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
715 #category-general > .category-icon {
716 -moz-image-region: rect(0, 48px, 48px, 0);
719 #category-general[selected] > .category-icon {
720 -moz-image-region: rect(48px, 48px, 96px, 0);
723 #category-content > .category-icon {
724 -moz-image-region: rect(0, 96px, 48px, 48px);
727 #category-content[selected] > .category-icon {
728 -moz-image-region: rect(48px, 96px, 96px, 48px);
731 #category-application > .category-icon {
732 -moz-image-region: rect(0, 144px, 48px, 96px);
735 #category-application[selected] > .category-icon {
736 -moz-image-region: rect(48px, 144px, 96px, 96px);
739 #category-privacy > .category-icon {
740 -moz-image-region: rect(0, 192px, 48px, 144px);
743 #category-privacy[selected] > .category-icon {
744 -moz-image-region: rect(48px, 192px, 96px, 144px);
747 #category-security > .category-icon {
748 -moz-image-region: rect(0, 240px, 48px, 192px);
751 #category-security[selected] > .category-icon {
752 -moz-image-region: rect(48px, 240px, 96px, 192px);
755 #category-sync > .category-icon {
756 -moz-image-region: rect(0, 288px, 48px, 240px);
759 #category-sync[selected] > .category-icon {
760 -moz-image-region: rect(48px, 288px, 96px, 240px);
763 #category-advanced > .category-icon {
764 -moz-image-region: rect(0, 336px, 48px, 288px);
767 #category-advanced[selected] > .category-icon {
768 -moz-image-region: rect(48px, 336px, 96px, 288px);