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";
15 background-color: #000000;
19 -moz-user-select: text;
23 /* override the * rule to let the treecol be sortable */
24 -moz-user-select: none;
28 -moz-appearance: none;
40 padding: 40px 48px 48px;
47 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
53 prefpane > .content-box {
65 /* tabpanels and tabs */
86 tab:not([selected]):hover > .tab-middle > .tab-text {
89 tab:not([selected]):hover:active > .tab-middle > .tab-text {
92 tab[selected] > .tab-middle > .tab-text {
95 /* buttons and menulists */
101 button:not([disabled]):hover,
102 menulist:not([disabled]):hover {
105 button:not([disabled]):hover:active,
106 menulist[open="true"]:not([disabled]) {
113 button > .button-box,
114 menulist > .menulist-label-box {
117 button[type="menu"] > .button-box > .button-menu-dropmarker {
123 border: 1px solid #C1C1C1;
124 background-color: #FFCB00;
125 background-image: none;
129 .help-button:not([disabled="true"]):hover {
130 background-color: #F4C200;
131 background-image: none;
134 .help-button:not([disabled="true"]):hover:active {
135 background-color: #EABA00;
136 background-image: none;
139 .close-icon > .button-box,
140 .help-button > .button-box {
143 padding-right: 0 !important;
144 padding-left: 0 !important;
147 .help-button > .button-box > .button-icon {
150 background-image: url("chrome://browser/skin/preferences/in-content/help-glyph.png");
151 background-position: center;
154 @media (min-resolution: 2dppx) {
155 .help-button > .button-box > .button-icon {
156 background-size: 26px 26px;
157 background-image: url("chrome://browser/skin/preferences/in-content/help-glyph@2x.png");
161 .help-button > .button-box > .button-text {
165 .spinbuttons-button {
174 .spinbuttons-button > .button-box {
177 .spinbuttons-up > .button-box > .button-icon {
180 .spinbuttons-up[disabled] > .button-box > .button-icon {
183 .spinbuttons-down > .button-box > .button-icon {
186 .spinbuttons-down[disabled] > .button-box > .button-icon {
189 menulist:not([editable="true"]) > .menulist-dropmarker {
192 menulist[disabled]:not([editable="true"]) > .menulist-dropmarker {
195 menulist > menupopup,
196 button[type="menu"] > menupopup {
199 menulist > menupopup menu,
200 menulist > menupopup menuitem,
201 button[type="menu"] > menupopup menu,
202 button[type="menu"] > menupopup menuitem {
205 menulist > menupopup > menu[_moz-menuactive="true"],
206 menulist > menupopup > menuitem[_moz-menuactive="true"],
207 button[type="menu"] > menupopup > menu[_moz-menuactive="true"],
208 button[type="menu"] > menupopup > menuitem[_moz-menuactive="true"] {
211 menulist > menupopup > menu[selected="true"],
212 menulist > menupopup > menuitem[selected="true"],
213 button[type="menu"] > menupopup > menu[selected="true"],
214 button[type="menu"] > menupopup > menuitem[selected="true"] {
217 menulist > menupopup menuseparator,
218 button[type="menu"] > menupopup menuseparator {
243 .text-link:hover:active,
244 .inline-link:hover:active {
247 /* Checkboxes and radio buttons */
252 .checkbox-check[checked] {
261 .radio-check[selected] {
267 background-color: #A09090;
270 border-radius: 1em 0 0 0;
274 background-color: #000000;
276 -moz-border-end-width: 0;
277 -moz-padding-start: 15px;
278 -moz-padding-end: 21px;
280 transition: background-color 150ms;
284 background-color: #FFCF00;
288 .category[selected] {
289 background-color: #008484;
293 #categories[keyboard-navigation="true"]:-moz-focusring > .category[current] {
294 border-top: 1px dotted #000000;
295 border-bottom: 1px dotted #000000;
302 -moz-padding-start: 9px;
309 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png");
312 #category-general > .category-icon {
313 -moz-image-region: rect(0, 24px, 24px, 0);
316 #category-general:hover > .category-icon,
317 #category-general[selected] > .category-icon {
318 -moz-image-region: rect(24px, 24px, 48px, 0);
321 #category-content > .category-icon {
322 -moz-image-region: rect(0, 48px, 24px, 24px)
325 #category-content:hover > .category-icon,
326 #category-content[selected] > .category-icon {
327 -moz-image-region: rect(24px, 48px, 48px, 24px);
330 #category-application > .category-icon {
331 -moz-image-region: rect(0, 72px, 24px, 48px)
334 #category-application:hover > .category-icon,
335 #category-application[selected] > .category-icon {
336 -moz-image-region: rect(24px, 72px, 48px, 48px);
339 #category-privacy > .category-icon {
340 -moz-image-region: rect(0, 96px, 24px, 72px)
343 #category-privacy:hover > .category-icon,
344 #category-privacy[selected] > .category-icon {
345 -moz-image-region: rect(24px, 96px, 48px, 72px);
348 #category-security > .category-icon {
349 -moz-image-region: rect(0, 120px, 24px, 96px)
352 #category-security:hover > .category-icon,
353 #category-security[selected] > .category-icon {
354 -moz-image-region: rect(24px, 120px, 48px, 96px);
357 #category-sync > .category-icon {
358 -moz-image-region: rect(0, 144px, 24px, 120px);
361 #category-sync:hover > .category-icon,
362 #category-sync[selected] > .category-icon {
363 -moz-image-region: rect(24px, 144px, 48px, 120px);
366 #category-advanced > .category-icon {
367 -moz-image-region: rect(0, 168px, 24px, 144px)
370 #category-advanced:hover > .category-icon,
371 #category-advanced[selected] > .category-icon {
372 -moz-image-region: rect(24px, 168px, 48px, 144px);
384 -moz-margin-end: 20px;
385 list-style-image: url("chrome://browser/skin/preferences/in-content/header.png");
395 #header-general > .header-icon {
396 -moz-image-region: rect(0, 40px, 40px, 0);
399 #header-content > .header-icon {
400 -moz-image-region: rect(0, 80px, 40px, 40px);
403 #header-application > .header-icon {
404 -moz-image-region: rect(0, 120px, 40px, 80px);
407 #header-privacy > .header-icon {
408 -moz-image-region: rect(0, 160px, 40px, 120px);
411 #header-security > .header-icon {
412 -moz-image-region: rect(0, 200px, 40px, 160px);
415 #header-sync > .header-icon {
416 -moz-image-region: rect(0, 240px, 40px, 200px);
419 #header-advanced > .header-icon {
420 -moz-image-region: rect(0, 280px, 40px, 240px);
423 @media (min-resolution: 2dppx) {
425 list-style-image: url("chrome://browser/skin/preferences/in-content/header@2x.png");
428 #header-general > .header-icon {
429 -moz-image-region: rect(0, 80px, 80px, 0);
432 #header-content > .header-icon {
433 -moz-image-region: rect(0, 160px, 80px, 80px);
436 #header-application > .header-icon {
437 -moz-image-region: rect(0, 240px, 80px, 160px);
440 #header-privacy > .header-icon {
441 -moz-image-region: rect(0, 320px, 80px, 240px);
444 #header-security > .header-icon {
445 -moz-image-region: rect(0, 400px, 80px, 320px);
448 #header-sync > .header-icon {
449 -moz-image-region: rect(0, 480px, 80px, 400px);
452 #header-advanced > .header-icon {
453 -moz-image-region: rect(0, 560px, 80px, 480px);
465 -moz-appearance: none;
466 background-color: transparent;
471 .fileFieldContentBox {
472 background-color: transparent;
476 -moz-margin-start: 10px;
481 -moz-margin-start: -26px;
482 -moz-padding-start: 36px;
486 /* Applications Pane Styles */
488 #applicationsContent {
489 -moz-margin-start: 60px;
494 -moz-margin-start: 0;
498 -moz-margin-start: 0;
501 border: none; /*1px solid #9C9CFF;*/
504 border-top-left-radius: 0;
505 border-top-right-radius: 0;
509 #handersView > listheader > treecol {
519 background-color: #F7F7F7;
520 border: 1px solid #CCCCCC;
521 -moz-border-top-colors: none;
522 -moz-border-right-colors: none;
523 -moz-border-bottom-colors: none;
524 -moz-border-left-colors: none;
528 #typeColumn:-moz-locale-dir(ltr),
529 #actionColumn:-moz-locale-dir(rtl) {
530 border-top-left-radius: 5px;
533 #typeColumn:-moz-locale-dir(rtl),
534 #actionColumn:-moz-locale-dir(ltr) {
535 border-top-right-radius: 5px;
539 #actionColumn:hover {
540 border-color: #737980;
543 #typeColumn:hover:active,
544 #actionColumn:hover:active {
546 border-color: #0096DC;
549 #typeColumn > .treecol-sortdirection[sortDirection=ascending],
550 #actionColumn > .treecol-sortdirection[sortDirection=ascending],
551 #typeColumn > .treecol-sortdirection[sortDirection=descending],
552 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
555 #typeColumn > .treecol-sortdirection[sortDirection=descending],
556 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
559 #handlersView > richlistitem {
560 min-height: 40px !important;
564 -moz-margin-start: 10px !important;
565 -moz-margin-end: 9px !important;
569 -moz-margin-start: 11px !important;
570 -moz-margin-end: 8px !important;
578 .actionsMenu > menupopup > menuitem {
579 -moz-padding-start: 10px !important;
582 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
583 -moz-margin-end: 8px !important;
586 /* XXX This style is for bug 740213 and should be removed once that
587 bug has a solution. */
588 description > html|a {
594 /* -moz-appearance: none;
597 border: 1px solid rgba(23,50,77,0.4);
599 background-color: #F1F1F1;*/
603 padding-bottom: 0; /* no padding needed in inContent prefs */
608 -moz-margin-start: 60px;
613 #crashReporterLearnMore {
614 /* center the links */
625 background-color: rgba(0,0,0,0.75);
630 border: 1px solid #9C9CFF;
637 #dialogBox[resizable="true"] {
645 background-color: transparent !important;
653 #dialogBox > .groupbox-body {
654 -moz-appearance: none;
660 /* Default dialog dimensions */
665 /* needs to be removed with bug 1035625 */
666 :-moz-any(dialog, window, prefwindow) resizer {
670 tree:not(#rejectsTree) {
674 :-moz-any(dialog, window, prefwindow) groupbox {
675 -moz-margin-start: 8px;
676 -moz-margin-end: 8px;
683 /* === END shared/in-content/preferences.css === */
689 -moz-margin-start: 10px;
692 @media (min-resolution: 2dppx) {
693 checkbox:hover::before,
694 checkbox[checked]::before {
697 checkbox[checked]::before {
701 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
704 #category-general > .category-icon {
705 -moz-image-region: rect(0, 48px, 48px, 0);
708 #category-general[selected] > .category-icon {
709 -moz-image-region: rect(48px, 48px, 96px, 0);
712 #category-content > .category-icon {
713 -moz-image-region: rect(0, 96px, 48px, 48px);
716 #category-content[selected] > .category-icon {
717 -moz-image-region: rect(48px, 96px, 96px, 48px);
720 #category-application > .category-icon {
721 -moz-image-region: rect(0, 144px, 48px, 96px);
724 #category-application[selected] > .category-icon {
725 -moz-image-region: rect(48px, 144px, 96px, 96px);
728 #category-privacy > .category-icon {
729 -moz-image-region: rect(0, 192px, 48px, 144px);
732 #category-privacy[selected] > .category-icon {
733 -moz-image-region: rect(48px, 192px, 96px, 144px);
736 #category-security > .category-icon {
737 -moz-image-region: rect(0, 240px, 48px, 192px);
740 #category-security[selected] > .category-icon {
741 -moz-image-region: rect(48px, 240px, 96px, 192px);
744 #category-sync > .category-icon {
745 -moz-image-region: rect(0, 288px, 48px, 240px);
748 #category-sync[selected] > .category-icon {
749 -moz-image-region: rect(48px, 288px, 96px, 240px);
752 #category-advanced > .category-icon {
753 -moz-image-region: rect(0, 336px, 48px, 288px);
756 #category-advanced[selected] > .category-icon {
757 -moz-image-region: rect(48px, 336px, 96px, 288px);