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";
14 background-color: #000000;
18 padding: 1.5em 0 0; /* That padding needs to match the upper stripe. */
21 /* This actually results in two black boxes extending to the right and bottom,
22 * leaving the LCARS-gray background only in a top stripe and
23 * a bit larger area on the top left.
24 * The prefpane will overlay that with the rounded shape we want. */
25 background-color: #A09090;
26 background-position: 3em 1.5em, 0px 5em;
27 background-image: linear-gradient(0deg, #000, #000), linear-gradient(0deg, #000, #000);
28 background-repeat: no-repeat;
32 padding: 10px 20px 0px;
33 border-radius: 1em 0 0 0;
34 background-color: #000000;
37 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
46 background-color: #A09090;
49 border-radius: 1em 0 0 0;
54 background-color: #000000;
56 -moz-border-end-width: 0;
57 -moz-padding-start: 15px;
58 -moz-padding-end: 21px;
60 transition: background-color 150ms;
64 background-color: #FFCF00;
69 background-color: #008484;
73 #categories[keyboard-navigation="true"]:-moz-focusring > .category[current] {
74 border-top: 1px dotted #000000;
75 border-bottom: 1px dotted #000000;
82 -moz-padding-start: 9px;
89 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png");
92 #category-general > .category-icon {
93 -moz-image-region: rect(0, 24px, 24px, 0);
96 #category-general:hover > .category-icon,
97 #category-general[selected] > .category-icon {
98 -moz-image-region: rect(24px, 24px, 48px, 0);
101 #category-search > .category-icon {
102 -moz-image-region: rect(0, 194px, 24px, 168px);
105 #category-search:hover > .category-icon,
106 #category-search[selected] > .category-icon {
107 -moz-image-region: rect(24px, 194px, 48px, 168px);
110 #category-content > .category-icon {
111 -moz-image-region: rect(0, 48px, 24px, 24px)
114 #category-content:hover > .category-icon,
115 #category-content[selected] > .category-icon {
116 -moz-image-region: rect(24px, 48px, 48px, 24px);
119 #category-application > .category-icon {
120 -moz-image-region: rect(0, 72px, 24px, 48px)
123 #category-application:hover > .category-icon,
124 #category-application[selected] > .category-icon {
125 -moz-image-region: rect(24px, 72px, 48px, 48px);
128 #category-privacy > .category-icon {
129 -moz-image-region: rect(0, 96px, 24px, 72px)
132 #category-privacy:hover > .category-icon,
133 #category-privacy[selected] > .category-icon {
134 -moz-image-region: rect(24px, 96px, 48px, 72px);
137 #category-security > .category-icon {
138 -moz-image-region: rect(0, 120px, 24px, 96px)
141 #category-security:hover > .category-icon,
142 #category-security[selected] > .category-icon {
143 -moz-image-region: rect(24px, 120px, 48px, 96px);
146 #category-sync > .category-icon {
147 -moz-image-region: rect(0, 144px, 24px, 120px);
150 #category-sync:hover > .category-icon,
151 #category-sync[selected] > .category-icon {
152 -moz-image-region: rect(24px, 144px, 48px, 120px);
155 #category-advanced > .category-icon {
156 -moz-image-region: rect(0, 168px, 24px, 144px)
159 #category-advanced:hover > .category-icon,
160 #category-advanced[selected] > .category-icon {
161 -moz-image-region: rect(24px, 168px, 48px, 144px);
182 /* Applications Pane Styles */
184 #applicationsContent {
189 -moz-margin-start: 0;
193 -moz-margin-start: 0;
196 border: none; /*1px solid #9C9CFF;*/
199 border-top-left-radius: 0;
200 border-top-right-radius: 0;
204 #handlersView > listheader > treecol {
207 #handlersView > scrollbox {
208 border-left: 1px solid #9C9CFF;
209 border-right: 1px solid #9C9CFF;
210 border-bottom: 1px solid #9C9CFF;
213 #handlersView > listheader {
214 background: transparent;
225 background-color: #F7F7F7;
226 border: 1px solid #CCCCCC;
227 -moz-border-top-colors: none;
228 -moz-border-right-colors: none;
229 -moz-border-bottom-colors: none;
230 -moz-border-left-colors: none;
234 #typeColumn:-moz-locale-dir(ltr),
235 #actionColumn:-moz-locale-dir(rtl) {
236 border-top-left-radius: 5px;
239 #typeColumn:-moz-locale-dir(rtl),
240 #actionColumn:-moz-locale-dir(ltr) {
241 border-top-right-radius: 5px;
245 #actionColumn:hover {
246 border-color: #737980;
249 #typeColumn:hover:active,
250 #actionColumn:hover:active {
252 border-color: #0096DC;
255 #typeColumn > .treecol-sortdirection[sortDirection=ascending],
256 #actionColumn > .treecol-sortdirection[sortDirection=ascending],
257 #typeColumn > .treecol-sortdirection[sortDirection=descending],
258 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
261 #typeColumn > .treecol-sortdirection[sortDirection=descending],
262 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
265 #handlersView > richlistitem {
266 min-height: 40px !important;
270 -moz-margin-start: 10px !important;
271 -moz-margin-end: 9px !important;
275 -moz-margin-start: 11px !important;
276 -moz-margin-end: 8px !important;
284 .actionsMenu > menupopup > menuitem {
285 -moz-padding-start: 10px !important;
288 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
289 -moz-margin-end: 8px !important;
292 /* XXX This style is for bug 740213 and should be removed once that
293 bug has a solution. */
294 description > html|a {
300 /* -moz-appearance: none;
303 border: 1px solid rgba(23,50,77,0.4);
305 background-color: #F1F1F1;*/
309 /* Overriding the margins from the base preferences.css theme file.
310 These overrides can be simplified by fixing bug 1027174 */
314 #weavePrefsDeck > vbox > label,
315 #weavePrefsDeck > vbox > groupbox,
316 #weavePrefsDeck > vbox > description,
317 #weavePrefsDeck > vbox > #pairDevice > label,
318 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
319 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label,
320 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-small) > label {
321 /* no margin-start for elements at the begin of a line */
322 -moz-margin-start: 0;
326 padding-bottom: 0; /* no padding needed in inContent prefs */
335 #crashReporterLearnMore {
336 /* center the links */
347 background-color: rgba(0,0,0,0.75);
352 border: 1px solid #9C9CFF;
359 #dialogBox[resizable="true"] {
367 background-color: transparent !important;
375 #dialogBox > .groupbox-title > caption {
377 border-radius: 1000px;
378 background-color: #A09090;
381 #dialogBox > .groupbox-body {
382 -moz-appearance: none;
388 /* Default dialog dimensions */
393 tree:not(#rejectsTree) {
397 :-moz-any(dialog, window, prefwindow) groupbox {
398 -moz-margin-start: 8px;
399 -moz-margin-end: 8px;
406 /* === END shared/in-content/preferences.css === */
412 -moz-margin-start: 10px;
415 @media (min-resolution: 2dppx) {
416 checkbox:hover::before,
417 checkbox[checked]::before {
420 checkbox[checked]::before {
424 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
427 #category-general > .category-icon {
428 -moz-image-region: rect(0, 48px, 48px, 0);
431 #category-general:hover > .category-icon,
432 #category-general[selected] > .category-icon {
433 -moz-image-region: rect(48px, 48px, 96px, 0);
436 #category-search > .category-icon {
437 -moz-image-region: rect(0, 384px, 48px, 336px);
440 #category-search:hover > .category-icon,
441 #category-search[selected] > .category-icon {
442 -moz-image-region: rect(48, 384px, 96px, 336px);
445 #category-content > .category-icon {
446 -moz-image-region: rect(0, 96px, 48px, 48px);
449 #category-content:hover > .category-icon,
450 #category-content[selected] > .category-icon {
451 -moz-image-region: rect(48px, 96px, 96px, 48px);
454 #category-application > .category-icon {
455 -moz-image-region: rect(0, 144px, 48px, 96px);
458 #category-application:hover > .category-icon,
459 #category-application[selected] > .category-icon {
460 -moz-image-region: rect(48px, 144px, 96px, 96px);
463 #category-privacy > .category-icon {
464 -moz-image-region: rect(0, 192px, 48px, 144px);
467 #category-privacy:hover > .category-icon,
468 #category-privacy[selected] > .category-icon {
469 -moz-image-region: rect(48px, 192px, 96px, 144px);
472 #category-security > .category-icon {
473 -moz-image-region: rect(0, 240px, 48px, 192px);
476 #category-security:hover > .category-icon,
477 #category-security[selected] > .category-icon {
478 -moz-image-region: rect(48px, 240px, 96px, 192px);
481 #category-sync > .category-icon {
482 -moz-image-region: rect(0, 288px, 48px, 240px);
485 #category-sync:hover > .category-icon,
486 #category-sync[selected] > .category-icon {
487 -moz-image-region: rect(48px, 288px, 96px, 240px);
490 #category-advanced > .category-icon {
491 -moz-image-region: rect(0, 336px, 48px, 288px);
494 #category-advanced:hover > .category-icon,
495 #category-advanced[selected] > .category-icon {
496 -moz-image-region: rect(48px, 336px, 96px, 288px);