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