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-search > .category-icon {
101 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search");
104 #category-search:hover > .category-icon,
105 #category-search[selected] > .category-icon {
106 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search-active");
109 #category-content > .category-icon {
110 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
113 #category-content:hover > .category-icon,
114 #category-content[selected] > .category-icon {
115 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
118 #category-application > .category-icon {
119 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications");
122 #category-application:hover > .category-icon,
123 #category-application[selected] > .category-icon {
124 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications-active");
127 #category-privacy > .category-icon {
128 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy");
131 #category-privacy:hover > .category-icon,
132 #category-privacy[selected] > .category-icon {
133 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy-active");
136 #category-security > .category-icon {
137 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
140 #category-security:hover > .category-icon,
141 #category-security[selected] > .category-icon {
142 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-active");
145 #category-sync > .category-icon {
146 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
149 #category-sync:hover > .category-icon,
150 #category-sync[selected] > .category-icon {
151 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-active");
154 #category-advanced > .category-icon {
155 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
158 #category-advanced:hover > .category-icon,
159 #category-advanced[selected] > .category-icon {
160 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-active");
163 @media (max-width: 800px) {
168 font-size: 0 !important;
178 justify-content: space-between;
181 .header[hidden=true] {
198 border-collapse: collapse;
201 #startupTable > tr > td {
202 padding: 0; /* remove the padding from html.css */
205 #startupTable > tr:not(:first-child) > td {
206 padding-top: 0.5em; /* add a spacing between the rows */
209 #startupTable > tr > .label-cell {
211 width: 0; /* make the column as small as possible */
214 #startupTable > tr > .label-cell > label {
218 #startupTable > tr > .content-cell > menulist,
219 #startupTable > tr > .content-cell > textbox {
220 width: calc(100% - 8px);
225 #startupTable > tr > .homepage-buttons {
230 #startupTable > tr > .homepage-buttons > .content-cell-item {
236 margin-inline-end: 8px !important;
247 #browserHomePage:-moz-locale-dir(rtl) input {
248 unicode-bidi: plaintext;
253 #defaultFontSizeLabel {
254 /* !important needed to override common !important rule */
255 margin-inline-start: 4px !important;
258 /* Applications Pane Styles */
260 #applicationsContent {
265 margin-inline-start: 0;
272 #handlersView > richlistitem {
273 min-height: 36px !important;
277 margin-inline-start: 10px !important;
278 margin-inline-end: 9px !important;
282 margin-inline-start: 11px !important;
283 margin-inline-end: 8px !important;
290 .actionsMenu > menupopup > menuitem {
291 padding-inline-start: 10px !important;
294 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
295 margin-inline-end: 8px !important;
300 .doNotTrackLearnMore {
301 margin-inline-start: calc(1em + 30px);
306 .doNotTrackLearnMore > label {
307 font-size: 1em !important;
311 /* Collapse the non-active vboxes in decks to use only the height the
313 #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
314 #historyPane:not([selectedIndex="2"]) > #historyCustomPane,
315 #weavePrefsDeck:not([selectedIndex="1"]) > #hasFxaAccount,
316 #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
317 #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
318 visibility: collapse;
321 /* XXX This style is for bug 740213 and should be removed once that
322 bug has a solution. */
323 description > html|a {
331 #weavePrefsDeck > vbox > label,
332 #weavePrefsDeck > vbox > groupbox,
333 #weavePrefsDeck > vbox > description,
334 #weavePrefsDeck > vbox > #pairDevice > label,
335 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
336 #weavePrefsDeck > #hasFxaAccount > vbox > label,
337 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
338 /* no margin-inline-start for elements at the begin of a line */
339 margin-inline-start: 0;
343 padding-bottom: 0; /* no padding needed in inContent prefs */
347 /* margin-inline-end: 4px; / add the 4px end-margin of other elements */
351 /* !important needed to override margin-inline-start:0 !important; rule
352 define in common.css for labels - but not in LCARStrek*/
353 margin-inline-start: 33px /*!important*/;
361 margin-inline-start: 0;
365 -moz-user-focus: normal;
376 .dialogOverlay[topmost="true"] {
377 background-color: rgba(0,0,0,0.75);
381 background-color: #000000;
382 background-clip: content-box;
384 /* font-size: 14px; */
385 border: 1px solid #9C9CFF;
393 .dialogBox[resizable="true"] {
400 .dialogBox > .groupbox-title {
401 margin-inline-start: 0;
402 margin-inline-end: 0;
404 background-color: #F1F1F1; */
409 -moz-user-select: none;
413 background-color: transparent !important;
422 .dialogBox > .groupbox-title > caption {
424 border-radius: 1000px;
425 background-color: #A09090;
428 .dialogBox > .groupbox-body {
429 -moz-appearance: none;
435 /* Default dialog dimensions */
439 .largeDialogContainer.doScroll {
449 * Font dialog menulist fixes
466 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
467 margin-inline-end: 15px;
468 image-rendering: -moz-crisp-edges;
471 #fxaLoginStatus[hasName] #fxaProfileImage {
475 #fxaProfileImage.actionable {
479 #fxaProfileImage.actionable:hover {
480 box-shadow: 0px 0px 0px 1px #FFCF00;
483 #fxaProfileImage.actionable:hover:active {
484 box-shadow: 0px 0px 0px 1px #FF9F00;
488 /* Overriding the margins from the base preferences.css theme file.
489 These overrides can be simplified by fixing bug 1027174 */
509 -moz-box-align: start;
512 #fxaSyncEngines > vbox:first-child {
516 #fxaSyncComputerName {
517 margin-inline-start: 0px;
525 #fxaLoginRejectedWarning {
526 list-style-image: url("chrome://browser/skin/warning.svg");
527 margin: 4px 8px 0px 0px;
535 #verifiedManage:visited {
536 color: var(--in-content-link-color);
539 .fxaSyncIllustration {
542 -moz-context-properties: fill;
546 #syncOptions caption {
550 #fxaSyncComputerName {
555 margin-bottom: 20px !important;
559 border-bottom: 1px solid var(--in-content-header-border-color);
563 border: 1px solid #A09090;
565 padding: 14px 20px 14px 14px;
568 #signedOutAccountBoxTitle {
572 .fxaAccountBoxButtons {
573 margin-bottom: 0 !important;
579 .fxaAccountBoxButtons > * {
583 .fxaAccountBoxButtons > button {
591 .fxaAccountBoxButtons > button:first-child {
592 margin-inline-end: 14px !important;
595 #fxaLoginStatus[hasName] #fxaEmailAddress1 {
602 word-break: break-all;
606 list-style-image: url(chrome://browser/skin/fxa/logo.png);
608 margin-inline-end: 14px;
616 #fxaLoginRejectedWarning {
617 list-style-image: url(chrome://browser/skin/warning.svg);
618 filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
619 margin: 4px 8px 0px 0px;
623 margin-bottom: 27.5px;
627 background-image: url("chrome://browser/skin/fxa/android.png");
631 background-image: url("chrome://browser/skin/fxa/ios.png");
640 background-repeat: no-repeat;
641 background-size: 24px 28px;
649 @media (min-resolution: 1.1dppx) {
651 background-image: url("chrome://browser/skin/fxa/android@2x.png");
654 background-image: url("chrome://browser/skin/fxa/ios@2x.png");
657 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
661 #updateDeck > hbox > label {
662 margin-inline-end: 5px ! important;
668 margin-inline-end: 3px;
669 list-style-image: url("chrome://global/skin/icons/loading.png");
672 @media (min-resolution: 1.1dppx) {
674 list-style-image: url("chrome://global/skin/icons/loading@2x.png");
681 /* Needs to have enough gap from the bottom to not
682 get behind the status panel (bug 1357841). */
687 background-position: 5px;
688 padding-inline-start: 25px;
690 background-color: var(--in-content-category-background);
692 padding-inline-end: 10px;
693 border: 3px solid black;
694 border-radius: 0 300px 300px 0;
697 .help-button:-moz-locale-dir(rtl) {
700 background-position: right 15px top 0;
704 .help-button:visited {
705 color: var(--in-content-category-text);
706 text-decoration: none;
710 background-image: url("chrome://global/skin/in-content/help-glyph.svg#help-inverted");
711 color: var(--in-content-category-text-selected);
712 background-color: var(--in-content-category-background-hover);
713 border-color: var(--in-content-category-background-hover);
716 /* === END shared/incontentprefs/preferences.inc.css === */
722 margin-inline-start: 10px;
725 @media (min-resolution: 2dppx) {
726 checkbox:hover::before,
727 checkbox[checked]::before {
730 checkbox[checked]::before {