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/skin/fonts/ClearSans-Regular.ttf");
15 background-color: #000000;
19 -moz-appearance: none;
34 prefpane > .content-box {
39 padding: 40px 48px 48px;
40 font-family: "Clear Sans", sans-serif;
46 prefpane > .content-box {
58 /* tabpanels and tabs */
79 tab:not([selected]):hover > .tab-middle > .tab-text {
82 tab:not([selected]):hover:active > .tab-middle > .tab-text {
85 tab[selected] > .tab-middle > .tab-text {
88 /* buttons and menulists */
94 button:not([disabled]):hover,
95 menulist:not([disabled]):hover {
98 button:not([disabled]):hover:active,
99 menulist[open="true"]:not([disabled]) {
106 button > .button-box,
107 menulist > .menulist-label-box {
110 button[type="menu"] > .button-box > .button-menu-dropmarker {
113 .spinbuttons-button {
122 .spinbuttons-button > .button-box {
125 .spinbuttons-up > .button-box > .button-icon {
128 .spinbuttons-up[disabled] > .button-box > .button-icon {
131 .spinbuttons-down > .button-box > .button-icon {
134 .spinbuttons-down[disabled] > .button-box > .button-icon {
137 menulist:not([editable="true"]) > .menulist-dropmarker {
140 menulist[disabled]:not([editable="true"]) > .menulist-dropmarker {
143 menulist > menupopup,
144 button[type="menu"] > menupopup {
147 menulist > menupopup menu,
148 menulist > menupopup menuitem,
149 button[type="menu"] > menupopup menu,
150 button[type="menu"] > menupopup menuitem {
153 menulist > menupopup > menu[_moz-menuactive="true"],
154 menulist > menupopup > menuitem[_moz-menuactive="true"],
155 button[type="menu"] > menupopup > menu[_moz-menuactive="true"],
156 button[type="menu"] > menupopup > menuitem[_moz-menuactive="true"] {
159 menulist > menupopup menuseparator,
160 button[type="menu"] > menupopup menuseparator {
185 .text-link:hover:active,
186 .inline-link:hover:active {
189 /* Checkboxes and radio buttons */
194 .checkbox-check[checked] {
197 checkbox:hover::before,
198 checkbox[checked]::before {
201 checkbox[checked]::before {
210 .radio-check[selected] {
214 radio[selected]::before {
217 radio[selected]::before {
223 background-color: #A09090;
224 /* -moz-border-end: 1px solid #FF9F00; */
227 border-radius: 1em 0 0 0;
231 background-color: #000000;
233 -moz-border-end-width: 0;
234 -moz-padding-start: 14px;
235 -moz-padding-end: 21px;
240 background-color: #FFCF00;
244 .category[selected] {
245 background-color: #008484;
251 font-family: "Clear Sans", sans-serif;
254 -moz-padding-start: 9px;
261 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png");
264 #category-general > .category-icon {
265 -moz-image-region: rect(0, 24px, 24px, 0);
268 #category-general:hover > .category-icon,
269 #category-general[selected] > .category-icon {
270 -moz-image-region: rect(24px, 24px, 48px, 0);
273 #category-content > .category-icon {
274 -moz-image-region: rect(0, 48px, 24px, 24px)
277 #category-content:hover > .category-icon,
278 #category-content[selected] > .category-icon {
279 -moz-image-region: rect(24px, 48px, 48px, 24px);
282 #category-application > .category-icon {
283 -moz-image-region: rect(0, 72px, 24px, 48px)
286 #category-application:hover > .category-icon,
287 #category-application[selected] > .category-icon {
288 -moz-image-region: rect(24px, 72px, 48px, 48px);
291 #category-privacy > .category-icon {
292 -moz-image-region: rect(0, 96px, 24px, 72px)
295 #category-privacy:hover > .category-icon,
296 #category-privacy[selected] > .category-icon {
297 -moz-image-region: rect(24px, 96px, 48px, 72px);
300 #category-security > .category-icon {
301 -moz-image-region: rect(0, 120px, 24px, 96px)
304 #category-security:hover > .category-icon,
305 #category-security[selected] > .category-icon {
306 -moz-image-region: rect(24px, 120px, 48px, 96px);
309 #category-sync > .category-icon {
310 -moz-image-region: rect(0, 144px, 24px, 120px);
313 #category-sync:hover > .category-icon,
314 #category-sync[selected] > .category-icon {
315 -moz-image-region: rect(24px, 144px, 48px, 120px);
318 #category-advanced > .category-icon {
319 -moz-image-region: rect(0, 168px, 24px, 144px)
322 #category-advanced:hover > .category-icon,
323 #category-advanced[selected] > .category-icon {
324 -moz-image-region: rect(24px, 168px, 48px, 144px);
336 -moz-margin-end: 20px;
337 list-style-image: url("chrome://browser/skin/preferences/in-content/header.png");
347 #header-general > .header-icon {
348 -moz-image-region: rect(3px, 45px, 45px, 3px);
351 #header-content > .header-icon {
352 -moz-image-region: rect(3px, 93px, 45px, 51px);
355 #header-application > .header-icon {
356 -moz-image-region: rect(3px, 141px, 45px, 99px);
359 #header-privacy > .header-icon {
360 -moz-image-region: rect(3px, 189px, 45px, 147px);
363 #header-security > .header-icon {
364 -moz-image-region: rect(3px, 237px, 45px, 195px);
367 #header-sync > .header-icon {
368 -moz-image-region: rect(3px, 285px, 45px, 243px);
371 #header-advanced > .header-icon {
372 -moz-image-region: rect(3px, 333px, 45px, 291px);
383 -moz-appearance: none;
384 background-color: transparent;
389 .fileFieldContentBox {
390 background-color: transparent;
394 -moz-margin-start: 10px;
399 -moz-margin-start: -26px;
400 -moz-padding-start: 36px;
404 /* Applications Pane Styles */
406 #applications-content {
407 -moz-margin-start: 60px;
414 border: none; /*1px solid #9C9CFF;*/
417 border-top-left-radius: 0;
418 border-top-right-radius: 0;
421 #handersView > listheader > treecol {
427 font-family: "Clear Sans", sans-serif;
432 background-color: #F7F7F7;
433 border: 1px solid #CCCCCC;
434 -moz-border-top-colors: none;
435 -moz-border-right-colors: none;
436 -moz-border-bottom-colors: none;
437 -moz-border-left-colors: none;
441 #typeColumn:-moz-locale-dir(ltr),
442 #actionColumn:-moz-locale-dir(rtl) {
443 border-top-left-radius: 5px;
446 #typeColumn:-moz-locale-dir(rtl),
447 #actionColumn:-moz-locale-dir(ltr) {
448 border-top-right-radius: 5px;
452 #actionColumn:hover {
453 border-color: #737980;
456 #typeColumn:hover:active,
457 #actionColumn:hover:active {
459 border-color: #0096DC;
462 #typeColumn > .treecol-sortdirection[sortDirection=ascending],
463 #actionColumn > .treecol-sortdirection[sortDirection=ascending],
464 #typeColumn > .treecol-sortdirection[sortDirection=descending],
465 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
468 #typeColumn > .treecol-sortdirection[sortDirection=descending],
469 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
472 #handlersView > richlistitem {
473 min-height: 40px !important;
477 -moz-margin-start: 10px !important;
478 -moz-margin-end: 9px !important;
482 -moz-margin-start: 11px !important;
483 -moz-margin-end: 8px !important;
491 .actionsMenu > menupopup > menuitem {
492 -moz-padding-start: 10px !important;
495 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
496 -moz-margin-end: 8px !important;
499 /* XXX This style is for bug 740213 and should be removed once that
500 bug has a solution. */
501 description > html|a {
514 /* -moz-appearance: none;
517 border: 1px solid rgba(23,50,77,0.4);
519 background-color: #F1F1F1;*/
525 padding-bottom: 0; /* no padding needed in inContent prefs */
530 -moz-margin-start: 60px;
534 /* -moz-appearance: none;
537 border: 1px solid rgba(23,50,77,0.4);
539 background-color: #F1F1F1;*/
544 #crashReporterLearnMore {
545 /* center the links */
550 /* === END shared/in-content/preferences.css === */
553 -moz-margin-start: 10px;
556 @media (min-resolution: 2dppx) {
557 checkbox:hover::before,
558 checkbox[checked]::before {
561 checkbox[checked]::before {
565 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
568 #category-general > .category-icon {
569 -moz-image-region: rect(0, 48px, 48px, 0);
572 #category-general[selected] > .category-icon {
573 -moz-image-region: rect(48px, 48px, 96px, 0);
576 #category-content > .category-icon {
577 -moz-image-region: rect(0, 96px, 48px, 48px);
580 #category-content[selected] > .category-icon {
581 -moz-image-region: rect(48px, 96px, 96px, 48px);
584 #category-application > .category-icon {
585 -moz-image-region: rect(0, 144px, 48px, 96px);
588 #category-application[selected] > .category-icon {
589 -moz-image-region: rect(48px, 144px, 96px, 96px);
592 #category-privacy > .category-icon {
593 -moz-image-region: rect(0, 192px, 48px, 144px);
596 #category-privacy[selected] > .category-icon {
597 -moz-image-region: rect(48px, 192px, 96px, 144px);
600 #category-security > .category-icon {
601 -moz-image-region: rect(0, 240px, 48px, 192px);
604 #category-security[selected] > .category-icon {
605 -moz-image-region: rect(48px, 240px, 96px, 192px);
608 #category-sync > .category-icon {
609 -moz-image-region: rect(0, 288px, 48px, 240px);
612 #category-sync[selected] > .category-icon {
613 -moz-image-region: rect(48px, 288px, 96px, 240px);
616 #category-advanced > .category-icon {
617 -moz-image-region: rect(0, 336px, 48px, 288px);
620 #category-advanced[selected] > .category-icon {
621 -moz-image-region: rect(48px, 336px, 96px, 288px);