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