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 border-radius: 1em 0 0 0;
25 background-color: #000000;
29 padding: 10px 20px 0px;
30 border-radius: 1em 0 0 0;
31 background-color: #000000;
34 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
40 -moz-user-select: text;
45 /* override the * rule */
46 -moz-user-select: none;
49 #engineList treechildren::-moz-tree-image(engineShown, checked),
50 #blocklistsTree treechildren::-moz-tree-image(selectionCol, checked) {
51 list-style-image: url("chrome://global/skin/in-content/check.svg#check");
56 #engineList treechildren::-moz-tree-image(engineShown, checked, selected),
57 #blocklistsTree treechildren::-moz-tree-image(selectionCol, checked, selected) {
58 list-style-image: url("chrome://global/skin/in-content/check.svg#check-inverted");
61 #engineList treechildren::-moz-tree-row,
62 #blocklistsTree treechildren::-moz-tree-row {
71 margin-inline-start: 10px;
86 #categories > scrollbox {
87 overflow-x: hidden !important;
91 * We want the last category to always have non-0 getBoundingClientRect().bottom
92 * so we can use the value to figure out the max-height of the list in
93 * preferences.js, so use collapse instead of display: none; if it's hidden
95 #categories > .category[hidden="true"] {
100 #category-general > .category-icon {
101 list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#general");
104 #category-general:hover > .category-icon,
105 #category-general[selected] > .category-icon {
106 list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#general-active");
109 #category-search > .category-icon {
110 list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#search");
113 #category-search:hover > .category-icon,
114 #category-search[selected] > .category-icon {
115 list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#search-active");
118 #category-privacy > .category-icon {
119 list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#security");
122 #category-privacy:hover > .category-icon,
123 #category-privacy[selected] > .category-icon {
124 list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#security-active");
127 #category-sync > .category-icon {
128 list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#sync");
131 #category-sync:hover > .category-icon,
132 #category-sync[selected] > .category-icon {
133 list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#sync-active");
136 @media (max-width: 800px) {
141 font-size: 0 !important;
151 justify-content: space-between;
154 .header[hidden=true] {
166 border-collapse: collapse;
169 #startupTable > tr > td {
170 padding: 0; /* remove the padding from html.css */
173 #startupTable > tr:not(:first-child) > td {
174 padding-top: 0.5em; /* add a spacing between the rows */
177 #startupTable > tr > .label-cell {
179 width: 0; /* make the column as small as possible */
182 #startupTable > tr > .label-cell > label {
186 #startupTable > tr > .content-cell > menulist,
187 #startupTable > tr > .content-cell > textbox {
188 width: calc(100% - 8px);
193 #startupTable > tr > .homepage-buttons {
198 #startupTable > tr > .homepage-buttons > .content-cell-item {
204 margin-inline-end: 8px !important;
215 #browserHomePage:-moz-locale-dir(rtl) input {
216 unicode-bidi: plaintext;
220 #defaultFontSizeLabel {
221 /* !important needed to override common !important rule */
222 margin-inline-start: 4px !important;
225 /* Applications Pane Styles */
228 margin-inline-start: 0;
235 #handlersView > richlistitem {
236 min-height: 36px !important;
240 margin-inline-start: 10px !important;
241 margin-inline-end: 9px !important;
245 margin-inline-start: 11px !important;
246 margin-inline-end: 8px !important;
253 .actionsMenu > menupopup > menuitem {
254 padding-inline-start: 10px !important;
257 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
258 margin-inline-end: 8px !important;
263 .doNotTrackLearnMore {
264 margin-inline-start: calc(1em + 30px);
269 .doNotTrackLearnMore > label {
270 font-size: 1em !important;
274 /* This learn-more link is inserted at the end of a
275 xul:description element so it should behave like normal text. */
276 #trackingProtectionLearnMore {
278 margin-inline-start: 0;
281 #trackingProtectionAdvancedSettings {
282 margin-inline-start: 15px;
285 #crashReporterGroup {
289 /* Collapse the non-active vboxes in decks to use only the height the
291 #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
292 #historyPane:not([selectedIndex="2"]) > #historyCustomPane,
293 #weavePrefsDeck:not([selectedIndex="1"]) > #hasFxaAccount,
294 #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
295 #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
296 visibility: collapse;
299 /* XXX This style is for bug 740213 and should be removed once that
300 bug has a solution. */
301 description > html|a {
309 #weavePrefsDeck > vbox > label,
310 #weavePrefsDeck > vbox > groupbox,
311 #weavePrefsDeck > vbox > description,
312 #weavePrefsDeck > vbox > #pairDevice > label,
313 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
314 #weavePrefsDeck > #hasFxaAccount > vbox > label,
315 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
316 /* no margin-inline-start for elements at the begin of a line */
317 margin-inline-start: 0;
321 padding-bottom: 0; /* no padding needed in inContent prefs */
325 /* margin-inline-end: 4px; / add the 4px end-margin of other elements */
329 /* !important needed to override margin-inline-start:0 !important; rule
330 define in common.css for labels - but not in LCARStrek*/
331 margin-inline-start: 33px /*!important*/;
339 margin-inline-start: 0;
343 -moz-user-focus: normal;
354 .dialogOverlay[topmost="true"] {
355 background-color: rgba(0,0,0,0.75);
359 background-color: #000000;
360 background-clip: content-box;
362 /* font-size: 14px; */
363 border: 1px solid #9C9CFF;
371 .dialogBox[resizable="true"] {
378 .dialogBox > .groupbox-title {
379 margin-inline-start: 0;
380 margin-inline-end: 0;
382 background-color: #F1F1F1; */
387 -moz-user-select: none;
391 background-color: transparent !important;
400 .dialogBox > .groupbox-title > caption {
402 border-radius: 1000px;
403 background-color: #A09090;
406 .dialogBox > .groupbox-body {
407 -moz-appearance: none;
413 /* Default dialog dimensions */
417 .largeDialogContainer.doScroll {
427 * Font dialog menulist fixes
444 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
445 margin-inline-end: 15px;
446 image-rendering: -moz-crisp-edges;
449 #fxaLoginStatus[hasName] #fxaProfileImage {
453 #fxaProfileImage.actionable {
457 #fxaProfileImage.actionable:hover {
458 box-shadow: 0px 0px 0px 1px #FFCF00;
461 #fxaProfileImage.actionable:hover:active {
462 box-shadow: 0px 0px 0px 1px #FF9F00;
466 /* Overriding the margins from the base preferences.css theme file.
467 These overrides can be simplified by fixing bug 1027174 */
487 -moz-box-align: start;
490 #fxaSyncEngines > vbox:first-child {
494 #fxaSyncComputerName {
495 margin-inline-start: 0px;
503 #fxaLoginRejectedWarning {
504 list-style-image: url("chrome://browser/skin/warning.svg");
505 margin: 4px 8px 0px 0px;
513 #verifiedManage:visited {
514 color: var(--in-content-link-color);
517 .fxaSyncIllustration {
520 -moz-context-properties: fill;
524 #syncOptions caption {
528 #fxaSyncComputerName {
533 margin-bottom: 20px !important;
537 border-bottom: 1px solid var(--in-content-header-border-color);
541 border: 1px solid #A09090;
543 padding: 14px 20px 14px 14px;
546 #signedOutAccountBoxTitle {
550 .fxaAccountBoxButtons {
551 margin-bottom: 0 !important;
557 .fxaAccountBoxButtons > * {
561 .fxaAccountBoxButtons > button {
569 .fxaAccountBoxButtons > button:first-child {
570 margin-inline-end: 14px !important;
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 .help-button:-moz-locale-dir(rtl) {
697 background-position: right 15px top 0;
702 pointer-events: none;
705 background-color: #000000;
708 .search-tooltip::before {
711 border: 6px solid transparent;
712 border-top-color: #FFCF00;
714 offset-inline-start: calc(50% - 6px);
717 .search-tooltip-parent {
721 /* === END shared/incontentprefs/preferences.inc.css === */
727 margin-inline-start: 10px;
730 @media (min-resolution: 2dppx) {
731 checkbox:hover::before,
732 checkbox[checked]::before {
735 checkbox[checked]::before {