sync both themes with toolkit windows theme changes in Mozilla 54 cycle
[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
RK
65.learnMore {
66 margin-inline-start: 1.5em;
67 font-weight: normal;
68 white-space: nowrap;
69}
70
bb9362a9
RK
71/* Category List */
72
73#categories {
d533ec21 74 max-height: 100vh;
bb9362a9
RK
75}
76
d533ec21
RK
77#categories > scrollbox {
78 overflow-x: hidden !important;
79}
80
d533ec21
RK
81/**
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
85 */
86#categories > .category[hidden="true"] {
87 display: -moz-box;
88 visibility: collapse;
89}
90
bb9362a9 91#category-general > .category-icon {
e184b661 92 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general");
bb9362a9
RK
93}
94
95#category-general:hover > .category-icon,
96#category-general[selected] > .category-icon {
e184b661 97 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-active");
bb9362a9
RK
98}
99
58036cb8 100#category-search > .category-icon {
e184b661 101 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search");
58036cb8
RK
102}
103
104#category-search:hover > .category-icon,
105#category-search[selected] > .category-icon {
e184b661 106 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search-active");
58036cb8
RK
107}
108
bb9362a9 109#category-content > .category-icon {
e184b661 110 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
bb9362a9
RK
111}
112
113#category-content:hover > .category-icon,
114#category-content[selected] > .category-icon {
e184b661 115 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
bb9362a9
RK
116}
117
118#category-application > .category-icon {
e184b661 119 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications");
bb9362a9
RK
120}
121
122#category-application:hover > .category-icon,
123#category-application[selected] > .category-icon {
e184b661 124 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications-active");
bb9362a9
RK
125}
126
127#category-privacy > .category-icon {
e184b661 128 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy");
bb9362a9
RK
129}
130
131#category-privacy:hover > .category-icon,
132#category-privacy[selected] > .category-icon {
e184b661 133 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy-active");
bb9362a9
RK
134}
135
136#category-security > .category-icon {
e184b661 137 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
bb9362a9
RK
138}
139
140#category-security:hover > .category-icon,
141#category-security[selected] > .category-icon {
e184b661 142 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-active");
bb9362a9
RK
143}
144
145#category-sync > .category-icon {
e184b661 146 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
bb9362a9
RK
147}
148
149#category-sync:hover > .category-icon,
150#category-sync[selected] > .category-icon {
e184b661 151 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-active");
bb9362a9
RK
152}
153
154#category-advanced > .category-icon {
e184b661 155 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
bb9362a9
RK
156}
157
158#category-advanced:hover > .category-icon,
159#category-advanced[selected] > .category-icon {
e184b661 160 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-active");
bb9362a9
RK
161}
162
b3bf08b1
RK
163@media (max-width: 800px) {
164 .category-name {
165 display: none;
166 }
167}
168
bb9362a9
RK
169/* header */
170
d23bf94a
RK
171.header {
172 display: flex;
173 align-items: center;
174 justify-content: space-between;
175}
176
177.header[hidden=true] {
178 display: none;
179}
180
d4d77dc0
RK
181#header-advanced {
182 border-bottom: none;
183 padding-bottom: 0;
bb9362a9
RK
184}
185
bb9362a9
RK
186.indent {
187 margin-top: 7px;
188 margin-bottom: 7px;
189}
190
191/* General Pane */
bb9362a9 192
d533ec21
RK
193#startupTable {
194 border-collapse: collapse;
195}
196
197#startupTable > tr > td {
198 padding: 0; /* remove the padding from html.css */
199}
200
201#startupTable > tr:not(:first-child) > td {
202 padding-top: 0.5em; /* add a spacing between the rows */
203}
204
205#startupTable > tr > .label-cell {
206 text-align: end;
207 width: 0; /* make the column as small as possible */
208}
209
210#startupTable > tr > .label-cell > label {
211 white-space: nowrap;
212}
213
214#startupTable > tr > .content-cell > menulist,
215#startupTable > tr > .content-cell > textbox {
216 width: calc(100% - 8px);
217 margin-left: 4px;
218 margin-right: 4px;
219}
220
221#startupTable > tr > .homepage-buttons {
222 display: flex;
223 flex-wrap: wrap;
224}
225
226#startupTable > tr > .homepage-buttons > .content-cell-item {
227 flex-grow: 1;
228}
229
e548e22e
RK
230#useFirefoxSync {
231 font-size: 90%;
dae45075 232 margin-inline-end: 8px !important;
e548e22e
RK
233}
234
235#getStarted {
236 font-size: 90%;
237}
238
a21f2959
RK
239#isNotDefaultLabel {
240 font-weight: bold;
bb9362a9
RK
241}
242
20752032 243/* Content pane */
05148fed
RK
244#defaultFontSizeLabel {
245 /* !important needed to override common !important rule */
dae45075 246 margin-inline-start: 4px !important;
05148fed
RK
247}
248
bb9362a9
RK
249/* Applications Pane Styles */
250
3d64e0ce 251#applicationsContent {
3d64e0ce
RK
252 padding: 15px 0;
253}
254
255#filter {
dae45075 256 margin-inline-start: 0;
bb9362a9
RK
257}
258
368d0b7f
RK
259#handlersView {
260 height: 25em;
261}
262
bb9362a9 263#handlersView > richlistitem {
b3bf08b1 264 min-height: 36px !important;
bb9362a9
RK
265}
266
267.typeIcon {
dae45075
RK
268 margin-inline-start: 10px !important;
269 margin-inline-end: 9px !important;
bb9362a9
RK
270}
271
272.actionIcon {
dae45075
RK
273 margin-inline-start: 11px !important;
274 margin-inline-end: 8px !important;
bb9362a9
RK
275}
276
277.actionsMenu {
b3bf08b1 278 min-height: 36px;
bb9362a9
RK
279}
280
281.actionsMenu > menupopup > menuitem {
dae45075 282 padding-inline-start: 10px !important;
bb9362a9
RK
283}
284
285.actionsMenu > menupopup > menuitem > .menu-iconic-left {
dae45075 286 margin-inline-end: 8px !important;
bb9362a9
RK
287}
288
b1dfcf32
RK
289/* Privacy pane */
290
db1c5db1
RK
291.doNotTrackLearnMore {
292 margin-inline-start: calc(1em + 30px);
293 margin-bottom: 1em;
294 font-weight: normal;
295}
296
297.doNotTrackLearnMore > label {
298 font-size: 1em !important;
299 margin-left: 0;
300}
301
e184b661
RK
302/* Collapse the non-active vboxes in decks to use only the height the
303 active vbox needs */
304#historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
305#historyPane:not([selectedIndex="2"]) > #historyCustomPane,
306#weavePrefsDeck:not([selectedIndex="1"]) > #hasAccount,
307#weavePrefsDeck:not([selectedIndex="2"]) > #needsUpdate,
13875a54
RK
308#weavePrefsDeck:not([selectedIndex="3"]) > #noFxaAccount,
309#weavePrefsDeck:not([selectedIndex="4"]) > #hasFxaAccount,
e184b661
RK
310#fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
311#fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
312 visibility: collapse;
313}
314
bb9362a9
RK
315/* XXX This style is for bug 740213 and should be removed once that
316 bug has a solution. */
317description > html|a {
318 cursor: pointer;
319}
320
9168a62c 321#noFxaAccount {
b9060895 322 padding-top: 15px;
9168a62c
RK
323}
324
325#weavePrefsDeck > vbox > label,
326#weavePrefsDeck > vbox > groupbox,
327#weavePrefsDeck > vbox > description,
328#weavePrefsDeck > vbox > #pairDevice > label,
329#weavePrefsDeck > #needsUpdate > hbox > #loginError,
d74db938
RK
330#weavePrefsDeck > #hasFxaAccount > vbox > label,
331#weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
9ff3770c 332 /* no margin-inline-start for elements at the begin of a line */
dae45075 333 margin-inline-start: 0;
9168a62c
RK
334}
335
bb9362a9
RK
336#advancedPrefs {
337 padding-bottom: 0; /* no padding needed in inContent prefs */
338}
339
20752032 340#tabsElement {
dae45075 341/* margin-inline-end: 4px; / add the 4px end-margin of other elements */
20752032
RK
342}
343
fa703ff4 344.indent {
dae45075 345 /* !important needed to override margin-inline-start:0 !important; rule
fa703ff4 346 define in common.css for labels - but not in LCARStrek*/
dae45075 347 margin-inline-start: 33px /*!important*/;
fa703ff4
RK
348}
349
1437a48c
RK
350.text-link {
351 margin-bottom: 0;
8c5bee4f 352}
6edbc6e8 353
e184b661 354#showUpdateHistory {
dae45075 355 margin-inline-start: 0;
e184b661
RK
356}
357
7327c957
RK
358#fxaProfileImage {
359 -moz-user-focus: normal;
360}
361
6edbc6e8 362/**
c1080df6 363 * Dialog
6edbc6e8
RK
364 */
365
366#dialogOverlay {
367 background-color: rgba(0,0,0,0.75);
368 visibility: hidden;
369}
370
371#dialogBox {
c1080df6 372 background-color: #000000;
20752032 373 background-clip: content-box;
c1080df6
RK
374 color: #FF9F00;
375 /* font-size: 14px; */
6edbc6e8 376 border: 1px solid #9C9CFF;
c1080df6 377 border-radius: 10px;
6edbc6e8
RK
378 display: -moz-box;
379 margin: 0;
380 padding-right: 6px;
381 padding-left: 6px;
382}
383
384#dialogBox[resizable="true"] {
385 resize: both;
386 overflow: hidden;
c1080df6 387 min-height: 20em;
6edbc6e8
RK
388 min-width: 66ch;
389}
390
de5e780d 391#dialogBox > .groupbox-title {
dae45075
RK
392 margin-inline-start: 0;
393 margin-inline-end: 0;
de5e780d
RK
394/* padding: 3.5px 0;
395 background-color: #F1F1F1; */
396}
397
398#dialogTitle {
399 text-align: center;
b336389b 400 -moz-user-select: none;
c1080df6
RK
401}
402
6edbc6e8
RK
403.close-icon {
404 background-color: transparent !important;
405 border: none;
406 box-shadow: none;
6edbc6e8 407 padding: 0;
c9b0a396
RK
408 height: auto;
409 min-height: 16px;
410 min-width: 0;
6edbc6e8
RK
411}
412
d4d77dc0
RK
413#dialogBox > .groupbox-title > caption {
414 margin: 0;
415 border-radius: 1000px;
416 background-color: #A09090;
417}
418
6edbc6e8
RK
419#dialogBox > .groupbox-body {
420 -moz-appearance: none;
421 padding: 0;
422}
423
424#dialogFrame {
425 -moz-box-flex: 1;
426 /* Default dialog dimensions */
6edbc6e8
RK
427 width: 66ch;
428}
429
e184b661
RK
430.largeDialogContainer.doScroll {
431 overflow-y: auto;
432 -moz-box-flex: 1;
433}
434
6edbc6e8 435/**
c1080df6 436 * End Dialog
6edbc6e8
RK
437 */
438
31bc2dc1
RK
439/**
440 * Font dialog menulist fixes
441 */
442
443#defaultFontType,
444#serif,
445#sans-serif,
446#monospace {
447 min-width: 30ch;
448}
449
b336389b
RK
450/**
451 * Sync
452 */
453
13875a54
RK
454#fxaProfileImage {
455 max-width: 60px;
456 border-radius: 50%;
7c1e433b 457 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
13875a54 458 margin-inline-end: 15px;
7c1e433b
RK
459 image-rendering: -moz-crisp-edges;
460}
461
462#fxaLoginStatus[hasName] #fxaProfileImage {
463 max-width: 80px;
13875a54
RK
464}
465
466#fxaProfileImage.actionable {
467 cursor: pointer;
468}
469
470#fxaProfileImage.actionable:hover {
1437a48c 471 box-shadow: 0px 0px 0px 1px #FFCF00;
13875a54
RK
472}
473
474#fxaProfileImage.actionable:hover:active {
1437a48c 475 box-shadow: 0px 0px 0px 1px #FF9F00;
13875a54
RK
476}
477
478#noFxaAccount {
479 /* Overriding the margins from the base preferences.css theme file.
480 These overrides can be simplified by fixing bug 1027174 */
481 margin: 0;
482 padding-top: 15px;
483}
484
485#fxaContentWrapper {
486 -moz-box-flex: 1;
487}
488
489#noFxaGroup {
490 -moz-box-flex: 1;
491 margin: 0;
492}
493
494#fxaContentWrapper {
495 padding-right: 15px;
496}
497
498#noFxaGroup > vbox,
499#fxaGroup {
500 -moz-box-align: start;
501}
502
13875a54
RK
503#fxaSyncEngines > vbox:first-child {
504 margin-right: 80px;
505}
506
507#fxaSyncComputerName {
508 margin-inline-start: 0px;
509 -moz-box-flex: 1;
510}
511
512#tosPP-small-ToS {
19988d2d
RK
513 margin-bottom: 1em;
514}
515
516#fxaLoginRejectedWarning {
517 list-style-image: url("chrome://browser/skin/warning.svg");
518 margin: 4px 8px 0px 0px;
13875a54
RK
519}
520
521#noFxaCaption {
522 font-weight: bold;
523 margin-bottom: 11px;
524}
525
526.fxaSyncIllustration {
527 margin-top: 35px;
528}
529
530#syncOptions caption {
531 margin-bottom: 11px;
532}
533
19988d2d
RK
534#fxaSyncComputerName {
535 margin-left: 0px;
13875a54
RK
536}
537
538#noFxaDescription {
539 margin-bottom: 20px !important;
540}
541
542.separator {
543 border-bottom: 1px solid var(--in-content-header-border-color);
544}
545
546.fxaAccountBox {
547 border: 1px solid #A09090;
548 border-radius: 5px;
549 padding: 14px 20px 14px 14px;
550}
551
552#signedOutAccountBoxTitle {
553 font-weight: bold;
554}
555
556.fxaAccountBoxButtons {
557 margin-bottom: 0 !important;
558 margin-top: 11px;
39819724
RK
559 display: flex;
560 align-items: center;
13875a54
RK
561}
562
563.fxaAccountBoxButtons > * {
564 -moz-box-flex: 1;
565}
566
567.fxaAccountBoxButtons > button {
568 text-align: center;
569 padding-left: 11px;
570 padding-right: 11px;
571 margin: 0;
572 min-width: 0;
573}
574
575.fxaAccountBoxButtons > button:first-child {
b9060895 576 margin-inline-end: 14px !important;
13875a54
RK
577}
578
579.fxaSyncIllustration {
580 width: 231px;
581 list-style-image: url(chrome://browser/skin/fxa/sync-illustration.png)
582}
583
7c1e433b
RK
584#fxaLoginStatus[hasName] #fxaEmailAddress1 {
585 font-size: 1.1rem;
586}
587
13875a54
RK
588#fxaEmailAddress1,
589#fxaEmailAddress2,
590#fxaEmailAddress3 {
591 word-break: break-all;
592}
593
594.fxaFirefoxLogo {
595 list-style-image: url(chrome://browser/skin/fxa/logo.png);
596 max-width: 64px;
597 margin-inline-end: 14px;
598}
599
600.fxaMobilePromo {
7327c957
RK
601 margin-bottom: 20px;
602 margin-top: 25px;
13875a54
RK
603}
604
605#fxaLoginRejectedWarning {
606 list-style-image: url(chrome://browser/skin/warning.svg);
607 filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
608 margin: 4px 8px 0px 0px;
609}
610
611#syncOptions {
612 margin-bottom: 27.5px;
613}
614
7327c957
RK
615.androidLink {
616 background-image: url("chrome://browser/skin/fxa/android.png");
617}
618
619.iOSLink {
620 background-image: url("chrome://browser/skin/fxa/ios.png");
621}
622
13875a54
RK
623.androidLink,
624.iOSLink {
7327c957
RK
625 margin: 0 0 0 2px;
626 padding-left: 28px;
627 padding-top: 6px;
628 height: 28px;
629 background-repeat: no-repeat;
630 background-size: 24px 28px;
13875a54
RK
631}
632
633#tosPP-small {
634 margin-top: 20px;
635 margin-bottom: 20px;
636}
637
638@media (min-resolution: 1.1dppx) {
7327c957
RK
639 .androidLink {
640 background-image: url("chrome://browser/skin/fxa/android@2x.png");
641 }
642 .iOSLink {
643 background-image: url("chrome://browser/skin/fxa/ios@2x.png");
644 }
13875a54
RK
645 .fxaSyncIllustration {
646 list-style-image: url(chrome://browser/skin/fxa/sync-illustration@2x.png)
647 }
648 .fxaFirefoxLogo {
649 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
650 }
13875a54
RK
651}
652
653/* === END shared/incontentprefs/preferences.inc.css === */
bb9362a9 654
0bcd5587
RK
655caption {
656}
657
bb9362a9 658.indent-small {
dae45075 659 margin-inline-start: 10px;
bb9362a9
RK
660}
661
662@media (min-resolution: 2dppx) {
663 checkbox:hover::before,
664 checkbox[checked]::before {
665 }
666
667 checkbox[checked]::before {
668 }
bb9362a9 669}