update both themes for winstripe changes up to 2010-07-02
[themes.git] / LCARStrek / mozapps / extensions / extensions.css
CommitLineData
4c18c82c
RK
1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is the Extension Manager UI.
15 *
16 * The Initial Developer of the Original Code is
17 * the Mozilla Foundation.
18 * Portions created by the Initial Developer are Copyright (C) 2010
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * Blair McBride <bmcbride@mozilla.com>
23 *
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
38
39.pane-splitter {
40 -moz-appearance: none;
41 border: none;
42 -moz-border-start: 1px solid #9C9CFF;
43 background-color: transparent;
44 background-image: none;
e10e7add
RK
45 min-width: 1px;
46}
47
4c18c82c
RK
48.view-pane {
49 background-color: #000000;
50}
51
52
53/*** category selector ***/
54
55#categories {
26a52ec5 56 -moz-appearance: none;
4c18c82c
RK
57 border: none;
58 margin: 0px;
e10e7add
RK
59}
60
4c18c82c
RK
61.category {
62 border: none;
63 -moz-border-radius: 8px;
64 padding: 10px 4px;
65 -moz-box-align: center;
66 overflow: hidden;
67 min-height: 0px;
e10e7add
RK
68}
69
4c18c82c
RK
70.category[disabled] {
71 height: 0px;
72 opacity: 0;
73 -moz-transition-property: height, opacity;
74 -moz-transition-duration: 1s, 0.8s;
e10e7add
RK
75}
76
4c18c82c
RK
77.category:not([disabled]) {
78 height: 52px;
79 -moz-transition-property: height, opacity;
80 -moz-transition-duration: 1s, 0.8s;
e10e7add
RK
81}
82
4c18c82c
RK
83.category[selected] {
84 background-color: #008484;
85 color: #FFCF00;
1e140ad9
RK
86}
87
4c18c82c
RK
88.category-name {
89 font-size: 150%;
e10e7add
RK
90}
91
4c18c82c
RK
92.category-badge {
93 background-color: #E7ADE7;
94 padding: 2px 8px;
95 margin: 6px 0px;
96 -moz-border-radius: 100%;
97 color: #000000;
98 font-weight: bold;
99 text-align: center;
e10e7add
RK
100}
101
4c18c82c
RK
102.category-badge[value="0"] {
103 visibility: hidden;
e10e7add
RK
104}
105
4c18c82c
RK
106.category-icon {
107 width: 32px;
108 height: 32px;
109 -moz-margin-start: 6px;
e10e7add
RK
110}
111
4c18c82c
RK
112#category-search > .category-icon {
113 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
114}
115#category-discover > .category-icon {
116 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
117}
118#category-languages > .category-icon {
119 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
120}
121#category-searchengines > .category-icon {
122 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
123}
124#category-extensions > .category-icon {
125 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
126}
127#category-themes > .category-icon {
128 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
129}
130#category-plugins > .category-icon {
131 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
e10e7add
RK
132}
133
4c18c82c
RK
134
135/*** header ***/
136
137#header {
138 background-color: #FF9F00;
139 -moz-border-radius: 8px;
140 padding: 2px 4em;
141 margin: 3px;
142 -moz-box-align: center;
143 height: 4.5em;
e10e7add
RK
144}
145
4c18c82c 146#header-name, #header-link {
e10e7add
RK
147 color: #000000;
148}
149
4c18c82c
RK
150#header-name {
151 font-size: 180%;
152}
153
154#header-link {
155 -moz-appearance: none;
156 border: none;
157 background: transparent;
158 font-size: 120%;
159 cursor: pointer;
160 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
161}
162
163#header-link .button-icon {
164 -moz-margin-end: 6px;
165}
166
167.view-header {
168 background-color: #9C9CFF;
169 color: #000000;
170 -moz-border-radius: 8px;
171 padding: 0px 4em;
172 margin: 3px;
e10e7add
RK
173}
174
4c18c82c
RK
175
176/*** sorters ***/
177
178.sort-controls {
179 -moz-appearance: none;
180}
181
182.sorter {
183 -moz-appearance: none;
184 border: none;
185 border-left: 3px solid #000000;
186 border-right: 3px solid #000000;
187 background-color: transparent;
188 -moz-border-radius: 0;
189 padding: 0px 6px;
190 margin: 0px 6px;
191 min-width: 12px !important;
192 -moz-box-direction: reverse;
193}
194
195
196.sorter[checkState="1"],
197.sorter[checkState="2"] {
e10e7add
RK
198 background-color: #008484;
199 color: #FFCF00;
200}
201
4c18c82c
RK
202.sorter[checkState="1"] {
203 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
e10e7add
RK
204}
205
4c18c82c
RK
206.sorter[checkState="2"] {
207 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
e10e7add
RK
208}
209
4c18c82c
RK
210.sorter .button-icon {
211 -moz-margin-start: 4px;
e10e7add
RK
212}
213
4c18c82c
RK
214
215/*** empty list notification ***/
216
217.empty-list-notice {
218 -moz-box-align: center;
e10e7add
RK
219}
220
4c18c82c
RK
221.empty-list-notice > button {
222 margin: 20px;
223}
224
225
226/*** list ***/
227
228.list {
229 -moz-appearance: none;
230 margin: 0px;
231 border: none;
232}
233
234.addon[status="installed"], .addon[status="installing"] {
e10e7add 235 background-color: #000000;
4c18c82c
RK
236 -moz-border-radius: 10px;
237 border: 1px solid #9C9CFF;
238 padding: 6px 7px;
239 margin: 3px;
e10e7add
RK
240}
241
4c18c82c
RK
242.addon[status="installing"] {
243 -moz-box-align: center;
244 border-color: #FF9F00;
e10e7add
RK
245}
246
4c18c82c
RK
247.addon[selected]:not([status="uninstalled"]) {
248 background-color: #008484;
249 color: #FFCF00;
e10e7add
RK
250}
251
4c18c82c
RK
252.addon[status="installed"][selected]:not([pending="true"]) {
253 border: none;
254 padding: 7px 8px;
e10e7add
RK
255}
256
4c18c82c
RK
257.addon[status="installed"][active="false"] .fade {
258 opacity: 0.5;
e10e7add
RK
259}
260
4c18c82c
RK
261.addon[status="installed"][pending="true"] {
262 border-color: red;
3b1530c2
RK
263}
264
4c18c82c
RK
265.addon[selected] {
266 /* color: -moz-dialogtext; */
3b1530c2
RK
267}
268
4c18c82c
RK
269.addon[selected] .text-link {
270 /* color: -moz-nativehyperlinktext; */
e10e7add
RK
271}
272
4c18c82c
RK
273.addon .toggle-more {
274 padding: 0px 6px;
275 margin: 0px 6px;
276 min-width: 12px !important;
277 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
278 -moz-box-direction: reverse;
279 /* border: 1px solid transparent;
280 background: transparent; */
281 cursor: pointer;
e10e7add
RK
282}
283
4c18c82c
RK
284.addon .toggle-more > .button-box > .button-icon {
285 -moz-padding-start: 4px;
e10e7add
RK
286}
287
4c18c82c
RK
288.addon[show-extra] .toggle-more {
289 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
e10e7add
RK
290}
291
4c18c82c
RK
292.addon .toggle-more:hover {
293 /* background-color: #FFCF00;
294 color: #FFCF00; */
e10e7add
RK
295}
296
4c18c82c
RK
297.addon[selected] .toggle-more:hover {
298 /* background-color: #FFCF00;
299 color: #FFCF00; */
e10e7add
RK
300}
301
4c18c82c
RK
302.addon .extra-details {
303 height: 0px;
304 overflow: hidden;
305 opacity: 0;
306 text-align: end;
307 -moz-transition-property: height, opacity;
308 -moz-transition-duration: 0.5s, 0.5s;
e10e7add
RK
309}
310
4c18c82c
RK
311.addon[show-extra] .extra-details {
312 opacity: 1;
313 -moz-transition-property: height, opacity;
314 -moz-transition-duration: 0.5s, 0.5s;
e10e7add
RK
315}
316
4c18c82c
RK
317.addon .icon {
318 margin: 7px 5px;
319 width: 32px;
320 height: 32px;
d15f39a1 321 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
e10e7add
RK
322}
323
4c18c82c
RK
324.addon[type="theme"] .icon {
325 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
e10e7add
RK
326}
327
d15f39a1
RK
328.addon[type="locale"] .icon {
329 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
330}
331
4c18c82c
RK
332.addon[type="plugin"] .icon {
333 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
e10e7add
RK
334}
335
4c18c82c
RK
336.addon .name-container {
337 -moz-box-align: end;
338}
339
f0c3317f
RK
340.addon .name,
341.addon .version {
4c18c82c
RK
342 font-size: 150%;
343 margin-bottom: 0px;
344}
345
346.addon .disabled-postfix {
347 font-size: 130%;
e10e7add
RK
348}
349
4c18c82c
RK
350.addon .description {
351 margin-top: 8px;
e10e7add 352 -moz-margin-start: 6px;
e10e7add
RK
353}
354
4c18c82c
RK
355.addon .warning {
356 color: #FF0000;
357 -moz-box-align: start;
e10e7add
RK
358}
359
4c18c82c
RK
360.addon .warning-icon {
361 opacity: 0.7;
362 list-style-image: url("chrome://global/skin/icons/warning-16.png");
e10e7add
RK
363}
364
4c18c82c
RK
365.addon[selected] .warning-icon {
366 opacity: 1;
e10e7add
RK
367}
368
4c18c82c
RK
369.addon .details-container {
370 -moz-box-align: end;
371 -moz-margin-start: 20px;
e10e7add
RK
372}
373
4c18c82c
RK
374.addon .control-container {
375 -moz-box-align: center;
376 -moz-box-pack: end;
377 margin-top: 6px;
e10e7add
RK
378}
379
4c18c82c
RK
380.addon[selected] .details-container {
381 border-color: #FFCF00;
e10e7add
RK
382}
383
4c18c82c
RK
384
385/*** item - uninstalled ***/
386
387.addon[status="uninstalled"] {
388 border: none;
e10e7add
RK
389}
390
4c18c82c
RK
391.addon[status="uninstalled"] > .container {
392 -moz-box-align: center;
393 padding: 4px 20px;
394 background-color: #8050B0;
395 -moz-border-radius: 8px;
396 font-size: 120%;
e10e7add
RK
397}
398
4c18c82c
RK
399.addon[status="uninstalled"][selected] {
400 background-color: transparent;
e10e7add
RK
401}
402
4c18c82c
RK
403
404
405/*** search view ***/
406
407.search-filter {
408 padding: 20px;
409 -moz-box-align: center;
410 background-color: #000000;
411 font-size: 120%;
e10e7add
RK
412}
413
4c18c82c
RK
414
415/*** detail view ***/
416
417#detail-view[active="false"] .fade {
418 opacity: 0.5;
e10e7add
RK
419}
420
4c18c82c
RK
421#detail-view > .loading {
422 opacity: 0;
e10e7add
RK
423}
424
4c18c82c
RK
425#detail-view:not([loading]) > .loading {
426 visibility: collapse;
e10e7add
RK
427}
428
4c18c82c
RK
429#detail-view[loading-extended] > .loading {
430 -moz-box-align: center;
431 -moz-box-pack: center;
432 opacity: 1;
433 -moz-transition-property: opacity;
434 -moz-transition-duration: 1s;
e10e7add
RK
435}
436
4c18c82c
RK
437#detail-view > .loading > image {
438 list-style-image: url("chrome://global/skin/icons/loading.gif");
e10e7add
RK
439}
440
4c18c82c
RK
441.detail-view-container {
442 overflow: auto;
443 padding: 10px 20px;
e10e7add
RK
444}
445
4c18c82c
RK
446.detail-basicinfo {
447 padding: 10px 0px;
448 -moz-box-align: center;
e10e7add
RK
449}
450
4c18c82c
RK
451.detail-extra {
452 margin-top: 20px;
e10e7add
RK
453}
454
4c18c82c
RK
455#detail-desc {
456 min-height: 40px;
457 margin-bottom: 20px;
e10e7add
RK
458}
459
4c18c82c
RK
460#detail-icon {
461 width: 32px;
462 height: 32px;
463 -moz-margin-end: 10px;
d15f39a1 464 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
e10e7add
RK
465}
466
4c18c82c
RK
467#detail-view[type="theme"] #detail-icon {
468 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
e10e7add
RK
469}
470
d15f39a1
RK
471#detail-view[type="locale"] #detail-icon {
472 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
473}
474
4c18c82c
RK
475#detail-view[type="plugin"] #detail-icon {
476 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
18f5421a
RK
477}
478
4c18c82c
RK
479#detail-name {
480 font-size: 200%;
e10e7add
RK
481}
482
4c18c82c
RK
483#detail-screenshot {
484 width: 140px;
485 height: 140px;
486 background-color: #9C9CFF;
487 margin: 0px 10px 0px 0px;
488}
489
490.detail-prefs {
491 -moz-box-align: start;
492}
493
494.meta-label {
495 font-weight: bold;
496}
497
498#detail-notification {
499 -moz-box-align: center;
500 -moz-box-pack: center;
501 margin: 0px 50px;
502 padding: 4px 20px;
e10e7add 503 background-color: #FFCF00;
4c18c82c
RK
504 -moz-border-radius: 8px;
505 font-size: 120%;
e10e7add
RK
506}
507
4c18c82c
RK
508
509/*** creator ***/
510
511.creator > label {
512 -moz-margin-start: 0px;
513 -moz-margin-end: 0px;
e10e7add
RK
514}
515
4c18c82c
RK
516.creator > .text-link {
517 margin-top: 1px;
518 margin-bottom: 1px;
e10e7add
RK
519}
520
4c18c82c
RK
521
522/*** rating ***/
523
524.meta-rating {
525 -moz-margin-start: 0px;
526 -moz-margin-end: 0px;
527 vertical-align: text-top;
e10e7add
RK
528}
529
4c18c82c
RK
530.meta-rating[showrating="average"] > .star {
531 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
532 padding: 0px 1px;
e10e7add
RK
533}
534
4c18c82c
RK
535.meta-rating[showrating="user"] > .star {
536 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
537 padding: 2px 3px;
e10e7add
RK
538}
539
4c18c82c
RK
540.meta-rating > .star[on="true"],
541.meta-rating[showrating="user"] > .star[hover] {
542 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
543 padding: 0px 1px;
e10e7add
RK
544}
545
4c18c82c
RK
546
547/*** download progress ***/
548
549.download-progress {
550 background-color: #000000;
551 -moz-border-radius: 100%;
552 border: 1px solid #FF9F00;
553 width: 200px;
554 height: 24px;
555 margin: 0px 8px;
e10e7add
RK
556}
557
4c18c82c
RK
558.download-progress .start-cap,
559.download-progress[complete] .end-cap,
560.download-progress .progress .progress-bar {
561 background-color: #008484;
e10e7add
RK
562}
563
4c18c82c
RK
564.download-progress .progress {
565 background-color: transparent;
e10e7add
RK
566}
567
4c18c82c
RK
568.download-progress .start-cap, .download-progress .end-cap {
569 width: 12px;
e10e7add
RK
570}
571
4c18c82c
RK
572.download-progress .start-cap {
573 -moz-border-radius: 100% 0 0 100%;
e10e7add
RK
574}
575
4c18c82c
RK
576.download-progress .end-cap {
577 -moz-border-radius: 0 100% 100% 0;
e10e7add
RK
578}
579
4c18c82c
RK
580.download-progress .progress {
581 -moz-appearance: none;
582 padding: 0px;
583 margin: 0px;
584 border: none;
e10e7add
RK
585}
586
4c18c82c
RK
587.download-progress .pause, .download-progress .cancel {
588 -moz-appearance: none;
589 background-color: #8050B0;
590 border-width: 1px 0px 0px 1px;
591 border-style: solid;
592 -moz-border-radius: 100%;
593 min-width: 16px;
594 width: 16px;
595 height: 16px;
596 margin: 3px;
e10e7add
RK
597}
598
d15f39a1
RK
599.download-progress .pause {
600 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
601}
602
603.download-progress .cancel {
604 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
605}
606
4c18c82c
RK
607.download-progress .status-container {
608 -moz-box-align: center;
609}
610
611
612/*** install status ***/
613
614.install-status {
615 -moz-box-align: center;
e10e7add
RK
616}
617
4c18c82c
RK
618
619/*** check for updates ***/
620
621#updates-container {
622 -moz-box-align: center;
e10e7add
RK
623}
624
4c18c82c
RK
625#updates-installed, #updates-downloaded {
626 color: #008484;
627 font-weight: bold;
e10e7add
RK
628}
629
4c18c82c
RK
630
631/*** buttons ***/
632
633.addon-control {
634 padding: 0px 5px;
e10e7add
RK
635}
636
4c18c82c
RK
637.addon-control[disabled="true"] {
638 display: none;
e10e7add
RK
639}
640
4c18c82c
RK
641.contribute {
642 -moz-padding-start: 20px;
643 -moz-padding-end: 4px;
644}
645
646.button-link {
647 background: transparent;
648 border: none;
649 text-decoration: underline;
650 color: blue;
651 cursor: pointer;
652 min-width: 0;
e10e7add 653}