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;
51 #categories > scrollbox {
52 overflow-x: hidden !important;
56 * We want the last category to always have non-0 getBoundingClientRect().bottom
57 * so we can use the value to figure out the max-height of the list in
58 * preferences.js, so use collapse instead of display: none; if it's hidden
60 #categories > .category[hidden="true"] {
65 #category-general > .category-icon {
66 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general");
69 #category-general:hover > .category-icon,
70 #category-general[selected] > .category-icon {
71 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-active");
74 #category-search > .category-icon {
75 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search");
78 #category-search:hover > .category-icon,
79 #category-search[selected] > .category-icon {
80 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search-active");
83 #category-content > .category-icon {
84 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
87 #category-content:hover > .category-icon,
88 #category-content[selected] > .category-icon {
89 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
92 #category-application > .category-icon {
93 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications");
96 #category-application:hover > .category-icon,
97 #category-application[selected] > .category-icon {
98 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications-active");
101 #category-privacy > .category-icon {
102 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy");
105 #category-privacy:hover > .category-icon,
106 #category-privacy[selected] > .category-icon {
107 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy-active");
110 #category-security > .category-icon {
111 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
114 #category-security:hover > .category-icon,
115 #category-security[selected] > .category-icon {
116 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-active");
119 #category-sync > .category-icon {
120 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
123 #category-sync:hover > .category-icon,
124 #category-sync[selected] > .category-icon {
125 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-active");
128 #category-advanced > .category-icon {
129 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
132 #category-advanced:hover > .category-icon,
133 #category-advanced[selected] > .category-icon {
134 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-active");
137 @media (max-width: 800px) {
158 border-collapse: collapse;
161 #startupTable > tr > td {
162 padding: 0; /* remove the padding from html.css */
165 #startupTable > tr:not(:first-child) > td {
166 padding-top: 0.5em; /* add a spacing between the rows */
169 #startupTable > tr > .label-cell {
171 width: 0; /* make the column as small as possible */
174 #startupTable > tr > .label-cell > label {
178 #startupTable > tr > .content-cell > menulist,
179 #startupTable > tr > .content-cell > textbox {
180 width: calc(100% - 8px);
185 #startupTable > tr > .homepage-buttons {
190 #startupTable > tr > .homepage-buttons > .content-cell-item {
196 -moz-margin-end: 8px !important;
208 #playDRMContentLink {
209 /* Line up with the buttons in the other grid bits: */
210 margin-left: 4px !important;
211 margin-right: 4px !important;
214 #defaultFontSizeLabel {
215 /* !important needed to override common !important rule */
216 -moz-margin-start: 4px !important;
219 /* Applications Pane Styles */
221 #applicationsContent {
226 -moz-margin-start: 0;
233 #handlersView > richlistitem {
234 min-height: 36px !important;
238 -moz-margin-start: 10px !important;
239 -moz-margin-end: 9px !important;
243 -moz-margin-start: 11px !important;
244 -moz-margin-end: 8px !important;
251 .actionsMenu > menupopup > menuitem {
252 -moz-padding-start: 10px !important;
255 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
256 -moz-margin-end: 8px !important;
259 /* Collapse the non-active vboxes in decks to use only the height the
261 #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
262 #historyPane:not([selectedIndex="2"]) > #historyCustomPane,
263 #weavePrefsDeck:not([selectedIndex="1"]) > #hasAccount,
264 #weavePrefsDeck:not([selectedIndex="2"]) > #needsUpdate,
265 #weavePrefsDeck:not([selectedIndex="3"]) > #fxaDeterminingStatus,
266 #weavePrefsDeck:not([selectedIndex="4"]) > #noFxaAccount,
267 #weavePrefsDeck:not([selectedIndex="5"]) > #hasFxaAccount,
268 #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
269 #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
270 visibility: collapse;
273 /* XXX This style is for bug 740213 and should be removed once that
274 bug has a solution. */
275 description > html|a {
280 /* Overriding the margins from the base preferences.css theme file.
281 These overrides can be simplified by fixing bug 1027174 */
285 #weavePrefsDeck > vbox > label,
286 #weavePrefsDeck > vbox > groupbox,
287 #weavePrefsDeck > vbox > description,
288 #weavePrefsDeck > vbox > #pairDevice > label,
289 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
290 #weavePrefsDeck > #hasFxaAccount > vbox > label,
291 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
292 /* no margin-start for elements at the begin of a line */
293 -moz-margin-start: 0;
297 padding-bottom: 0; /* no padding needed in inContent prefs */
301 /* -moz-margin-end: 4px; / add the 4px end-margin of other elements */
306 #crashReporterLearnMore {
307 /* provide some margin between the links and the label text */
308 /* !important is needed to override the rules defined in common.css */
309 -moz-margin-start: 20px !important;
310 /* center the links */
315 #trackingProtectionImage {
318 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
321 @media (min-resolution: 2dppx) {
322 #trackingProtectionImage {
323 list-style-image: url("chrome://browser/skin/bad-content-blocked-16@2x.png");
328 -moz-margin-start: 0;
336 background-color: rgba(0,0,0,0.75);
341 background-color: #000000;
342 background-clip: content-box;
344 /* font-size: 14px; */
345 border: 1px solid #9C9CFF;
353 #dialogBox[resizable="true"] {
360 #dialogBox > .groupbox-title {
361 -moz-margin-start: 0;
364 background-color: #F1F1F1; */
372 background-color: transparent !important;
380 #dialogBox > .groupbox-title > caption {
382 border-radius: 1000px;
383 background-color: #A09090;
386 #dialogBox > .groupbox-body {
387 -moz-appearance: none;
393 /* Default dialog dimensions */
398 .largeDialogContainer.doScroll {
408 * Font dialog menulist fixes
421 #sync-migrate-upgrade-description {
422 /* description elts need a min-width to wrap correctly - bug 630864? */
427 border: 1px solid #9C9CFF;
428 background-color: #000000;
432 animation: fadein 3000ms;
440 /* === END shared/in-content/preferences.css === */
446 -moz-margin-start: 10px;
449 @media (min-resolution: 2dppx) {
450 checkbox:hover::before,
451 checkbox[checked]::before {
454 checkbox[checked]::before {