f57fb8001fee5af08b0e830949d653b539af8980
[themes.git] / LCARStrek / mozapps / extensions / extensions.css
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;
45   min-width: 1px;
46 }
47
48 .view-pane {
49   background-color: #000000;
50 }
51
52
53 /*** category selector ***/
54
55 #categories {
56   -moz-appearance: none;
57   border: none;
58   margin: 0px;
59 }
60
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;
68 }
69
70 .category[disabled] {
71   height: 0px;
72   opacity: 0;
73   -moz-transition-property: height, opacity;
74   -moz-transition-duration: 1s, 0.8s;
75 }
76
77 .category:not([disabled]) {
78   height: 52px;
79   -moz-transition-property: height, opacity;
80   -moz-transition-duration: 1s, 0.8s;
81 }
82
83 .category[selected] {
84   background-color: #008484;
85   color: #FFCF00;
86 }
87
88 .category-name {
89   font-size: 150%;
90 }
91
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;
100 }
101
102 .category-badge[value="0"] {
103   visibility: hidden;
104 }
105
106 .category-icon {
107   width: 32px;
108   height: 32px;
109   -moz-margin-start: 6px;
110 }
111
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");
132 }
133
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;
144 }
145
146 #header-name, #header-link {
147   color: #000000;
148 }
149
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;
173 }
174
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"] {
198   background-color: #008484;
199   color: #FFCF00;
200 }
201
202 .sorter[checkState="1"] {
203   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
204 }
205
206 .sorter[checkState="2"] {
207   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
208 }
209
210 .sorter .button-icon {
211   -moz-margin-start: 4px;
212 }
213
214
215 /*** empty list notification ***/
216
217 .empty-list-notice {
218   -moz-box-align: center;
219 }
220
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"] {
235   background-color: #000000;
236   -moz-border-radius: 10px;
237   border: 1px solid #9C9CFF;
238   padding: 6px 7px;
239   margin: 3px;
240 }
241
242 .addon[status="installing"] {
243   -moz-box-align: center;
244   border-color: #FF9F00;
245 }
246
247 .addon[selected]:not([status="uninstalled"]) {
248   background-color: #008484;
249   color: #FFCF00;
250 }
251
252 .addon[status="installed"][selected]:not([pending="true"]) {
253   border: none;
254   padding: 7px 8px;
255 }
256
257 .addon[status="installed"][active="false"] .fade {
258   opacity: 0.5;
259 }
260
261 .addon[status="installed"][pending="true"] {
262   border-color: red;
263 }
264
265 .addon[selected] {
266   /* color: -moz-dialogtext; */
267 }
268
269 .addon[selected] .text-link {
270   /* color: -moz-nativehyperlinktext; */
271 }
272
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;
282 }
283
284 .addon .toggle-more > .button-box > .button-icon {
285   -moz-padding-start: 4px;
286 }
287
288 .addon[show-extra] .toggle-more {
289   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
290 }
291
292 .addon .toggle-more:hover {
293   /* background-color: #FFCF00;
294   color: #FFCF00; */
295 }
296
297 .addon[selected] .toggle-more:hover {
298   /* background-color: #FFCF00;
299   color: #FFCF00; */
300 }
301
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;
309 }
310
311 .addon[show-extra] .extra-details {
312   opacity: 1;
313   -moz-transition-property: height, opacity;
314   -moz-transition-duration: 0.5s, 0.5s;
315 }
316
317 .addon .icon {
318   margin: 7px 5px;
319   width: 32px;
320   height: 32px;
321   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
322 }
323
324 .addon[type="theme"] .icon {
325   list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
326 }
327
328 .addon[type="locale"] .icon {
329   list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
330 }
331
332 .addon[type="plugin"] .icon {
333   list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
334 }
335
336 .addon .name-container {
337   -moz-box-align: end;
338 }
339
340 .addon .name {
341   font-size: 150%;
342   margin-bottom: 0px;
343 }
344
345 .addon .disabled-postfix {
346   font-size: 130%;
347 }
348
349 .addon .description {
350   margin-top: 8px;
351   -moz-margin-start: 6px;
352 }
353
354 .addon .warning {
355   color: #FF0000;
356   -moz-box-align: start;
357 }
358
359 .addon .warning-icon {
360   opacity: 0.7;
361   list-style-image: url("chrome://global/skin/icons/warning-16.png");
362 }
363
364 .addon[selected] .warning-icon {
365   opacity: 1;
366 }
367
368 .addon .details-container {
369   -moz-box-align: end;
370   -moz-margin-start: 20px;
371 }
372
373 .addon .control-container {
374   -moz-box-align: center;
375   -moz-box-pack: end;
376   margin-top: 6px;
377 }
378
379 .addon[selected] .details-container {
380   border-color: #FFCF00;
381 }
382
383
384 /*** item - uninstalled ***/
385
386 .addon[status="uninstalled"] {
387   border: none;
388 }
389
390 .addon[status="uninstalled"] > .container {
391   -moz-box-align: center;
392   padding: 4px 20px;
393   background-color: #8050B0;
394   -moz-border-radius: 8px;
395   font-size: 120%;
396 }
397
398 .addon[status="uninstalled"][selected] {
399   background-color: transparent;
400 }
401
402
403
404 /*** search view ***/
405
406 .search-filter {
407   padding: 20px;
408   -moz-box-align: center;
409   background-color: #000000;
410   font-size: 120%;
411 }
412
413
414 /*** detail view ***/
415
416 #detail-view[active="false"] .fade {
417   opacity: 0.5;
418 }
419
420 #detail-view > .loading {
421   opacity: 0;
422 }
423
424 #detail-view:not([loading]) > .loading {
425   visibility: collapse;
426 }
427
428 #detail-view[loading-extended] > .loading {
429   -moz-box-align: center;
430   -moz-box-pack: center;
431   opacity: 1;
432   -moz-transition-property: opacity;
433   -moz-transition-duration: 1s;
434 }
435
436 #detail-view > .loading > image {
437   list-style-image: url("chrome://global/skin/icons/loading.gif");
438 }
439
440 .detail-view-container {
441   overflow: auto;
442   padding: 10px 20px;
443 }
444
445 .detail-basicinfo {
446   padding: 10px 0px;
447   -moz-box-align: center;
448 }
449
450 .detail-extra {
451   margin-top: 20px;
452 }
453
454 #detail-desc {
455   min-height: 40px;
456   margin-bottom: 20px;
457 }
458
459 #detail-icon {
460   width: 32px;
461   height: 32px;
462   -moz-margin-end: 10px;
463   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
464 }
465
466 #detail-view[type="theme"] #detail-icon {
467   list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
468 }
469
470 #detail-view[type="locale"] #detail-icon {
471   list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
472 }
473
474 #detail-view[type="plugin"] #detail-icon {
475   list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
476 }
477
478 #detail-name {
479   font-size: 200%;
480 }
481
482 #detail-screenshot {
483   width: 140px;
484   height: 140px;
485   background-color: #9C9CFF;
486   margin: 0px 10px 0px 0px;
487 }
488
489 .detail-prefs {
490   -moz-box-align: start;
491 }
492
493 .meta-label {
494   font-weight: bold;
495 }
496
497 #detail-notification {
498   -moz-box-align: center;
499   -moz-box-pack: center;
500   margin: 0px 50px;
501   padding: 4px 20px;
502   background-color: #FFCF00;
503   -moz-border-radius: 8px;
504   font-size: 120%;
505 }
506
507
508 /*** creator ***/
509
510 .creator > label {
511   -moz-margin-start: 0px;
512   -moz-margin-end: 0px;
513 }
514
515 .creator > .text-link {
516   margin-top: 1px;
517   margin-bottom: 1px;
518 }
519
520
521 /*** rating ***/
522
523 .meta-rating {
524   -moz-margin-start: 0px;
525   -moz-margin-end: 0px;
526   vertical-align: text-top;
527 }
528
529 .meta-rating[showrating="average"] > .star {
530   list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
531   padding: 0px 1px;
532 }
533
534 .meta-rating[showrating="user"] > .star {
535   list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
536   padding: 2px 3px;
537 }
538
539 .meta-rating > .star[on="true"],
540 .meta-rating[showrating="user"] > .star[hover] {
541   list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
542   padding: 0px 1px;
543 }
544
545
546 /*** download progress ***/
547
548 .download-progress {
549   background-color: #000000;
550   -moz-border-radius: 100%;
551   border: 1px solid #FF9F00;
552   width: 200px;
553   height: 24px;
554   margin: 0px 8px;
555 }
556
557 .download-progress .start-cap,
558 .download-progress[complete] .end-cap,
559 .download-progress .progress .progress-bar {
560   background-color: #008484;
561 }
562
563 .download-progress .progress {
564   background-color: transparent;
565 }
566
567 .download-progress .start-cap, .download-progress .end-cap {
568   width: 12px;
569 }
570
571 .download-progress .start-cap {
572   -moz-border-radius: 100% 0 0 100%;
573 }
574
575 .download-progress .end-cap {
576   -moz-border-radius: 0 100% 100% 0;
577 }
578
579 .download-progress .progress {
580   -moz-appearance: none;
581   padding: 0px;
582   margin: 0px;
583   border: none;
584 }
585
586 .download-progress .pause, .download-progress .cancel {
587   -moz-appearance: none;
588   background-color: #8050B0;
589   border-width: 1px 0px 0px 1px;
590   border-style: solid;
591   -moz-border-radius: 100%;
592   min-width: 16px;
593   width: 16px;
594   height: 16px;
595   margin: 3px;
596 }
597
598 .download-progress .pause {
599   list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
600 }
601
602 .download-progress .cancel {
603   list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
604 }
605
606 .download-progress .status-container {
607   -moz-box-align: center;
608 }
609
610
611 /*** install status ***/
612
613 .install-status {
614   -moz-box-align: center;
615 }
616
617
618 /*** check for updates ***/
619
620 #updates-container {
621   -moz-box-align: center;
622 }
623
624 #updates-installed, #updates-downloaded {
625   color: #008484;
626   font-weight: bold;
627 }
628
629
630 /*** buttons ***/
631
632 .addon-control {
633   padding: 0px 5px;
634 }
635
636 .addon-control[disabled="true"] {
637   display: none;
638 }
639
640 .contribute {
641   -moz-padding-start: 20px;
642   -moz-padding-end: 4px;
643 }
644
645 .button-link {
646   background: transparent;
647   border: none;
648   text-decoration: underline;
649   color: blue;
650   cursor: pointer;
651   min-width: 0;
652 }