first part of syncing LCARStrek with Firefox 38 windows theme changes
[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
5/* === BEGIN shared/in-content/preferences.css === */
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
RK
30 font-size: 1.25rem;
31 line-height: 22px;
6edbc6e8 32 color: #FF9F00;
bb9362a9
RK
33}
34
8922acc9
RK
35* {
36 -moz-user-select: text;
37}
38
39button,
40treecol {
41 /* override the * rule */
42 -moz-user-select: none;
43}
44
bb9362a9
RK
45/* Category List */
46
47#categories {
48 background-color: #A09090;
0b8749a4 49 padding-top: 4em;
bb9362a9
RK
50 margin: 0;
51 border-radius: 1em 0 0 0;
0b8749a4 52 border: none;
bb9362a9
RK
53}
54
55.category {
56 background-color: #000000;
57 color: #FFCF00;
58 -moz-border-end-width: 0;
3d64e0ce 59 -moz-padding-start: 15px;
bb9362a9
RK
60 -moz-padding-end: 21px;
61 min-height: 40px;
3d64e0ce 62 transition: background-color 150ms;
bb9362a9
RK
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
2b5a5147
RK
75#categories[keyboard-navigation="true"]:-moz-focusring > .category[current] {
76 border-top: 1px dotted #000000;
77 border-bottom: 1px dotted #000000;
78}
79
bb9362a9
RK
80.category-name {
81 line-height: 22px;
bb9362a9
RK
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
58036cb8 103#category-search > .category-icon {
1eb9479d 104 -moz-image-region: rect(0, 192px, 24px, 168px);
58036cb8
RK
105}
106
107#category-search:hover > .category-icon,
108#category-search[selected] > .category-icon {
1eb9479d 109 -moz-image-region: rect(24px, 192px, 48px, 168px);
58036cb8
RK
110}
111
bb9362a9
RK
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
b3bf08b1
RK
166@media (max-width: 800px) {
167 .category-name {
168 display: none;
169 }
170}
171
bb9362a9
RK
172/* header */
173
d4d77dc0
RK
174#header-advanced {
175 border-bottom: none;
176 padding-bottom: 0;
bb9362a9
RK
177}
178
bb9362a9
RK
179.indent {
180 margin-top: 7px;
181 margin-bottom: 7px;
182}
183
184/* General Pane */
bb9362a9 185
e548e22e
RK
186#useFirefoxSync {
187 font-size: 90%;
188 -moz-margin-end: 8px !important;
189}
190
191#getStarted {
192 font-size: 90%;
193}
194
a21f2959
RK
195#isNotDefaultLabel {
196 font-weight: bold;
bb9362a9
RK
197}
198
20752032
RK
199/* Content pane */
200#playDRMContentLink {
201 /* Line up with the buttons in the other grid bits: */
202 margin-left: 4px !important;
203 margin-right: 4px !important;
204}
205
bb9362a9
RK
206/* Applications Pane Styles */
207
3d64e0ce 208#applicationsContent {
3d64e0ce
RK
209 padding: 15px 0;
210}
211
212#filter {
213 -moz-margin-start: 0;
bb9362a9
RK
214}
215
368d0b7f
RK
216#handlersView {
217 height: 25em;
218}
219
bb9362a9 220#handlersView > richlistitem {
b3bf08b1 221 min-height: 36px !important;
bb9362a9
RK
222}
223
224.typeIcon {
225 -moz-margin-start: 10px !important;
226 -moz-margin-end: 9px !important;
227}
228
229.actionIcon {
230 -moz-margin-start: 11px !important;
231 -moz-margin-end: 8px !important;
232}
233
234.actionsMenu {
b3bf08b1 235 min-height: 36px;
bb9362a9
RK
236}
237
238.actionsMenu > menupopup > menuitem {
239 -moz-padding-start: 10px !important;
240}
241
242.actionsMenu > menupopup > menuitem > .menu-iconic-left {
243 -moz-margin-end: 8px !important;
244}
245
246/* XXX This style is for bug 740213 and should be removed once that
247 bug has a solution. */
248description > html|a {
249 cursor: pointer;
250}
251
9168a62c
RK
252#noFxaAccount {
253 /* Overriding the margins from the base preferences.css theme file.
254 These overrides can be simplified by fixing bug 1027174 */
255 margin: 0;
256}
257
258#weavePrefsDeck > vbox > label,
259#weavePrefsDeck > vbox > groupbox,
260#weavePrefsDeck > vbox > description,
261#weavePrefsDeck > vbox > #pairDevice > label,
262#weavePrefsDeck > #needsUpdate > hbox > #loginError,
cac2a998
RK
263#weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label,
264#weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-small) > label {
9168a62c
RK
265 /* no margin-start for elements at the begin of a line */
266 -moz-margin-start: 0;
267}
268
bb9362a9
RK
269#advancedPrefs {
270 padding-bottom: 0; /* no padding needed in inContent prefs */
271}
272
20752032
RK
273#tabsElement {
274/* -moz-margin-end: 4px; / add the 4px end-margin of other elements */
275}
276
bb9362a9
RK
277#encryptionPanel {
278 margin-top: 15px;
bb9362a9
RK
279}
280
bb9362a9
RK
281#telemetryLearnMore,
282#FHRLearnMore,
283#crashReporterLearnMore {
284 /* center the links */
285 margin-top: 8px;
286 margin-bottom: 8px;
287}
288
8c5bee4f
RK
289#trackingProtectionImage {
290 width: 16px;
291 height: 16px;
292 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
293}
294
295@media (min-resolution: 2dppx) {
296 #trackingProtectionImage {
297 list-style-image: url("chrome://browser/skin/bad-content-blocked-16@2x.png");
298 }
299}
6edbc6e8
RK
300
301/**
c1080df6 302 * Dialog
6edbc6e8
RK
303 */
304
305#dialogOverlay {
306 background-color: rgba(0,0,0,0.75);
307 visibility: hidden;
308}
309
310#dialogBox {
c1080df6 311 background-color: #000000;
20752032 312 background-clip: content-box;
c1080df6
RK
313 color: #FF9F00;
314 /* font-size: 14px; */
6edbc6e8 315 border: 1px solid #9C9CFF;
c1080df6 316 border-radius: 10px;
6edbc6e8
RK
317 display: -moz-box;
318 margin: 0;
319 padding-right: 6px;
320 padding-left: 6px;
321}
322
323#dialogBox[resizable="true"] {
324 resize: both;
325 overflow: hidden;
c1080df6 326 min-height: 20em;
6edbc6e8
RK
327 min-width: 66ch;
328}
329
de5e780d 330#dialogBox > .groupbox-title {
c1080df6
RK
331 -moz-margin-start: 0;
332 -moz-margin-end: 0;
de5e780d
RK
333/* padding: 3.5px 0;
334 background-color: #F1F1F1; */
335}
336
337#dialogTitle {
338 text-align: center;
c1080df6
RK
339}
340
6edbc6e8
RK
341.close-icon {
342 background-color: transparent !important;
343 border: none;
344 box-shadow: none;
345 height: 18px;
346 padding: 0;
347 min-width: 18px;
348}
349
d4d77dc0
RK
350#dialogBox > .groupbox-title > caption {
351 margin: 0;
352 border-radius: 1000px;
353 background-color: #A09090;
354}
355
6edbc6e8
RK
356#dialogBox > .groupbox-body {
357 -moz-appearance: none;
358 padding: 0;
359}
360
361#dialogFrame {
362 -moz-box-flex: 1;
363 /* Default dialog dimensions */
c1080df6 364 height: 20em;
6edbc6e8
RK
365 width: 66ch;
366}
367
6edbc6e8 368/**
c1080df6 369 * End Dialog
6edbc6e8
RK
370 */
371
20752032
RK
372/**
373 * Sync migration
374 */
375#sync-migrate-upgrade-description {
376 /* description elts need a min-width to wrap correctly - bug 630864? */
377 min-width: 100px
378}
379
380#sync-migration {
381 border: 1px solid #9C9CFF;
382 background-color: #000000;
383 color: #A09090;
384 text-shadow: none;
385 margin: 5px 0 0 0;
386 animation: fadein 3000ms;
387}
388
389@keyframes fadein {
390 from { opacity: 0; }
391 to { opacity: 1; }
392}
393
bb9362a9
RK
394/* === END shared/in-content/preferences.css === */
395
0bcd5587
RK
396caption {
397}
398
bb9362a9
RK
399.indent-small {
400 -moz-margin-start: 10px;
401}
402
403@media (min-resolution: 2dppx) {
404 checkbox:hover::before,
405 checkbox[checked]::before {
406 }
407
408 checkbox[checked]::before {
409 }
410
411 .category-icon {
412 list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png");
413 }
414
415 #category-general > .category-icon {
416 -moz-image-region: rect(0, 48px, 48px, 0);
417 }
418
58036cb8 419 #category-general:hover > .category-icon,
bb9362a9
RK
420 #category-general[selected] > .category-icon {
421 -moz-image-region: rect(48px, 48px, 96px, 0);
422 }
423
58036cb8
RK
424 #category-search > .category-icon {
425 -moz-image-region: rect(0, 384px, 48px, 336px);
426 }
427
428 #category-search:hover > .category-icon,
429 #category-search[selected] > .category-icon {
430 -moz-image-region: rect(48, 384px, 96px, 336px);
431 }
432
bb9362a9
RK
433 #category-content > .category-icon {
434 -moz-image-region: rect(0, 96px, 48px, 48px);
435 }
436
58036cb8 437 #category-content:hover > .category-icon,
bb9362a9
RK
438 #category-content[selected] > .category-icon {
439 -moz-image-region: rect(48px, 96px, 96px, 48px);
440 }
441
442 #category-application > .category-icon {
443 -moz-image-region: rect(0, 144px, 48px, 96px);
444 }
445
58036cb8 446 #category-application:hover > .category-icon,
bb9362a9
RK
447 #category-application[selected] > .category-icon {
448 -moz-image-region: rect(48px, 144px, 96px, 96px);
449 }
450
451 #category-privacy > .category-icon {
452 -moz-image-region: rect(0, 192px, 48px, 144px);
453 }
454
58036cb8 455 #category-privacy:hover > .category-icon,
bb9362a9
RK
456 #category-privacy[selected] > .category-icon {
457 -moz-image-region: rect(48px, 192px, 96px, 144px);
458 }
459
460 #category-security > .category-icon {
461 -moz-image-region: rect(0, 240px, 48px, 192px);
462 }
463
58036cb8 464 #category-security:hover > .category-icon,
bb9362a9
RK
465 #category-security[selected] > .category-icon {
466 -moz-image-region: rect(48px, 240px, 96px, 192px);
467 }
468
469 #category-sync > .category-icon {
470 -moz-image-region: rect(0, 288px, 48px, 240px);
471 }
472
58036cb8 473 #category-sync:hover > .category-icon,
bb9362a9
RK
474 #category-sync[selected] > .category-icon {
475 -moz-image-region: rect(48px, 288px, 96px, 240px);
476 }
477
478 #category-advanced > .category-icon {
479 -moz-image-region: rect(0, 336px, 48px, 288px);
480 }
481
58036cb8 482 #category-advanced:hover > .category-icon,
bb9362a9
RK
483 #category-advanced[selected] > .category-icon {
484 -moz-image-region: rect(48px, 336px, 96px, 288px);
485 }
486}