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-new/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-new/icons.svg#general-active");
104 #category-application > .category-icon {
105 list-style-image: url("chrome://browser/skin/preferences/in-content-new/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-new/icons.svg#content-active");
113 #category-privacy > .category-icon {
114 list-style-image: url("chrome://browser/skin/preferences/in-content-new/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-new/icons.svg#security-active");
122 #category-sync > .category-icon {
123 list-style-image: url("chrome://browser/skin/preferences/in-content-new/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-new/icons.svg#sync-active");
131 #category-advanced > .category-icon {
132 list-style-image: url("chrome://browser/skin/preferences/in-content-new/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-new/icons.svg#advanced-active");
140 #category-search-results > .category-icon {
141 list-style-image: url("chrome://browser/skin/preferences/in-content-new/icons.svg#searchResults");
144 #category-search-results > .category-icon {
145 list-style-image: url("chrome://browser/skin/preferences/in-content-new/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;
366 .dialogOverlay[topmost="true"] {
367 background-color: rgba(0,0,0,0.75);
371 background-color: #000000;
372 background-clip: content-box;
374 /* font-size: 14px; */
375 border: 1px solid #9C9CFF;
383 .dialogBox[resizable="true"] {
390 .dialogBox > .groupbox-title {
391 margin-inline-start: 0;
392 margin-inline-end: 0;
394 background-color: #F1F1F1; */
399 -moz-user-select: none;
403 background-color: transparent !important;
412 .dialogBox > .groupbox-title > caption {
414 border-radius: 1000px;
415 background-color: #A09090;
418 .dialogBox > .groupbox-body {
419 -moz-appearance: none;
425 /* Default dialog dimensions */
429 .largeDialogContainer.doScroll {
439 * Font dialog menulist fixes
456 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
457 margin-inline-end: 15px;
458 image-rendering: -moz-crisp-edges;
461 #fxaLoginStatus[hasName] #fxaProfileImage {
465 #fxaProfileImage.actionable {
469 #fxaProfileImage.actionable:hover {
470 box-shadow: 0px 0px 0px 1px #FFCF00;
473 #fxaProfileImage.actionable:hover:active {
474 box-shadow: 0px 0px 0px 1px #FF9F00;
478 /* Overriding the margins from the base preferences.css theme file.
479 These overrides can be simplified by fixing bug 1027174 */
499 -moz-box-align: start;
502 #fxaSyncEngines > vbox:first-child {
506 #fxaSyncComputerName {
507 margin-inline-start: 0px;
515 #fxaLoginRejectedWarning {
516 list-style-image: url("chrome://browser/skin/warning.svg");
517 margin: 4px 8px 0px 0px;
525 #verifiedManage:visited {
526 color: var(--in-content-link-color);
529 .fxaSyncIllustration {
532 -moz-context-properties: fill;
536 #syncOptions caption {
540 #fxaSyncComputerName {
545 margin-bottom: 20px !important;
549 border-bottom: 1px solid var(--in-content-header-border-color);
553 border: 1px solid #A09090;
555 padding: 14px 20px 14px 14px;
558 #signedOutAccountBoxTitle {
562 .fxaAccountBoxButtons {
563 margin-bottom: 0 !important;
569 .fxaAccountBoxButtons > * {
573 .fxaAccountBoxButtons > button {
581 .fxaAccountBoxButtons > button:first-child {
582 margin-inline-end: 14px !important;
585 #fxaLoginStatus[hasName] #fxaEmailAddress1 {
592 word-break: break-all;
596 list-style-image: url(chrome://browser/skin/fxa/logo.png);
598 margin-inline-end: 14px;
606 #fxaLoginRejectedWarning {
607 list-style-image: url(chrome://browser/skin/warning.svg);
608 filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
609 margin: 4px 8px 0px 0px;
613 margin-bottom: 27.5px;
617 background-image: url("chrome://browser/skin/fxa/android.png");
621 background-image: url("chrome://browser/skin/fxa/ios.png");
630 background-repeat: no-repeat;
631 background-size: 24px 28px;
639 @media (min-resolution: 1.1dppx) {
641 background-image: url("chrome://browser/skin/fxa/android@2x.png");
644 background-image: url("chrome://browser/skin/fxa/ios@2x.png");
647 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
651 #updateDeck > hbox > label {
652 margin-inline-end: 5px ! important;
658 margin-inline-end: 3px;
659 list-style-image: url("chrome://global/skin/icons/loading.png");
662 @media (min-resolution: 1.1dppx) {
664 list-style-image: url("chrome://global/skin/icons/loading@2x.png");
671 /* Needs to have enough gap from the bottom to not
672 get behind the status panel (bug 1357841). */
677 background-position: 5px;
678 padding-inline-start: 25px;
680 background-color: var(--in-content-category-background);
682 padding-inline-end: 10px;
683 border: 3px solid black;
684 border-radius: 0 300px 300px 0;
687 .help-button:-moz-locale-dir(rtl) {
690 background-position: right 15px top 0;
694 .help-button:visited {
695 color: var(--in-content-category-text);
696 text-decoration: none;
700 background-image: url("chrome://global/skin/in-content/help-glyph.svg#help-inverted");
701 color: var(--in-content-category-text-selected);
702 background-color: var(--in-content-category-background-hover);
703 border-color: var(--in-content-category-background-hover);
709 /* Needs to have enough gap from the bottom to not
710 get behind the status panel (bug 1357841). */
715 background-position: 15px;
716 padding-inline-start: 35px;
720 .help-button:-moz-locale-dir(rtl) {
723 background-position: right 15px top 0;
727 .help-button:visited {
728 color: var(--in-content-category-text);
729 text-decoration: none;
734 pointer-events: none;
737 background-color: #000000;
740 .search-tooltip::before {
743 border: 6px solid transparent;
744 border-top-color: #FFCF00;
746 offset-inline-start: calc(50% - 6px);
749 .search-tooltip-parent {
753 /* === END shared/incontentprefs/preferences.inc.css === */
759 margin-inline-start: 10px;
762 @media (min-resolution: 2dppx) {
763 checkbox:hover::before,
764 checkbox[checked]::before {
767 checkbox[checked]::before {