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;
44 -moz-user-select: text;
49 /* override the * rule */
50 -moz-user-select: none;
56 background-color: #A09090;
59 border-radius: 1em 0 0 0;
64 background-color: #000000;
66 -moz-border-end-width: 0;
67 -moz-padding-start: 15px;
68 -moz-padding-end: 21px;
70 transition: background-color 150ms;
74 background-color: #FFCF00;
79 background-color: #008484;
83 #categories[keyboard-navigation="true"]:-moz-focusring > .category[current] {
84 border-top: 1px dotted #000000;
85 border-bottom: 1px dotted #000000;
92 -moz-padding-start: 9px;
99 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png");
102 #category-general > .category-icon {
103 -moz-image-region: rect(0, 24px, 24px, 0);
106 #category-general:hover > .category-icon,
107 #category-general[selected] > .category-icon {
108 -moz-image-region: rect(24px, 24px, 48px, 0);
111 #category-search > .category-icon {
112 -moz-image-region: rect(0, 194px, 24px, 168px);
115 #category-search:hover > .category-icon,
116 #category-search[selected] > .category-icon {
117 -moz-image-region: rect(24px, 194px, 48px, 168px);
120 #category-content > .category-icon {
121 -moz-image-region: rect(0, 48px, 24px, 24px)
124 #category-content:hover > .category-icon,
125 #category-content[selected] > .category-icon {
126 -moz-image-region: rect(24px, 48px, 48px, 24px);
129 #category-application > .category-icon {
130 -moz-image-region: rect(0, 72px, 24px, 48px)
133 #category-application:hover > .category-icon,
134 #category-application[selected] > .category-icon {
135 -moz-image-region: rect(24px, 72px, 48px, 48px);
138 #category-privacy > .category-icon {
139 -moz-image-region: rect(0, 96px, 24px, 72px)
142 #category-privacy:hover > .category-icon,
143 #category-privacy[selected] > .category-icon {
144 -moz-image-region: rect(24px, 96px, 48px, 72px);
147 #category-security > .category-icon {
148 -moz-image-region: rect(0, 120px, 24px, 96px)
151 #category-security:hover > .category-icon,
152 #category-security[selected] > .category-icon {
153 -moz-image-region: rect(24px, 120px, 48px, 96px);
156 #category-sync > .category-icon {
157 -moz-image-region: rect(0, 144px, 24px, 120px);
160 #category-sync:hover > .category-icon,
161 #category-sync[selected] > .category-icon {
162 -moz-image-region: rect(24px, 144px, 48px, 120px);
165 #category-advanced > .category-icon {
166 -moz-image-region: rect(0, 168px, 24px, 144px)
169 #category-advanced:hover > .category-icon,
170 #category-advanced[selected] > .category-icon {
171 -moz-image-region: rect(24px, 168px, 48px, 144px);
192 /* Applications Pane Styles */
194 #applicationsContent {
199 -moz-margin-start: 0;
203 -moz-margin-start: 0;
206 border: none; /*1px solid #9C9CFF;*/
209 border-top-left-radius: 0;
210 border-top-right-radius: 0;
214 #handlersView > listheader > treecol {
217 #handlersView > scrollbox {
218 border-left: 1px solid #9C9CFF;
219 border-right: 1px solid #9C9CFF;
220 border-bottom: 1px solid #9C9CFF;
223 #handlersView > listheader {
224 background: transparent;
235 background-color: #F7F7F7;
236 border: 1px solid #CCCCCC;
237 -moz-border-top-colors: none;
238 -moz-border-right-colors: none;
239 -moz-border-bottom-colors: none;
240 -moz-border-left-colors: none;
244 #typeColumn:-moz-locale-dir(ltr),
245 #actionColumn:-moz-locale-dir(rtl) {
246 border-top-left-radius: 5px;
249 #typeColumn:-moz-locale-dir(rtl),
250 #actionColumn:-moz-locale-dir(ltr) {
251 border-top-right-radius: 5px;
255 #actionColumn:hover {
256 border-color: #737980;
259 #typeColumn:hover:active,
260 #actionColumn:hover:active {
262 border-color: #0096DC;
265 #typeColumn > .treecol-sortdirection[sortDirection=ascending],
266 #actionColumn > .treecol-sortdirection[sortDirection=ascending],
267 #typeColumn > .treecol-sortdirection[sortDirection=descending],
268 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
271 #typeColumn > .treecol-sortdirection[sortDirection=descending],
272 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
275 #handlersView > richlistitem {
276 min-height: 40px !important;
280 -moz-margin-start: 10px !important;
281 -moz-margin-end: 9px !important;
285 -moz-margin-start: 11px !important;
286 -moz-margin-end: 8px !important;
294 .actionsMenu > menupopup > menuitem {
295 -moz-padding-start: 10px !important;
298 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
299 -moz-margin-end: 8px !important;
302 /* XXX This style is for bug 740213 and should be removed once that
303 bug has a solution. */
304 description > html|a {
310 /* -moz-appearance: none;
313 border: 1px solid rgba(23,50,77,0.4);
315 background-color: #F1F1F1;*/
319 /* Overriding the margins from the base preferences.css theme file.
320 These overrides can be simplified by fixing bug 1027174 */
324 #weavePrefsDeck > vbox > label,
325 #weavePrefsDeck > vbox > groupbox,
326 #weavePrefsDeck > vbox > description,
327 #weavePrefsDeck > vbox > #pairDevice > label,
328 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
329 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label,
330 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-small) > label {
331 /* no margin-start for elements at the begin of a line */
332 -moz-margin-start: 0;
336 padding-bottom: 0; /* no padding needed in inContent prefs */
345 #crashReporterLearnMore {
346 /* center the links */
357 background-color: rgba(0,0,0,0.75);
362 border: 1px solid #9C9CFF;
369 #dialogBox[resizable="true"] {
377 background-color: transparent !important;
385 #dialogBox > .groupbox-title > caption {
387 border-radius: 1000px;
388 background-color: #A09090;
391 #dialogBox > .groupbox-body {
392 -moz-appearance: none;
398 /* Default dialog dimensions */
403 tree:not(#rejectsTree) {
407 :-moz-any(dialog, window, prefwindow) groupbox {
408 -moz-margin-start: 8px;
409 -moz-margin-end: 8px;
416 /* === END shared/in-content/preferences.css === */
422 -moz-margin-start: 10px;
425 @media (min-resolution: 2dppx) {
426 checkbox:hover::before,
427 checkbox[checked]::before {
430 checkbox[checked]::before {
434 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
437 #category-general > .category-icon {
438 -moz-image-region: rect(0, 48px, 48px, 0);
441 #category-general:hover > .category-icon,
442 #category-general[selected] > .category-icon {
443 -moz-image-region: rect(48px, 48px, 96px, 0);
446 #category-search > .category-icon {
447 -moz-image-region: rect(0, 384px, 48px, 336px);
450 #category-search:hover > .category-icon,
451 #category-search[selected] > .category-icon {
452 -moz-image-region: rect(48, 384px, 96px, 336px);
455 #category-content > .category-icon {
456 -moz-image-region: rect(0, 96px, 48px, 48px);
459 #category-content:hover > .category-icon,
460 #category-content[selected] > .category-icon {
461 -moz-image-region: rect(48px, 96px, 96px, 48px);
464 #category-application > .category-icon {
465 -moz-image-region: rect(0, 144px, 48px, 96px);
468 #category-application:hover > .category-icon,
469 #category-application[selected] > .category-icon {
470 -moz-image-region: rect(48px, 144px, 96px, 96px);
473 #category-privacy > .category-icon {
474 -moz-image-region: rect(0, 192px, 48px, 144px);
477 #category-privacy:hover > .category-icon,
478 #category-privacy[selected] > .category-icon {
479 -moz-image-region: rect(48px, 192px, 96px, 144px);
482 #category-security > .category-icon {
483 -moz-image-region: rect(0, 240px, 48px, 192px);
486 #category-security:hover > .category-icon,
487 #category-security[selected] > .category-icon {
488 -moz-image-region: rect(48px, 240px, 96px, 192px);
491 #category-sync > .category-icon {
492 -moz-image-region: rect(0, 288px, 48px, 240px);
495 #category-sync:hover > .category-icon,
496 #category-sync[selected] > .category-icon {
497 -moz-image-region: rect(48px, 288px, 96px, 240px);
500 #category-advanced > .category-icon {
501 -moz-image-region: rect(0, 336px, 48px, 288px);
504 #category-advanced:hover > .category-icon,
505 #category-advanced[selected] > .category-icon {
506 -moz-image-region: rect(48px, 336px, 96px, 288px);