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;
297 -moz-padding-start: 9px;
304 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png");
307 #category-general > .category-icon {
308 -moz-image-region: rect(0, 24px, 24px, 0);
311 #category-general:hover > .category-icon,
312 #category-general[selected] > .category-icon {
313 -moz-image-region: rect(24px, 24px, 48px, 0);
316 #category-content > .category-icon {
317 -moz-image-region: rect(0, 48px, 24px, 24px)
320 #category-content:hover > .category-icon,
321 #category-content[selected] > .category-icon {
322 -moz-image-region: rect(24px, 48px, 48px, 24px);
325 #category-application > .category-icon {
326 -moz-image-region: rect(0, 72px, 24px, 48px)
329 #category-application:hover > .category-icon,
330 #category-application[selected] > .category-icon {
331 -moz-image-region: rect(24px, 72px, 48px, 48px);
334 #category-privacy > .category-icon {
335 -moz-image-region: rect(0, 96px, 24px, 72px)
338 #category-privacy:hover > .category-icon,
339 #category-privacy[selected] > .category-icon {
340 -moz-image-region: rect(24px, 96px, 48px, 72px);
343 #category-security > .category-icon {
344 -moz-image-region: rect(0, 120px, 24px, 96px)
347 #category-security:hover > .category-icon,
348 #category-security[selected] > .category-icon {
349 -moz-image-region: rect(24px, 120px, 48px, 96px);
352 #category-sync > .category-icon {
353 -moz-image-region: rect(0, 144px, 24px, 120px);
356 #category-sync:hover > .category-icon,
357 #category-sync[selected] > .category-icon {
358 -moz-image-region: rect(24px, 144px, 48px, 120px);
361 #category-advanced > .category-icon {
362 -moz-image-region: rect(0, 168px, 24px, 144px)
365 #category-advanced:hover > .category-icon,
366 #category-advanced[selected] > .category-icon {
367 -moz-image-region: rect(24px, 168px, 48px, 144px);
379 -moz-margin-end: 20px;
380 list-style-image: url("chrome://browser/skin/preferences/in-content/header.png");
390 #header-general > .header-icon {
391 -moz-image-region: rect(0, 40px, 40px, 0);
394 #header-content > .header-icon {
395 -moz-image-region: rect(0, 80px, 40px, 40px);
398 #header-application > .header-icon {
399 -moz-image-region: rect(0, 120px, 40px, 80px);
402 #header-privacy > .header-icon {
403 -moz-image-region: rect(0, 160px, 40px, 120px);
406 #header-security > .header-icon {
407 -moz-image-region: rect(0, 200px, 40px, 160px);
410 #header-sync > .header-icon {
411 -moz-image-region: rect(0, 240px, 40px, 200px);
414 #header-advanced > .header-icon {
415 -moz-image-region: rect(0, 280px, 40px, 240px);
418 @media (min-resolution: 2dppx) {
420 list-style-image: url("chrome://browser/skin/preferences/in-content/header@2x.png");
423 #header-general > .header-icon {
424 -moz-image-region: rect(0, 80px, 80px, 0);
427 #header-content > .header-icon {
428 -moz-image-region: rect(0, 160px, 80px, 80px);
431 #header-application > .header-icon {
432 -moz-image-region: rect(0, 240px, 80px, 160px);
435 #header-privacy > .header-icon {
436 -moz-image-region: rect(0, 320px, 80px, 240px);
439 #header-security > .header-icon {
440 -moz-image-region: rect(0, 400px, 80px, 320px);
443 #header-sync > .header-icon {
444 -moz-image-region: rect(0, 480px, 80px, 400px);
447 #header-advanced > .header-icon {
448 -moz-image-region: rect(0, 560px, 80px, 480px);
460 -moz-appearance: none;
461 background-color: transparent;
466 .fileFieldContentBox {
467 background-color: transparent;
471 -moz-margin-start: 10px;
476 -moz-margin-start: -26px;
477 -moz-padding-start: 36px;
481 /* Applications Pane Styles */
483 #applicationsContent {
484 -moz-margin-start: 60px;
489 -moz-margin-start: 0;
493 -moz-margin-start: 0;
496 border: none; /*1px solid #9C9CFF;*/
499 border-top-left-radius: 0;
500 border-top-right-radius: 0;
503 #handersView > listheader > treecol {
513 background-color: #F7F7F7;
514 border: 1px solid #CCCCCC;
515 -moz-border-top-colors: none;
516 -moz-border-right-colors: none;
517 -moz-border-bottom-colors: none;
518 -moz-border-left-colors: none;
522 #typeColumn:-moz-locale-dir(ltr),
523 #actionColumn:-moz-locale-dir(rtl) {
524 border-top-left-radius: 5px;
527 #typeColumn:-moz-locale-dir(rtl),
528 #actionColumn:-moz-locale-dir(ltr) {
529 border-top-right-radius: 5px;
533 #actionColumn:hover {
534 border-color: #737980;
537 #typeColumn:hover:active,
538 #actionColumn:hover:active {
540 border-color: #0096DC;
543 #typeColumn > .treecol-sortdirection[sortDirection=ascending],
544 #actionColumn > .treecol-sortdirection[sortDirection=ascending],
545 #typeColumn > .treecol-sortdirection[sortDirection=descending],
546 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
549 #typeColumn > .treecol-sortdirection[sortDirection=descending],
550 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
553 #handlersView > richlistitem {
554 min-height: 40px !important;
558 -moz-margin-start: 10px !important;
559 -moz-margin-end: 9px !important;
563 -moz-margin-start: 11px !important;
564 -moz-margin-end: 8px !important;
572 .actionsMenu > menupopup > menuitem {
573 -moz-padding-start: 10px !important;
576 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
577 -moz-margin-end: 8px !important;
580 /* XXX This style is for bug 740213 and should be removed once that
581 bug has a solution. */
582 description > html|a {
588 /* -moz-appearance: none;
591 border: 1px solid rgba(23,50,77,0.4);
593 background-color: #F1F1F1;*/
597 padding-bottom: 0; /* no padding needed in inContent prefs */
602 -moz-margin-start: 60px;
607 #crashReporterLearnMore {
608 /* center the links */
619 background-color: rgba(0,0,0,0.75);
624 border: 1px solid #9C9CFF;
631 #dialogBox[resizable="true"] {
639 background-color: transparent !important;
647 #dialogBox > .groupbox-body {
648 -moz-appearance: none;
654 /* Default dialog dimensions */
659 /* needs to be removed with bug 1035625 */
660 :-moz-any(dialog, window, prefwindow) resizer {
664 tree:not(#rejectsTree) {
668 :-moz-any(dialog, window, prefwindow) groupbox {
669 -moz-margin-start: 8px;
670 -moz-margin-end: 8px;
677 /* === END shared/in-content/preferences.css === */
683 -moz-margin-start: 10px;
686 @media (min-resolution: 2dppx) {
687 checkbox:hover::before,
688 checkbox[checked]::before {
691 checkbox[checked]::before {
695 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
698 #category-general > .category-icon {
699 -moz-image-region: rect(0, 48px, 48px, 0);
702 #category-general[selected] > .category-icon {
703 -moz-image-region: rect(48px, 48px, 96px, 0);
706 #category-content > .category-icon {
707 -moz-image-region: rect(0, 96px, 48px, 48px);
710 #category-content[selected] > .category-icon {
711 -moz-image-region: rect(48px, 96px, 96px, 48px);
714 #category-application > .category-icon {
715 -moz-image-region: rect(0, 144px, 48px, 96px);
718 #category-application[selected] > .category-icon {
719 -moz-image-region: rect(48px, 144px, 96px, 96px);
722 #category-privacy > .category-icon {
723 -moz-image-region: rect(0, 192px, 48px, 144px);
726 #category-privacy[selected] > .category-icon {
727 -moz-image-region: rect(48px, 192px, 96px, 144px);
730 #category-security > .category-icon {
731 -moz-image-region: rect(0, 240px, 48px, 192px);
734 #category-security[selected] > .category-icon {
735 -moz-image-region: rect(48px, 240px, 96px, 192px);
738 #category-sync > .category-icon {
739 -moz-image-region: rect(0, 288px, 48px, 240px);
742 #category-sync[selected] > .category-icon {
743 -moz-image-region: rect(48px, 288px, 96px, 240px);
746 #category-advanced > .category-icon {
747 -moz-image-region: rect(0, 336px, 48px, 288px);
750 #category-advanced[selected] > .category-icon {
751 -moz-image-region: rect(48px, 336px, 96px, 288px);