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 {
66 margin-inline-start: 10px;
77 #categories > scrollbox {
78 overflow-x: hidden !important;
82 * We want the last category to always have non-0 getBoundingClientRect().bottom
83 * so we can use the value to figure out the max-height of the list in
84 * preferences.js, so use collapse instead of display: none; if it's hidden
86 #categories > .category[hidden="true"] {
91 #category-general > .category-icon {
92 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general");
95 #category-general:hover > .category-icon,
96 #category-general[selected] > .category-icon {
97 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-active");
100 #category-application > .category-icon {
101 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
104 #category-application:hover > .category-icon,
105 #category-application[selected] > .category-icon {
106 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
109 #category-privacy > .category-icon {
110 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
113 #category-privacy:hover > .category-icon,
114 #category-privacy[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 #category-search-results > .category-icon {
137 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#searchResults");
140 #category-search-results > .category-icon {
141 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#searchResults-active");
144 @media (max-width: 800px) {
149 font-size: 0 !important;
159 justify-content: space-between;
162 .header[hidden=true] {
179 border-collapse: collapse;
182 #startupTable > tr > td {
183 padding: 0; /* remove the padding from html.css */
186 #startupTable > tr:not(:first-child) > td {
187 padding-top: 0.5em; /* add a spacing between the rows */
190 #startupTable > tr > .label-cell {
192 width: 0; /* make the column as small as possible */
195 #startupTable > tr > .label-cell > label {
199 #startupTable > tr > .content-cell > menulist,
200 #startupTable > tr > .content-cell > textbox {
201 width: calc(100% - 8px);
206 #startupTable > tr > .homepage-buttons {
211 #startupTable > tr > .homepage-buttons > .content-cell-item {
217 margin-inline-end: 8px !important;
228 #browserHomePage:-moz-locale-dir(rtl) input {
229 unicode-bidi: plaintext;
233 #defaultFontSizeLabel {
234 /* !important needed to override common !important rule */
235 margin-inline-start: 4px !important;
238 /* Applications Pane Styles */
240 #applicationsContent {
245 margin-inline-start: 0;
252 #handlersView > richlistitem {
253 min-height: 36px !important;
257 margin-inline-start: 10px !important;
258 margin-inline-end: 9px !important;
262 margin-inline-start: 11px !important;
263 margin-inline-end: 8px !important;
270 .actionsMenu > menupopup > menuitem {
271 padding-inline-start: 10px !important;
274 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
275 margin-inline-end: 8px !important;
280 .doNotTrackLearnMore {
281 margin-inline-start: calc(1em + 30px);
286 .doNotTrackLearnMore > label {
287 font-size: 1em !important;
291 /* Collapse the non-active vboxes in decks to use only the height the
293 #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
294 #historyPane:not([selectedIndex="2"]) > #historyCustomPane,
295 #weavePrefsDeck:not([selectedIndex="1"]) > #hasFxaAccount,
296 #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
297 #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
298 visibility: collapse;
301 /* XXX This style is for bug 740213 and should be removed once that
302 bug has a solution. */
303 description > html|a {
311 #weavePrefsDeck > vbox > label,
312 #weavePrefsDeck > vbox > groupbox,
313 #weavePrefsDeck > vbox > description,
314 #weavePrefsDeck > vbox > #pairDevice > label,
315 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
316 #weavePrefsDeck > #hasFxaAccount > vbox > label,
317 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
318 /* no margin-inline-start for elements at the begin of a line */
319 margin-inline-start: 0;
323 padding-bottom: 0; /* no padding needed in inContent prefs */
327 /* margin-inline-end: 4px; / add the 4px end-margin of other elements */
331 /* !important needed to override margin-inline-start:0 !important; rule
332 define in common.css for labels - but not in LCARStrek*/
333 margin-inline-start: 33px /*!important*/;
341 margin-inline-start: 0;
345 -moz-user-focus: normal;
353 background-color: rgba(0,0,0,0.75);
358 background-color: #000000;
359 background-clip: content-box;
361 /* font-size: 14px; */
362 border: 1px solid #9C9CFF;
370 #dialogBox[resizable="true"] {
377 #dialogBox > .groupbox-title {
378 margin-inline-start: 0;
379 margin-inline-end: 0;
381 background-color: #F1F1F1; */
386 -moz-user-select: none;
390 background-color: transparent !important;
399 #dialogBox > .groupbox-title > caption {
401 border-radius: 1000px;
402 background-color: #A09090;
405 #dialogBox > .groupbox-body {
406 -moz-appearance: none;
412 /* Default dialog dimensions */
416 .largeDialogContainer.doScroll {
426 * Font dialog menulist fixes
443 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
444 margin-inline-end: 15px;
445 image-rendering: -moz-crisp-edges;
448 #fxaLoginStatus[hasName] #fxaProfileImage {
452 #fxaProfileImage.actionable {
456 #fxaProfileImage.actionable:hover {
457 box-shadow: 0px 0px 0px 1px #FFCF00;
460 #fxaProfileImage.actionable:hover:active {
461 box-shadow: 0px 0px 0px 1px #FF9F00;
465 /* Overriding the margins from the base preferences.css theme file.
466 These overrides can be simplified by fixing bug 1027174 */
486 -moz-box-align: start;
489 #fxaSyncEngines > vbox:first-child {
493 #fxaSyncComputerName {
494 margin-inline-start: 0px;
502 #fxaLoginRejectedWarning {
503 list-style-image: url("chrome://browser/skin/warning.svg");
504 margin: 4px 8px 0px 0px;
512 #verifiedManage:visited {
513 color: var(--in-content-link-color);
516 .fxaSyncIllustration {
520 #syncOptions caption {
524 #fxaSyncComputerName {
529 margin-bottom: 20px !important;
533 border-bottom: 1px solid var(--in-content-header-border-color);
537 border: 1px solid #A09090;
539 padding: 14px 20px 14px 14px;
542 #signedOutAccountBoxTitle {
546 .fxaAccountBoxButtons {
547 margin-bottom: 0 !important;
553 .fxaAccountBoxButtons > * {
557 .fxaAccountBoxButtons > button {
565 .fxaAccountBoxButtons > button:first-child {
566 margin-inline-end: 14px !important;
569 .fxaSyncIllustration {
573 #fxaLoginStatus[hasName] #fxaEmailAddress1 {
580 word-break: break-all;
584 list-style-image: url(chrome://browser/skin/fxa/logo.png);
586 margin-inline-end: 14px;
594 #fxaLoginRejectedWarning {
595 list-style-image: url(chrome://browser/skin/warning.svg);
596 filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
597 margin: 4px 8px 0px 0px;
601 margin-bottom: 27.5px;
605 background-image: url("chrome://browser/skin/fxa/android.png");
609 background-image: url("chrome://browser/skin/fxa/ios.png");
618 background-repeat: no-repeat;
619 background-size: 24px 28px;
627 @media (min-resolution: 1.1dppx) {
629 background-image: url("chrome://browser/skin/fxa/android@2x.png");
632 background-image: url("chrome://browser/skin/fxa/ios@2x.png");
635 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
639 #updateDeck > hbox > label {
640 margin-inline-end: 5px ! important;
646 margin-inline-end: 3px;
647 list-style-image: url("chrome://global/skin/icons/loading.png");
650 @media (min-resolution: 1.1dppx) {
652 list-style-image: url("chrome://global/skin/icons/loading@2x.png");
659 /* Needs to have enough gap from the bottom to not
660 get behind the status panel (bug 1357841). */
665 background-position: 5px;
666 padding-inline-start: 25px;
668 background-color: var(--in-content-category-background);
670 padding-inline-end: 10px;
671 border: 3px solid black;
672 border-radius: 0 300px 300px 0;
675 .help-button:-moz-locale-dir(rtl) {
678 background-position: right 15px top 0;
682 .help-button:visited {
683 color: var(--in-content-category-text);
684 text-decoration: none;
688 background-image: url("chrome://global/skin/in-content/help-glyph.svg#help-inverted");
689 color: var(--in-content-category-text-selected);
690 background-color: var(--in-content-category-background-hover);
691 border-color: var(--in-content-category-background-hover);
694 /* === END shared/incontentprefs/preferences.inc.css === */
700 margin-inline-start: 10px;
703 @media (min-resolution: 2dppx) {
704 checkbox:hover::before,
705 checkbox[checked]::before {
708 checkbox[checked]::before {