firstst part of syncing LCARStrek with Firefox 53 browser 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 {
166 display: flex;
167 align-items: center;
168 justify-content: space-between;
169}
170
171.header[hidden=true] {
172 display: none;
173}
174
175#header-advanced {
176 border-bottom: none;
177 padding-bottom: 0;
178}
179
180.indent {
181 margin-top: 7px;
182 margin-bottom: 7px;
183}
184
185/* General Pane */
186
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
224#useFirefoxSync {
225 font-size: 90%;
226 margin-inline-end: 8px !important;
227}
228
229#getStarted {
230 font-size: 90%;
231}
232
233#isNotDefaultLabel {
234 font-weight: bold;
235}
236
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
244#notificationsPolicyLearnMore {
245 margin-inline-start: 1.5em !important;
246}
247
248#defaultFontSizeLabel {
249 /* !important needed to override common !important rule */
250 margin-inline-start: 4px !important;
251}
252
253/* Applications Pane Styles */
254
255#applicationsContent {
256 padding: 15px 0;
257}
258
259#filter {
260 margin-inline-start: 0;
261}
262
263#handlersView {
264 height: 25em;
265}
266
267#handlersView > richlistitem {
268 min-height: 36px !important;
269}
270
271.typeIcon {
272 margin-inline-start: 10px !important;
273 margin-inline-end: 9px !important;
274}
275
276.actionIcon {
277 margin-inline-start: 11px !important;
278 margin-inline-end: 8px !important;
279}
280
281.actionsMenu {
282 min-height: 36px;
283}
284
285.actionsMenu > menupopup > menuitem {
286 padding-inline-start: 10px !important;
287}
288
289.actionsMenu > menupopup > menuitem > .menu-iconic-left {
290 margin-inline-end: 8px !important;
291}
292
293/* Privacy pane */
294
295#trackingProtectionPBMLearnMore,
296#trackingProtectionLearnMore,
297#browserContainersLearnMore {
298 margin-inline-start: 1.5em !important;
299 margin-top: 0;
300 font-weight: normal;
301}
302
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
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,
320#weavePrefsDeck:not([selectedIndex="3"]) > #noFxaAccount,
321#weavePrefsDeck:not([selectedIndex="4"]) > #hasFxaAccount,
322#fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
323#fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
324 visibility: collapse;
325}
326
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
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,
344#weavePrefsDeck > #hasFxaAccount > vbox > label,
345#weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
346 /* no margin-inline-start for elements at the begin of a line */
347 margin-inline-start: 0;
348}
349
350#advancedPrefs {
351 padding-bottom: 0; /* no padding needed in inContent prefs */
352}
353
354#tabsElement {
355/* margin-inline-end: 4px; / add the 4px end-margin of other elements */
356}
357
358#telemetryLearnMore,
359#FHRLearnMore,
360#crashReporterLearnMore {
361 /* provide some margin between the links and the label text */
362 /* !important is needed to override the rules defined in common.css */
363 margin-inline-start: 20px !important;
364 /* center the links */
365 margin-top: 8px;
366 margin-bottom: 8px;
367}
368
369.indent {
370 /* !important needed to override margin-inline-start:0 !important; rule
371 define in common.css for labels - but not in LCARStrek*/
372 margin-inline-start: 33px /*!important*/;
373}
374
375.text-link {
376 margin-bottom: 0;
377}
378
379#showUpdateHistory {
380 margin-inline-start: 0;
381}
382
383#fxaProfileImage {
384 -moz-user-focus: normal;
385}
386
387/**
388 * Dialog
389 */
390
391#dialogOverlay {
392 background-color: rgba(0,0,0,0.75);
393 visibility: hidden;
394}
395
396#dialogBox {
397 background-color: #000000;
398 background-clip: content-box;
399 color: #FF9F00;
400 /* font-size: 14px; */
401 border: 1px solid #9C9CFF;
402 border-radius: 10px;
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;
412 min-height: 20em;
413 min-width: 66ch;
414}
415
416#dialogBox > .groupbox-title {
417 margin-inline-start: 0;
418 margin-inline-end: 0;
419/* padding: 3.5px 0;
420 background-color: #F1F1F1; */
421}
422
423#dialogTitle {
424 text-align: center;
425 -moz-user-select: none;
426}
427
428.close-icon {
429 background-color: transparent !important;
430 border: none;
431 box-shadow: none;
432 padding: 0;
433 height: auto;
434 min-height: 16px;
435 min-width: 0;
436}
437
438#dialogBox > .groupbox-title > caption {
439 margin: 0;
440 border-radius: 1000px;
441 background-color: #A09090;
442}
443
444#dialogBox > .groupbox-body {
445 -moz-appearance: none;
446 padding: 0;
447}
448
449#dialogFrame {
450 -moz-box-flex: 1;
451 /* Default dialog dimensions */
452 width: 66ch;
453}
454
455.largeDialogContainer.doScroll {
456 overflow-y: auto;
457 -moz-box-flex: 1;
458}
459
460/**
461 * End Dialog
462 */
463
464/**
465 * Font dialog menulist fixes
466 */
467
468#defaultFontType,
469#serif,
470#sans-serif,
471#monospace {
472 min-width: 30ch;
473}
474
475/**
476 * Sync
477 */
478
479#fxaProfileImage {
480 max-width: 60px;
481 border-radius: 50%;
482 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
483 margin-inline-end: 15px;
484 image-rendering: -moz-crisp-edges;
485}
486
487#fxaLoginStatus[hasName] #fxaProfileImage {
488 max-width: 80px;
489}
490
491#fxaProfileImage.actionable {
492 cursor: pointer;
493}
494
495#fxaProfileImage.actionable:hover {
496 box-shadow: 0px 0px 0px 1px #FFCF00;
497}
498
499#fxaProfileImage.actionable:hover:active {
500 box-shadow: 0px 0px 0px 1px #FF9F00;
501}
502
503#noFxaAccount {
504 /* Overriding the margins from the base preferences.css theme file.
505 These overrides can be simplified by fixing bug 1027174 */
506 margin: 0;
507 padding-top: 15px;
508}
509
510#fxaContentWrapper {
511 -moz-box-flex: 1;
512}
513
514#noFxaGroup {
515 -moz-box-flex: 1;
516 margin: 0;
517}
518
519#fxaContentWrapper {
520 padding-right: 15px;
521}
522
523#noFxaGroup > vbox,
524#fxaGroup {
525 -moz-box-align: start;
526}
527
528#fxaSyncEngines > vbox:first-child {
529 margin-right: 80px;
530}
531
532#fxaSyncComputerName {
533 margin-inline-start: 0px;
534 -moz-box-flex: 1;
535}
536
537#tosPP-small-ToS {
538 margin-bottom: 1em;
539}
540
541#fxaLoginRejectedWarning {
542 list-style-image: url("chrome://browser/skin/warning.svg");
543 margin: 4px 8px 0px 0px;
544}
545
546#noFxaCaption {
547 font-weight: bold;
548 margin-bottom: 11px;
549}
550
551.fxaSyncIllustration {
552 margin-top: 35px;
553}
554
555#syncOptions caption {
556 margin-bottom: 11px;
557}
558
559#fxaSyncComputerName {
560 margin-left: 0px;
561}
562
563#noFxaDescription {
564 margin-bottom: 20px !important;
565}
566
567.separator {
568 border-bottom: 1px solid var(--in-content-header-border-color);
569}
570
571.fxaAccountBox {
572 border: 1px solid #A09090;
573 border-radius: 5px;
574 padding: 14px 20px 14px 14px;
575}
576
577#signedOutAccountBoxTitle {
578 font-weight: bold;
579}
580
581.fxaAccountBoxButtons {
582 margin-bottom: 0 !important;
583 margin-top: 11px;
584 display: flex;
585 align-items: center;
586}
587
588.fxaAccountBoxButtons > * {
589 -moz-box-flex: 1;
590}
591
592.fxaAccountBoxButtons > button {
593 text-align: center;
594 padding-left: 11px;
595 padding-right: 11px;
596 margin: 0;
597 min-width: 0;
598}
599
600.fxaAccountBoxButtons > button:first-child {
601 margin-right: 14px !important;
602}
603
604.fxaSyncIllustration {
605 width: 231px;
606 list-style-image: url(chrome://browser/skin/fxa/sync-illustration.png)
607}
608
609#fxaLoginStatus[hasName] #fxaEmailAddress1 {
610 font-size: 1.1rem;
611}
612
613#fxaEmailAddress1,
614#fxaEmailAddress2,
615#fxaEmailAddress3 {
616 word-break: break-all;
617}
618
619.fxaFirefoxLogo {
620 list-style-image: url(chrome://browser/skin/fxa/logo.png);
621 max-width: 64px;
622 margin-inline-end: 14px;
623}
624
625.fxaMobilePromo {
626 margin-bottom: 20px;
627 margin-top: 25px;
628}
629
630#fxaLoginRejectedWarning {
631 list-style-image: url(chrome://browser/skin/warning.svg);
632 filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
633 margin: 4px 8px 0px 0px;
634}
635
636#syncOptions {
637 margin-bottom: 27.5px;
638}
639
640.androidLink {
641 background-image: url("chrome://browser/skin/fxa/android.png");
642}
643
644.iOSLink {
645 background-image: url("chrome://browser/skin/fxa/ios.png");
646}
647
648.androidLink,
649.iOSLink {
650 margin: 0 0 0 2px;
651 padding-left: 28px;
652 padding-top: 6px;
653 height: 28px;
654 background-repeat: no-repeat;
655 background-size: 24px 28px;
656}
657
658#tosPP-small {
659 margin-top: 20px;
660 margin-bottom: 20px;
661}
662
663@media (min-resolution: 1.1dppx) {
664 .androidLink {
665 background-image: url("chrome://browser/skin/fxa/android@2x.png");
666 }
667 .iOSLink {
668 background-image: url("chrome://browser/skin/fxa/ios@2x.png");
669 }
670 .fxaSyncIllustration {
671 list-style-image: url(chrome://browser/skin/fxa/sync-illustration@2x.png)
672 }
673 .fxaFirefoxLogo {
674 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
675 }
676}
677
678/* === END shared/incontentprefs/preferences.inc.css === */
679
680caption {
681}
682
683.indent-small {
684 margin-inline-start: 10px;
685}
686
687@media (min-resolution: 2dppx) {
688 checkbox:hover::before,
689 checkbox[checked]::before {
690 }
691
692 checkbox[checked]::before {
693 }
694}