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;
50 background-color: #A09090;
53 border-radius: 1em 0 0 0;
57 #categories > scrollbox {
58 overflow-x: hidden !important;
62 background-color: #000000;
64 -moz-border-end-width: 0;
65 -moz-padding-start: 15px;
66 -moz-padding-end: 21px;
68 transition: background-color 150ms;
72 background-color: #FFCF00;
77 background-color: #008484;
81 #categories[keyboard-navigation="true"]:-moz-focusring > .category[current] {
82 border-top: 1px dotted #000000;
83 border-bottom: 1px dotted #000000;
90 -moz-padding-start: 9px;
95 * We want the last category to always have non-0 getBoundingClientRect().bottom
96 * so we can use the value to figure out the max-height of the list in
97 * preferences.js, so use collapse instead of display: none; if it's hidden
99 #categories > .category[hidden="true"] {
101 visibility: collapse;
107 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png");
110 #category-general > .category-icon {
111 -moz-image-region: rect(0, 24px, 24px, 0);
114 #category-general:hover > .category-icon,
115 #category-general[selected] > .category-icon {
116 -moz-image-region: rect(24px, 24px, 48px, 0);
119 #category-search > .category-icon {
120 -moz-image-region: rect(0, 192px, 24px, 168px);
123 #category-search:hover > .category-icon,
124 #category-search[selected] > .category-icon {
125 -moz-image-region: rect(24px, 192px, 48px, 168px);
128 #category-content > .category-icon {
129 -moz-image-region: rect(0, 48px, 24px, 24px)
132 #category-content:hover > .category-icon,
133 #category-content[selected] > .category-icon {
134 -moz-image-region: rect(24px, 48px, 48px, 24px);
137 #category-application > .category-icon {
138 -moz-image-region: rect(0, 72px, 24px, 48px)
141 #category-application:hover > .category-icon,
142 #category-application[selected] > .category-icon {
143 -moz-image-region: rect(24px, 72px, 48px, 48px);
146 #category-privacy > .category-icon {
147 -moz-image-region: rect(0, 96px, 24px, 72px)
150 #category-privacy:hover > .category-icon,
151 #category-privacy[selected] > .category-icon {
152 -moz-image-region: rect(24px, 96px, 48px, 72px);
155 #category-security > .category-icon {
156 -moz-image-region: rect(0, 120px, 24px, 96px)
159 #category-security:hover > .category-icon,
160 #category-security[selected] > .category-icon {
161 -moz-image-region: rect(24px, 120px, 48px, 96px);
164 #category-sync > .category-icon {
165 -moz-image-region: rect(0, 144px, 24px, 120px);
168 #category-sync:hover > .category-icon,
169 #category-sync[selected] > .category-icon {
170 -moz-image-region: rect(24px, 144px, 48px, 120px);
173 #category-advanced > .category-icon {
174 -moz-image-region: rect(0, 168px, 24px, 144px)
177 #category-advanced:hover > .category-icon,
178 #category-advanced[selected] > .category-icon {
179 -moz-image-region: rect(24px, 168px, 48px, 144px);
182 @media (max-width: 800px) {
203 border-collapse: collapse;
206 #startupTable > tr > td {
207 padding: 0; /* remove the padding from html.css */
210 #startupTable > tr:not(:first-child) > td {
211 padding-top: 0.5em; /* add a spacing between the rows */
214 #startupTable > tr > .label-cell {
216 width: 0; /* make the column as small as possible */
219 #startupTable > tr > .label-cell > label {
223 #startupTable > tr > .content-cell > menulist,
224 #startupTable > tr > .content-cell > textbox {
225 width: calc(100% - 8px);
230 #startupTable > tr > .homepage-buttons {
235 #startupTable > tr > .homepage-buttons > .content-cell-item {
241 -moz-margin-end: 8px !important;
253 #playDRMContentLink {
254 /* Line up with the buttons in the other grid bits: */
255 margin-left: 4px !important;
256 margin-right: 4px !important;
259 /* Applications Pane Styles */
261 #applicationsContent {
266 -moz-margin-start: 0;
273 #handlersView > richlistitem {
274 min-height: 36px !important;
278 -moz-margin-start: 10px !important;
279 -moz-margin-end: 9px !important;
283 -moz-margin-start: 11px !important;
284 -moz-margin-end: 8px !important;
291 .actionsMenu > menupopup > menuitem {
292 -moz-padding-start: 10px !important;
295 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
296 -moz-margin-end: 8px !important;
299 /* XXX This style is for bug 740213 and should be removed once that
300 bug has a solution. */
301 description > html|a {
306 /* Overriding the margins from the base preferences.css theme file.
307 These overrides can be simplified by fixing bug 1027174 */
311 #weavePrefsDeck > vbox > label,
312 #weavePrefsDeck > vbox > groupbox,
313 #weavePrefsDeck > vbox > description,
314 #weavePrefsDeck > vbox > #pairDevice > label,
315 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
316 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label,
317 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-small) > label {
318 /* no margin-start for elements at the begin of a line */
319 -moz-margin-start: 0;
323 padding-bottom: 0; /* no padding needed in inContent prefs */
327 /* -moz-margin-end: 4px; / add the 4px end-margin of other elements */
336 #crashReporterLearnMore {
337 /* center the links */
342 #trackingProtectionImage {
345 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
348 @media (min-resolution: 2dppx) {
349 #trackingProtectionImage {
350 list-style-image: url("chrome://browser/skin/bad-content-blocked-16@2x.png");
359 background-color: rgba(0,0,0,0.75);
364 background-color: #000000;
365 background-clip: content-box;
367 /* font-size: 14px; */
368 border: 1px solid #9C9CFF;
376 #dialogBox[resizable="true"] {
383 #dialogBox > .groupbox-title {
384 -moz-margin-start: 0;
387 background-color: #F1F1F1; */
395 background-color: transparent !important;
403 #dialogBox > .groupbox-title > caption {
405 border-radius: 1000px;
406 background-color: #A09090;
409 #dialogBox > .groupbox-body {
410 -moz-appearance: none;
416 /* Default dialog dimensions */
428 #sync-migrate-upgrade-description {
429 /* description elts need a min-width to wrap correctly - bug 630864? */
434 border: 1px solid #9C9CFF;
435 background-color: #000000;
439 animation: fadein 3000ms;
447 /* === END shared/in-content/preferences.css === */
453 -moz-margin-start: 10px;
456 @media (min-resolution: 2dppx) {
457 checkbox:hover::before,
458 checkbox[checked]::before {
461 checkbox[checked]::before {
465 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
468 #category-general > .category-icon {
469 -moz-image-region: rect(0, 48px, 48px, 0);
472 #category-general:hover > .category-icon,
473 #category-general[selected] > .category-icon {
474 -moz-image-region: rect(48px, 48px, 96px, 0);
477 #category-search > .category-icon {
478 -moz-image-region: rect(0, 384px, 48px, 336px);
481 #category-search:hover > .category-icon,
482 #category-search[selected] > .category-icon {
483 -moz-image-region: rect(48, 384px, 96px, 336px);
486 #category-content > .category-icon {
487 -moz-image-region: rect(0, 96px, 48px, 48px);
490 #category-content:hover > .category-icon,
491 #category-content[selected] > .category-icon {
492 -moz-image-region: rect(48px, 96px, 96px, 48px);
495 #category-application > .category-icon {
496 -moz-image-region: rect(0, 144px, 48px, 96px);
499 #category-application:hover > .category-icon,
500 #category-application[selected] > .category-icon {
501 -moz-image-region: rect(48px, 144px, 96px, 96px);
504 #category-privacy > .category-icon {
505 -moz-image-region: rect(0, 192px, 48px, 144px);
508 #category-privacy:hover > .category-icon,
509 #category-privacy[selected] > .category-icon {
510 -moz-image-region: rect(48px, 192px, 96px, 144px);
513 #category-security > .category-icon {
514 -moz-image-region: rect(0, 240px, 48px, 192px);
517 #category-security:hover > .category-icon,
518 #category-security[selected] > .category-icon {
519 -moz-image-region: rect(48px, 240px, 96px, 192px);
522 #category-sync > .category-icon {
523 -moz-image-region: rect(0, 288px, 48px, 240px);
526 #category-sync:hover > .category-icon,
527 #category-sync[selected] > .category-icon {
528 -moz-image-region: rect(48px, 288px, 96px, 240px);
531 #category-advanced > .category-icon {
532 -moz-image-region: rect(0, 336px, 48px, 288px);
535 #category-advanced:hover > .category-icon,
536 #category-advanced[selected] > .category-icon {
537 -moz-image-region: rect(48px, 336px, 96px, 288px);