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-content > .category-icon {
102 -moz-image-region: rect(0, 48px, 24px, 24px)
105 #category-content:hover > .category-icon,
106 #category-content[selected] > .category-icon {
107 -moz-image-region: rect(24px, 48px, 48px, 24px);
110 #category-application > .category-icon {
111 -moz-image-region: rect(0, 72px, 24px, 48px)
114 #category-application:hover > .category-icon,
115 #category-application[selected] > .category-icon {
116 -moz-image-region: rect(24px, 72px, 48px, 48px);
119 #category-privacy > .category-icon {
120 -moz-image-region: rect(0, 96px, 24px, 72px)
123 #category-privacy:hover > .category-icon,
124 #category-privacy[selected] > .category-icon {
125 -moz-image-region: rect(24px, 96px, 48px, 72px);
128 #category-security > .category-icon {
129 -moz-image-region: rect(0, 120px, 24px, 96px)
132 #category-security:hover > .category-icon,
133 #category-security[selected] > .category-icon {
134 -moz-image-region: rect(24px, 120px, 48px, 96px);
137 #category-sync > .category-icon {
138 -moz-image-region: rect(0, 144px, 24px, 120px);
141 #category-sync:hover > .category-icon,
142 #category-sync[selected] > .category-icon {
143 -moz-image-region: rect(24px, 144px, 48px, 120px);
146 #category-advanced > .category-icon {
147 -moz-image-region: rect(0, 168px, 24px, 144px)
150 #category-advanced:hover > .category-icon,
151 #category-advanced[selected] > .category-icon {
152 -moz-image-region: rect(24px, 168px, 48px, 144px);
173 /* Applications Pane Styles */
175 #applicationsContent {
180 -moz-margin-start: 0;
184 -moz-margin-start: 0;
187 border: none; /*1px solid #9C9CFF;*/
190 border-top-left-radius: 0;
191 border-top-right-radius: 0;
195 #handlersView > listheader {
197 background: transparent;
201 #handlersView > listheader > treecol {
204 #handlersView > scrollbox {
205 border-left: 1px solid #9C9CFF;
206 border-right: 1px solid #9C9CFF;
207 border-bottom: 1px solid #9C9CFF;
216 background-color: #F7F7F7;
217 border: 1px solid #CCCCCC;
218 -moz-border-top-colors: none;
219 -moz-border-right-colors: none;
220 -moz-border-bottom-colors: none;
221 -moz-border-left-colors: none;
225 #typeColumn:-moz-locale-dir(ltr),
226 #actionColumn:-moz-locale-dir(rtl) {
227 border-top-left-radius: 5px;
230 #typeColumn:-moz-locale-dir(rtl),
231 #actionColumn:-moz-locale-dir(ltr) {
232 border-top-right-radius: 5px;
236 #actionColumn:hover {
237 border-color: #737980;
240 #typeColumn:hover:active,
241 #actionColumn:hover:active {
243 border-color: #0096DC;
246 #typeColumn > .treecol-sortdirection[sortDirection=ascending],
247 #actionColumn > .treecol-sortdirection[sortDirection=ascending],
248 #typeColumn > .treecol-sortdirection[sortDirection=descending],
249 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
252 #typeColumn > .treecol-sortdirection[sortDirection=descending],
253 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
256 #handlersView > richlistitem {
257 min-height: 40px !important;
261 -moz-margin-start: 10px !important;
262 -moz-margin-end: 9px !important;
266 -moz-margin-start: 11px !important;
267 -moz-margin-end: 8px !important;
275 .actionsMenu > menupopup > menuitem {
276 -moz-padding-start: 10px !important;
279 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
280 -moz-margin-end: 8px !important;
283 /* XXX This style is for bug 740213 and should be removed once that
284 bug has a solution. */
285 description > html|a {
291 /* -moz-appearance: none;
294 border: 1px solid rgba(23,50,77,0.4);
296 background-color: #F1F1F1;*/
300 /* Overriding the margins from the base preferences.css theme file.
301 These overrides can be simplified by fixing bug 1027174 */
305 #weavePrefsDeck > vbox > label,
306 #weavePrefsDeck > vbox > groupbox,
307 #weavePrefsDeck > vbox > description,
308 #weavePrefsDeck > vbox > #pairDevice > label,
309 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
310 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP) > label {
311 /* no margin-start for elements at the begin of a line */
312 -moz-margin-start: 0;
316 padding-bottom: 0; /* no padding needed in inContent prefs */
325 #crashReporterLearnMore {
326 /* center the links */
337 background-color: rgba(0,0,0,0.75);
342 border: 1px solid #9C9CFF;
349 #dialogBox[resizable="true"] {
357 background-color: transparent !important;
365 #dialogBox > .groupbox-title > caption {
367 border-radius: 1000px;
368 background-color: #A09090;
371 #dialogBox > .groupbox-body {
372 -moz-appearance: none;
378 /* Default dialog dimensions */
383 tree:not(#rejectsTree) {
387 :-moz-any(dialog, window, prefwindow) groupbox {
388 -moz-margin-start: 8px;
389 -moz-margin-end: 8px;
396 /* === END shared/in-content/preferences.css === */
402 -moz-margin-start: 10px;
405 @media (min-resolution: 2dppx) {
406 checkbox:hover::before,
407 checkbox[checked]::before {
410 checkbox[checked]::before {
414 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
417 #category-general > .category-icon {
418 -moz-image-region: rect(0, 48px, 48px, 0);
421 #category-general[selected] > .category-icon {
422 -moz-image-region: rect(48px, 48px, 96px, 0);
425 #category-content > .category-icon {
426 -moz-image-region: rect(0, 96px, 48px, 48px);
429 #category-content[selected] > .category-icon {
430 -moz-image-region: rect(48px, 96px, 96px, 48px);
433 #category-application > .category-icon {
434 -moz-image-region: rect(0, 144px, 48px, 96px);
437 #category-application[selected] > .category-icon {
438 -moz-image-region: rect(48px, 144px, 96px, 96px);
441 #category-privacy > .category-icon {
442 -moz-image-region: rect(0, 192px, 48px, 144px);
445 #category-privacy[selected] > .category-icon {
446 -moz-image-region: rect(48px, 192px, 96px, 144px);
449 #category-security > .category-icon {
450 -moz-image-region: rect(0, 240px, 48px, 192px);
453 #category-security[selected] > .category-icon {
454 -moz-image-region: rect(48px, 240px, 96px, 192px);
457 #category-sync > .category-icon {
458 -moz-image-region: rect(0, 288px, 48px, 240px);
461 #category-sync[selected] > .category-icon {
462 -moz-image-region: rect(48px, 288px, 96px, 240px);
465 #category-advanced > .category-icon {
466 -moz-image-region: rect(0, 336px, 48px, 288px);
469 #category-advanced[selected] > .category-icon {
470 -moz-image-region: rect(48px, 336px, 96px, 288px);