second part of syncing LCARStrek with Firefox 55 browser windows theme changes
[themes.git] / LCARStrek / browser / preferences / in-content / preferences.css
... / ...
CommitLineData
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/. */
4
5/* === BEGIN shared/incontentprefs/preferences.inc.css === */
6
7@namespace html "http://www.w3.org/1999/xhtml";
8
9.main-content {
10 padding: 1.5em 0 0; /* That padding needs to match the upper stripe. */
11 overflow: auto;
12
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;
21}
22
23#mainPrefPane {
24 padding: 10px 20px 0px;
25 border-radius: 1em 0 0 0;
26 background-color: #000000;
27
28 max-width: 800px;
29 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
30 font-size: 1.25rem;
31 color: #FF9F00;
32}
33
34* {
35 -moz-user-select: text;
36}
37
38button,
39treecol {
40 /* override the * rule */
41 -moz-user-select: none;
42}
43/*
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");
47 width: 21px;
48 height: 21px;
49}
50
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");
54}
55
56#engineList treechildren::-moz-tree-row,
57#blocklistsTree treechildren::-moz-tree-row {
58 min-height: 36px;
59}
60*/
61#selectionCol {
62 min-width: 26px;
63}
64
65.learnMore {
66 margin-inline-start: 10px;
67 font-weight: normal;
68 white-space: nowrap;
69}
70
71.accessory-button {
72 min-width: 145px;
73}
74
75/* Category List */
76
77#categories {
78 max-height: 100vh;
79}
80
81#categories > scrollbox {
82 overflow-x: hidden !important;
83}
84
85/**
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
89 */
90#categories > .category[hidden="true"] {
91 display: -moz-box;
92 visibility: collapse;
93}
94
95#category-general > .category-icon {
96 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general");
97}
98
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");
102}
103
104#category-application > .category-icon {
105 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
106}
107
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");
111}
112
113#category-privacy > .category-icon {
114 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
115}
116
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");
120}
121
122#category-sync > .category-icon {
123 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
124}
125
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");
129}
130
131#category-advanced > .category-icon {
132 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
133}
134
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");
138}
139
140#category-search-results > .category-icon {
141 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#searchResults");
142}
143
144#category-search-results > .category-icon {
145 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#searchResults-active");
146}
147
148@media (max-width: 800px) {
149 .category-name {
150 display: none;
151 }
152 .help-button {
153 font-size: 0 !important;
154 }
155}
156
157
158/* header */
159
160.header {
161 display: flex;
162 align-items: center;
163 justify-content: space-between;
164}
165
166.header[hidden=true] {
167 display: none;
168}
169
170.indent {
171 margin-top: 7px;
172 margin-bottom: 7px;
173}
174
175/* General Pane */
176
177#startupTable {
178 border-collapse: collapse;
179}
180
181#startupTable > tr > td {
182 padding: 0; /* remove the padding from html.css */
183}
184
185#startupTable > tr:not(:first-child) > td {
186 padding-top: 0.5em; /* add a spacing between the rows */
187}
188
189#startupTable > tr > .label-cell {
190 text-align: end;
191 width: 0; /* make the column as small as possible */
192}
193
194#startupTable > tr > .label-cell > label {
195 white-space: nowrap;
196}
197
198#startupTable > tr > .content-cell > menulist,
199#startupTable > tr > .content-cell > textbox {
200 width: calc(100% - 8px);
201 margin-left: 4px;
202 margin-right: 4px;
203}
204
205#startupTable > tr > .homepage-buttons {
206 display: flex;
207 flex-wrap: wrap;
208}
209
210#startupTable > tr > .homepage-buttons > .content-cell-item {
211 flex-grow: 1;
212}
213
214#useFirefoxSync {
215 font-size: 90%;
216 margin-inline-end: 8px !important;
217}
218
219#getStarted {
220 font-size: 90%;
221}
222
223#isNotDefaultLabel {
224 font-weight: bold;
225}
226
227#browserHomePage:-moz-locale-dir(rtl) input {
228 unicode-bidi: plaintext;
229 direction: rtl;
230}
231
232#defaultFontSizeLabel {
233 /* !important needed to override common !important rule */
234 margin-inline-start: 4px !important;
235}
236
237/* Applications Pane Styles */
238
239#filter {
240 margin-inline-start: 0;
241}
242
243#handlersView {
244 height: 25em;
245}
246
247#handlersView > richlistitem {
248 min-height: 36px !important;
249}
250
251.typeIcon {
252 margin-inline-start: 10px !important;
253 margin-inline-end: 9px !important;
254}
255
256.actionIcon {
257 margin-inline-start: 11px !important;
258 margin-inline-end: 8px !important;
259}
260
261.actionsMenu {
262 min-height: 36px;
263}
264
265.actionsMenu > menupopup > menuitem {
266 padding-inline-start: 10px !important;
267}
268
269.actionsMenu > menupopup > menuitem > .menu-iconic-left {
270 margin-inline-end: 8px !important;
271}
272
273/* Privacy pane */
274
275.doNotTrackLearnMore {
276 margin-inline-start: calc(1em + 30px);
277 margin-bottom: 1em;
278 font-weight: normal;
279}
280
281.doNotTrackLearnMore > label {
282 font-size: 1em !important;
283 margin-left: 0;
284}
285
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 {
289 white-space: normal;
290 margin-inline-start: 0;
291}
292
293#trackingProtectionAdvancedSettings {
294 margin-inline-start: 15px;
295}
296
297#crashReporterGroup {
298 margin-top: 0;
299}
300
301/* Collapse the non-active vboxes in decks to use only the height the
302 active vbox needs */
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;
309}
310
311/* XXX This style is for bug 740213 and should be removed once that
312 bug has a solution. */
313description > html|a {
314 cursor: pointer;
315}
316
317#noFxaAccount {
318 padding-top: 15px;
319}
320
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;
330}
331
332#advancedPrefs {
333 padding-bottom: 0; /* no padding needed in inContent prefs */
334}
335
336#tabsElement {
337/* margin-inline-end: 4px; / add the 4px end-margin of other elements */
338}
339
340.indent {
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*/;
344}
345
346.text-link {
347 margin-bottom: 0;
348}
349
350#showUpdateHistory {
351 margin-inline-start: 0;
352}
353
354#fxaProfileImage {
355 -moz-user-focus: normal;
356}
357
358/**
359 * Dialog
360 */
361
362#dialogOverlay {
363 background-color: rgba(0,0,0,0.75);
364 visibility: hidden;
365}
366
367#dialogBox {
368 background-color: #000000;
369 background-clip: content-box;
370 color: #FF9F00;
371 /* font-size: 14px; */
372 border: 1px solid #9C9CFF;
373 border-radius: 10px;
374 display: -moz-box;
375 margin: 0;
376 padding-right: 6px;
377 padding-left: 6px;
378}
379
380#dialogBox[resizable="true"] {
381 resize: both;
382 overflow: hidden;
383 min-height: 20em;
384 min-width: 66ch;
385}
386
387#dialogBox > .groupbox-title {
388 margin-inline-start: 0;
389 margin-inline-end: 0;
390/* padding: 3.5px 0;
391 background-color: #F1F1F1; */
392}
393
394#dialogTitle {
395 text-align: center;
396 -moz-user-select: none;
397}
398
399.close-icon {
400 background-color: transparent !important;
401 border: none;
402 box-shadow: none;
403 padding: 0;
404 height: auto;
405 min-height: 16px;
406 min-width: 0;
407}
408
409#dialogBox > .groupbox-title > caption {
410 margin: 0;
411 border-radius: 1000px;
412 background-color: #A09090;
413}
414
415#dialogBox > .groupbox-body {
416 -moz-appearance: none;
417 padding: 0;
418}
419
420#dialogFrame {
421 -moz-box-flex: 1;
422 /* Default dialog dimensions */
423 width: 66ch;
424}
425
426.largeDialogContainer.doScroll {
427 overflow-y: auto;
428 -moz-box-flex: 1;
429}
430
431/**
432 * End Dialog
433 */
434
435/**
436 * Font dialog menulist fixes
437 */
438
439#defaultFontType,
440#serif,
441#sans-serif,
442#monospace {
443 min-width: 30ch;
444}
445
446/**
447 * Sync
448 */
449
450#fxaProfileImage {
451 max-width: 60px;
452 border-radius: 50%;
453 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
454 margin-inline-end: 15px;
455 image-rendering: -moz-crisp-edges;
456}
457
458#fxaLoginStatus[hasName] #fxaProfileImage {
459 max-width: 80px;
460}
461
462#fxaProfileImage.actionable {
463 cursor: pointer;
464}
465
466#fxaProfileImage.actionable:hover {
467 box-shadow: 0px 0px 0px 1px #FFCF00;
468}
469
470#fxaProfileImage.actionable:hover:active {
471 box-shadow: 0px 0px 0px 1px #FF9F00;
472}
473
474#noFxaAccount {
475 /* Overriding the margins from the base preferences.css theme file.
476 These overrides can be simplified by fixing bug 1027174 */
477 margin: 0;
478 padding-top: 15px;
479}
480
481#fxaContentWrapper {
482 -moz-box-flex: 1;
483}
484
485#noFxaGroup {
486 -moz-box-flex: 1;
487 margin: 0;
488}
489
490#fxaContentWrapper {
491 padding-right: 15px;
492}
493
494#noFxaGroup > vbox,
495#fxaGroup {
496 -moz-box-align: start;
497}
498
499#fxaSyncEngines > vbox:first-child {
500 margin-right: 80px;
501}
502
503#fxaSyncComputerName {
504 margin-inline-start: 0px;
505 -moz-box-flex: 1;
506}
507
508#tosPP-small-ToS {
509 margin-bottom: 1em;
510}
511
512#fxaLoginRejectedWarning {
513 list-style-image: url("chrome://browser/skin/warning.svg");
514 margin: 4px 8px 0px 0px;
515}
516
517#noFxaCaption {
518 font-weight: bold;
519 margin-bottom: 11px;
520}
521
522#verifiedManage:visited {
523 color: var(--in-content-link-color);
524}
525
526.fxaSyncIllustration {
527 margin-top: 35px;
528 width: 231px;
529 -moz-context-properties: fill;
530 fill: #9C9CFF;
531}
532
533#syncOptions caption {
534 margin-bottom: 11px;
535}
536
537#fxaSyncComputerName {
538 margin-left: 0px;
539}
540
541#noFxaDescription {
542 margin-bottom: 20px !important;
543}
544
545.separator {
546 border-bottom: 1px solid var(--in-content-header-border-color);
547}
548
549.fxaAccountBox {
550 border: 1px solid #A09090;
551 border-radius: 5px;
552 padding: 14px 20px 14px 14px;
553}
554
555#signedOutAccountBoxTitle {
556 font-weight: bold;
557}
558
559.fxaAccountBoxButtons {
560 margin-bottom: 0 !important;
561 margin-top: 11px;
562 display: flex;
563 align-items: center;
564}
565
566.fxaAccountBoxButtons > * {
567 -moz-box-flex: 1;
568}
569
570.fxaAccountBoxButtons > button {
571 text-align: center;
572 padding-left: 11px;
573 padding-right: 11px;
574 margin: 0;
575 min-width: 0;
576}
577
578.fxaAccountBoxButtons > button:first-child {
579 margin-inline-end: 14px !important;
580}
581
582#fxaLoginStatus[hasName] #fxaEmailAddress1 {
583 font-size: 1.1rem;
584}
585
586#fxaEmailAddress1,
587#fxaEmailAddress2,
588#fxaEmailAddress3 {
589 word-break: break-all;
590}
591
592.fxaFirefoxLogo {
593 list-style-image: url(chrome://browser/skin/fxa/logo.png);
594 max-width: 64px;
595 margin-inline-end: 14px;
596}
597
598.fxaMobilePromo {
599 margin-bottom: 20px;
600 margin-top: 25px;
601}
602
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;
607}
608
609#syncOptions {
610 margin-bottom: 27.5px;
611}
612
613.androidLink {
614 background-image: url("chrome://browser/skin/fxa/android.png");
615}
616
617.iOSLink {
618 background-image: url("chrome://browser/skin/fxa/ios.png");
619}
620
621.androidLink,
622.iOSLink {
623 margin: 0 0 0 2px;
624 padding-left: 28px;
625 padding-top: 6px;
626 height: 28px;
627 background-repeat: no-repeat;
628 background-size: 24px 28px;
629}
630
631#tosPP-small {
632 margin-top: 20px;
633 margin-bottom: 20px;
634}
635
636@media (min-resolution: 1.1dppx) {
637 .androidLink {
638 background-image: url("chrome://browser/skin/fxa/android@2x.png");
639 }
640 .iOSLink {
641 background-image: url("chrome://browser/skin/fxa/ios@2x.png");
642 }
643 .fxaFirefoxLogo {
644 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
645 }
646}
647
648#updateDeck > hbox > label {
649 margin-inline-end: 5px ! important;
650}
651
652.update-throbber {
653 width: 16px;
654 min-height: 16px;
655 margin-inline-end: 3px;
656 list-style-image: url("chrome://global/skin/icons/loading.png");
657}
658
659@media (min-resolution: 1.1dppx) {
660 .update-throbber {
661 list-style-image: url("chrome://global/skin/icons/loading@2x.png");
662 }
663}
664
665.help-button {
666 position: fixed;
667 left: 3px;
668 /* Needs to have enough gap from the bottom to not
669 get behind the status panel (bug 1357841). */
670 bottom: 2rem;
671 font-size: 13px;
672 line-height: 13px;
673 height: 14px;
674 background-position: 5px;
675 padding-inline-start: 25px;
676 white-space: nowrap;
677 background-color: var(--in-content-category-background);
678 width: auto;
679 padding-inline-end: 10px;
680 border: 3px solid black;
681 border-radius: 0 300px 300px 0;
682}
683
684.help-button:-moz-locale-dir(rtl) {
685 left: auto;
686 right: 0;
687 background-position: right 15px top 0;
688}
689
690.help-button:link,
691.help-button:visited {
692 color: var(--in-content-category-text);
693 text-decoration: none;
694}
695
696.help-button:hover {
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);
701}
702.help-button {
703 position: fixed;
704 left: 0;
705
706 /* Needs to have enough gap from the bottom to not
707 get behind the status panel (bug 1357841). */
708 bottom: 2rem;
709 font-size: 13px;
710 line-height: 13px;
711 height: 14px;
712 background-position: 15px;
713 padding-inline-start: 35px;
714 white-space: nowrap;
715}
716
717.help-button:-moz-locale-dir(rtl) {
718 left: auto;
719 right: 0;
720 background-position: right 15px top 0;
721}
722
723.help-button:link,
724.help-button:visited {
725 color: var(--in-content-category-text);
726 text-decoration: none;
727}
728
729/* === END shared/incontentprefs/preferences.inc.css === */
730
731caption {
732}
733
734.indent-small {
735 margin-inline-start: 10px;
736}
737
738@media (min-resolution: 2dppx) {
739 checkbox:hover::before,
740 checkbox[checked]::before {
741 }
742
743 checkbox[checked]::before {
744 }
745}