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 menuseparator,
217 button[type="menu"] > menupopup menuseparator {
242 .text-link:hover:active,
243 .inline-link:hover:active {
246 /* Checkboxes and radio buttons */
251 .checkbox-check[checked] {
254 checkbox:hover::before,
255 checkbox[checked]::before {
258 checkbox[checked]::before {
267 .radio-check[selected] {
271 radio[selected]::before {
274 radio[selected]::before {
280 background-color: #A09090;
281 /* -moz-border-end: 1px solid #FF9F00; */
284 border-radius: 1em 0 0 0;
288 background-color: #000000;
290 -moz-border-end-width: 0;
291 -moz-padding-start: 14px;
292 -moz-padding-end: 21px;
297 background-color: #FFCF00;
301 .category[selected] {
302 background-color: #008484;
308 font-family: "Clear Sans", sans-serif;
311 -moz-padding-start: 9px;
318 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png");
321 #category-general > .category-icon {
322 -moz-image-region: rect(0, 24px, 24px, 0);
325 #category-general:hover > .category-icon,
326 #category-general[selected] > .category-icon {
327 -moz-image-region: rect(24px, 24px, 48px, 0);
330 #category-content > .category-icon {
331 -moz-image-region: rect(0, 48px, 24px, 24px)
334 #category-content:hover > .category-icon,
335 #category-content[selected] > .category-icon {
336 -moz-image-region: rect(24px, 48px, 48px, 24px);
339 #category-application > .category-icon {
340 -moz-image-region: rect(0, 72px, 24px, 48px)
343 #category-application:hover > .category-icon,
344 #category-application[selected] > .category-icon {
345 -moz-image-region: rect(24px, 72px, 48px, 48px);
348 #category-privacy > .category-icon {
349 -moz-image-region: rect(0, 96px, 24px, 72px)
352 #category-privacy:hover > .category-icon,
353 #category-privacy[selected] > .category-icon {
354 -moz-image-region: rect(24px, 96px, 48px, 72px);
357 #category-security > .category-icon {
358 -moz-image-region: rect(0, 120px, 24px, 96px)
361 #category-security:hover > .category-icon,
362 #category-security[selected] > .category-icon {
363 -moz-image-region: rect(24px, 120px, 48px, 96px);
366 #category-sync > .category-icon {
367 -moz-image-region: rect(0, 144px, 24px, 120px);
370 #category-sync:hover > .category-icon,
371 #category-sync[selected] > .category-icon {
372 -moz-image-region: rect(24px, 144px, 48px, 120px);
375 #category-advanced > .category-icon {
376 -moz-image-region: rect(0, 168px, 24px, 144px)
379 #category-advanced:hover > .category-icon,
380 #category-advanced[selected] > .category-icon {
381 -moz-image-region: rect(24px, 168px, 48px, 144px);
393 -moz-margin-end: 20px;
394 list-style-image: url("chrome://browser/skin/preferences/in-content/header.png");
404 #header-general > .header-icon {
405 -moz-image-region: rect(0, 40px, 40px, 0);
408 #header-content > .header-icon {
409 -moz-image-region: rect(0, 80px, 40px, 40px);
412 #header-application > .header-icon {
413 -moz-image-region: rect(0, 120px, 40px, 80px);
416 #header-privacy > .header-icon {
417 -moz-image-region: rect(0, 160px, 40px, 120px);
420 #header-security > .header-icon {
421 -moz-image-region: rect(0, 200px, 40px, 160px);
424 #header-sync > .header-icon {
425 -moz-image-region: rect(0, 240px, 40px, 200px);
428 #header-advanced > .header-icon {
429 -moz-image-region: rect(0, 280px, 40px, 240px);
432 @media (min-resolution: 2dppx) {
434 list-style-image: url("chrome://browser/skin/preferences/in-content/header@2x.png");
437 #header-general > .header-icon {
438 -moz-image-region: rect(0, 80px, 80px, 0);
441 #header-content > .header-icon {
442 -moz-image-region: rect(0, 160px, 80px, 80px);
445 #header-application > .header-icon {
446 -moz-image-region: rect(0, 240px, 80px, 160px);
449 #header-privacy > .header-icon {
450 -moz-image-region: rect(0, 320px, 80px, 240px);
453 #header-security > .header-icon {
454 -moz-image-region: rect(0, 400px, 80px, 320px);
457 #header-sync > .header-icon {
458 -moz-image-region: rect(0, 480px, 80px, 400px);
461 #header-advanced > .header-icon {
462 -moz-image-region: rect(0, 560px, 80px, 480px);
474 -moz-appearance: none;
475 background-color: transparent;
480 .fileFieldContentBox {
481 background-color: transparent;
485 -moz-margin-start: 10px;
490 -moz-margin-start: -26px;
491 -moz-padding-start: 36px;
495 /* Applications Pane Styles */
497 #applications-content {
498 -moz-margin-start: 60px;
505 border: none; /*1px solid #9C9CFF;*/
508 border-top-left-radius: 0;
509 border-top-right-radius: 0;
512 #handersView > listheader > treecol {
518 font-family: "Clear Sans", sans-serif;
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;
532 #typeColumn:-moz-locale-dir(ltr),
533 #actionColumn:-moz-locale-dir(rtl) {
534 border-top-left-radius: 5px;
537 #typeColumn:-moz-locale-dir(rtl),
538 #actionColumn:-moz-locale-dir(ltr) {
539 border-top-right-radius: 5px;
543 #actionColumn:hover {
544 border-color: #737980;
547 #typeColumn:hover:active,
548 #actionColumn:hover:active {
550 border-color: #0096DC;
553 #typeColumn > .treecol-sortdirection[sortDirection=ascending],
554 #actionColumn > .treecol-sortdirection[sortDirection=ascending],
555 #typeColumn > .treecol-sortdirection[sortDirection=descending],
556 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
559 #typeColumn > .treecol-sortdirection[sortDirection=descending],
560 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
563 #handlersView > richlistitem {
564 min-height: 40px !important;
568 -moz-margin-start: 10px !important;
569 -moz-margin-end: 9px !important;
573 -moz-margin-start: 11px !important;
574 -moz-margin-end: 8px !important;
582 .actionsMenu > menupopup > menuitem {
583 -moz-padding-start: 10px !important;
586 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
587 -moz-margin-end: 8px !important;
590 /* XXX This style is for bug 740213 and should be removed once that
591 bug has a solution. */
592 description > html|a {
605 /* -moz-appearance: none;
608 border: 1px solid rgba(23,50,77,0.4);
610 background-color: #F1F1F1;*/
616 padding-bottom: 0; /* no padding needed in inContent prefs */
621 -moz-margin-start: 60px;
625 /* -moz-appearance: none;
628 border: 1px solid rgba(23,50,77,0.4);
630 background-color: #F1F1F1;*/
635 #crashReporterLearnMore {
636 /* center the links */
647 background-color: rgba(0,0,0,0.75);
652 border: 1px solid #9C9CFF;
659 #dialogBox[resizable="true"] {
667 background-color: transparent !important;
675 #dialogBox > .groupbox-body {
676 -moz-appearance: none;
682 /* Default dialog dimensions */
687 /* needs to be removed with bug 1035625 */
688 :-moz-any(dialog, window, prefwindow) resizer {
692 tree:not(#rejectsTree) {
696 :-moz-any(dialog, window, prefwindow) groupbox {
697 -moz-margin-start: 8px;
698 -moz-margin-end: 8px;
705 /* === END shared/in-content/preferences.css === */
708 -moz-margin-start: 10px;
711 @media (min-resolution: 2dppx) {
712 checkbox:hover::before,
713 checkbox[checked]::before {
716 checkbox[checked]::before {
720 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
723 #category-general > .category-icon {
724 -moz-image-region: rect(0, 48px, 48px, 0);
727 #category-general[selected] > .category-icon {
728 -moz-image-region: rect(48px, 48px, 96px, 0);
731 #category-content > .category-icon {
732 -moz-image-region: rect(0, 96px, 48px, 48px);
735 #category-content[selected] > .category-icon {
736 -moz-image-region: rect(48px, 96px, 96px, 48px);
739 #category-application > .category-icon {
740 -moz-image-region: rect(0, 144px, 48px, 96px);
743 #category-application[selected] > .category-icon {
744 -moz-image-region: rect(48px, 144px, 96px, 96px);
747 #category-privacy > .category-icon {
748 -moz-image-region: rect(0, 192px, 48px, 144px);
751 #category-privacy[selected] > .category-icon {
752 -moz-image-region: rect(48px, 192px, 96px, 144px);
755 #category-security > .category-icon {
756 -moz-image-region: rect(0, 240px, 48px, 192px);
759 #category-security[selected] > .category-icon {
760 -moz-image-region: rect(48px, 240px, 96px, 192px);
763 #category-sync > .category-icon {
764 -moz-image-region: rect(0, 288px, 48px, 240px);
767 #category-sync[selected] > .category-icon {
768 -moz-image-region: rect(48px, 288px, 96px, 240px);
771 #category-advanced > .category-icon {
772 -moz-image-region: rect(0, 336px, 48px, 288px);
775 #category-advanced[selected] > .category-icon {
776 -moz-image-region: rect(48px, 336px, 96px, 288px);