second part of syncing LCARStrek with Firefox 55 browser windows theme changes
[themes.git] / LCARStrek / browser / preferences / in-content / preferences.css
CommitLineData
bb9362a9
RK
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
13875a54 5/* === BEGIN shared/incontentprefs/preferences.inc.css === */
bb9362a9
RK
6
7@namespace html "http://www.w3.org/1999/xhtml";
8
bb9362a9 9.main-content {
0b8749a4 10 padding: 1.5em 0 0; /* That padding needs to match the upper stripe. */
bb9362a9 11 overflow: auto;
0b8749a4
RK
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;
bb9362a9
RK
21}
22
c1080df6 23#mainPrefPane {
0b8749a4
RK
24 padding: 10px 20px 0px;
25 border-radius: 1em 0 0 0;
26 background-color: #000000;
27
589b5528 28 max-width: 800px;
93c91f62 29 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
bb9362a9 30 font-size: 1.25rem;
6edbc6e8 31 color: #FF9F00;
bb9362a9
RK
32}
33
8922acc9
RK
34* {
35 -moz-user-select: text;
36}
37
38button,
39treecol {
40 /* override the * rule */
41 -moz-user-select: none;
42}
d7b7f7e1
RK
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}
8922acc9 64
b9060895 65.learnMore {
d0f28e61 66 margin-inline-start: 10px;
b9060895
RK
67 font-weight: normal;
68 white-space: nowrap;
69}
70
1b1f3d09
RK
71.accessory-button {
72 min-width: 145px;
73}
74
bb9362a9
RK
75/* Category List */
76
77#categories {
d533ec21 78 max-height: 100vh;
bb9362a9
RK
79}
80
d533ec21
RK
81#categories > scrollbox {
82 overflow-x: hidden !important;
83}
84
d533ec21
RK
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
bb9362a9 95#category-general > .category-icon {
e184b661 96 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general");
bb9362a9
RK
97}
98
99#category-general:hover > .category-icon,
100#category-general[selected] > .category-icon {
e184b661 101 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-active");
bb9362a9
RK
102}
103
bb9362a9 104#category-application > .category-icon {
66b04a00 105 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
bb9362a9
RK
106}
107
108#category-application:hover > .category-icon,
109#category-application[selected] > .category-icon {
66b04a00 110 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
bb9362a9
RK
111}
112
113#category-privacy > .category-icon {
66b04a00 114 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
bb9362a9
RK
115}
116
117#category-privacy:hover > .category-icon,
118#category-privacy[selected] > .category-icon {
e184b661 119 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-active");
bb9362a9
RK
120}
121
122#category-sync > .category-icon {
e184b661 123 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
bb9362a9
RK
124}
125
126#category-sync:hover > .category-icon,
127#category-sync[selected] > .category-icon {
e184b661 128 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-active");
bb9362a9
RK
129}
130
131#category-advanced > .category-icon {
e184b661 132 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
bb9362a9
RK
133}
134
135#category-advanced:hover > .category-icon,
136#category-advanced[selected] > .category-icon {
e184b661 137 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-active");
bb9362a9
RK
138}
139
66b04a00
RK
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
b3bf08b1
RK
148@media (max-width: 800px) {
149 .category-name {
150 display: none;
151 }
3d739599
RK
152 .help-button {
153 font-size: 0 !important;
154 }
b3bf08b1
RK
155}
156
3d739599 157
bb9362a9
RK
158/* header */
159
d23bf94a
RK
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
bb9362a9
RK
170.indent {
171 margin-top: 7px;
172 margin-bottom: 7px;
173}
174
175/* General Pane */
bb9362a9 176
d533ec21
RK
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
e548e22e
RK
214#useFirefoxSync {
215 font-size: 90%;
dae45075 216 margin-inline-end: 8px !important;
e548e22e
RK
217}
218
219#getStarted {
220 font-size: 90%;
221}
222
a21f2959
RK
223#isNotDefaultLabel {
224 font-weight: bold;
bb9362a9
RK
225}
226
d0f28e61
RK
227#browserHomePage:-moz-locale-dir(rtl) input {
228 unicode-bidi: plaintext;
229 direction: rtl;
230}
231
05148fed
RK
232#defaultFontSizeLabel {
233 /* !important needed to override common !important rule */
dae45075 234 margin-inline-start: 4px !important;
05148fed
RK
235}
236
bb9362a9
RK
237/* Applications Pane Styles */
238
3d64e0ce 239#filter {
dae45075 240 margin-inline-start: 0;
bb9362a9
RK
241}
242
368d0b7f
RK
243#handlersView {
244 height: 25em;
245}
246
bb9362a9 247#handlersView > richlistitem {
b3bf08b1 248 min-height: 36px !important;
bb9362a9
RK
249}
250
251.typeIcon {
dae45075
RK
252 margin-inline-start: 10px !important;
253 margin-inline-end: 9px !important;
bb9362a9
RK
254}
255
256.actionIcon {
dae45075
RK
257 margin-inline-start: 11px !important;
258 margin-inline-end: 8px !important;
bb9362a9
RK
259}
260
261.actionsMenu {
b3bf08b1 262 min-height: 36px;
bb9362a9
RK
263}
264
265.actionsMenu > menupopup > menuitem {
dae45075 266 padding-inline-start: 10px !important;
bb9362a9
RK
267}
268
269.actionsMenu > menupopup > menuitem > .menu-iconic-left {
dae45075 270 margin-inline-end: 8px !important;
bb9362a9
RK
271}
272
b1dfcf32
RK
273/* Privacy pane */
274
db1c5db1
RK
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
1b1f3d09
RK
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
e184b661
RK
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,
d0f28e61 305#weavePrefsDeck:not([selectedIndex="1"]) > #hasFxaAccount,
e184b661
RK
306#fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
307#fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
308 visibility: collapse;
309}
310
bb9362a9
RK
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
9168a62c 317#noFxaAccount {
b9060895 318 padding-top: 15px;
9168a62c
RK
319}
320
321#weavePrefsDeck > vbox > label,
322#weavePrefsDeck > vbox > groupbox,
323#weavePrefsDeck > vbox > description,
324#weavePrefsDeck > vbox > #pairDevice > label,
325#weavePrefsDeck > #needsUpdate > hbox > #loginError,
d74db938
RK
326#weavePrefsDeck > #hasFxaAccount > vbox > label,
327#weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
9ff3770c 328 /* no margin-inline-start for elements at the begin of a line */
dae45075 329 margin-inline-start: 0;
9168a62c
RK
330}
331
bb9362a9
RK
332#advancedPrefs {
333 padding-bottom: 0; /* no padding needed in inContent prefs */
334}
335
20752032 336#tabsElement {
dae45075 337/* margin-inline-end: 4px; / add the 4px end-margin of other elements */
20752032
RK
338}
339
fa703ff4 340.indent {
dae45075 341 /* !important needed to override margin-inline-start:0 !important; rule
fa703ff4 342 define in common.css for labels - but not in LCARStrek*/
dae45075 343 margin-inline-start: 33px /*!important*/;
fa703ff4
RK
344}
345
1437a48c
RK
346.text-link {
347 margin-bottom: 0;
8c5bee4f 348}
6edbc6e8 349
e184b661 350#showUpdateHistory {
dae45075 351 margin-inline-start: 0;
e184b661
RK
352}
353
7327c957
RK
354#fxaProfileImage {
355 -moz-user-focus: normal;
356}
357
6edbc6e8 358/**
c1080df6 359 * Dialog
6edbc6e8
RK
360 */
361
362#dialogOverlay {
363 background-color: rgba(0,0,0,0.75);
364 visibility: hidden;
365}
366
367#dialogBox {
c1080df6 368 background-color: #000000;
20752032 369 background-clip: content-box;
c1080df6
RK
370 color: #FF9F00;
371 /* font-size: 14px; */
6edbc6e8 372 border: 1px solid #9C9CFF;
c1080df6 373 border-radius: 10px;
6edbc6e8
RK
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;
c1080df6 383 min-height: 20em;
6edbc6e8
RK
384 min-width: 66ch;
385}
386
de5e780d 387#dialogBox > .groupbox-title {
dae45075
RK
388 margin-inline-start: 0;
389 margin-inline-end: 0;
de5e780d
RK
390/* padding: 3.5px 0;
391 background-color: #F1F1F1; */
392}
393
394#dialogTitle {
395 text-align: center;
b336389b 396 -moz-user-select: none;
c1080df6
RK
397}
398
6edbc6e8
RK
399.close-icon {
400 background-color: transparent !important;
401 border: none;
402 box-shadow: none;
6edbc6e8 403 padding: 0;
c9b0a396
RK
404 height: auto;
405 min-height: 16px;
406 min-width: 0;
6edbc6e8
RK
407}
408
d4d77dc0
RK
409#dialogBox > .groupbox-title > caption {
410 margin: 0;
411 border-radius: 1000px;
412 background-color: #A09090;
413}
414
6edbc6e8
RK
415#dialogBox > .groupbox-body {
416 -moz-appearance: none;
417 padding: 0;
418}
419
420#dialogFrame {
421 -moz-box-flex: 1;
422 /* Default dialog dimensions */
6edbc6e8
RK
423 width: 66ch;
424}
425
e184b661
RK
426.largeDialogContainer.doScroll {
427 overflow-y: auto;
428 -moz-box-flex: 1;
429}
430
6edbc6e8 431/**
c1080df6 432 * End Dialog
6edbc6e8
RK
433 */
434
31bc2dc1
RK
435/**
436 * Font dialog menulist fixes
437 */
438
439#defaultFontType,
440#serif,
441#sans-serif,
442#monospace {
443 min-width: 30ch;
444}
445
b336389b
RK
446/**
447 * Sync
448 */
449
13875a54
RK
450#fxaProfileImage {
451 max-width: 60px;
452 border-radius: 50%;
7c1e433b 453 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
13875a54 454 margin-inline-end: 15px;
7c1e433b
RK
455 image-rendering: -moz-crisp-edges;
456}
457
458#fxaLoginStatus[hasName] #fxaProfileImage {
459 max-width: 80px;
13875a54
RK
460}
461
462#fxaProfileImage.actionable {
463 cursor: pointer;
464}
465
466#fxaProfileImage.actionable:hover {
1437a48c 467 box-shadow: 0px 0px 0px 1px #FFCF00;
13875a54
RK
468}
469
470#fxaProfileImage.actionable:hover:active {
1437a48c 471 box-shadow: 0px 0px 0px 1px #FF9F00;
13875a54
RK
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
13875a54
RK
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 {
19988d2d
RK
509 margin-bottom: 1em;
510}
511
512#fxaLoginRejectedWarning {
513 list-style-image: url("chrome://browser/skin/warning.svg");
514 margin: 4px 8px 0px 0px;
13875a54
RK
515}
516
517#noFxaCaption {
518 font-weight: bold;
519 margin-bottom: 11px;
520}
521
38bd4bf1
RK
522#verifiedManage:visited {
523 color: var(--in-content-link-color);
524}
525
13875a54
RK
526.fxaSyncIllustration {
527 margin-top: 35px;
1b1f3d09
RK
528 width: 231px;
529 -moz-context-properties: fill;
530 fill: #9C9CFF;
13875a54
RK
531}
532
533#syncOptions caption {
534 margin-bottom: 11px;
535}
536
19988d2d
RK
537#fxaSyncComputerName {
538 margin-left: 0px;
13875a54
RK
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;
39819724
RK
562 display: flex;
563 align-items: center;
13875a54
RK
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 {
b9060895 579 margin-inline-end: 14px !important;
13875a54
RK
580}
581
7c1e433b
RK
582#fxaLoginStatus[hasName] #fxaEmailAddress1 {
583 font-size: 1.1rem;
584}
585
13875a54
RK
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 {
7327c957
RK
599 margin-bottom: 20px;
600 margin-top: 25px;
13875a54
RK
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
7327c957
RK
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
13875a54
RK
621.androidLink,
622.iOSLink {
7327c957
RK
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;
13875a54
RK
629}
630
631#tosPP-small {
632 margin-top: 20px;
633 margin-bottom: 20px;
634}
635
636@media (min-resolution: 1.1dppx) {
7327c957
RK
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 }
13875a54
RK
643 .fxaFirefoxLogo {
644 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
645 }
13875a54
RK
646}
647
3d739599
RK
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}
1b1f3d09
RK
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}
3d739599 728
13875a54 729/* === END shared/incontentprefs/preferences.inc.css === */
bb9362a9 730
0bcd5587
RK
731caption {
732}
733
bb9362a9 734.indent-small {
dae45075 735 margin-inline-start: 10px;
bb9362a9
RK
736}
737
738@media (min-resolution: 2dppx) {
739 checkbox:hover::before,
740 checkbox[checked]::before {
741 }
742
743 checkbox[checked]::before {
744 }
bb9362a9 745}