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