add missing messebnger stylesheets
[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
bb9362a9 100#category-application > .category-icon {
66b04a00 101 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content");
bb9362a9
RK
102}
103
104#category-application:hover > .category-icon,
105#category-application[selected] > .category-icon {
66b04a00 106 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#content-active");
bb9362a9
RK
107}
108
109#category-privacy > .category-icon {
66b04a00 110 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security");
bb9362a9
RK
111}
112
113#category-privacy:hover > .category-icon,
114#category-privacy[selected] > .category-icon {
e184b661 115 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#security-active");
bb9362a9
RK
116}
117
118#category-sync > .category-icon {
e184b661 119 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync");
bb9362a9
RK
120}
121
122#category-sync:hover > .category-icon,
123#category-sync[selected] > .category-icon {
e184b661 124 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#sync-active");
bb9362a9
RK
125}
126
127#category-advanced > .category-icon {
e184b661 128 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced");
bb9362a9
RK
129}
130
131#category-advanced:hover > .category-icon,
132#category-advanced[selected] > .category-icon {
e184b661 133 list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#advanced-active");
bb9362a9
RK
134}
135
66b04a00
RK
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
b3bf08b1
RK
144@media (max-width: 800px) {
145 .category-name {
146 display: none;
147 }
3d739599
RK
148 .help-button {
149 font-size: 0 !important;
150 }
b3bf08b1
RK
151}
152
3d739599 153
bb9362a9
RK
154/* header */
155
d23bf94a
RK
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
d4d77dc0
RK
166#header-advanced {
167 border-bottom: none;
168 padding-bottom: 0;
bb9362a9
RK
169}
170
bb9362a9
RK
171.indent {
172 margin-top: 7px;
173 margin-bottom: 7px;
174}
175
176/* General Pane */
bb9362a9 177
d533ec21
RK
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
e548e22e
RK
215#useFirefoxSync {
216 font-size: 90%;
dae45075 217 margin-inline-end: 8px !important;
e548e22e
RK
218}
219
220#getStarted {
221 font-size: 90%;
222}
223
a21f2959
RK
224#isNotDefaultLabel {
225 font-weight: bold;
bb9362a9
RK
226}
227
d0f28e61
RK
228#browserHomePage:-moz-locale-dir(rtl) input {
229 unicode-bidi: plaintext;
230 direction: rtl;
231}
232
05148fed
RK
233#defaultFontSizeLabel {
234 /* !important needed to override common !important rule */
dae45075 235 margin-inline-start: 4px !important;
05148fed
RK
236}
237
bb9362a9
RK
238/* Applications Pane Styles */
239
3d64e0ce 240#applicationsContent {
3d64e0ce
RK
241 padding: 15px 0;
242}
243
244#filter {
dae45075 245 margin-inline-start: 0;
bb9362a9
RK
246}
247
368d0b7f
RK
248#handlersView {
249 height: 25em;
250}
251
bb9362a9 252#handlersView > richlistitem {
b3bf08b1 253 min-height: 36px !important;
bb9362a9
RK
254}
255
256.typeIcon {
dae45075
RK
257 margin-inline-start: 10px !important;
258 margin-inline-end: 9px !important;
bb9362a9
RK
259}
260
261.actionIcon {
dae45075
RK
262 margin-inline-start: 11px !important;
263 margin-inline-end: 8px !important;
bb9362a9
RK
264}
265
266.actionsMenu {
b3bf08b1 267 min-height: 36px;
bb9362a9
RK
268}
269
270.actionsMenu > menupopup > menuitem {
dae45075 271 padding-inline-start: 10px !important;
bb9362a9
RK
272}
273
274.actionsMenu > menupopup > menuitem > .menu-iconic-left {
dae45075 275 margin-inline-end: 8px !important;
bb9362a9
RK
276}
277
b1dfcf32
RK
278/* Privacy pane */
279
db1c5db1
RK
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
e184b661
RK
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,
d0f28e61 295#weavePrefsDeck:not([selectedIndex="1"]) > #hasFxaAccount,
e184b661
RK
296#fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
297#fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
298 visibility: collapse;
299}
300
bb9362a9
RK
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
9168a62c 307#noFxaAccount {
b9060895 308 padding-top: 15px;
9168a62c
RK
309}
310
311#weavePrefsDeck > vbox > label,
312#weavePrefsDeck > vbox > groupbox,
313#weavePrefsDeck > vbox > description,
314#weavePrefsDeck > vbox > #pairDevice > label,
315#weavePrefsDeck > #needsUpdate > hbox > #loginError,
d74db938
RK
316#weavePrefsDeck > #hasFxaAccount > vbox > label,
317#weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label {
9ff3770c 318 /* no margin-inline-start for elements at the begin of a line */
dae45075 319 margin-inline-start: 0;
9168a62c
RK
320}
321
bb9362a9
RK
322#advancedPrefs {
323 padding-bottom: 0; /* no padding needed in inContent prefs */
324}
325
20752032 326#tabsElement {
dae45075 327/* margin-inline-end: 4px; / add the 4px end-margin of other elements */
20752032
RK
328}
329
fa703ff4 330.indent {
dae45075 331 /* !important needed to override margin-inline-start:0 !important; rule
fa703ff4 332 define in common.css for labels - but not in LCARStrek*/
dae45075 333 margin-inline-start: 33px /*!important*/;
fa703ff4
RK
334}
335
1437a48c
RK
336.text-link {
337 margin-bottom: 0;
8c5bee4f 338}
6edbc6e8 339
e184b661 340#showUpdateHistory {
dae45075 341 margin-inline-start: 0;
e184b661
RK
342}
343
7327c957
RK
344#fxaProfileImage {
345 -moz-user-focus: normal;
346}
347
6edbc6e8 348/**
c1080df6 349 * Dialog
6edbc6e8
RK
350 */
351
352#dialogOverlay {
353 background-color: rgba(0,0,0,0.75);
354 visibility: hidden;
355}
356
357#dialogBox {
c1080df6 358 background-color: #000000;
20752032 359 background-clip: content-box;
c1080df6
RK
360 color: #FF9F00;
361 /* font-size: 14px; */
6edbc6e8 362 border: 1px solid #9C9CFF;
c1080df6 363 border-radius: 10px;
6edbc6e8
RK
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;
c1080df6 373 min-height: 20em;
6edbc6e8
RK
374 min-width: 66ch;
375}
376
de5e780d 377#dialogBox > .groupbox-title {
dae45075
RK
378 margin-inline-start: 0;
379 margin-inline-end: 0;
de5e780d
RK
380/* padding: 3.5px 0;
381 background-color: #F1F1F1; */
382}
383
384#dialogTitle {
385 text-align: center;
b336389b 386 -moz-user-select: none;
c1080df6
RK
387}
388
6edbc6e8
RK
389.close-icon {
390 background-color: transparent !important;
391 border: none;
392 box-shadow: none;
6edbc6e8 393 padding: 0;
c9b0a396
RK
394 height: auto;
395 min-height: 16px;
396 min-width: 0;
6edbc6e8
RK
397}
398
d4d77dc0
RK
399#dialogBox > .groupbox-title > caption {
400 margin: 0;
401 border-radius: 1000px;
402 background-color: #A09090;
403}
404
6edbc6e8
RK
405#dialogBox > .groupbox-body {
406 -moz-appearance: none;
407 padding: 0;
408}
409
410#dialogFrame {
411 -moz-box-flex: 1;
412 /* Default dialog dimensions */
6edbc6e8
RK
413 width: 66ch;
414}
415
e184b661
RK
416.largeDialogContainer.doScroll {
417 overflow-y: auto;
418 -moz-box-flex: 1;
419}
420
6edbc6e8 421/**
c1080df6 422 * End Dialog
6edbc6e8
RK
423 */
424
31bc2dc1
RK
425/**
426 * Font dialog menulist fixes
427 */
428
429#defaultFontType,
430#serif,
431#sans-serif,
432#monospace {
433 min-width: 30ch;
434}
435
b336389b
RK
436/**
437 * Sync
438 */
439
13875a54
RK
440#fxaProfileImage {
441 max-width: 60px;
442 border-radius: 50%;
7c1e433b 443 list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
13875a54 444 margin-inline-end: 15px;
7c1e433b
RK
445 image-rendering: -moz-crisp-edges;
446}
447
448#fxaLoginStatus[hasName] #fxaProfileImage {
449 max-width: 80px;
13875a54
RK
450}
451
452#fxaProfileImage.actionable {
453 cursor: pointer;
454}
455
456#fxaProfileImage.actionable:hover {
1437a48c 457 box-shadow: 0px 0px 0px 1px #FFCF00;
13875a54
RK
458}
459
460#fxaProfileImage.actionable:hover:active {
1437a48c 461 box-shadow: 0px 0px 0px 1px #FF9F00;
13875a54
RK
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
13875a54
RK
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 {
19988d2d
RK
499 margin-bottom: 1em;
500}
501
502#fxaLoginRejectedWarning {
503 list-style-image: url("chrome://browser/skin/warning.svg");
504 margin: 4px 8px 0px 0px;
13875a54
RK
505}
506
507#noFxaCaption {
508 font-weight: bold;
509 margin-bottom: 11px;
510}
511
38bd4bf1
RK
512#verifiedManage:visited {
513 color: var(--in-content-link-color);
514}
515
13875a54
RK
516.fxaSyncIllustration {
517 margin-top: 35px;
518}
519
520#syncOptions caption {
521 margin-bottom: 11px;
522}
523
19988d2d
RK
524#fxaSyncComputerName {
525 margin-left: 0px;
13875a54
RK
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;
39819724
RK
549 display: flex;
550 align-items: center;
13875a54
RK
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 {
b9060895 566 margin-inline-end: 14px !important;
13875a54
RK
567}
568
569.fxaSyncIllustration {
570 width: 231px;
13875a54
RK
571}
572
7c1e433b
RK
573#fxaLoginStatus[hasName] #fxaEmailAddress1 {
574 font-size: 1.1rem;
575}
576
13875a54
RK
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 {
7327c957
RK
590 margin-bottom: 20px;
591 margin-top: 25px;
13875a54
RK
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
7327c957
RK
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
13875a54
RK
612.androidLink,
613.iOSLink {
7327c957
RK
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;
13875a54
RK
620}
621
622#tosPP-small {
623 margin-top: 20px;
624 margin-bottom: 20px;
625}
626
627@media (min-resolution: 1.1dppx) {
7327c957
RK
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 }
13875a54
RK
634 .fxaFirefoxLogo {
635 list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
636 }
13875a54
RK
637}
638
3d739599
RK
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
13875a54 694/* === END shared/incontentprefs/preferences.inc.css === */
bb9362a9 695
0bcd5587
RK
696caption {
697}
698
bb9362a9 699.indent-small {
dae45075 700 margin-inline-start: 10px;
bb9362a9
RK
701}
702
703@media (min-resolution: 2dppx) {
704 checkbox:hover::before,
705 checkbox[checked]::before {
706 }
707
708 checkbox[checked]::before {
709 }
bb9362a9 710}