522dab9bb2805b0011eefd3ce8fafe170983b222
[themes.git] / EarlyBlue / 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 #666699;
43   background-color: transparent;
44   background-image: none;
45   min-width: 1px;
46 }
47
48 .view-pane {
49   background-color: #FFFFFF;
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-appearance: none;
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: #9999CC;
85   color: #000000;
86 }
87
88 .category-name {
89   font-size: 150%;
90 }
91
92 .category-badge {
93   background-color: #666699;
94   padding: 2px 8px;
95   margin: 6px 0px;
96   border: 1px outset #666699;
97   /* -moz-border-radius: 100%; */
98   color: #FFFFFF;
99   font-weight: bold;
100   text-align: center;
101 }
102
103 .category-badge[value="0"] {
104   visibility: hidden;
105 }
106
107 .category-icon {
108   width: 32px;
109   height: 32px;
110   -moz-margin-start: 6px;
111 }
112
113 #category-search > .category-icon {
114   list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
115 }
116 #category-discover > .category-icon {
117   list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
118 }
119 #category-languages > .category-icon {
120   list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
121 }
122 #category-searchengines > .category-icon {
123   list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
124 }
125 #category-extensions > .category-icon {
126   list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
127 }
128 #category-themes > .category-icon {
129   list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
130 }
131 #category-plugins > .category-icon {
132   list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
133 }
134
135
136 /*** header ***/
137
138 #header {
139   background-color: #666699;
140   border: 1px inset #666699;
141   padding: 8px;
142   margin: 0px;
143   -moz-box-align: center;
144   height: 4.5em;
145 }
146
147 #header-name, #header-link {
148   color: #FFFFFF;
149 }
150
151 #header-name {
152   font-size: 180%;
153 }
154
155 #header-link {
156   -moz-appearance: none;
157   border: none;
158   background: transparent;
159   font-size: 120%;
160   cursor: pointer;
161   list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
162 }
163
164 #header-link .button-icon {
165   -moz-margin-end: 6px;
166 }
167
168 .view-header {
169   background: #9999CC;
170   padding: 4px;
171   margin: 0px;
172   border-bottom: 1px solid #666699;
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   background-color: transparent;
186   /* -moz-border-radius: 100%; */
187   padding: 0px 6px;
188   margin: 0px 6px;
189   min-width: 12px !important;
190   -moz-box-direction: reverse;
191 }
192
193 .sorter[checkState="1"],
194 .sorter[checkState="2"] {
195   background-color: #666699;
196 }
197
198 .sorter[checkState="1"] {
199   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
200 }
201
202 .sorter[checkState="2"] {
203   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
204 }
205
206 .sorter .button-icon {
207   -moz-margin-start: 4px;
208 }
209
210
211 /*** empty list notification ***/
212
213 .empty-list-notice {
214   -moz-box-align: center;
215 }
216
217 .empty-list-notice > button {
218   margin: 20px;
219 }
220
221
222 /*** list ***/
223
224 .list {
225   -moz-appearance: none;
226   margin: 0px;
227   border: none;
228 }
229
230 .addon[status="installed"], .addon[status="installing"] {
231   background-color: #CCD0DD;
232   /* -moz-border-radius: 10px; */
233   border: 1px solid #9999CC;
234   padding: 6px 7px;
235   margin: 3px 8px;
236 }
237
238 .addon[status="installing"] {
239   -moz-box-align: center;
240   border-color: #336699;
241 }
242
243 .addon[selected]:not([status="uninstalled"]) {
244   background: #DDDDDD;
245   border-style: inset;
246   color: inherit;
247 }
248
249 .addon[status="installed"][selected]:not([pending="true"]) {
250   border: none;
251   padding: 8px 9px;
252 }
253
254 .addon[status="installed"][active="false"] .fade {
255   opacity: 0.5;
256 }
257
258 .addon[status="installed"][pending="true"] {
259   border-color: red;
260 }
261
262 .addon[selected] {
263   /* color: -moz-dialogtext; */
264 }
265
266 .addon[selected] .text-link {
267   /* color: -moz-nativehyperlinktext; */
268 }
269
270 .addon .toggle-more {
271   /* -moz-border-radius: 100%; */
272   padding: 0px 6px;
273   margin: 0px 6px;
274   min-width: 12px !important;
275   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
276   -moz-box-direction: reverse;
277   border: 1px solid transparent;
278   background: transparent;
279   cursor: pointer;
280 }
281
282 .addon .toggle-more > .button-box > .button-icon {
283   -moz-padding-start: 4px;
284 }
285
286 .addon[show-extra] .toggle-more {
287   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
288 }
289
290 .addon .toggle-more:hover {
291   background-color: #CCD0DD;
292   border: 1px outset #CCD0DD;
293 }
294
295 .addon[selected] .toggle-more:hover {
296   background-color: #CCD0DD;
297   border: 1px outset #CCD0DD;
298 }
299
300 .addon .extra-details {
301   height: 0px;
302   overflow: hidden;
303   opacity: 0;
304   text-align: end;
305   -moz-transition-property: height, opacity;
306   -moz-transition-duration: 0.5s, 0.5s;
307 }
308
309 .addon[show-extra] .extra-details {
310   opacity: 1;
311   -moz-transition-property: height, opacity;
312   -moz-transition-duration: 0.5s, 0.5s;
313 }
314
315 .addon .icon {
316   margin: 7px 5px;
317   width: 32px;
318   height: 32px;
319   list-style-image: url("chrome://mozapps/skin/xpinstall/xpinstallItemGeneric.png");
320 }
321
322 .addon[type="theme"] .icon {
323   list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
324 }
325
326 .addon[type="plugin"] .icon {
327   list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
328 }
329
330 .addon .name-container {
331   -moz-box-align: end;
332 }
333
334 .addon .name {
335   font-size: 150%;
336   margin-bottom: 0px;
337 }
338
339 .addon .disabled-postfix {
340   font-size: 130%;
341 }
342
343 .addon .description {
344   margin-top: 8px;
345   -moz-margin-start: 6px;
346 }
347
348 .addon .warning {
349   color: #FF0000;
350   -moz-box-align: start;
351 }
352
353 .addon .warning-icon {
354   opacity: 0.7;
355   list-style-image: url("chrome://global/skin/icons/warning-16.png");
356 }
357
358 .addon[selected] .warning-icon {
359   opacity: 1;
360 }
361
362 .addon .details-container {
363   -moz-box-align: end;
364   -moz-margin-start: 20px;
365 }
366
367 .addon .control-container {
368   -moz-box-align: center;
369   -moz-box-pack: end;
370   margin-top: 6px;
371 }
372
373 .addon[selected] .details-container {
374   border-color: #9999CC;
375 }
376
377
378 /*** item - uninstalled ***/
379
380 .addon[status="uninstalled"] {
381   border: none;
382 }
383
384 .addon[status="uninstalled"] > .container {
385   -moz-box-align: center;
386   padding: 4px 20px;
387   background-color: #808080;
388   -moz-border-radius: 8px;
389   font-size: 120%;
390 }
391
392 .addon[status="uninstalled"][selected] {
393   background-color: transparent;
394 }
395
396
397
398 /*** search view ***/
399
400 .search-filter {
401   padding: 20px;
402   -moz-box-align: center;
403   background-color: #FFFFFF;
404   font-size: 120%;
405 }
406
407
408 /*** detail view ***/
409
410 #detail-view[active="false"] .fade {
411   opacity: 0.5;
412 }
413
414 #detail-view > .loading {
415   opacity: 0;
416 }
417
418 #detail-view:not([loading]) > .loading {
419   visibility: collapse;
420 }
421
422 #detail-view[loading-extended] > .loading {
423   -moz-box-align: center;
424   -moz-box-pack: center;
425   opacity: 1;
426   -moz-transition-property: opacity;
427   -moz-transition-duration: 1s;
428 }
429
430 #detail-view > .loading > image {
431   list-style-image: url("chrome://global/skin/icons/loading.gif");
432 }
433
434 .detail-view-container {
435   overflow: auto;
436   padding: 10px 20px;
437 }
438
439 .detail-basicinfo {
440   padding: 10px 0px;
441   -moz-box-align: center;
442 }
443
444 .detail-extra {
445   margin-top: 20px;
446 }
447
448 #detail-desc {
449   min-height: 40px;
450   margin-bottom: 20px;
451 }
452
453 #detail-icon {
454   width: 32px;
455   height: 32px;
456   -moz-margin-end: 10px;
457   list-style-image: url("chrome://mozapps/skin/xpinstall/xpinstallItemGeneric.png");
458 }
459
460 #detail-view[type="theme"] #detail-icon {
461   list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
462 }
463
464 #detail-view[type="plugin"] #detail-icon {
465   list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
466 }
467
468 #detail-name {
469   font-size: 200%;
470 }
471
472 #detail-screenshot {
473   width: 140px;
474   height: 140px;
475   background-color: blue;
476   margin: 0px 10px 0px 0px;
477 }
478
479 .detail-prefs {
480   -moz-box-align: start;
481 }
482
483 .meta-label {
484   font-weight: bold;
485 }
486
487 #detail-notification {
488   -moz-box-align: center;
489   -moz-box-pack: center;
490   margin: 0px 50px;
491   padding: 4px 20px;
492   background-color: #FFFFCC;
493   /* -moz-border-radius: 8px; */
494   font-size: 120%;
495   border: 1px solid #666699;
496 }
497
498
499 /*** creator ***/
500
501 .creator > label {
502   -moz-margin-start: 0px;
503   -moz-margin-end: 0px;
504 }
505
506 .creator > .text-link {
507   margin-top: 1px;
508   margin-bottom: 1px;
509 }
510
511
512 /*** rating ***/
513
514 .meta-rating {
515   -moz-margin-start: 0px;
516   -moz-margin-end: 0px;
517   vertical-align: text-top;
518 }
519
520 .meta-rating[showrating="average"] > .star {
521   list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
522   padding: 0px 1px;
523 }
524
525 .meta-rating[showrating="user"] > .star {
526   list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
527   padding: 2px 3px;
528 }
529
530 .meta-rating > .star[on="true"],
531 .meta-rating[showrating="user"] > .star[hover] {
532   list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
533   padding: 0px 1px;
534 }
535
536
537 /*** download progress ***/
538
539 .download-progress {
540   background-color: #CCD0DD;
541   /* -moz-border-radius: 100%; */
542   border: 1px solid #808080;
543   width: 200px;
544   height: 24px;
545   margin: 0px 8px;
546 }
547
548 .download-progress .start-cap,
549 .download-progress[complete] .end-cap,
550 .download-progress .progress .progress-bar {
551   background-color: #336699;
552 }
553
554 .download-progress .progress {
555   background-color: transparent;
556 }
557
558 .download-progress .start-cap, .download-progress .end-cap {
559   width: 12px;
560 }
561
562 .download-progress .start-cap {
563   -moz-border-radius: 100% 0 0 100%;
564 }
565
566 .download-progress .end-cap {
567   -moz-border-radius: 0 100% 100% 0;
568 }
569
570 .download-progress .progress {
571   -moz-appearance: none;
572   padding: 0px;
573   margin: 0px;
574   border: none;
575 }
576
577 .download-progress .pause, .download-progress .cancel {
578   -moz-appearance: none;
579   background-color: #CCD0DD;
580   border-width: 1px 0px 0px 1px;
581   border-style: solid;
582   -moz-border-top-colors: #FFFFFF;
583   -moz-border-left-colors: #FFFFFF;
584   /* -moz-border-radius: 100%; */
585   min-width: 16px;
586   width: 16px;
587   height: 16px;
588   margin: 3px;
589 }
590
591 .download-progress .status-container {
592   -moz-box-align: center;
593 }
594
595
596 /*** install status ***/
597
598 .install-status {
599   -moz-box-align: center;
600 }
601
602
603 /*** check for updates ***/
604
605 #updates-container {
606   -moz-box-align: center;
607 }
608
609 #updates-installed, #updates-downloaded {
610   color: #00CC00;
611   font-weight: bold;
612 }
613
614
615 /*** buttons ***/
616
617 .addon-control {
618   padding: 0px 5px;
619 }
620
621 .addon-control[disabled="true"] {
622   display: none;
623 }
624
625 .contribute {
626   -moz-padding-start: 20px;
627   -moz-padding-end: 4px;
628 }
629
630 .button-link {
631   background: transparent;
632   border: none;
633   text-decoration: underline;
634   color: blue;
635   cursor: pointer;
636   min-width: 0;
637 }