fix a parsing error and add some modification to support current Nightly (when it...
[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.learnMore {
66 margin-inline-start: 10px;
67 font-weight: normal;
68 white-space: nowrap;
69}
70
71/* Category List */
72
73#categories {
74 max-height: 100vh;
75}
76
77#categories > scrollbox {
78 overflow-x: hidden !important;
79}
80
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
91#category-general > .category-icon {
92 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general");
93}
94
95#category-general:hover > .category-icon,
96#category-general[selected] > .category-icon {
97 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-active");
98}
99
100#category-search > .category-icon {
101 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search");
102}
103
104#category-search:hover > .category-icon,
105#category-search[selected] > .category-icon {
106 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#search-active");
107}
108
109#category-content > .category-icon {
110 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
111}
112
113#category-content:hover > .category-icon,
114#category-content[selected] > .category-icon {
115 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
116}
117
118#category-application > .category-icon {
119 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications");
120}
121
122#category-application:hover > .category-icon,
123#category-application[selected] > .category-icon {
124 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#applications-active");
125}
126
127#category-privacy > .category-icon {
128 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy");
129}
130
131#category-privacy:hover > .category-icon,
132#category-privacy[selected] > .category-icon {
133 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#privacy-active");
134}
135
136#category-security > .category-icon {
137 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
138}
139
140#category-security:hover > .category-icon,
141#category-security[selected] > .category-icon {
142 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-active");
143}
144
145#category-sync > .category-icon {
146 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
147}
148
149#category-sync:hover > .category-icon,
150#category-sync[selected] > .category-icon {
151 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-active");
152}
153
154#category-advanced > .category-icon {
155 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
156}
157
158#category-advanced:hover > .category-icon,
159#category-advanced[selected] > .category-icon {
160 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-active");
161}
162
163@media (max-width: 800px) {
164 .category-name {
165 display: none;
166 }
167}
168
169/* header */
170
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
181#header-advanced {
182 border-bottom: none;
183 padding-bottom: 0;
184}
185
186.indent {
187 margin-top: 7px;
188 margin-bottom: 7px;
189}
190
191/* General Pane */
192
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
230#useFirefoxSync {
231 font-size: 90%;
232 margin-inline-end: 8px !important;
233}
234
235#getStarted {
236 font-size: 90%;
237}
238
239#isNotDefaultLabel {
240 font-weight: bold;
241}
242
243#browserHomePage:-moz-locale-dir(rtl) input {
244 unicode-bidi: plaintext;
245 direction: rtl;
246}
247
248/* Content pane */
249#defaultFontSizeLabel {
250 /* !important needed to override common !important rule */
251 margin-inline-start: 4px !important;
252}
253
254/* Applications Pane Styles */
255
256#applicationsContent {
257 padding: 15px 0;
258}
259
260#filter {
261 margin-inline-start: 0;
262}
263
264#handlersView {
265 height: 25em;
266}
267
268#handlersView > richlistitem {
269 min-height: 36px !important;
270}
271
272.typeIcon {
273 margin-inline-start: 10px !important;
274 margin-inline-end: 9px !important;
275}
276
277.actionIcon {
278 margin-inline-start: 11px !important;
279 margin-inline-end: 8px !important;
280}
281
282.actionsMenu {
283 min-height: 36px;
284}
285
286.actionsMenu > menupopup > menuitem {
287 padding-inline-start: 10px !important;
288}
289
290.actionsMenu > menupopup > menuitem > .menu-iconic-left {
291 margin-inline-end: 8px !important;
292}
293
294/* Privacy pane */
295
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
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,
311#weavePrefsDeck:not([selectedIndex="1"]) > #hasFxaAccount,
312#fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
313#fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
314 visibility: collapse;
315}
316
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
323#noFxaAccount {
324 padding-top: 15px;
325}
326
327#weavePrefsDeck > vbox > label,
328#weavePrefsDeck > vbox > groupbox,
329#weavePrefsDeck > vbox > description,
330#weavePrefsDeck > vbox > #pairDevice > label,
331#weavePrefsDeck > #needsUpdate > hbox > #loginError,
332#weavePrefsDeck > #hasFxaAccount > vbox > label,
333#weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
334 /* no margin-inline-start for elements at the begin of a line */
335 margin-inline-start: 0;
336}
337
338#advancedPrefs {
339 padding-bottom: 0; /* no padding needed in inContent prefs */
340}
341
342#tabsElement {
343/* margin-inline-end: 4px; / add the 4px end-margin of other elements */
344}
345
346.indent {
347 /* !important needed to override margin-inline-start:0 !important; rule
348 define in common.css for labels - but not in LCARStrek*/
349 margin-inline-start: 33px /*!important*/;
350}
351
352.text-link {
353 margin-bottom: 0;
354}
355
356#showUpdateHistory {
357 margin-inline-start: 0;
358}
359
360#fxaProfileImage {
361 -moz-user-focus: normal;
362}
363
364/**
365 * Dialog
366 */
367
368#dialogOverlay {
369 background-color: rgba(0,0,0,0.75);
370 visibility: hidden;
371}
372
373#dialogBox {
374 background-color: #000000;
375 background-clip: content-box;
376 color: #FF9F00;
377 /* font-size: 14px; */
378 border: 1px solid #9C9CFF;
379 border-radius: 10px;
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;
389 min-height: 20em;
390 min-width: 66ch;
391}
392
393#dialogBox > .groupbox-title {
394 margin-inline-start: 0;
395 margin-inline-end: 0;
396/* padding: 3.5px 0;
397 background-color: #F1F1F1; */
398}
399
400#dialogTitle {
401 text-align: center;
402 -moz-user-select: none;
403}
404
405.close-icon {
406 background-color: transparent !important;
407 border: none;
408 box-shadow: none;
409 padding: 0;
410 height: auto;
411 min-height: 16px;
412 min-width: 0;
413}
414
415#dialogBox > .groupbox-title > caption {
416 margin: 0;
417 border-radius: 1000px;
418 background-color: #A09090;
419}
420
421#dialogBox > .groupbox-body {
422 -moz-appearance: none;
423 padding: 0;
424}
425
426#dialogFrame {
427 -moz-box-flex: 1;
428 /* Default dialog dimensions */
429 width: 66ch;
430}
431
432.largeDialogContainer.doScroll {
433 overflow-y: auto;
434 -moz-box-flex: 1;
435}
436
437/**
438 * End Dialog
439 */
440
441/**
442 * Font dialog menulist fixes
443 */
444
445#defaultFontType,
446#serif,
447#sans-serif,
448#monospace {
449 min-width: 30ch;
450}
451
452/**
453 * Sync
454 */
455
456#fxaProfileImage {
457 max-width: 60px;
458 border-radius: 50%;
459 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
460 margin-inline-end: 15px;
461 image-rendering: -moz-crisp-edges;
462}
463
464#fxaLoginStatus[hasName] #fxaProfileImage {
465 max-width: 80px;
466}
467
468#fxaProfileImage.actionable {
469 cursor: pointer;
470}
471
472#fxaProfileImage.actionable:hover {
473 box-shadow: 0px 0px 0px 1px #FFCF00;
474}
475
476#fxaProfileImage.actionable:hover:active {
477 box-shadow: 0px 0px 0px 1px #FF9F00;
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
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 {
515 margin-bottom: 1em;
516}
517
518#fxaLoginRejectedWarning {
519 list-style-image: url("chrome://browser/skin/warning.svg");
520 margin: 4px 8px 0px 0px;
521}
522
523#noFxaCaption {
524 font-weight: bold;
525 margin-bottom: 11px;
526}
527
528#verifiedManage:visited {
529 color: var(--in-content-link-color);
530}
531
532.fxaSyncIllustration {
533 margin-top: 35px;
534}
535
536#syncOptions caption {
537 margin-bottom: 11px;
538}
539
540#fxaSyncComputerName {
541 margin-left: 0px;
542}
543
544#noFxaDescription {
545 margin-bottom: 20px !important;
546}
547
548.separator {
549 border-bottom: 1px solid var(--in-content-header-border-color);
550}
551
552.fxaAccountBox {
553 border: 1px solid #A09090;
554 border-radius: 5px;
555 padding: 14px 20px 14px 14px;
556}
557
558#signedOutAccountBoxTitle {
559 font-weight: bold;
560}
561
562.fxaAccountBoxButtons {
563 margin-bottom: 0 !important;
564 margin-top: 11px;
565 display: flex;
566 align-items: center;
567}
568
569.fxaAccountBoxButtons > * {
570 -moz-box-flex: 1;
571}
572
573.fxaAccountBoxButtons > button {
574 text-align: center;
575 padding-left: 11px;
576 padding-right: 11px;
577 margin: 0;
578 min-width: 0;
579}
580
581.fxaAccountBoxButtons > button:first-child {
582 margin-inline-end: 14px !important;
583}
584
585.fxaSyncIllustration {
586 width: 231px;
587}
588
589#fxaLoginStatus[hasName] #fxaEmailAddress1 {
590 font-size: 1.1rem;
591}
592
593#fxaEmailAddress1,
594#fxaEmailAddress2,
595#fxaEmailAddress3 {
596 word-break: break-all;
597}
598
599.fxaFirefoxLogo {
600 list-style-image: url(chrome://browser/skin/fxa/logo.png);
601 max-width: 64px;
602 margin-inline-end: 14px;
603}
604
605.fxaMobilePromo {
606 margin-bottom: 20px;
607 margin-top: 25px;
608}
609
610#fxaLoginRejectedWarning {
611 list-style-image: url(chrome://browser/skin/warning.svg);
612 filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
613 margin: 4px 8px 0px 0px;
614}
615
616#syncOptions {
617 margin-bottom: 27.5px;
618}
619
620.androidLink {
621 background-image: url("chrome://browser/skin/fxa/android.png");
622}
623
624.iOSLink {
625 background-image: url("chrome://browser/skin/fxa/ios.png");
626}
627
628.androidLink,
629.iOSLink {
630 margin: 0 0 0 2px;
631 padding-left: 28px;
632 padding-top: 6px;
633 height: 28px;
634 background-repeat: no-repeat;
635 background-size: 24px 28px;
636}
637
638#tosPP-small {
639 margin-top: 20px;
640 margin-bottom: 20px;
641}
642
643@media (min-resolution: 1.1dppx) {
644 .androidLink {
645 background-image: url("chrome://browser/skin/fxa/android@2x.png");
646 }
647 .iOSLink {
648 background-image: url("chrome://browser/skin/fxa/ios@2x.png");
649 }
650 .fxaFirefoxLogo {
651 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
652 }
653}
654
655/* === END shared/incontentprefs/preferences.inc.css === */
656
657caption {
658}
659
660.indent-small {
661 margin-inline-start: 10px;
662}
663
664@media (min-resolution: 2dppx) {
665 checkbox:hover::before,
666 checkbox[checked]::before {
667 }
668
669 checkbox[checked]::before {
670 }
671}