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/incontentprefs/preferences.inc.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;
35 -moz-user-select: text;
40 /* override the * rule */
41 -moz-user-select: none;
50 #categories > scrollbox {
51 overflow-x: hidden !important;
55 * We want the last category to always have non-0 getBoundingClientRect().bottom
56 * so we can use the value to figure out the max-height of the list in
57 * preferences.js, so use collapse instead of display: none; if it's hidden
59 #categories > .category[hidden="true"] {
64 #category-general > .category-icon {
65 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general");
68 #category-general:hover > .category-icon,
69 #category-general[selected] > .category-icon {
70 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-active");
73 #category-search > .category-icon {
74 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search");
77 #category-search:hover > .category-icon,
78 #category-search[selected] > .category-icon {
79 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search-active");
82 #category-content > .category-icon {
83 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
86 #category-content:hover > .category-icon,
87 #category-content[selected] > .category-icon {
88 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
91 #category-application > .category-icon {
92 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications");
95 #category-application:hover > .category-icon,
96 #category-application[selected] > .category-icon {
97 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications-active");
100 #category-privacy > .category-icon {
101 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy");
104 #category-privacy:hover > .category-icon,
105 #category-privacy[selected] > .category-icon {
106 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy-active");
109 #category-security > .category-icon {
110 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
113 #category-security:hover > .category-icon,
114 #category-security[selected] > .category-icon {
115 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-active");
118 #category-sync > .category-icon {
119 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
122 #category-sync:hover > .category-icon,
123 #category-sync[selected] > .category-icon {
124 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-active");
127 #category-advanced > .category-icon {
128 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
131 #category-advanced:hover > .category-icon,
132 #category-advanced[selected] > .category-icon {
133 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-active");
136 @media (max-width: 800px) {
157 border-collapse: collapse;
160 #startupTable > tr > td {
161 padding: 0; /* remove the padding from html.css */
164 #startupTable > tr:not(:first-child) > td {
165 padding-top: 0.5em; /* add a spacing between the rows */
168 #startupTable > tr > .label-cell {
170 width: 0; /* make the column as small as possible */
173 #startupTable > tr > .label-cell > label {
177 #startupTable > tr > .content-cell > menulist,
178 #startupTable > tr > .content-cell > textbox {
179 width: calc(100% - 8px);
184 #startupTable > tr > .homepage-buttons {
189 #startupTable > tr > .homepage-buttons > .content-cell-item {
195 -moz-margin-end: 8px !important;
207 #playDRMContentLink {
208 /* Line up with the buttons in the other grid bits: */
209 margin-left: 4px !important;
210 margin-right: 4px !important;
213 #defaultFontSizeLabel {
214 /* !important needed to override common !important rule */
215 -moz-margin-start: 4px !important;
218 /* Applications Pane Styles */
220 #applicationsContent {
225 -moz-margin-start: 0;
232 #handlersView > richlistitem {
233 min-height: 36px !important;
237 -moz-margin-start: 10px !important;
238 -moz-margin-end: 9px !important;
242 -moz-margin-start: 11px !important;
243 -moz-margin-end: 8px !important;
250 .actionsMenu > menupopup > menuitem {
251 -moz-padding-start: 10px !important;
254 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
255 -moz-margin-end: 8px !important;
258 /* Collapse the non-active vboxes in decks to use only the height the
260 #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
261 #historyPane:not([selectedIndex="2"]) > #historyCustomPane,
262 #weavePrefsDeck:not([selectedIndex="1"]) > #hasAccount,
263 #weavePrefsDeck:not([selectedIndex="2"]) > #needsUpdate,
264 #weavePrefsDeck:not([selectedIndex="3"]) > #noFxaAccount,
265 #weavePrefsDeck:not([selectedIndex="4"]) > #hasFxaAccount,
266 #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
267 #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
268 visibility: collapse;
271 /* XXX This style is for bug 740213 and should be removed once that
272 bug has a solution. */
273 description > html|a {
278 /* Overriding the margins from the base preferences.css theme file.
279 These overrides can be simplified by fixing bug 1027174 */
283 #weavePrefsDeck > vbox > label,
284 #weavePrefsDeck > vbox > groupbox,
285 #weavePrefsDeck > vbox > description,
286 #weavePrefsDeck > vbox > #pairDevice > label,
287 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
288 #weavePrefsDeck > #hasFxaAccount > vbox > label,
289 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
290 /* no margin-start for elements at the begin of a line */
291 -moz-margin-start: 0;
295 padding-bottom: 0; /* no padding needed in inContent prefs */
299 /* -moz-margin-end: 4px; / add the 4px end-margin of other elements */
304 #crashReporterLearnMore {
305 /* provide some margin between the links and the label text */
306 /* !important is needed to override the rules defined in common.css */
307 -moz-margin-start: 20px !important;
308 /* center the links */
318 -moz-margin-start: 0;
326 background-color: rgba(0,0,0,0.75);
331 background-color: #000000;
332 background-clip: content-box;
334 /* font-size: 14px; */
335 border: 1px solid #9C9CFF;
343 #dialogBox[resizable="true"] {
350 #dialogBox > .groupbox-title {
351 -moz-margin-start: 0;
354 background-color: #F1F1F1; */
359 -moz-user-select: none;
363 background-color: transparent !important;
372 #dialogBox > .groupbox-title > caption {
374 border-radius: 1000px;
375 background-color: #A09090;
378 #dialogBox > .groupbox-body {
379 -moz-appearance: none;
385 /* Default dialog dimensions */
390 .largeDialogContainer.doScroll {
400 * Font dialog menulist fixes
413 #sync-migrate-upgrade-description {
414 /* description elts need a min-width to wrap correctly - bug 630864? */
419 border: 1px solid #9C9CFF;
420 background-color: #000000;
424 animation: fadein 3000ms;
439 list-style-image: url(chrome://browser/skin/fxa/default-avatar.png);
440 margin-inline-end: 15px;
443 #fxaProfileImage.actionable {
447 #fxaProfileImage.actionable:hover {
448 box-shadow: 0px 0px 0px 1px #FFCF00;
451 #fxaProfileImage.actionable:hover:active {
452 box-shadow: 0px 0px 0px 1px #FF9F00;
456 /* Overriding the margins from the base preferences.css theme file.
457 These overrides can be simplified by fixing bug 1027174 */
477 -moz-box-align: start;
481 visibility: collapse;
483 transition: opacity 1s linear;
484 padding: 14px 8px 14px 14px;
488 #syncStatusMessage[message-type] {
493 #syncStatusMessage[message-type="verify-success"] {
494 background-color: #008484;
497 #syncStatusMessage[message-type="verify-error"] {
498 background-color: #FF0000;
501 #syncStatusMessage[message-type="migration"] {
502 background-color: #FF9F00;
505 #syncStatusMessageWrapper {
510 #syncStatusMessageTitle, #syncStatusMessageDescription {
514 #syncStatusMessage[message-type="migration"] #syncStatusMessageTitle {
518 #syncStatusMessageTitle {
519 font-weight: bold !important;
525 #syncStatusMessageDescription {
528 margin: 0 !important;
531 #syncStatusMessageClose {
535 #fxaSyncEngines > vbox:first-child {
539 #fxaSyncComputerName {
540 margin-inline-start: 0px;
548 #fxaLoginRejectedWarning {
549 list-style-image: url("chrome://browser/skin/warning.svg");
550 margin: 4px 8px 0px 0px;
558 .fxaSyncIllustration {
562 #syncOptions caption {
566 #fxaSyncComputerName {
571 margin-bottom: 20px !important;
575 border-bottom: 1px solid var(--in-content-header-border-color);
579 border: 1px solid #A09090;
581 padding: 14px 20px 14px 14px;
584 #signedOutAccountBoxTitle {
588 .fxaAccountBoxButtons {
589 margin-bottom: 0 !important;
593 .fxaAccountBoxButtons > * {
597 .fxaAccountBoxButtons > button {
605 .fxaAccountBoxButtons > button:first-child {
606 margin-right: 14px !important;
609 .fxaSyncIllustration {
611 list-style-image: url(chrome://browser/skin/fxa/sync-illustration.png)
617 word-break: break-all;
621 list-style-image: url(chrome://browser/skin/fxa/logo.png);
623 margin-inline-end: 14px;
630 #fxaLoginRejectedWarning {
631 list-style-image: url(chrome://browser/skin/warning.svg);
632 filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
633 margin: 4px 8px 0px 0px;
637 margin-bottom: 27.5px;
650 @media (min-resolution: 1.1dppx) {
651 .fxaSyncIllustration {
652 list-style-image: url(chrome://browser/skin/fxa/sync-illustration@2x.png)
655 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
658 list-style-image: url(chrome://browser/skin/fxa/default-avatar@2x.png);
662 /* === END shared/incontentprefs/preferences.inc.css === */
668 -moz-margin-start: 10px;
671 @media (min-resolution: 2dppx) {
672 checkbox:hover::before,
673 checkbox[checked]::before {
676 checkbox[checked]::before {