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;
81 #categories > scrollbox {
82 overflow-x: hidden !important;
86 * We want the last category to always have non-0 getBoundingClientRect().bottom
87 * so we can use the value to figure out the max-height of the list in
88 * preferences.js, so use collapse instead of display: none; if it's hidden
90 #categories > .category[hidden="true"] {
95 #category-general > .category-icon {
96 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general");
99 #category-general:hover > .category-icon,
100 #category-general[selected] > .category-icon {
101 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-active");
104 #category-application > .category-icon {
105 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
108 #category-application:hover > .category-icon,
109 #category-application[selected] > .category-icon {
110 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
113 #category-privacy > .category-icon {
114 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
117 #category-privacy:hover > .category-icon,
118 #category-privacy[selected] > .category-icon {
119 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-active");
122 #category-sync > .category-icon {
123 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
126 #category-sync:hover > .category-icon,
127 #category-sync[selected] > .category-icon {
128 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-active");
131 #category-advanced > .category-icon {
132 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
135 #category-advanced:hover > .category-icon,
136 #category-advanced[selected] > .category-icon {
137 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-active");
140 #category-search-results > .category-icon {
141 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#searchResults");
144 #category-search-results > .category-icon {
145 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#searchResults-active");
148 @media (max-width: 800px) {
153 font-size: 0 !important;
163 justify-content: space-between;
166 .header[hidden=true] {
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 margin-inline-end: 8px !important;
227 #browserHomePage:-moz-locale-dir(rtl) input {
228 unicode-bidi: plaintext;
232 #defaultFontSizeLabel {
233 /* !important needed to override common !important rule */
234 margin-inline-start: 4px !important;
237 /* Applications Pane Styles */
240 margin-inline-start: 0;
247 #handlersView > richlistitem {
248 min-height: 36px !important;
252 margin-inline-start: 10px !important;
253 margin-inline-end: 9px !important;
257 margin-inline-start: 11px !important;
258 margin-inline-end: 8px !important;
265 .actionsMenu > menupopup > menuitem {
266 padding-inline-start: 10px !important;
269 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
270 margin-inline-end: 8px !important;
275 .doNotTrackLearnMore {
276 margin-inline-start: calc(1em + 30px);
281 .doNotTrackLearnMore > label {
282 font-size: 1em !important;
286 /* This learn-more link is inserted at the end of a
287 xul:description element so it should behave like normal text. */
288 #trackingProtectionLearnMore {
290 margin-inline-start: 0;
293 #trackingProtectionAdvancedSettings {
294 margin-inline-start: 15px;
297 #crashReporterGroup {
301 /* Collapse the non-active vboxes in decks to use only the height the
303 #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
304 #historyPane:not([selectedIndex="2"]) > #historyCustomPane,
305 #weavePrefsDeck:not([selectedIndex="1"]) > #hasFxaAccount,
306 #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
307 #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
308 visibility: collapse;
311 /* XXX This style is for bug 740213 and should be removed once that
312 bug has a solution. */
313 description > html|a {
321 #weavePrefsDeck > vbox > label,
322 #weavePrefsDeck > vbox > groupbox,
323 #weavePrefsDeck > vbox > description,
324 #weavePrefsDeck > vbox > #pairDevice > label,
325 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
326 #weavePrefsDeck > #hasFxaAccount > vbox > label,
327 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
328 /* no margin-inline-start for elements at the begin of a line */
329 margin-inline-start: 0;
333 padding-bottom: 0; /* no padding needed in inContent prefs */
337 /* margin-inline-end: 4px; / add the 4px end-margin of other elements */
341 /* !important needed to override margin-inline-start:0 !important; rule
342 define in common.css for labels - but not in LCARStrek*/
343 margin-inline-start: 33px /*!important*/;
351 margin-inline-start: 0;
355 -moz-user-focus: normal;
363 background-color: rgba(0,0,0,0.75);
368 background-color: #000000;
369 background-clip: content-box;
371 /* font-size: 14px; */
372 border: 1px solid #9C9CFF;
380 #dialogBox[resizable="true"] {
387 #dialogBox > .groupbox-title {
388 margin-inline-start: 0;
389 margin-inline-end: 0;
391 background-color: #F1F1F1; */
396 -moz-user-select: none;
400 background-color: transparent !important;
409 #dialogBox > .groupbox-title > caption {
411 border-radius: 1000px;
412 background-color: #A09090;
415 #dialogBox > .groupbox-body {
416 -moz-appearance: none;
422 /* Default dialog dimensions */
426 .largeDialogContainer.doScroll {
436 * Font dialog menulist fixes
453 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
454 margin-inline-end: 15px;
455 image-rendering: -moz-crisp-edges;
458 #fxaLoginStatus[hasName] #fxaProfileImage {
462 #fxaProfileImage.actionable {
466 #fxaProfileImage.actionable:hover {
467 box-shadow: 0px 0px 0px 1px #FFCF00;
470 #fxaProfileImage.actionable:hover:active {
471 box-shadow: 0px 0px 0px 1px #FF9F00;
475 /* Overriding the margins from the base preferences.css theme file.
476 These overrides can be simplified by fixing bug 1027174 */
496 -moz-box-align: start;
499 #fxaSyncEngines > vbox:first-child {
503 #fxaSyncComputerName {
504 margin-inline-start: 0px;
512 #fxaLoginRejectedWarning {
513 list-style-image: url("chrome://browser/skin/warning.svg");
514 margin: 4px 8px 0px 0px;
522 #verifiedManage:visited {
523 color: var(--in-content-link-color);
526 .fxaSyncIllustration {
529 -moz-context-properties: fill;
533 #syncOptions caption {
537 #fxaSyncComputerName {
542 margin-bottom: 20px !important;
546 border-bottom: 1px solid var(--in-content-header-border-color);
550 border: 1px solid #A09090;
552 padding: 14px 20px 14px 14px;
555 #signedOutAccountBoxTitle {
559 .fxaAccountBoxButtons {
560 margin-bottom: 0 !important;
566 .fxaAccountBoxButtons > * {
570 .fxaAccountBoxButtons > button {
578 .fxaAccountBoxButtons > button:first-child {
579 margin-inline-end: 14px !important;
582 #fxaLoginStatus[hasName] #fxaEmailAddress1 {
589 word-break: break-all;
593 list-style-image: url(chrome://browser/skin/fxa/logo.png);
595 margin-inline-end: 14px;
603 #fxaLoginRejectedWarning {
604 list-style-image: url(chrome://browser/skin/warning.svg);
605 filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
606 margin: 4px 8px 0px 0px;
610 margin-bottom: 27.5px;
614 background-image: url("chrome://browser/skin/fxa/android.png");
618 background-image: url("chrome://browser/skin/fxa/ios.png");
627 background-repeat: no-repeat;
628 background-size: 24px 28px;
636 @media (min-resolution: 1.1dppx) {
638 background-image: url("chrome://browser/skin/fxa/android@2x.png");
641 background-image: url("chrome://browser/skin/fxa/ios@2x.png");
644 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
648 #updateDeck > hbox > label {
649 margin-inline-end: 5px ! important;
655 margin-inline-end: 3px;
656 list-style-image: url("chrome://global/skin/icons/loading.png");
659 @media (min-resolution: 1.1dppx) {
661 list-style-image: url("chrome://global/skin/icons/loading@2x.png");
668 /* Needs to have enough gap from the bottom to not
669 get behind the status panel (bug 1357841). */
674 background-position: 5px;
675 padding-inline-start: 25px;
677 background-color: var(--in-content-category-background);
679 padding-inline-end: 10px;
680 border: 3px solid black;
681 border-radius: 0 300px 300px 0;
684 .help-button:-moz-locale-dir(rtl) {
687 background-position: right 15px top 0;
691 .help-button:visited {
692 color: var(--in-content-category-text);
693 text-decoration: none;
697 background-image: url("chrome://global/skin/in-content/help-glyph.svg#help-inverted");
698 color: var(--in-content-category-text-selected);
699 background-color: var(--in-content-category-background-hover);
700 border-color: var(--in-content-category-background-hover);
706 /* Needs to have enough gap from the bottom to not
707 get behind the status panel (bug 1357841). */
712 background-position: 15px;
713 padding-inline-start: 35px;
717 .help-button:-moz-locale-dir(rtl) {
720 background-position: right 15px top 0;
724 .help-button:visited {
725 color: var(--in-content-category-text);
726 text-decoration: none;
729 /* === END shared/incontentprefs/preferences.inc.css === */
735 margin-inline-start: 10px;
738 @media (min-resolution: 2dppx) {
739 checkbox:hover::before,
740 checkbox[checked]::before {
743 checkbox[checked]::before {