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);
166 @media (max-width: 800px) {
188 -moz-margin-end: 8px !important;
200 #playDRMContentLink {
201 /* Line up with the buttons in the other grid bits: */
202 margin-left: 4px !important;
203 margin-right: 4px !important;
206 /* Applications Pane Styles */
208 #applicationsContent {
213 -moz-margin-start: 0;
216 #handlersView > richlistitem {
217 min-height: 36px !important;
221 -moz-margin-start: 10px !important;
222 -moz-margin-end: 9px !important;
226 -moz-margin-start: 11px !important;
227 -moz-margin-end: 8px !important;
234 .actionsMenu > menupopup > menuitem {
235 -moz-padding-start: 10px !important;
238 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
239 -moz-margin-end: 8px !important;
242 /* XXX This style is for bug 740213 and should be removed once that
243 bug has a solution. */
244 description > html|a {
249 /* Overriding the margins from the base preferences.css theme file.
250 These overrides can be simplified by fixing bug 1027174 */
254 #weavePrefsDeck > vbox > label,
255 #weavePrefsDeck > vbox > groupbox,
256 #weavePrefsDeck > vbox > description,
257 #weavePrefsDeck > vbox > #pairDevice > label,
258 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
259 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label,
260 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-small) > label {
261 /* no margin-start for elements at the begin of a line */
262 -moz-margin-start: 0;
266 padding-bottom: 0; /* no padding needed in inContent prefs */
270 /* -moz-margin-end: 4px; / add the 4px end-margin of other elements */
279 #crashReporterLearnMore {
280 /* center the links */
285 #trackingProtectionImage {
288 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
291 @media (min-resolution: 2dppx) {
292 #trackingProtectionImage {
293 list-style-image: url("chrome://browser/skin/bad-content-blocked-16@2x.png");
302 background-color: rgba(0,0,0,0.75);
307 background-color: #000000;
308 background-clip: content-box;
310 /* font-size: 14px; */
311 border: 1px solid #9C9CFF;
319 #dialogBox[resizable="true"] {
326 #dialogBox > .groupbox-title {
327 -moz-margin-start: 0;
330 background-color: #F1F1F1; */
338 background-color: transparent !important;
346 #dialogBox > .groupbox-title > caption {
348 border-radius: 1000px;
349 background-color: #A09090;
352 #dialogBox > .groupbox-body {
353 -moz-appearance: none;
359 /* Default dialog dimensions */
371 #sync-migrate-upgrade-description {
372 /* description elts need a min-width to wrap correctly - bug 630864? */
377 border: 1px solid #9C9CFF;
378 background-color: #000000;
382 animation: fadein 3000ms;
390 /* === END shared/in-content/preferences.css === */
396 -moz-margin-start: 10px;
399 @media (min-resolution: 2dppx) {
400 checkbox:hover::before,
401 checkbox[checked]::before {
404 checkbox[checked]::before {
408 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
411 #category-general > .category-icon {
412 -moz-image-region: rect(0, 48px, 48px, 0);
415 #category-general:hover > .category-icon,
416 #category-general[selected] > .category-icon {
417 -moz-image-region: rect(48px, 48px, 96px, 0);
420 #category-search > .category-icon {
421 -moz-image-region: rect(0, 384px, 48px, 336px);
424 #category-search:hover > .category-icon,
425 #category-search[selected] > .category-icon {
426 -moz-image-region: rect(48, 384px, 96px, 336px);
429 #category-content > .category-icon {
430 -moz-image-region: rect(0, 96px, 48px, 48px);
433 #category-content:hover > .category-icon,
434 #category-content[selected] > .category-icon {
435 -moz-image-region: rect(48px, 96px, 96px, 48px);
438 #category-application > .category-icon {
439 -moz-image-region: rect(0, 144px, 48px, 96px);
442 #category-application:hover > .category-icon,
443 #category-application[selected] > .category-icon {
444 -moz-image-region: rect(48px, 144px, 96px, 96px);
447 #category-privacy > .category-icon {
448 -moz-image-region: rect(0, 192px, 48px, 144px);
451 #category-privacy:hover > .category-icon,
452 #category-privacy[selected] > .category-icon {
453 -moz-image-region: rect(48px, 192px, 96px, 144px);
456 #category-security > .category-icon {
457 -moz-image-region: rect(0, 240px, 48px, 192px);
460 #category-security:hover > .category-icon,
461 #category-security[selected] > .category-icon {
462 -moz-image-region: rect(48px, 240px, 96px, 192px);
465 #category-sync > .category-icon {
466 -moz-image-region: rect(0, 288px, 48px, 240px);
469 #category-sync:hover > .category-icon,
470 #category-sync[selected] > .category-icon {
471 -moz-image-region: rect(48px, 288px, 96px, 240px);
474 #category-advanced > .category-icon {
475 -moz-image-region: rect(0, 336px, 48px, 288px);
478 #category-advanced:hover > .category-icon,
479 #category-advanced[selected] > .category-icon {
480 -moz-image-region: rect(48px, 336px, 96px, 288px);