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;
34 padding: 10px 20px 0px;
41 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
47 prefpane > .content-box {
60 /* tabpanels and tabs */
81 tab:not([selected]):hover > .tab-middle > .tab-text {
84 tab:not([selected]):hover:active > .tab-middle > .tab-text {
87 tab[selected] > .tab-middle > .tab-text {
90 /* buttons and menulists */
96 button:not([disabled]):hover,
97 menulist:not([disabled]):hover {
100 button:not([disabled]):hover:active,
101 menulist[open="true"]:not([disabled]) {
108 button > .button-box,
109 menulist > .menulist-label-box {
112 button[type="menu"] > .button-box > .button-menu-dropmarker {
118 border: 1px solid #C1C1C1;
119 background-color: #FFCB00;
120 background-image: none;
124 .help-button:not([disabled="true"]):hover {
125 background-color: #F4C200;
126 background-image: none;
129 .help-button:not([disabled="true"]):hover:active {
130 background-color: #EABA00;
131 background-image: none;
134 .close-icon > .button-box,
135 .help-button > .button-box {
138 padding-right: 0 !important;
139 padding-left: 0 !important;
142 .help-button > .button-box > .button-icon {
145 background-image: url("chrome://browser/skin/preferences/in-content/help-glyph.png");
146 background-position: center;
149 @media (min-resolution: 2dppx) {
150 .help-button > .button-box > .button-icon {
151 background-size: 26px 26px;
152 background-image: url("chrome://browser/skin/preferences/in-content/help-glyph@2x.png");
156 .help-button > .button-box > .button-text {
160 .spinbuttons-button {
169 .spinbuttons-button > .button-box {
172 .spinbuttons-up > .button-box > .button-icon {
175 .spinbuttons-up[disabled] > .button-box > .button-icon {
178 .spinbuttons-down > .button-box > .button-icon {
181 .spinbuttons-down[disabled] > .button-box > .button-icon {
184 menulist:not([editable="true"]) > .menulist-dropmarker {
187 menulist[disabled]:not([editable="true"]) > .menulist-dropmarker {
190 menulist > menupopup,
191 button[type="menu"] > menupopup {
194 menulist > menupopup menu,
195 menulist > menupopup menuitem,
196 button[type="menu"] > menupopup menu,
197 button[type="menu"] > menupopup menuitem {
200 menulist > menupopup > menu[_moz-menuactive="true"],
201 menulist > menupopup > menuitem[_moz-menuactive="true"],
202 button[type="menu"] > menupopup > menu[_moz-menuactive="true"],
203 button[type="menu"] > menupopup > menuitem[_moz-menuactive="true"] {
206 menulist > menupopup > menu[selected="true"],
207 menulist > menupopup > menuitem[selected="true"],
208 button[type="menu"] > menupopup > menu[selected="true"],
209 button[type="menu"] > menupopup > menuitem[selected="true"] {
212 menulist > menupopup menuseparator,
213 button[type="menu"] > menupopup menuseparator {
238 .text-link:hover:active,
239 .inline-link:hover:active {
242 /* Checkboxes and radio buttons */
247 .checkbox-check[checked] {
256 .radio-check[selected] {
262 background-color: #A09090;
265 border-radius: 1em 0 0 0;
269 background-color: #000000;
271 -moz-border-end-width: 0;
272 -moz-padding-start: 15px;
273 -moz-padding-end: 21px;
275 transition: background-color 150ms;
279 background-color: #FFCF00;
283 .category[selected] {
284 background-color: #008484;
288 #categories[keyboard-navigation="true"]:-moz-focusring > .category[current] {
289 border-top: 1px dotted #000000;
290 border-bottom: 1px dotted #000000;
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;
504 #handersView > listheader > treecol {
514 background-color: #F7F7F7;
515 border: 1px solid #CCCCCC;
516 -moz-border-top-colors: none;
517 -moz-border-right-colors: none;
518 -moz-border-bottom-colors: none;
519 -moz-border-left-colors: none;
523 #typeColumn:-moz-locale-dir(ltr),
524 #actionColumn:-moz-locale-dir(rtl) {
525 border-top-left-radius: 5px;
528 #typeColumn:-moz-locale-dir(rtl),
529 #actionColumn:-moz-locale-dir(ltr) {
530 border-top-right-radius: 5px;
534 #actionColumn:hover {
535 border-color: #737980;
538 #typeColumn:hover:active,
539 #actionColumn:hover:active {
541 border-color: #0096DC;
544 #typeColumn > .treecol-sortdirection[sortDirection=ascending],
545 #actionColumn > .treecol-sortdirection[sortDirection=ascending],
546 #typeColumn > .treecol-sortdirection[sortDirection=descending],
547 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
550 #typeColumn > .treecol-sortdirection[sortDirection=descending],
551 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
554 #handlersView > richlistitem {
555 min-height: 40px !important;
559 -moz-margin-start: 10px !important;
560 -moz-margin-end: 9px !important;
564 -moz-margin-start: 11px !important;
565 -moz-margin-end: 8px !important;
573 .actionsMenu > menupopup > menuitem {
574 -moz-padding-start: 10px !important;
577 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
578 -moz-margin-end: 8px !important;
581 /* XXX This style is for bug 740213 and should be removed once that
582 bug has a solution. */
583 description > html|a {
589 /* -moz-appearance: none;
592 border: 1px solid rgba(23,50,77,0.4);
594 background-color: #F1F1F1;*/
598 -moz-margin-start: 60px;
602 /* Overriding the margins from the base preferences.css theme file.
603 These overrides can be simplified by fixing bug 1027174 */
607 #weavePrefsDeck > vbox > label,
608 #weavePrefsDeck > vbox > groupbox,
609 #weavePrefsDeck > vbox > description,
610 #weavePrefsDeck > vbox > #pairDevice > label,
611 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
612 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP) > label {
613 /* no margin-start for elements at the begin of a line */
614 -moz-margin-start: 0;
618 padding-bottom: 0; /* no padding needed in inContent prefs */
623 -moz-margin-start: 60px;
628 #crashReporterLearnMore {
629 /* center the links */
640 background-color: rgba(0,0,0,0.75);
645 border: 1px solid #9C9CFF;
652 #dialogBox[resizable="true"] {
660 -moz-margin-start: 5px !important;
664 background-color: transparent !important;
672 #dialogBox > .groupbox-body {
673 -moz-appearance: none;
679 /* Default dialog dimensions */
684 /* needs to be removed with bug 1035625 */
685 :-moz-any(dialog, window, prefwindow) resizer {
689 tree:not(#rejectsTree) {
693 :-moz-any(dialog, window, prefwindow) groupbox {
694 -moz-margin-start: 8px;
695 -moz-margin-end: 8px;
702 /* === 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);