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;
44 #engineList treechildren::-moz-tree-image(engineShown, checked),
45 #blocklistsTree treechildren::-moz-tree-image(selectionCol, checked) {
46 list-style-image: url("chrome://global/skin/in-content/check.svg#check");
51 #engineList treechildren::-moz-tree-image(engineShown, checked, selected),
52 #blocklistsTree treechildren::-moz-tree-image(selectionCol, checked, selected) {
53 list-style-image: url("chrome://global/skin/in-content/check.svg#check-inverted");
56 #engineList treechildren::-moz-tree-row,
57 #blocklistsTree treechildren::-moz-tree-row {
71 #categories > scrollbox {
72 overflow-x: hidden !important;
76 * We want the last category to always have non-0 getBoundingClientRect().bottom
77 * so we can use the value to figure out the max-height of the list in
78 * preferences.js, so use collapse instead of display: none; if it's hidden
80 #categories > .category[hidden="true"] {
85 #category-general > .category-icon {
86 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general");
89 #category-general:hover > .category-icon,
90 #category-general[selected] > .category-icon {
91 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-active");
94 #category-search > .category-icon {
95 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search");
98 #category-search:hover > .category-icon,
99 #category-search[selected] > .category-icon {
100 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search-active");
103 #category-content > .category-icon {
104 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
107 #category-content:hover > .category-icon,
108 #category-content[selected] > .category-icon {
109 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
112 #category-application > .category-icon {
113 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications");
116 #category-application:hover > .category-icon,
117 #category-application[selected] > .category-icon {
118 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications-active");
121 #category-privacy > .category-icon {
122 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy");
125 #category-privacy:hover > .category-icon,
126 #category-privacy[selected] > .category-icon {
127 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy-active");
130 #category-security > .category-icon {
131 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
134 #category-security:hover > .category-icon,
135 #category-security[selected] > .category-icon {
136 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-active");
139 #category-sync > .category-icon {
140 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
143 #category-sync:hover > .category-icon,
144 #category-sync[selected] > .category-icon {
145 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-active");
148 #category-advanced > .category-icon {
149 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
152 #category-advanced:hover > .category-icon,
153 #category-advanced[selected] > .category-icon {
154 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-active");
157 @media (max-width: 800px) {
178 border-collapse: collapse;
181 #startupTable > tr > td {
182 padding: 0; /* remove the padding from html.css */
185 #startupTable > tr:not(:first-child) > td {
186 padding-top: 0.5em; /* add a spacing between the rows */
189 #startupTable > tr > .label-cell {
191 width: 0; /* make the column as small as possible */
194 #startupTable > tr > .label-cell > label {
198 #startupTable > tr > .content-cell > menulist,
199 #startupTable > tr > .content-cell > textbox {
200 width: calc(100% - 8px);
205 #startupTable > tr > .homepage-buttons {
210 #startupTable > tr > .homepage-buttons > .content-cell-item {
216 -moz-margin-end: 8px !important;
228 #playDRMContentLink {
229 /* Line up with the buttons in the other grid bits: */
230 margin-left: 4px !important;
231 margin-right: 4px !important;
234 #notificationsPolicyLearnMore {
235 -moz-margin-start: 1.5em !important;
238 #defaultFontSizeLabel {
239 /* !important needed to override common !important rule */
240 -moz-margin-start: 4px !important;
243 /* Applications Pane Styles */
245 #applicationsContent {
250 -moz-margin-start: 0;
257 #handlersView > richlistitem {
258 min-height: 36px !important;
262 -moz-margin-start: 10px !important;
263 -moz-margin-end: 9px !important;
267 -moz-margin-start: 11px !important;
268 -moz-margin-end: 8px !important;
275 .actionsMenu > menupopup > menuitem {
276 -moz-padding-start: 10px !important;
279 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
280 -moz-margin-end: 8px !important;
285 .doNotTrackLearnMore,
286 #trackingProtectionPBMLearnMore,
287 #trackingProtectionLearnMore {
288 -moz-margin-start: 1.5em !important;
293 /* Collapse the non-active vboxes in decks to use only the height the
295 #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
296 #historyPane:not([selectedIndex="2"]) > #historyCustomPane,
297 #weavePrefsDeck:not([selectedIndex="1"]) > #hasAccount,
298 #weavePrefsDeck:not([selectedIndex="2"]) > #needsUpdate,
299 #weavePrefsDeck:not([selectedIndex="3"]) > #noFxaAccount,
300 #weavePrefsDeck:not([selectedIndex="4"]) > #hasFxaAccount,
301 #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
302 #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
303 visibility: collapse;
306 /* XXX This style is for bug 740213 and should be removed once that
307 bug has a solution. */
308 description > html|a {
313 /* Overriding the margins from the base preferences.css theme file.
314 These overrides can be simplified by fixing bug 1027174 */
318 #weavePrefsDeck > vbox > label,
319 #weavePrefsDeck > vbox > groupbox,
320 #weavePrefsDeck > vbox > description,
321 #weavePrefsDeck > vbox > #pairDevice > label,
322 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
323 #weavePrefsDeck > #hasFxaAccount > vbox > label,
324 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
325 /* no margin-start for elements at the begin of a line */
326 -moz-margin-start: 0;
330 padding-bottom: 0; /* no padding needed in inContent prefs */
334 /* -moz-margin-end: 4px; / add the 4px end-margin of other elements */
339 #crashReporterLearnMore {
340 /* provide some margin between the links and the label text */
341 /* !important is needed to override the rules defined in common.css */
342 -moz-margin-start: 20px !important;
343 /* center the links */
349 /* !important needed to override -moz-margin-start:0 !important; rule
350 define in common.css for labels - but not in LCARStrek*/
351 -moz-margin-start: 33px /*!important*/;
359 -moz-margin-start: 0;
363 -moz-user-focus: normal;
371 background-color: rgba(0,0,0,0.75);
376 background-color: #000000;
377 background-clip: content-box;
379 /* font-size: 14px; */
380 border: 1px solid #9C9CFF;
388 #dialogBox[resizable="true"] {
395 #dialogBox > .groupbox-title {
396 -moz-margin-start: 0;
399 background-color: #F1F1F1; */
404 -moz-user-select: none;
408 background-color: transparent !important;
417 #dialogBox > .groupbox-title > caption {
419 border-radius: 1000px;
420 background-color: #A09090;
423 #dialogBox > .groupbox-body {
424 -moz-appearance: none;
430 /* Default dialog dimensions */
435 .largeDialogContainer.doScroll {
445 * Font dialog menulist fixes
462 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
463 margin-inline-end: 15px;
464 image-rendering: -moz-crisp-edges;
467 #fxaLoginStatus[hasName] #fxaProfileImage {
471 #fxaProfileImage.actionable {
475 #fxaProfileImage.actionable:hover {
476 box-shadow: 0px 0px 0px 1px #FFCF00;
479 #fxaProfileImage.actionable:hover:active {
480 box-shadow: 0px 0px 0px 1px #FF9F00;
484 /* Overriding the margins from the base preferences.css theme file.
485 These overrides can be simplified by fixing bug 1027174 */
505 -moz-box-align: start;
509 visibility: collapse;
511 transition: opacity 1s linear;
512 padding: 14px 8px 14px 14px;
516 #syncStatusMessage[message-type] {
521 #syncStatusMessage[message-type="verify-success"] {
522 background-color: #008484;
525 #syncStatusMessage[message-type="verify-error"] {
526 background-color: #FF0000;
529 #syncStatusMessage[message-type="migration"] {
530 background-color: #FF9F00;
533 #syncStatusMessageWrapper {
538 #syncStatusMessageTitle, #syncStatusMessageDescription {
542 #syncStatusMessage[message-type="migration"] #syncStatusMessageTitle {
546 #syncStatusMessageTitle {
547 font-weight: bold !important;
553 #syncStatusMessageDescription {
556 margin: 0 !important;
559 #syncStatusMessageClose {
564 visibility: collapse;
566 transition: opacity 1s linear;
567 padding: 14px 8px 14px 14px;
571 #syncStatusMessage[message-type] {
576 #syncStatusMessage[message-type="verify-success"] {
577 background-color: #008484;
580 #syncStatusMessage[message-type="verify-error"] {
581 background-color: #FF0000;
584 #syncStatusMessage[message-type="migration"] {
585 background-color: #FFCF00;
588 #syncStatusMessageWrapper {
593 #syncStatusMessageTitle, #syncStatusMessageDescription {
597 #syncStatusMessage[message-type="migration"] #syncStatusMessageTitle {
601 #syncStatusMessageTitle {
602 font-weight: bold !important;
608 #syncStatusMessageDescription {
611 margin: 0 !important;
614 #syncStatusMessageClose {
618 #fxaSyncEngines > vbox:first-child {
622 #fxaSyncComputerName {
623 margin-inline-start: 0px;
631 #fxaLoginRejectedWarning {
632 list-style-image: url("chrome://browser/skin/warning.svg");
633 margin: 4px 8px 0px 0px;
641 .fxaSyncIllustration {
645 #syncOptions caption {
649 #fxaSyncComputerName {
654 margin-bottom: 20px !important;
658 border-bottom: 1px solid var(--in-content-header-border-color);
662 border: 1px solid #A09090;
664 padding: 14px 20px 14px 14px;
667 #signedOutAccountBoxTitle {
671 .fxaAccountBoxButtons {
672 margin-bottom: 0 !important;
676 .fxaAccountBoxButtons > * {
680 .fxaAccountBoxButtons > button {
688 .fxaAccountBoxButtons > button:first-child {
689 margin-right: 14px !important;
692 .fxaSyncIllustration {
694 list-style-image: url(chrome://browser/skin/fxa/sync-illustration.png)
697 #fxaLoginStatus[hasName] #fxaEmailAddress1 {
704 word-break: break-all;
708 list-style-image: url(chrome://browser/skin/fxa/logo.png);
710 margin-inline-end: 14px;
718 #fxaLoginRejectedWarning {
719 list-style-image: url(chrome://browser/skin/warning.svg);
720 filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
721 margin: 4px 8px 0px 0px;
725 margin-bottom: 27.5px;
729 background-image: url("chrome://browser/skin/fxa/android.png");
733 background-image: url("chrome://browser/skin/fxa/ios.png");
742 background-repeat: no-repeat;
743 background-size: 24px 28px;
751 @media (min-resolution: 1.1dppx) {
753 background-image: url("chrome://browser/skin/fxa/android@2x.png");
756 background-image: url("chrome://browser/skin/fxa/ios@2x.png");
758 .fxaSyncIllustration {
759 list-style-image: url(chrome://browser/skin/fxa/sync-illustration@2x.png)
762 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
766 /* === END shared/incontentprefs/preferences.inc.css === */
772 -moz-margin-start: 10px;
775 @media (min-resolution: 2dppx) {
776 checkbox:hover::before,
777 checkbox[checked]::before {
780 checkbox[checked]::before {