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) {
168 justify-content: space-between;
171 .header[hidden=true] {
188 border-collapse: collapse;
191 #startupTable > tr > td {
192 padding: 0; /* remove the padding from html.css */
195 #startupTable > tr:not(:first-child) > td {
196 padding-top: 0.5em; /* add a spacing between the rows */
199 #startupTable > tr > .label-cell {
201 width: 0; /* make the column as small as possible */
204 #startupTable > tr > .label-cell > label {
208 #startupTable > tr > .content-cell > menulist,
209 #startupTable > tr > .content-cell > textbox {
210 width: calc(100% - 8px);
215 #startupTable > tr > .homepage-buttons {
220 #startupTable > tr > .homepage-buttons > .content-cell-item {
226 margin-inline-end: 8px !important;
238 #playDRMContentLink {
239 /* Line up with the buttons in the other grid bits: */
240 margin-left: 4px !important;
241 margin-right: 4px !important;
244 #notificationsPolicyLearnMore {
245 margin-inline-start: 1.5em !important;
248 #defaultFontSizeLabel {
249 /* !important needed to override common !important rule */
250 margin-inline-start: 4px !important;
253 /* Applications Pane Styles */
255 #applicationsContent {
260 margin-inline-start: 0;
267 #handlersView > richlistitem {
268 min-height: 36px !important;
272 margin-inline-start: 10px !important;
273 margin-inline-end: 9px !important;
277 margin-inline-start: 11px !important;
278 margin-inline-end: 8px !important;
285 .actionsMenu > menupopup > menuitem {
286 padding-inline-start: 10px !important;
289 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
290 margin-inline-end: 8px !important;
295 #trackingProtectionPBMLearnMore,
296 #trackingProtectionLearnMore,
297 #browserContainersLearnMore {
298 margin-inline-start: 1.5em !important;
303 .doNotTrackLearnMore {
304 margin-inline-start: calc(1em + 30px);
309 .doNotTrackLearnMore > label {
310 font-size: 1em !important;
314 /* Collapse the non-active vboxes in decks to use only the height the
316 #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
317 #historyPane:not([selectedIndex="2"]) > #historyCustomPane,
318 #weavePrefsDeck:not([selectedIndex="1"]) > #hasAccount,
319 #weavePrefsDeck:not([selectedIndex="2"]) > #needsUpdate,
320 #weavePrefsDeck:not([selectedIndex="3"]) > #noFxaAccount,
321 #weavePrefsDeck:not([selectedIndex="4"]) > #hasFxaAccount,
322 #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
323 #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
324 visibility: collapse;
327 /* XXX This style is for bug 740213 and should be removed once that
328 bug has a solution. */
329 description > html|a {
334 /* Overriding the margins from the base preferences.css theme file.
335 These overrides can be simplified by fixing bug 1027174 */
339 #weavePrefsDeck > vbox > label,
340 #weavePrefsDeck > vbox > groupbox,
341 #weavePrefsDeck > vbox > description,
342 #weavePrefsDeck > vbox > #pairDevice > label,
343 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
344 #weavePrefsDeck > #hasFxaAccount > vbox > label,
345 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
346 /* no margin-inline-start for elements at the begin of a line */
347 margin-inline-start: 0;
351 padding-bottom: 0; /* no padding needed in inContent prefs */
355 /* margin-inline-end: 4px; / add the 4px end-margin of other elements */
360 #crashReporterLearnMore {
361 /* provide some margin between the links and the label text */
362 /* !important is needed to override the rules defined in common.css */
363 margin-inline-start: 20px !important;
364 /* center the links */
370 /* !important needed to override margin-inline-start:0 !important; rule
371 define in common.css for labels - but not in LCARStrek*/
372 margin-inline-start: 33px /*!important*/;
380 margin-inline-start: 0;
384 -moz-user-focus: normal;
392 background-color: rgba(0,0,0,0.75);
397 background-color: #000000;
398 background-clip: content-box;
400 /* font-size: 14px; */
401 border: 1px solid #9C9CFF;
409 #dialogBox[resizable="true"] {
416 #dialogBox > .groupbox-title {
417 margin-inline-start: 0;
418 margin-inline-end: 0;
420 background-color: #F1F1F1; */
425 -moz-user-select: none;
429 background-color: transparent !important;
438 #dialogBox > .groupbox-title > caption {
440 border-radius: 1000px;
441 background-color: #A09090;
444 #dialogBox > .groupbox-body {
445 -moz-appearance: none;
451 /* Default dialog dimensions */
455 .largeDialogContainer.doScroll {
465 * Font dialog menulist fixes
482 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
483 margin-inline-end: 15px;
484 image-rendering: -moz-crisp-edges;
487 #fxaLoginStatus[hasName] #fxaProfileImage {
491 #fxaProfileImage.actionable {
495 #fxaProfileImage.actionable:hover {
496 box-shadow: 0px 0px 0px 1px #FFCF00;
499 #fxaProfileImage.actionable:hover:active {
500 box-shadow: 0px 0px 0px 1px #FF9F00;
504 /* Overriding the margins from the base preferences.css theme file.
505 These overrides can be simplified by fixing bug 1027174 */
525 -moz-box-align: start;
528 #fxaSyncEngines > vbox:first-child {
532 #fxaSyncComputerName {
533 margin-inline-start: 0px;
541 #fxaLoginRejectedWarning {
542 list-style-image: url("chrome://browser/skin/warning.svg");
543 margin: 4px 8px 0px 0px;
551 .fxaSyncIllustration {
555 #syncOptions caption {
559 #fxaSyncComputerName {
564 margin-bottom: 20px !important;
568 border-bottom: 1px solid var(--in-content-header-border-color);
572 border: 1px solid #A09090;
574 padding: 14px 20px 14px 14px;
577 #signedOutAccountBoxTitle {
581 .fxaAccountBoxButtons {
582 margin-bottom: 0 !important;
588 .fxaAccountBoxButtons > * {
592 .fxaAccountBoxButtons > button {
600 .fxaAccountBoxButtons > button:first-child {
601 margin-right: 14px !important;
604 .fxaSyncIllustration {
606 list-style-image: url(chrome://browser/skin/fxa/sync-illustration.png)
609 #fxaLoginStatus[hasName] #fxaEmailAddress1 {
616 word-break: break-all;
620 list-style-image: url(chrome://browser/skin/fxa/logo.png);
622 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;
641 background-image: url("chrome://browser/skin/fxa/android.png");
645 background-image: url("chrome://browser/skin/fxa/ios.png");
654 background-repeat: no-repeat;
655 background-size: 24px 28px;
663 @media (min-resolution: 1.1dppx) {
665 background-image: url("chrome://browser/skin/fxa/android@2x.png");
668 background-image: url("chrome://browser/skin/fxa/ios@2x.png");
670 .fxaSyncIllustration {
671 list-style-image: url(chrome://browser/skin/fxa/sync-illustration@2x.png)
674 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
678 /* === END shared/incontentprefs/preferences.inc.css === */
684 margin-inline-start: 10px;
687 @media (min-resolution: 2dppx) {
688 checkbox:hover::before,
689 checkbox[checked]::before {
692 checkbox[checked]::before {