second and last part of syncing LCARStrek with Firefox 49/50 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%;
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
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 234#notificationsPolicyLearnMore {
dae45075 235 margin-inline-start: 1.5em !important;
fa703ff4
RK
236}
237
05148fed
RK
238#defaultFontSizeLabel {
239 /* !important needed to override common !important rule */
dae45075 240 margin-inline-start: 4px !important;
05148fed
RK
241}
242
bb9362a9
RK
243/* Applications Pane Styles */
244
3d64e0ce 245#applicationsContent {
3d64e0ce
RK
246 padding: 15px 0;
247}
248
249#filter {
dae45075 250 margin-inline-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 {
dae45075
RK
262 margin-inline-start: 10px !important;
263 margin-inline-end: 9px !important;
bb9362a9
RK
264}
265
266.actionIcon {
dae45075
RK
267 margin-inline-start: 11px !important;
268 margin-inline-end: 8px !important;
bb9362a9
RK
269}
270
271.actionsMenu {
b3bf08b1 272 min-height: 36px;
bb9362a9
RK
273}
274
275.actionsMenu > menupopup > menuitem {
dae45075 276 padding-inline-start: 10px !important;
bb9362a9
RK
277}
278
279.actionsMenu > menupopup > menuitem > .menu-iconic-left {
dae45075 280 margin-inline-end: 8px !important;
bb9362a9
RK
281}
282
b1dfcf32
RK
283/* Privacy pane */
284
b1dfcf32 285#trackingProtectionPBMLearnMore,
db1c5db1
RK
286#trackingProtectionLearnMore,
287#browserContainersLearnMore {
dae45075 288 margin-inline-start: 1.5em !important;
b1dfcf32 289 margin-top: 0;
7327c957 290 font-weight: normal;
b1dfcf32
RK
291}
292
db1c5db1
RK
293.doNotTrackLearnMore {
294 margin-inline-start: calc(1em + 30px);
295 margin-bottom: 1em;
296 font-weight: normal;
297}
298
299.doNotTrackLearnMore > label {
300 font-size: 1em !important;
301 margin-left: 0;
302}
303
e184b661
RK
304/* Collapse the non-active vboxes in decks to use only the height the
305 active vbox needs */
306#historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
307#historyPane:not([selectedIndex="2"]) > #historyCustomPane,
308#weavePrefsDeck:not([selectedIndex="1"]) > #hasAccount,
309#weavePrefsDeck:not([selectedIndex="2"]) > #needsUpdate,
13875a54
RK
310#weavePrefsDeck:not([selectedIndex="3"]) > #noFxaAccount,
311#weavePrefsDeck:not([selectedIndex="4"]) > #hasFxaAccount,
e184b661
RK
312#fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
313#fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
314 visibility: collapse;
315}
316
bb9362a9
RK
317/* XXX This style is for bug 740213 and should be removed once that
318 bug has a solution. */
319description > html|a {
320 cursor: pointer;
321}
322
9168a62c
RK
323#noFxaAccount {
324 /* Overriding the margins from the base preferences.css theme file.
325 These overrides can be simplified by fixing bug 1027174 */
326 margin: 0;
327}
328
329#weavePrefsDeck > vbox > label,
330#weavePrefsDeck > vbox > groupbox,
331#weavePrefsDeck > vbox > description,
332#weavePrefsDeck > vbox > #pairDevice > label,
333#weavePrefsDeck > #needsUpdate > hbox > #loginError,
d74db938
RK
334#weavePrefsDeck > #hasFxaAccount > vbox > label,
335#weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
9ff3770c 336 /* no margin-inline-start for elements at the begin of a line */
dae45075 337 margin-inline-start: 0;
9168a62c
RK
338}
339
bb9362a9
RK
340#advancedPrefs {
341 padding-bottom: 0; /* no padding needed in inContent prefs */
342}
343
20752032 344#tabsElement {
dae45075 345/* margin-inline-end: 4px; / add the 4px end-margin of other elements */
20752032
RK
346}
347
bb9362a9
RK
348#telemetryLearnMore,
349#FHRLearnMore,
350#crashReporterLearnMore {
31bc2dc1
RK
351 /* provide some margin between the links and the label text */
352 /* !important is needed to override the rules defined in common.css */
dae45075 353 margin-inline-start: 20px !important;
bb9362a9
RK
354 /* center the links */
355 margin-top: 8px;
356 margin-bottom: 8px;
357}
358
fa703ff4 359.indent {
dae45075 360 /* !important needed to override margin-inline-start:0 !important; rule
fa703ff4 361 define in common.css for labels - but not in LCARStrek*/
dae45075 362 margin-inline-start: 33px /*!important*/;
fa703ff4
RK
363}
364
1437a48c
RK
365.text-link {
366 margin-bottom: 0;
8c5bee4f 367}
6edbc6e8 368
e184b661 369#showUpdateHistory {
dae45075 370 margin-inline-start: 0;
e184b661
RK
371}
372
7327c957
RK
373#fxaProfileImage {
374 -moz-user-focus: normal;
375}
376
6edbc6e8 377/**
c1080df6 378 * Dialog
6edbc6e8
RK
379 */
380
381#dialogOverlay {
382 background-color: rgba(0,0,0,0.75);
383 visibility: hidden;
384}
385
386#dialogBox {
c1080df6 387 background-color: #000000;
20752032 388 background-clip: content-box;
c1080df6
RK
389 color: #FF9F00;
390 /* font-size: 14px; */
6edbc6e8 391 border: 1px solid #9C9CFF;
c1080df6 392 border-radius: 10px;
6edbc6e8
RK
393 display: -moz-box;
394 margin: 0;
395 padding-right: 6px;
396 padding-left: 6px;
397}
398
399#dialogBox[resizable="true"] {
400 resize: both;
401 overflow: hidden;
c1080df6 402 min-height: 20em;
6edbc6e8
RK
403 min-width: 66ch;
404}
405
de5e780d 406#dialogBox > .groupbox-title {
dae45075
RK
407 margin-inline-start: 0;
408 margin-inline-end: 0;
de5e780d
RK
409/* padding: 3.5px 0;
410 background-color: #F1F1F1; */
411}
412
413#dialogTitle {
414 text-align: center;
b336389b 415 -moz-user-select: none;
c1080df6
RK
416}
417
6edbc6e8
RK
418.close-icon {
419 background-color: transparent !important;
420 border: none;
421 box-shadow: none;
6edbc6e8 422 padding: 0;
c9b0a396
RK
423 height: auto;
424 min-height: 16px;
425 min-width: 0;
6edbc6e8
RK
426}
427
d4d77dc0
RK
428#dialogBox > .groupbox-title > caption {
429 margin: 0;
430 border-radius: 1000px;
431 background-color: #A09090;
432}
433
6edbc6e8
RK
434#dialogBox > .groupbox-body {
435 -moz-appearance: none;
436 padding: 0;
437}
438
439#dialogFrame {
440 -moz-box-flex: 1;
441 /* Default dialog dimensions */
c1080df6 442 height: 20em;
6edbc6e8
RK
443 width: 66ch;
444}
445
e184b661
RK
446.largeDialogContainer.doScroll {
447 overflow-y: auto;
448 -moz-box-flex: 1;
449}
450
6edbc6e8 451/**
c1080df6 452 * End Dialog
6edbc6e8
RK
453 */
454
31bc2dc1
RK
455/**
456 * Font dialog menulist fixes
457 */
458
459#defaultFontType,
460#serif,
461#sans-serif,
462#monospace {
463 min-width: 30ch;
464}
465
b336389b
RK
466/**
467 * Sync
468 */
469
13875a54
RK
470#fxaProfileImage {
471 max-width: 60px;
472 border-radius: 50%;
7c1e433b 473 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
13875a54 474 margin-inline-end: 15px;
7c1e433b
RK
475 image-rendering: -moz-crisp-edges;
476}
477
478#fxaLoginStatus[hasName] #fxaProfileImage {
479 max-width: 80px;
13875a54
RK
480}
481
482#fxaProfileImage.actionable {
483 cursor: pointer;
484}
485
486#fxaProfileImage.actionable:hover {
1437a48c 487 box-shadow: 0px 0px 0px 1px #FFCF00;
13875a54
RK
488}
489
490#fxaProfileImage.actionable:hover:active {
1437a48c 491 box-shadow: 0px 0px 0px 1px #FF9F00;
13875a54
RK
492}
493
494#noFxaAccount {
495 /* Overriding the margins from the base preferences.css theme file.
496 These overrides can be simplified by fixing bug 1027174 */
497 margin: 0;
498 padding-top: 15px;
499}
500
501#fxaContentWrapper {
502 -moz-box-flex: 1;
503}
504
505#noFxaGroup {
506 -moz-box-flex: 1;
507 margin: 0;
508}
509
510#fxaContentWrapper {
511 padding-right: 15px;
512}
513
514#noFxaGroup > vbox,
515#fxaGroup {
516 -moz-box-align: start;
517}
518
13875a54
RK
519#fxaSyncEngines > vbox:first-child {
520 margin-right: 80px;
521}
522
523#fxaSyncComputerName {
524 margin-inline-start: 0px;
525 -moz-box-flex: 1;
526}
527
528#tosPP-small-ToS {
19988d2d
RK
529 margin-bottom: 1em;
530}
531
532#fxaLoginRejectedWarning {
533 list-style-image: url("chrome://browser/skin/warning.svg");
534 margin: 4px 8px 0px 0px;
13875a54
RK
535}
536
537#noFxaCaption {
538 font-weight: bold;
539 margin-bottom: 11px;
540}
541
542.fxaSyncIllustration {
543 margin-top: 35px;
544}
545
546#syncOptions caption {
547 margin-bottom: 11px;
548}
549
19988d2d
RK
550#fxaSyncComputerName {
551 margin-left: 0px;
13875a54
RK
552}
553
554#noFxaDescription {
555 margin-bottom: 20px !important;
556}
557
558.separator {
559 border-bottom: 1px solid var(--in-content-header-border-color);
560}
561
562.fxaAccountBox {
563 border: 1px solid #A09090;
564 border-radius: 5px;
565 padding: 14px 20px 14px 14px;
566}
567
568#signedOutAccountBoxTitle {
569 font-weight: bold;
570}
571
572.fxaAccountBoxButtons {
573 margin-bottom: 0 !important;
574 margin-top: 11px;
575}
576
577.fxaAccountBoxButtons > * {
578 -moz-box-flex: 1;
579}
580
581.fxaAccountBoxButtons > button {
582 text-align: center;
583 padding-left: 11px;
584 padding-right: 11px;
585 margin: 0;
586 min-width: 0;
587}
588
589.fxaAccountBoxButtons > button:first-child {
590 margin-right: 14px !important;
591}
592
593.fxaSyncIllustration {
594 width: 231px;
595 list-style-image: url(chrome://browser/skin/fxa/sync-illustration.png)
596}
597
7c1e433b
RK
598#fxaLoginStatus[hasName] #fxaEmailAddress1 {
599 font-size: 1.1rem;
600}
601
13875a54
RK
602#fxaEmailAddress1,
603#fxaEmailAddress2,
604#fxaEmailAddress3 {
605 word-break: break-all;
606}
607
608.fxaFirefoxLogo {
609 list-style-image: url(chrome://browser/skin/fxa/logo.png);
610 max-width: 64px;
611 margin-inline-end: 14px;
612}
613
614.fxaMobilePromo {
7327c957
RK
615 margin-bottom: 20px;
616 margin-top: 25px;
13875a54
RK
617}
618
619#fxaLoginRejectedWarning {
620 list-style-image: url(chrome://browser/skin/warning.svg);
621 filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
622 margin: 4px 8px 0px 0px;
623}
624
625#syncOptions {
626 margin-bottom: 27.5px;
627}
628
7327c957
RK
629.androidLink {
630 background-image: url("chrome://browser/skin/fxa/android.png");
631}
632
633.iOSLink {
634 background-image: url("chrome://browser/skin/fxa/ios.png");
635}
636
13875a54
RK
637.androidLink,
638.iOSLink {
7327c957
RK
639 margin: 0 0 0 2px;
640 padding-left: 28px;
641 padding-top: 6px;
642 height: 28px;
643 background-repeat: no-repeat;
644 background-size: 24px 28px;
13875a54
RK
645}
646
647#tosPP-small {
648 margin-top: 20px;
649 margin-bottom: 20px;
650}
651
652@media (min-resolution: 1.1dppx) {
7327c957
RK
653 .androidLink {
654 background-image: url("chrome://browser/skin/fxa/android@2x.png");
655 }
656 .iOSLink {
657 background-image: url("chrome://browser/skin/fxa/ios@2x.png");
658 }
13875a54
RK
659 .fxaSyncIllustration {
660 list-style-image: url(chrome://browser/skin/fxa/sync-illustration@2x.png)
661 }
662 .fxaFirefoxLogo {
663 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
664 }
13875a54
RK
665}
666
667/* === END shared/incontentprefs/preferences.inc.css === */
bb9362a9 668
0bcd5587
RK
669caption {
670}
671
bb9362a9 672.indent-small {
dae45075 673 margin-inline-start: 10px;
bb9362a9
RK
674}
675
676@media (min-resolution: 2dppx) {
677 checkbox:hover::before,
678 checkbox[checked]::before {
679 }
680
681 checkbox[checked]::before {
682 }
bb9362a9 683}