seventh part of syncing LCARStrek with Firefox 42-44 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
bb9362a9
RK
65/* Category List */
66
67#categories {
d533ec21 68 max-height: 100vh;
bb9362a9
RK
69}
70
d533ec21
RK
71#categories > scrollbox {
72 overflow-x: hidden !important;
73}
74
d533ec21
RK
75/**
76 * We want the last category to always have non-0 getBoundingClientRect().bottom
77 * so we can use the value to figure out the max-height of the list in
78 * preferences.js, so use collapse instead of display: none; if it's hidden
79 */
80#categories > .category[hidden="true"] {
81 display: -moz-box;
82 visibility: collapse;
83}
84
bb9362a9 85#category-general > .category-icon {
e184b661 86 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general");
bb9362a9
RK
87}
88
89#category-general:hover > .category-icon,
90#category-general[selected] > .category-icon {
e184b661 91 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-active");
bb9362a9
RK
92}
93
58036cb8 94#category-search > .category-icon {
e184b661 95 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search");
58036cb8
RK
96}
97
98#category-search:hover > .category-icon,
99#category-search[selected] > .category-icon {
e184b661 100 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search-active");
58036cb8
RK
101}
102
bb9362a9 103#category-content > .category-icon {
e184b661 104 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
bb9362a9
RK
105}
106
107#category-content:hover > .category-icon,
108#category-content[selected] > .category-icon {
e184b661 109 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
bb9362a9
RK
110}
111
112#category-application > .category-icon {
e184b661 113 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications");
bb9362a9
RK
114}
115
116#category-application:hover > .category-icon,
117#category-application[selected] > .category-icon {
e184b661 118 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications-active");
bb9362a9
RK
119}
120
121#category-privacy > .category-icon {
e184b661 122 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy");
bb9362a9
RK
123}
124
125#category-privacy:hover > .category-icon,
126#category-privacy[selected] > .category-icon {
e184b661 127 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy-active");
bb9362a9
RK
128}
129
130#category-security > .category-icon {
e184b661 131 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
bb9362a9
RK
132}
133
134#category-security:hover > .category-icon,
135#category-security[selected] > .category-icon {
e184b661 136 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-active");
bb9362a9
RK
137}
138
139#category-sync > .category-icon {
e184b661 140 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
bb9362a9
RK
141}
142
143#category-sync:hover > .category-icon,
144#category-sync[selected] > .category-icon {
e184b661 145 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-active");
bb9362a9
RK
146}
147
148#category-advanced > .category-icon {
e184b661 149 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
bb9362a9
RK
150}
151
152#category-advanced:hover > .category-icon,
153#category-advanced[selected] > .category-icon {
e184b661 154 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-active");
bb9362a9
RK
155}
156
b3bf08b1
RK
157@media (max-width: 800px) {
158 .category-name {
159 display: none;
160 }
161}
162
bb9362a9
RK
163/* header */
164
d4d77dc0
RK
165#header-advanced {
166 border-bottom: none;
167 padding-bottom: 0;
bb9362a9
RK
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%;
216 -moz-margin-end: 8px !important;
217}
218
219#getStarted {
220 font-size: 90%;
221}
222
a21f2959
RK
223#isNotDefaultLabel {
224 font-weight: bold;
bb9362a9
RK
225}
226
20752032
RK
227/* Content pane */
228#playDRMContentLink {
229 /* Line up with the buttons in the other grid bits: */
230 margin-left: 4px !important;
231 margin-right: 4px !important;
232}
233
fa703ff4
RK
234#notificationsPolicyLearnMore {
235 -moz-margin-start: 1.5em !important;
236}
237
05148fed
RK
238#defaultFontSizeLabel {
239 /* !important needed to override common !important rule */
240 -moz-margin-start: 4px !important;
241}
242
bb9362a9
RK
243/* Applications Pane Styles */
244
3d64e0ce 245#applicationsContent {
3d64e0ce
RK
246 padding: 15px 0;
247}
248
249#filter {
250 -moz-margin-start: 0;
bb9362a9
RK
251}
252
368d0b7f
RK
253#handlersView {
254 height: 25em;
255}
256
bb9362a9 257#handlersView > richlistitem {
b3bf08b1 258 min-height: 36px !important;
bb9362a9
RK
259}
260
261.typeIcon {
262 -moz-margin-start: 10px !important;
263 -moz-margin-end: 9px !important;
264}
265
266.actionIcon {
267 -moz-margin-start: 11px !important;
268 -moz-margin-end: 8px !important;
269}
270
271.actionsMenu {
b3bf08b1 272 min-height: 36px;
bb9362a9
RK
273}
274
275.actionsMenu > menupopup > menuitem {
276 -moz-padding-start: 10px !important;
277}
278
279.actionsMenu > menupopup > menuitem > .menu-iconic-left {
280 -moz-margin-end: 8px !important;
281}
282
b1dfcf32
RK
283/* Privacy pane */
284
285#doNotTrackInfo,
286#trackingProtectionPBMLearnMore,
287#trackingProtectionLearnMore {
288 -moz-margin-start: 1.5em !important;
289 margin-top: 0;
290}
291
e184b661
RK
292/* Collapse the non-active vboxes in decks to use only the height the
293 active vbox needs */
294#historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
295#historyPane:not([selectedIndex="2"]) > #historyCustomPane,
296#weavePrefsDeck:not([selectedIndex="1"]) > #hasAccount,
297#weavePrefsDeck:not([selectedIndex="2"]) > #needsUpdate,
13875a54
RK
298#weavePrefsDeck:not([selectedIndex="3"]) > #noFxaAccount,
299#weavePrefsDeck:not([selectedIndex="4"]) > #hasFxaAccount,
e184b661
RK
300#fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
301#fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
302 visibility: collapse;
303}
304
bb9362a9
RK
305/* XXX This style is for bug 740213 and should be removed once that
306 bug has a solution. */
307description > html|a {
308 cursor: pointer;
309}
310
9168a62c
RK
311#noFxaAccount {
312 /* Overriding the margins from the base preferences.css theme file.
313 These overrides can be simplified by fixing bug 1027174 */
314 margin: 0;
315}
316
317#weavePrefsDeck > vbox > label,
318#weavePrefsDeck > vbox > groupbox,
319#weavePrefsDeck > vbox > description,
320#weavePrefsDeck > vbox > #pairDevice > label,
321#weavePrefsDeck > #needsUpdate > hbox > #loginError,
d74db938
RK
322#weavePrefsDeck > #hasFxaAccount > vbox > label,
323#weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
9168a62c
RK
324 /* no margin-start for elements at the begin of a line */
325 -moz-margin-start: 0;
326}
327
bb9362a9
RK
328#advancedPrefs {
329 padding-bottom: 0; /* no padding needed in inContent prefs */
330}
331
20752032
RK
332#tabsElement {
333/* -moz-margin-end: 4px; / add the 4px end-margin of other elements */
334}
335
bb9362a9
RK
336#telemetryLearnMore,
337#FHRLearnMore,
338#crashReporterLearnMore {
31bc2dc1
RK
339 /* provide some margin between the links and the label text */
340 /* !important is needed to override the rules defined in common.css */
341 -moz-margin-start: 20px !important;
bb9362a9
RK
342 /* center the links */
343 margin-top: 8px;
344 margin-bottom: 8px;
345}
346
fa703ff4
RK
347.indent {
348 /* !important needed to override -moz-margin-start:0 !important; rule
349 define in common.css for labels - but not in LCARStrek*/
350 -moz-margin-start: 33px /*!important*/;
351}
352
1437a48c
RK
353.text-link {
354 margin-bottom: 0;
8c5bee4f 355}
6edbc6e8 356
e184b661
RK
357#showUpdateHistory {
358 -moz-margin-start: 0;
359}
360
6edbc6e8 361/**
c1080df6 362 * Dialog
6edbc6e8
RK
363 */
364
365#dialogOverlay {
366 background-color: rgba(0,0,0,0.75);
367 visibility: hidden;
368}
369
370#dialogBox {
c1080df6 371 background-color: #000000;
20752032 372 background-clip: content-box;
c1080df6
RK
373 color: #FF9F00;
374 /* font-size: 14px; */
6edbc6e8 375 border: 1px solid #9C9CFF;
c1080df6 376 border-radius: 10px;
6edbc6e8
RK
377 display: -moz-box;
378 margin: 0;
379 padding-right: 6px;
380 padding-left: 6px;
381}
382
383#dialogBox[resizable="true"] {
384 resize: both;
385 overflow: hidden;
c1080df6 386 min-height: 20em;
6edbc6e8
RK
387 min-width: 66ch;
388}
389
de5e780d 390#dialogBox > .groupbox-title {
c1080df6
RK
391 -moz-margin-start: 0;
392 -moz-margin-end: 0;
de5e780d
RK
393/* padding: 3.5px 0;
394 background-color: #F1F1F1; */
395}
396
397#dialogTitle {
398 text-align: center;
b336389b 399 -moz-user-select: none;
c1080df6
RK
400}
401
6edbc6e8
RK
402.close-icon {
403 background-color: transparent !important;
404 border: none;
405 box-shadow: none;
6edbc6e8 406 padding: 0;
c9b0a396
RK
407 height: auto;
408 min-height: 16px;
409 min-width: 0;
6edbc6e8
RK
410}
411
d4d77dc0
RK
412#dialogBox > .groupbox-title > caption {
413 margin: 0;
414 border-radius: 1000px;
415 background-color: #A09090;
416}
417
6edbc6e8
RK
418#dialogBox > .groupbox-body {
419 -moz-appearance: none;
420 padding: 0;
421}
422
423#dialogFrame {
424 -moz-box-flex: 1;
425 /* Default dialog dimensions */
c1080df6 426 height: 20em;
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
20752032
RK
450/**
451 * Sync migration
452 */
453#sync-migrate-upgrade-description {
454 /* description elts need a min-width to wrap correctly - bug 630864? */
455 min-width: 100px
456}
457
458#sync-migration {
459 border: 1px solid #9C9CFF;
460 background-color: #000000;
461 color: #A09090;
462 text-shadow: none;
463 margin: 5px 0 0 0;
464 animation: fadein 3000ms;
465}
466
467@keyframes fadein {
468 from { opacity: 0; }
469 to { opacity: 1; }
470}
471
b336389b
RK
472/**
473 * Sync
474 */
475
13875a54
RK
476#fxaProfileImage {
477 max-width: 60px;
478 border-radius: 50%;
479 list-style-image: url(chrome://browser/skin/fxa/default-avatar.png);
480 margin-inline-end: 15px;
481}
482
483#fxaProfileImage.actionable {
484 cursor: pointer;
485}
486
487#fxaProfileImage.actionable:hover {
1437a48c 488 box-shadow: 0px 0px 0px 1px #FFCF00;
13875a54
RK
489}
490
491#fxaProfileImage.actionable:hover:active {
1437a48c 492 box-shadow: 0px 0px 0px 1px #FF9F00;
13875a54
RK
493}
494
495#noFxaAccount {
496 /* Overriding the margins from the base preferences.css theme file.
497 These overrides can be simplified by fixing bug 1027174 */
498 margin: 0;
499 padding-top: 15px;
500}
501
502#fxaContentWrapper {
503 -moz-box-flex: 1;
504}
505
506#noFxaGroup {
507 -moz-box-flex: 1;
508 margin: 0;
509}
510
511#fxaContentWrapper {
512 padding-right: 15px;
513}
514
515#noFxaGroup > vbox,
516#fxaGroup {
517 -moz-box-align: start;
518}
519
520#syncStatusMessage {
521 visibility: collapse;
522 opacity: 0;
523 transition: opacity 1s linear;
524 padding: 14px 8px 14px 14px;
525 border-radius: 2px;
b336389b
RK
526}
527
13875a54
RK
528#syncStatusMessage[message-type] {
529 visibility: visible;
b336389b
RK
530 opacity: 1;
531}
532
13875a54
RK
533#syncStatusMessage[message-type="verify-success"] {
534 background-color: #008484;
535}
536
537#syncStatusMessage[message-type="verify-error"] {
538 background-color: #FF0000;
539}
540
541#syncStatusMessage[message-type="migration"] {
542 background-color: #FF9F00;
543}
544
545#syncStatusMessageWrapper {
546 -moz-box-flex: 1;
547 padding-right: 5px;
548}
549
550#syncStatusMessageTitle, #syncStatusMessageDescription {
551 color: #9C9CFF;
552}
553
554#syncStatusMessage[message-type="migration"] #syncStatusMessageTitle {
555 display: none;
556}
557
558#syncStatusMessageTitle {
559 font-weight: bold !important;
560 font-size: 16px;
561 line-height: 157%;
562 margin: 0 0 20px;
563}
564
e9fbfc3a
RK
565#syncStatusMessageDescription {
566 font-size: 14px;
567 line-height: 158%;
568 margin: 0 !important;
569}
570
571#syncStatusMessageClose {
572 margin: 0px;
573}
574
575#syncStatusMessage {
576 visibility: collapse;
577 opacity: 0;
578 transition: opacity 1s linear;
579 padding: 14px 8px 14px 14px;
580 border-radius: 2px;
581}
582
583#syncStatusMessage[message-type] {
584 visibility: visible;
585 opacity: 1;
586}
587
588#syncStatusMessage[message-type="verify-success"] {
589 background-color: #008484;
590}
591
592#syncStatusMessage[message-type="verify-error"] {
593 background-color: #FF0000;
594}
595
596#syncStatusMessage[message-type="migration"] {
597 background-color: #FFCF00;
598}
599
600#sync-migration-buttons-deck {
601 visibility: collapse;
602}
603
604#learnMoreLink {
605 margin: 0;
606 color: #336699;
607 text-decoration: underline;
608}
609
610#syncStatusMessage[message-type="migration"] #sync-migration-buttons-deck {
611 visibility: visible;
612}
613
614#sync-migration-buttons-deck {
615 margin-top: 20px;
616}
617
618#sync-migration-buttons-deck button {
619 margin: 0 10px 0 0;
620 border: 0;
621 border-radius: 2px;
622}
623
624#sync-migrate-upgrade,
625#sync-migrate-resend {
626/* background-color: #0095DD;
627 color: #FBFBFB; */
628}
629
630#sync-migrate-upgrade:hover,
631#sync-migrate-resend:hover {
632/* background-color: #008ACB; */
633}
634
635#sync-migrate-upgrade:hover:active,
636#sync-migrate-resend:hover:active {
637/* background-color: #006B9D; */
638}
639
640#syncStatusMessageWrapper {
641 -moz-box-flex: 1;
642 padding-right: 5px;
643}
644
645#syncStatusMessageTitle, #syncStatusMessageDescription {
646 color: #A09090;
647}
648
649#syncStatusMessage[message-type="migration"] #syncStatusMessageTitle {
650 display: none;
651}
652
653#syncStatusMessageTitle {
654 font-weight: bold !important;
655 font-size: 16px;
656 line-height: 157%;
657 margin: 0 0 20px;
658}
659
660
13875a54
RK
661#syncStatusMessageDescription {
662 font-size: 14px;
663 line-height: 158%;
664 margin: 0 !important;
665}
666
667#syncStatusMessageClose {
668 margin: 0px;
669}
670
671#fxaSyncEngines > vbox:first-child {
672 margin-right: 80px;
673}
674
675#fxaSyncComputerName {
676 margin-inline-start: 0px;
677 -moz-box-flex: 1;
678}
679
680#tosPP-small-ToS {
19988d2d
RK
681 margin-bottom: 1em;
682}
683
684#fxaLoginRejectedWarning {
685 list-style-image: url("chrome://browser/skin/warning.svg");
686 margin: 4px 8px 0px 0px;
13875a54
RK
687}
688
689#noFxaCaption {
690 font-weight: bold;
691 margin-bottom: 11px;
692}
693
694.fxaSyncIllustration {
695 margin-top: 35px;
696}
697
698#syncOptions caption {
699 margin-bottom: 11px;
700}
701
19988d2d
RK
702#fxaSyncComputerName {
703 margin-left: 0px;
13875a54
RK
704}
705
706#noFxaDescription {
707 margin-bottom: 20px !important;
708}
709
710.separator {
711 border-bottom: 1px solid var(--in-content-header-border-color);
712}
713
714.fxaAccountBox {
715 border: 1px solid #A09090;
716 border-radius: 5px;
717 padding: 14px 20px 14px 14px;
718}
719
720#signedOutAccountBoxTitle {
721 font-weight: bold;
722}
723
724.fxaAccountBoxButtons {
725 margin-bottom: 0 !important;
726 margin-top: 11px;
727}
728
729.fxaAccountBoxButtons > * {
730 -moz-box-flex: 1;
731}
732
733.fxaAccountBoxButtons > button {
734 text-align: center;
735 padding-left: 11px;
736 padding-right: 11px;
737 margin: 0;
738 min-width: 0;
739}
740
741.fxaAccountBoxButtons > button:first-child {
742 margin-right: 14px !important;
743}
744
745.fxaSyncIllustration {
746 width: 231px;
747 list-style-image: url(chrome://browser/skin/fxa/sync-illustration.png)
748}
749
750#fxaEmailAddress1,
751#fxaEmailAddress2,
752#fxaEmailAddress3 {
753 word-break: break-all;
754}
755
756.fxaFirefoxLogo {
757 list-style-image: url(chrome://browser/skin/fxa/logo.png);
758 max-width: 64px;
759 margin-inline-end: 14px;
760}
761
762.fxaMobilePromo {
763 margin-bottom: 31px;
764}
765
766#fxaLoginRejectedWarning {
767 list-style-image: url(chrome://browser/skin/warning.svg);
768 filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
769 margin: 4px 8px 0px 0px;
770}
771
772#syncOptions {
773 margin-bottom: 27.5px;
774}
775
776.androidLink,
777.iOSLink {
778 margin: 0;
779}
780
781#tosPP-small {
782 margin-top: 20px;
783 margin-bottom: 20px;
784}
785
786@media (min-resolution: 1.1dppx) {
787 .fxaSyncIllustration {
788 list-style-image: url(chrome://browser/skin/fxa/sync-illustration@2x.png)
789 }
790 .fxaFirefoxLogo {
791 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
792 }
793 #fxaProfileImage {
794 list-style-image: url(chrome://browser/skin/fxa/default-avatar@2x.png);
795 }
796}
797
798/* === END shared/incontentprefs/preferences.inc.css === */
bb9362a9 799
0bcd5587
RK
800caption {
801}
802
bb9362a9
RK
803.indent-small {
804 -moz-margin-start: 10px;
805}
806
807@media (min-resolution: 2dppx) {
808 checkbox:hover::before,
809 checkbox[checked]::before {
810 }
811
812 checkbox[checked]::before {
813 }
bb9362a9 814}