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 -moz-margin-start: 60px;
607 /* Overriding the margins from the base preferences.css theme file.
608 These overrides can be simplified by fixing bug 1027174 */
612 #weavePrefsDeck > vbox > label,
613 #weavePrefsDeck > vbox > groupbox,
614 #weavePrefsDeck > vbox > description,
615 #weavePrefsDeck > vbox > #pairDevice > label,
616 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
617 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP) > label {
618 /* no margin-start for elements at the begin of a line */
619 -moz-margin-start: 0;
623 padding-bottom: 0; /* no padding needed in inContent prefs */
628 -moz-margin-start: 60px;
633 #crashReporterLearnMore {
634 /* center the links */
645 background-color: rgba(0,0,0,0.75);
650 border: 1px solid #9C9CFF;
657 #dialogBox[resizable="true"] {
665 -moz-margin-start: 5px !important;
669 background-color: transparent !important;
677 #dialogBox > .groupbox-body {
678 -moz-appearance: none;
684 /* Default dialog dimensions */
689 /* needs to be removed with bug 1035625 */
690 :-moz-any(dialog, window, prefwindow) resizer {
694 tree:not(#rejectsTree) {
698 :-moz-any(dialog, window, prefwindow) groupbox {
699 -moz-margin-start: 8px;
700 -moz-margin-end: 8px;
707 /* === END shared/in-content/preferences.css === */
713 -moz-margin-start: 10px;
716 @media (min-resolution: 2dppx) {
717 checkbox:hover::before,
718 checkbox[checked]::before {
721 checkbox[checked]::before {
725 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
728 #category-general > .category-icon {
729 -moz-image-region: rect(0, 48px, 48px, 0);
732 #category-general[selected] > .category-icon {
733 -moz-image-region: rect(48px, 48px, 96px, 0);
736 #category-content > .category-icon {
737 -moz-image-region: rect(0, 96px, 48px, 48px);
740 #category-content[selected] > .category-icon {
741 -moz-image-region: rect(48px, 96px, 96px, 48px);
744 #category-application > .category-icon {
745 -moz-image-region: rect(0, 144px, 48px, 96px);
748 #category-application[selected] > .category-icon {
749 -moz-image-region: rect(48px, 144px, 96px, 96px);
752 #category-privacy > .category-icon {
753 -moz-image-region: rect(0, 192px, 48px, 144px);
756 #category-privacy[selected] > .category-icon {
757 -moz-image-region: rect(48px, 192px, 96px, 144px);
760 #category-security > .category-icon {
761 -moz-image-region: rect(0, 240px, 48px, 192px);
764 #category-security[selected] > .category-icon {
765 -moz-image-region: rect(48px, 240px, 96px, 192px);
768 #category-sync > .category-icon {
769 -moz-image-region: rect(0, 288px, 48px, 240px);
772 #category-sync[selected] > .category-icon {
773 -moz-image-region: rect(48px, 288px, 96px, 240px);
776 #category-advanced > .category-icon {
777 -moz-image-region: rect(0, 336px, 48px, 288px);
780 #category-advanced[selected] > .category-icon {
781 -moz-image-region: rect(48px, 336px, 96px, 288px);