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;
109 #category-general > .category-icon {
110 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general");
113 #category-general:hover > .category-icon,
114 #category-general[selected] > .category-icon {
115 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-active");
118 #category-search > .category-icon {
119 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search");
122 #category-search:hover > .category-icon,
123 #category-search[selected] > .category-icon {
124 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search-active");
127 #category-content > .category-icon {
128 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
131 #category-content:hover > .category-icon,
132 #category-content[selected] > .category-icon {
133 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
136 #category-application > .category-icon {
137 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications");
140 #category-application:hover > .category-icon,
141 #category-application[selected] > .category-icon {
142 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications-active");
145 #category-privacy > .category-icon {
146 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy");
149 #category-privacy:hover > .category-icon,
150 #category-privacy[selected] > .category-icon {
151 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy-active");
154 #category-security > .category-icon {
155 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
158 #category-security:hover > .category-icon,
159 #category-security[selected] > .category-icon {
160 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-active");
163 #category-sync > .category-icon {
164 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
167 #category-sync:hover > .category-icon,
168 #category-sync[selected] > .category-icon {
169 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-active");
172 #category-advanced > .category-icon {
173 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
176 #category-advanced:hover > .category-icon,
177 #category-advanced[selected] > .category-icon {
178 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-active");
181 @media (max-width: 800px) {
202 border-collapse: collapse;
205 #startupTable > tr > td {
206 padding: 0; /* remove the padding from html.css */
209 #startupTable > tr:not(:first-child) > td {
210 padding-top: 0.5em; /* add a spacing between the rows */
213 #startupTable > tr > .label-cell {
215 width: 0; /* make the column as small as possible */
218 #startupTable > tr > .label-cell > label {
222 #startupTable > tr > .content-cell > menulist,
223 #startupTable > tr > .content-cell > textbox {
224 width: calc(100% - 8px);
229 #startupTable > tr > .homepage-buttons {
234 #startupTable > tr > .homepage-buttons > .content-cell-item {
240 -moz-margin-end: 8px !important;
252 #playDRMContentLink {
253 /* Line up with the buttons in the other grid bits: */
254 margin-left: 4px !important;
255 margin-right: 4px !important;
258 #defaultFontSizeLabel {
259 /* !important needed to override common !important rule */
260 -moz-margin-start: 4px !important;
263 /* Applications Pane Styles */
265 #applicationsContent {
270 -moz-margin-start: 0;
277 #handlersView > richlistitem {
278 min-height: 36px !important;
282 -moz-margin-start: 10px !important;
283 -moz-margin-end: 9px !important;
287 -moz-margin-start: 11px !important;
288 -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 /* Collapse the non-active vboxes in decks to use only the height the
305 #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
306 #historyPane:not([selectedIndex="2"]) > #historyCustomPane,
307 #weavePrefsDeck:not([selectedIndex="1"]) > #hasAccount,
308 #weavePrefsDeck:not([selectedIndex="2"]) > #needsUpdate,
309 #weavePrefsDeck:not([selectedIndex="3"]) > #fxaDeterminingStatus,
310 #weavePrefsDeck:not([selectedIndex="4"]) > #noFxaAccount,
311 #weavePrefsDeck:not([selectedIndex="5"]) > #hasFxaAccount,
312 #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
313 #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
314 visibility: collapse;
317 /* XXX This style is for bug 740213 and should be removed once that
318 bug has a solution. */
319 description > html|a {
324 /* Overriding the margins from the base preferences.css theme file.
325 These overrides can be simplified by fixing bug 1027174 */
329 #weavePrefsDeck > vbox > label,
330 #weavePrefsDeck > vbox > groupbox,
331 #weavePrefsDeck > vbox > description,
332 #weavePrefsDeck > vbox > #pairDevice > label,
333 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
334 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label,
335 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-small) > label {
336 /* no margin-start for elements at the begin of a line */
337 -moz-margin-start: 0;
341 padding-bottom: 0; /* no padding needed in inContent prefs */
345 /* -moz-margin-end: 4px; / add the 4px end-margin of other elements */
350 #crashReporterLearnMore {
351 /* provide some margin between the links and the label text */
352 /* !important is needed to override the rules defined in common.css */
353 -moz-margin-start: 20px !important;
354 /* center the links */
359 #trackingProtectionImage {
362 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
365 @media (min-resolution: 2dppx) {
366 #trackingProtectionImage {
367 list-style-image: url("chrome://browser/skin/bad-content-blocked-16@2x.png");
372 -moz-margin-start: 0;
380 background-color: rgba(0,0,0,0.75);
385 background-color: #000000;
386 background-clip: content-box;
388 /* font-size: 14px; */
389 border: 1px solid #9C9CFF;
397 #dialogBox[resizable="true"] {
404 #dialogBox > .groupbox-title {
405 -moz-margin-start: 0;
408 background-color: #F1F1F1; */
416 background-color: transparent !important;
424 #dialogBox > .groupbox-title > caption {
426 border-radius: 1000px;
427 background-color: #A09090;
430 #dialogBox > .groupbox-body {
431 -moz-appearance: none;
437 /* Default dialog dimensions */
442 .largeDialogContainer.doScroll {
452 * Font dialog menulist fixes
465 #sync-migrate-upgrade-description {
466 /* description elts need a min-width to wrap correctly - bug 630864? */
471 border: 1px solid #9C9CFF;
472 background-color: #000000;
476 animation: fadein 3000ms;
484 /* === END shared/in-content/preferences.css === */
490 -moz-margin-start: 10px;
493 @media (min-resolution: 2dppx) {
494 checkbox:hover::before,
495 checkbox[checked]::before {
498 checkbox[checked]::before {