2b56f30a65d87001879f9446259290c3f1163655
[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/in-content/preferences.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   line-height: 22px;
32   color: #FF9F00;
33 }
34
35 * {
36   -moz-user-select: text;
37 }
38
39 button,
40 treecol {
41   /* override the * rule */
42   -moz-user-select: none;
43 }
44
45 /* Category List */
46
47 #categories {
48   background-color: #A09090;
49   padding-top: 4em;
50   margin: 0;
51   border-radius: 1em 0 0 0;
52   border: none;
53 }
54
55 .category {
56   background-color: #000000;
57   color: #FFCF00;
58   -moz-border-end-width: 0;
59   -moz-padding-start: 15px;
60   -moz-padding-end: 21px;
61   min-height: 40px;
62   transition: background-color 150ms;
63 }
64
65 .category:hover {
66   background-color: #FFCF00;
67   color: #000000;
68 }
69
70 .category[selected] {
71   background-color: #008484;
72   color: #000000;
73 }
74
75 #categories[keyboard-navigation="true"]:-moz-focusring > .category[current] {
76   border-top: 1px dotted #000000;
77   border-bottom: 1px dotted #000000;
78 }
79
80 .category-name {
81   line-height: 22px;
82   font-size: 1.25rem;
83   padding-bottom: 2px;
84   -moz-padding-start: 9px;
85   margin: 0;
86 }
87
88 .category-icon {
89   width: 24px;
90   height: 24px;
91   list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png");
92 }
93
94 #category-general > .category-icon {
95   -moz-image-region: rect(0, 24px, 24px, 0);
96 }
97
98 #category-general:hover > .category-icon,
99 #category-general[selected] > .category-icon {
100   -moz-image-region: rect(24px, 24px, 48px, 0);
101 }
102
103 #category-search > .category-icon {
104   -moz-image-region: rect(0, 192px, 24px, 168px);
105 }
106
107 #category-search:hover > .category-icon,
108 #category-search[selected] > .category-icon {
109   -moz-image-region: rect(24px, 192px, 48px, 168px);
110 }
111
112 #category-content > .category-icon {
113   -moz-image-region: rect(0, 48px,  24px, 24px)
114 }
115
116 #category-content:hover > .category-icon,
117 #category-content[selected] > .category-icon {
118   -moz-image-region: rect(24px, 48px, 48px, 24px);
119 }
120
121 #category-application > .category-icon {
122   -moz-image-region: rect(0, 72px,  24px, 48px)
123 }
124
125 #category-application:hover > .category-icon,
126 #category-application[selected] > .category-icon {
127   -moz-image-region: rect(24px, 72px, 48px, 48px);
128 }
129
130 #category-privacy > .category-icon {
131   -moz-image-region: rect(0, 96px,  24px, 72px)
132 }
133
134 #category-privacy:hover > .category-icon,
135 #category-privacy[selected] > .category-icon {
136   -moz-image-region: rect(24px, 96px, 48px, 72px);
137 }
138
139 #category-security > .category-icon {
140   -moz-image-region: rect(0, 120px,  24px, 96px)
141 }
142
143 #category-security:hover > .category-icon,
144 #category-security[selected] > .category-icon {
145   -moz-image-region: rect(24px, 120px, 48px, 96px);
146 }
147
148 #category-sync > .category-icon {
149   -moz-image-region: rect(0, 144px, 24px, 120px);
150 }
151
152 #category-sync:hover > .category-icon,
153 #category-sync[selected] > .category-icon {
154   -moz-image-region: rect(24px, 144px, 48px, 120px);
155 }
156
157 #category-advanced > .category-icon {
158   -moz-image-region: rect(0, 168px, 24px, 144px)
159 }
160
161 #category-advanced:hover > .category-icon,
162 #category-advanced[selected] > .category-icon {
163   -moz-image-region: rect(24px, 168px, 48px, 144px);
164 }
165
166 @media (max-width: 800px) {
167   .category-name {
168     display: none;
169   }
170 }
171
172 /* header */
173
174 #header-advanced {
175   border-bottom: none;
176   padding-bottom: 0;
177 }
178
179 .indent {
180   margin-top: 7px;
181   margin-bottom: 7px;
182 }
183
184 /* General Pane */
185
186 #useFirefoxSync  {
187   font-size: 90%;
188   -moz-margin-end: 8px !important;
189 }
190
191 #getStarted {
192   font-size: 90%;
193 }
194
195 #isNotDefaultLabel {
196   font-weight: bold;
197 }
198
199 /* Applications Pane Styles */
200
201 #applicationsContent {
202   padding: 15px 0;
203 }
204
205 #filter {
206   -moz-margin-start: 0;
207 }
208
209 #handlersView > richlistitem {
210   min-height: 36px !important;
211 }
212
213 .typeIcon {
214   -moz-margin-start: 10px !important;
215   -moz-margin-end: 9px !important;
216 }
217
218 .actionIcon {
219   -moz-margin-start: 11px !important;
220   -moz-margin-end: 8px !important;
221 }
222
223 .actionsMenu {
224   min-height: 36px;
225 }
226
227 .actionsMenu > menupopup > menuitem {
228   -moz-padding-start: 10px !important;
229 }
230
231 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
232   -moz-margin-end: 8px !important;
233 }
234
235 /* XXX This style is for bug 740213 and should be removed once that
236    bug has a solution. */
237 description > html|a {
238   cursor: pointer;
239 }
240
241 #noFxaAccount {
242   /* Overriding the margins from the base preferences.css theme file.
243      These overrides can be simplified by fixing bug 1027174 */
244   margin: 0;
245 }
246
247 #weavePrefsDeck > vbox > label,
248 #weavePrefsDeck > vbox > groupbox,
249 #weavePrefsDeck > vbox > description,
250 #weavePrefsDeck > vbox > #pairDevice > label,
251 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
252 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label,
253 #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-small) > label {
254   /* no margin-start for elements at the begin of a line */
255   -moz-margin-start: 0;
256 }
257
258 #advancedPrefs {
259   padding-bottom: 0; /* no padding needed in inContent prefs */
260 }
261
262 #encryptionPanel {
263   margin-top: 15px;
264 }
265
266 #telemetryLearnMore,
267 #FHRLearnMore,
268 #crashReporterLearnMore {
269   /* center the links */
270   margin-top: 8px;
271   margin-bottom: 8px;
272 }
273
274 #trackingProtectionImage {
275   width: 16px;
276   height: 16px;
277   list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
278 }
279
280 @media (min-resolution: 2dppx) {
281   #trackingProtectionImage {
282     list-style-image: url("chrome://browser/skin/bad-content-blocked-16@2x.png");
283   }
284 }
285
286 /**
287  * Dialog
288  */
289
290 #dialogOverlay {
291   background-color: rgba(0,0,0,0.75);
292   visibility: hidden;
293 }
294
295 #dialogBox {
296   background-color: #000000;
297   color: #FF9F00;
298   /* font-size: 14px; */
299   border: 1px solid #9C9CFF;
300   border-radius: 10px;
301   display: -moz-box;
302   margin: 0;
303   padding-right: 6px;
304   padding-left: 6px;
305 }
306
307 #dialogBox[resizable="true"] {
308   resize: both;
309   overflow: hidden;
310   min-height: 20em;
311   min-width: 66ch;
312 }
313
314 #dialogBox > .groupbox-title {
315   -moz-margin-start: 0;
316   -moz-margin-end: 0;
317 /*  padding: 3.5px 0;
318   background-color: #F1F1F1; */
319 }
320
321 #dialogTitle {
322   text-align: center;
323 }
324
325 .close-icon {
326   background-color: transparent !important;
327   border: none;
328   box-shadow: none;
329   height: 18px;
330   padding: 0;
331   min-width: 18px;
332 }
333
334 #dialogBox > .groupbox-title > caption {
335   margin: 0;
336   border-radius: 1000px;
337   background-color: #A09090;
338 }
339
340 #dialogBox > .groupbox-body {
341   -moz-appearance: none;
342   padding: 0;
343 }
344
345 #dialogFrame {
346   -moz-box-flex: 1;
347   /* Default dialog dimensions */
348   height: 20em;
349   width: 66ch;
350 }
351
352 /**
353  * End Dialog
354  */
355
356 /* === END shared/in-content/preferences.css === */
357
358 caption {
359 }
360
361 .indent-small {
362   -moz-margin-start: 10px;
363 }
364
365 @media (min-resolution: 2dppx) {
366   checkbox:hover::before,
367   checkbox[checked]::before {
368   }
369
370   checkbox[checked]::before {
371   }
372
373   .category-icon {
374     list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
375   }
376
377   #category-general > .category-icon {
378     -moz-image-region: rect(0, 48px, 48px, 0);
379   }
380
381   #category-general:hover > .category-icon,
382   #category-general[selected] > .category-icon {
383     -moz-image-region: rect(48px, 48px, 96px, 0);
384   }
385
386   #category-search > .category-icon {
387     -moz-image-region: rect(0, 384px, 48px, 336px);
388   }
389
390   #category-search:hover > .category-icon,
391   #category-search[selected] > .category-icon {
392     -moz-image-region: rect(48, 384px, 96px, 336px);
393   }
394
395   #category-content > .category-icon {
396     -moz-image-region: rect(0, 96px, 48px, 48px);
397   }
398
399   #category-content:hover > .category-icon,
400   #category-content[selected] > .category-icon {
401     -moz-image-region: rect(48px, 96px, 96px, 48px);
402   }
403
404   #category-application > .category-icon {
405     -moz-image-region: rect(0, 144px, 48px, 96px);
406   }
407
408   #category-application:hover > .category-icon,
409   #category-application[selected] > .category-icon {
410     -moz-image-region: rect(48px, 144px, 96px, 96px);
411   }
412
413   #category-privacy > .category-icon {
414     -moz-image-region: rect(0, 192px, 48px, 144px);
415   }
416
417   #category-privacy:hover > .category-icon,
418   #category-privacy[selected] > .category-icon {
419     -moz-image-region: rect(48px, 192px, 96px, 144px);
420   }
421
422   #category-security > .category-icon {
423     -moz-image-region: rect(0, 240px, 48px, 192px);
424   }
425
426   #category-security:hover > .category-icon,
427   #category-security[selected] > .category-icon {
428     -moz-image-region: rect(48px, 240px, 96px, 192px);
429   }
430
431   #category-sync > .category-icon {
432     -moz-image-region: rect(0, 288px, 48px, 240px);
433   }
434
435   #category-sync:hover > .category-icon,
436   #category-sync[selected] > .category-icon {
437     -moz-image-region: rect(48px, 288px, 96px, 240px);
438   }
439
440   #category-advanced > .category-icon {
441     -moz-image-region: rect(0, 336px, 48px, 288px);
442   }
443
444   #category-advanced:hover > .category-icon,
445   #category-advanced[selected] > .category-icon {
446     -moz-image-region: rect(48px, 336px, 96px, 288px);
447   }
448 }