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