sync both themes with suite classic theme changes in SeaMonkey 2.49 cycle
[themes.git] / LCARStrek / browser / preferences / in-content / preferences.css
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
38 button,
39 treecol {
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. */
329 description > 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   height: 20em;
453   width: 66ch;
454 }
455
456 .largeDialogContainer.doScroll {
457   overflow-y: auto;
458   -moz-box-flex: 1;
459 }
460
461 /**
462  * End Dialog
463  */
464
465 /**
466  * Font dialog menulist fixes
467  */
468
469 #defaultFontType,
470 #serif,
471 #sans-serif,
472 #monospace {
473   min-width: 30ch;
474 }
475
476 /**
477  * Sync
478  */
479
480 #fxaProfileImage {
481   max-width: 60px;
482   border-radius: 50%;
483   list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg);
484   margin-inline-end: 15px;
485   image-rendering: -moz-crisp-edges;
486 }
487
488 #fxaLoginStatus[hasName] #fxaProfileImage {
489   max-width: 80px;
490 }
491
492 #fxaProfileImage.actionable {
493   cursor: pointer;
494 }
495
496 #fxaProfileImage.actionable:hover {
497   box-shadow: 0px 0px 0px 1px #FFCF00;
498 }
499
500 #fxaProfileImage.actionable:hover:active {
501   box-shadow: 0px 0px 0px 1px #FF9F00;
502 }
503
504 #noFxaAccount {
505   /* Overriding the margins from the base preferences.css theme file.
506      These overrides can be simplified by fixing bug 1027174 */
507   margin: 0;
508   padding-top: 15px;
509 }
510
511 #fxaContentWrapper {
512   -moz-box-flex: 1;
513 }
514
515 #noFxaGroup {
516   -moz-box-flex: 1;
517   margin: 0;
518 }
519
520 #fxaContentWrapper {
521   padding-right: 15px;
522 }
523
524 #noFxaGroup > vbox,
525 #fxaGroup {
526   -moz-box-align: start;
527 }
528
529 #fxaSyncEngines > vbox:first-child {
530   margin-right: 80px;
531 }
532
533 #fxaSyncComputerName {
534   margin-inline-start: 0px;
535   -moz-box-flex: 1;
536 }
537
538 #tosPP-small-ToS {
539   margin-bottom: 1em;
540 }
541
542 #fxaLoginRejectedWarning {
543   list-style-image: url("chrome://browser/skin/warning.svg");
544   margin: 4px 8px 0px 0px;
545 }
546
547 #noFxaCaption {
548   font-weight: bold;
549   margin-bottom: 11px;
550 }
551
552 .fxaSyncIllustration {
553   margin-top: 35px;
554 }
555
556 #syncOptions caption {
557   margin-bottom: 11px;
558 }
559
560 #fxaSyncComputerName {
561   margin-left: 0px;
562 }
563
564 #noFxaDescription {
565   margin-bottom: 20px !important;
566 }
567
568 .separator {
569   border-bottom: 1px solid var(--in-content-header-border-color);
570 }
571
572 .fxaAccountBox {
573   border: 1px solid #A09090;
574   border-radius: 5px;
575   padding: 14px 20px 14px 14px;
576 }
577
578 #signedOutAccountBoxTitle {
579   font-weight: bold;
580 }
581
582 .fxaAccountBoxButtons {
583   margin-bottom: 0 !important;
584   margin-top: 11px;
585 }
586
587 .fxaAccountBoxButtons > * {
588   -moz-box-flex: 1;
589 }
590
591 .fxaAccountBoxButtons > button {
592   text-align: center;
593   padding-left: 11px;
594   padding-right: 11px;
595   margin: 0;
596   min-width: 0;
597 }
598
599 .fxaAccountBoxButtons > button:first-child {
600   margin-right: 14px !important;
601 }
602
603 .fxaSyncIllustration {
604   width: 231px;
605   list-style-image: url(chrome://browser/skin/fxa/sync-illustration.png)
606 }
607
608 #fxaLoginStatus[hasName] #fxaEmailAddress1 {
609   font-size: 1.1rem;
610 }
611
612 #fxaEmailAddress1,
613 #fxaEmailAddress2,
614 #fxaEmailAddress3 {
615   word-break: break-all;
616 }
617
618 .fxaFirefoxLogo {
619   list-style-image: url(chrome://browser/skin/fxa/logo.png);
620   max-width: 64px;
621   margin-inline-end: 14px;
622 }
623
624 .fxaMobilePromo {
625   margin-bottom: 20px;
626   margin-top: 25px;
627 }
628
629 #fxaLoginRejectedWarning {
630   list-style-image: url(chrome://browser/skin/warning.svg);
631   filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
632   margin: 4px 8px 0px 0px;
633 }
634
635 #syncOptions {
636   margin-bottom: 27.5px;
637 }
638
639 .androidLink {
640   background-image: url("chrome://browser/skin/fxa/android.png");
641 }
642
643 .iOSLink {
644   background-image: url("chrome://browser/skin/fxa/ios.png");
645 }
646
647 .androidLink,
648 .iOSLink {
649   margin: 0 0 0 2px;
650   padding-left: 28px;
651   padding-top: 6px;
652   height: 28px;
653   background-repeat: no-repeat;
654   background-size: 24px 28px;
655 }
656
657 #tosPP-small {
658   margin-top: 20px;
659   margin-bottom: 20px;
660 }
661
662 @media (min-resolution: 1.1dppx) {
663   .androidLink {
664     background-image: url("chrome://browser/skin/fxa/android@2x.png");
665   }
666   .iOSLink {
667     background-image: url("chrome://browser/skin/fxa/ios@2x.png");
668   }
669   .fxaSyncIllustration {
670     list-style-image: url(chrome://browser/skin/fxa/sync-illustration@2x.png)
671   }
672   .fxaFirefoxLogo {
673     list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
674   }
675 }
676
677 /* === END shared/incontentprefs/preferences.inc.css === */
678
679 caption {
680 }
681
682 .indent-small {
683   margin-inline-start: 10px;
684 }
685
686 @media (min-resolution: 2dppx) {
687   checkbox:hover::before,
688   checkbox[checked]::before {
689   }
690
691   checkbox[checked]::before {
692   }
693 }