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 padding: 1.5em 0 0; /* That padding needs to match the upper stripe. */
13 /* This actually results in two black boxes extending to the right and bottom,
14 * leaving the LCARS-gray background only in a top stripe and
15 * a bit larger area on the top left.
16 * The prefpane will overlay that with the rounded shape we want. */
17 background-color: #A09090;
18 background-position: 3em 1.5em, 0px 5em;
19 background-image: linear-gradient(0deg, #000, #000), linear-gradient(0deg, #000, #000);
20 background-repeat: no-repeat;
24 padding: 10px 20px 0px;
25 border-radius: 1em 0 0 0;
26 background-color: #000000;
29 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
36 -moz-user-select: text;
41 /* override the * rule */
42 -moz-user-select: none;
48 background-color: #A09090;
51 border-radius: 1em 0 0 0;
56 background-color: #000000;
58 -moz-border-end-width: 0;
59 -moz-padding-start: 15px;
60 -moz-padding-end: 21px;
62 transition: background-color 150ms;
66 background-color: #FFCF00;
71 background-color: #008484;
75 #categories[keyboard-navigation="true"]:-moz-focusring > .category[current] {
76 border-top: 1px dotted #000000;
77 border-bottom: 1px dotted #000000;
84 -moz-padding-start: 9px;
91 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png");
94 #category-general > .category-icon {
95 -moz-image-region: rect(0, 24px, 24px, 0);
98 #category-general:hover > .category-icon,
99 #category-general[selected] > .category-icon {
100 -moz-image-region: rect(24px, 24px, 48px, 0);
103 #category-search > .category-icon {
104 -moz-image-region: rect(0, 192px, 24px, 168px);
107 #category-search:hover > .category-icon,
108 #category-search[selected] > .category-icon {
109 -moz-image-region: rect(24px, 192px, 48px, 168px);
112 #category-content > .category-icon {
113 -moz-image-region: rect(0, 48px, 24px, 24px)
116 #category-content:hover > .category-icon,
117 #category-content[selected] > .category-icon {
118 -moz-image-region: rect(24px, 48px, 48px, 24px);
121 #category-application > .category-icon {
122 -moz-image-region: rect(0, 72px, 24px, 48px)
125 #category-application:hover > .category-icon,
126 #category-application[selected] > .category-icon {
127 -moz-image-region: rect(24px, 72px, 48px, 48px);
130 #category-privacy > .category-icon {
131 -moz-image-region: rect(0, 96px, 24px, 72px)
134 #category-privacy:hover > .category-icon,
135 #category-privacy[selected] > .category-icon {
136 -moz-image-region: rect(24px, 96px, 48px, 72px);
139 #category-security > .category-icon {
140 -moz-image-region: rect(0, 120px, 24px, 96px)
143 #category-security:hover > .category-icon,
144 #category-security[selected] > .category-icon {
145 -moz-image-region: rect(24px, 120px, 48px, 96px);
148 #category-sync > .category-icon {
149 -moz-image-region: rect(0, 144px, 24px, 120px);
152 #category-sync:hover > .category-icon,
153 #category-sync[selected] > .category-icon {
154 -moz-image-region: rect(24px, 144px, 48px, 120px);
157 #category-advanced > .category-icon {
158 -moz-image-region: rect(0, 168px, 24px, 144px)
161 #category-advanced:hover > .category-icon,
162 #category-advanced[selected] > .category-icon {
163 -moz-image-region: rect(24px, 168px, 48px, 144px);
182 -moz-margin-end: 8px !important;
193 /* Applications Pane Styles */
195 #applicationsContent {
200 -moz-margin-start: 0;
204 -moz-margin-start: 0;
207 border: none; /*1px solid #9C9CFF;*/
210 border-top-left-radius: 0;
211 border-top-right-radius: 0;
215 #handlersView > listheader > treecol {
218 #handlersView > scrollbox {
219 border-left: 1px solid #9C9CFF;
220 border-right: 1px solid #9C9CFF;
221 border-bottom: 1px solid #9C9CFF;
224 #handlersView > listheader {
225 background: transparent;
236 background-color: #F7F7F7;
237 border: 1px solid #CCCCCC;
238 -moz-border-top-colors: none;
239 -moz-border-right-colors: none;
240 -moz-border-bottom-colors: none;
241 -moz-border-left-colors: none;
245 #typeColumn:-moz-locale-dir(ltr),
246 #actionColumn:-moz-locale-dir(rtl) {
247 border-top-left-radius: 5px;
250 #typeColumn:-moz-locale-dir(rtl),
251 #actionColumn:-moz-locale-dir(ltr) {
252 border-top-right-radius: 5px;
256 #actionColumn:hover {
257 border-color: #737980;
260 #typeColumn:hover:active,
261 #actionColumn:hover:active {
263 border-color: #0096DC;
266 #typeColumn > .treecol-sortdirection[sortDirection=ascending],
267 #actionColumn > .treecol-sortdirection[sortDirection=ascending],
268 #typeColumn > .treecol-sortdirection[sortDirection=descending],
269 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
272 #typeColumn > .treecol-sortdirection[sortDirection=descending],
273 #actionColumn > .treecol-sortdirection[sortDirection=descending] {
276 #handlersView > richlistitem {
277 min-height: 40px !important;
281 -moz-margin-start: 10px !important;
282 -moz-margin-end: 9px !important;
286 -moz-margin-start: 11px !important;
287 -moz-margin-end: 8px !important;
295 .actionsMenu > menupopup > menuitem {
296 -moz-padding-start: 10px !important;
299 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
300 -moz-margin-end: 8px !important;
303 /* XXX This style is for bug 740213 and should be removed once that
304 bug has a solution. */
305 description > html|a {
311 /* -moz-appearance: none;
314 border: 1px solid rgba(23,50,77,0.4);
316 background-color: #F1F1F1;*/
320 /* Overriding the margins from the base preferences.css theme file.
321 These overrides can be simplified by fixing bug 1027174 */
325 #weavePrefsDeck > vbox > label,
326 #weavePrefsDeck > vbox > groupbox,
327 #weavePrefsDeck > vbox > description,
328 #weavePrefsDeck > vbox > #pairDevice > label,
329 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
330 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label,
331 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-small) > label {
332 /* no margin-start for elements at the begin of a line */
333 -moz-margin-start: 0;
337 padding-bottom: 0; /* no padding needed in inContent prefs */
346 #crashReporterLearnMore {
347 /* center the links */
352 #trackingProtectionImage {
355 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
358 @media (min-resolution: 2dppx) {
359 #trackingProtectionImage {
360 list-style-image: url("chrome://browser/skin/bad-content-blocked-16@2x.png");
369 background-color: rgba(0,0,0,0.75);
374 background-color: #000000;
376 /* font-size: 14px; */
377 border: 1px solid #9C9CFF;
385 #dialogBox[resizable="true"] {
392 #dialogBox > .groupbox-title {
393 -moz-margin-start: 0;
396 background-color: #F1F1F1; */
404 background-color: transparent !important;
412 #dialogBox > .groupbox-title > caption {
414 border-radius: 1000px;
415 background-color: #A09090;
418 #dialogBox > .groupbox-body {
419 -moz-appearance: none;
425 /* Default dialog dimensions */
434 /* === END shared/in-content/preferences.css === */
440 -moz-margin-start: 10px;
443 @media (min-resolution: 2dppx) {
444 checkbox:hover::before,
445 checkbox[checked]::before {
448 checkbox[checked]::before {
452 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
455 #category-general > .category-icon {
456 -moz-image-region: rect(0, 48px, 48px, 0);
459 #category-general:hover > .category-icon,
460 #category-general[selected] > .category-icon {
461 -moz-image-region: rect(48px, 48px, 96px, 0);
464 #category-search > .category-icon {
465 -moz-image-region: rect(0, 384px, 48px, 336px);
468 #category-search:hover > .category-icon,
469 #category-search[selected] > .category-icon {
470 -moz-image-region: rect(48, 384px, 96px, 336px);
473 #category-content > .category-icon {
474 -moz-image-region: rect(0, 96px, 48px, 48px);
477 #category-content:hover > .category-icon,
478 #category-content[selected] > .category-icon {
479 -moz-image-region: rect(48px, 96px, 96px, 48px);
482 #category-application > .category-icon {
483 -moz-image-region: rect(0, 144px, 48px, 96px);
486 #category-application:hover > .category-icon,
487 #category-application[selected] > .category-icon {
488 -moz-image-region: rect(48px, 144px, 96px, 96px);
491 #category-privacy > .category-icon {
492 -moz-image-region: rect(0, 192px, 48px, 144px);
495 #category-privacy:hover > .category-icon,
496 #category-privacy[selected] > .category-icon {
497 -moz-image-region: rect(48px, 192px, 96px, 144px);
500 #category-security > .category-icon {
501 -moz-image-region: rect(0, 240px, 48px, 192px);
504 #category-security:hover > .category-icon,
505 #category-security[selected] > .category-icon {
506 -moz-image-region: rect(48px, 240px, 96px, 192px);
509 #category-sync > .category-icon {
510 -moz-image-region: rect(0, 288px, 48px, 240px);
513 #category-sync:hover > .category-icon,
514 #category-sync[selected] > .category-icon {
515 -moz-image-region: rect(48px, 288px, 96px, 240px);
518 #category-advanced > .category-icon {
519 -moz-image-region: rect(0, 336px, 48px, 288px);
522 #category-advanced:hover > .category-icon,
523 #category-advanced[selected] > .category-icon {
524 -moz-image-region: rect(48px, 336px, 96px, 288px);