update both themes to state of toolkit winstripe trunk of 2010-11-14
[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 #addons-page {
39   background-color: #CCD0DD;
40   margin: 20px;
41 }
42
43 #view-port-container {
44   /* Needed to allow the radius to clip the inner content, see bug 595656 */
45   overflow: hidden;
46   background-color: #FFFFFF;
47   border: 1px solid #666699;
48 }
49
50 .nav-button {
51   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
52   min-width: 0;
53   -moz-margin-end: 0;
54 }
55
56 #back-btn:-moz-locale-dir(ltr),
57 #forward-btn:-moz-locale-dir(rtl) {
58   -moz-image-region: rect(42px 25px 63px 0px);
59 }
60
61 #back-btn[disabled="true"]:-moz-locale-dir(ltr),
62 #forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
63   -moz-image-region: rect(42px 50px 63px 25px);
64 }
65
66 #back-btn:-moz-locale-dir(rtl),
67 #forward-btn:-moz-locale-dir(ltr) {
68   -moz-image-region: rect(63px 25px 84px 0px);
69 }
70
71 #back-btn[disabled="true"]:-moz-locale-dir(rtl),
72 #forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
73   -moz-image-region: rect(63px 50px 84px 25px);
74 }
75
76 /*** global warnings ***/
77  
78 .global-warning {
79   -moz-box-align: center;
80   padding: 0 8px;
81   color: #000000;
82   font-weight: bold;
83 }
84
85 #addons-page[warning] .global-warning-container {
86   background-color: #FFFFCC;
87 }
88
89 #detail-view .global-warning {
90   padding: 4px 12px;
91   border-bottom: 1px solid #9999CC;  
92 }
93
94 /*** notification icons ***/
95
96 .warning-icon {
97   list-style-image: url("chrome://global/skin/icons/warning-16.png");
98   width: 16px;
99   height: 16px;
100   margin: 3px 0;
101 }
102
103 .error-icon {
104   list-style-image: url("chrome://global/skin/icons/error-16.png");
105   width: 16px;
106   height: 16px;
107   margin: 3px 0;
108 }
109
110 .pending-icon,
111 .info-icon {
112   list-style-image: url("chrome://global/skin/icons/information-16.png");
113   width: 16px;
114   height: 16px;
115   margin: 3px 0;
116 }
117
118 /*** category selector ***/
119
120 #categories {
121   -moz-appearance: none;
122   border: none;
123   -moz-margin-end: -1px;
124   background-color: transparent;
125   position: relative;
126 }
127
128 .category {
129   border-width: 1px;
130   -moz-border-end-width: 0;
131   border-style: solid;
132   border-color: transparent;
133   padding: 10px 4px;
134   -moz-box-align: center;
135   overflow: hidden;
136   min-height: 0px;
137 }
138
139 .category[disabled] {
140   height: 0px;
141   opacity: 0;
142   -moz-transition-property: height, opacity;
143   -moz-transition-duration: 1s, 0.8s;
144 }
145
146 .category:not([disabled]) {
147   height: 52px;
148   -moz-transition-property: height, opacity;
149   -moz-transition-duration: 1s, 0.8s;
150 }
151
152 .category[selected] {
153   background-color: #FFFFFF;
154   color: #000000;
155   border-color: #666699;
156 }
157
158 .category-name {
159   font-size: 150%;
160 }
161
162 .category-badge {
163   background-color: #666699;
164   padding: 2px 8px;
165   margin: 6px 0px;
166   border: 1px outset #666699;
167   color: #FFFFFF;
168   font-weight: bold;
169   text-align: center;
170 }
171
172 .category-badge[value="0"] {
173   visibility: hidden;
174 }
175
176 .category-icon {
177   width: 32px;
178   height: 32px;
179   -moz-margin-start: 6px;
180 }
181
182 #category-search > .category-icon {
183   list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
184 }
185 #category-discover > .category-icon {
186   list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
187 }
188 #category-languages > .category-icon {
189   list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
190 }
191 #category-searchengines > .category-icon {
192   list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
193 }
194 #category-extensions > .category-icon {
195   list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
196 }
197 #category-themes > .category-icon {
198   list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
199 }
200 #category-plugins > .category-icon {
201   list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
202 }
203 #category-availableUpdates > .category-icon {
204   list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
205 }
206 #category-recentUpdates > .category-icon {
207   list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
208 }
209
210
211 /*** header ***/
212
213 #header {
214   margin-bottom: 20px;
215   height: 2em;
216 }
217
218 #header-name, #header-link {
219   color: #FFFFFF;
220 }
221
222 #header-name {
223   font-size: 180%;
224 }
225
226 #header-link {
227   -moz-appearance: none;
228   border: none;
229   background: transparent;
230   font-size: 120%;
231   cursor: pointer;
232   list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
233 }
234
235 #header-link .button-icon {
236   -moz-margin-end: 6px;
237 }
238
239 #header-searching {
240   list-style-image: url("chrome://global/skin/icons/loading.gif");
241 }
242
243 #header-utils-btn {
244   min-width: 4.5em;
245   list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
246 }
247
248 #header-utils-btn:-moz-focusring > .button-box {
249   border: none;
250 }
251
252 .view-header {
253   padding: 4px;
254   margin: 0px;
255   border-bottom: 1px solid #666699;
256 }
257
258
259 /*** sorters ***/
260
261 .sort-controls {
262   -moz-appearance: none;
263 }
264
265 .sorter {
266   -moz-appearance: none;
267   border: none;
268   background-color: transparent;
269   padding: 0px 6px;
270   margin: 0px 6px;
271   min-width: 12px !important;
272   -moz-box-direction: reverse;
273 }
274
275 .sorter[checkState="1"],
276 .sorter[checkState="2"] {
277   background-color: #666699;
278 }
279
280 .sorter[checkState="1"] {
281   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
282 }
283
284 .sorter[checkState="2"] {
285   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
286 }
287
288 .sorter .button-icon {
289   -moz-margin-start: 4px;
290 }
291
292
293 /*** empty list notification ***/
294
295 .empty-list-notice {
296   -moz-box-align: center;
297 }
298
299 .empty-list-notice > button {
300   margin: 20px;
301 }
302
303
304 /*** list ***/
305
306 .list {
307   margin: 0px;
308   border: none;
309   background-color: transparent;
310 }
311
312 .addon {
313   border-bottom: 1px solid #9999CC;
314   padding: 5px;
315 }
316
317 .addon[status="installing"] {
318   -moz-box-align: center;
319 }
320
321 .details {
322   cursor: pointer;
323   margin: 0;
324   -moz-margin-start: 10px;
325 }
326
327 .icon-container {
328   width: 48px;
329   height: 48px;
330   margin: 7px;
331 }
332
333 .icon {
334   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
335   max-width: 48px;
336   max-height: 48px;
337 }
338
339 .addon-view[type="theme"] .icon {
340   list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
341 }
342
343 .addon-view[type="locale"] .icon {
344   list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
345 }
346
347 .addon-view[type="plugin"] .icon {
348   list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
349 }
350
351 .name-container {
352   font-size: 150%;
353   margin-bottom: 0px;
354 }
355
356 .description-container {
357   margin-top: 8px;
358   -moz-margin-start: 6px;
359 }
360
361 .description {
362   margin: 0;
363 }
364
365 .warning, .pending, .error, .info {
366   -moz-margin-start: 48px;
367 }
368
369 .addon-view:not([selected]) .warning {
370   color: #808000;
371 }
372
373 .addon-view:not([selected]) .error {
374   color: #FF0000;
375 }
376
377 .addon-view:not([selected]) .pending {
378   color: #33FF33;
379 }
380
381 .addon-view[notification="warning"] {
382   background-color : #FFFFCC;
383 }
384
385 richlistbox:focus > .addon-view[notification="warning"][selected="true"] {
386   color: #336699;
387 }
388
389 .addon-view[notification="error"] {
390   background-color: #FFD0DD;
391 }
392
393 .addon-view[notification="info"] {
394   background-color: #9999CC;
395 }
396
397 .addon-view[pending="enable"],
398 .addon-view[pending="upgrade"],
399 .addon-view[pending="install"] {
400   background-color: #CCFFDD;
401 }
402
403 .addon-view[pending="enable"] .pending,
404 .addon-view[pending="upgrade"] .pending,
405 .addon-view[pending="install"] .pending {
406   color: #008000;
407 }
408
409 .addon-view[pending="disable"],
410 .addon-view[pending="uninstall"] {
411   background-color: #808080;
412 }
413
414 .addon .relnotes-container {
415   -moz-box-align: start;
416   height: 0px;
417   overflow: hidden;
418   opacity: 0;
419   -moz-transition-property: height, opacity;
420   -moz-transition-duration: 0.5s, 0.5s;
421 }
422
423 .addon[show-relnotes] .relnotes-container {
424   opacity: 1;
425   -moz-transition-property: height, opacity;
426   -moz-transition-duration: 0.5s, 0.5s;
427 }
428
429 .addon .relnotes-header {
430   font-weight: bold;
431   margin: 10px 0px;
432 }
433
434 .addon .relnotes-toggle {
435   border: none;
436   background: transparent;
437   font-weight: bold;
438   -moz-box-direction: reverse;
439   cursor: pointer;
440   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
441 }
442
443 .addon .relnotes-toggle > .button-box > .button-icon {
444   -moz-padding-start: 4px;
445 }
446
447 .addon[show-relnotes] .relnotes-toggle {
448   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
449 }
450
451 /*** item - uninstalled ***/
452
453 .addon[status="uninstalled"] {
454   border: none;
455 }
456
457 .addon[status="uninstalled"] > .container {
458   -moz-box-align: center;
459   padding: 4px 20px;
460   background-color: #808080;
461   border-radius: 8px;
462   font-size: 120%;
463 }
464
465 .addon[status="uninstalled"][selected] {
466   background-color: transparent;
467 }
468
469
470 /*** search view ***/
471
472 #search-filter {
473   padding: 5px 20px;
474   -moz-box-align: center;
475   background-color: #FFFFFF;
476   font-size: 120%;
477 }
478
479 #search-filter-label {
480   font-weight: bold;
481   color: #808080;
482 }
483
484 .search-filter-radio {
485   -moz-appearance: none;
486   padding: 0px 6px;
487   margin: 0px 3px;
488   border-radius: 10000px;
489 }
490
491 .search-filter-radio[selected] {
492   background-color: #3366699;
493   color: #000000;
494 }
495
496 .search-filter-radio .radio-check-box1 {
497   display: none;
498 }
499
500 .search-filter-radio .radio-icon {
501   display: none;
502 }
503
504 #search-allresults-link {
505   margin-top: 1em;
506   margin-bottom: 2em;
507 }
508
509 /*** detail view ***/
510
511 #detail-view[active="false"] .fade {
512   opacity: 0.5;
513 }
514
515 #detail-view .loading {
516   opacity: 0;
517 }
518
519 #detail-view:not([loading]) .loading {
520   visibility: collapse;
521 }
522
523 #detail-view[loading-extended] .loading {
524   -moz-box-align: center;
525   -moz-box-pack: center;
526   opacity: 1;
527   -moz-transition-property: opacity;
528   -moz-transition-duration: 1s;
529 }
530
531 #detail-view .loading > image {
532   list-style-image: url("chrome://global/skin/icons/loading.gif");
533 }
534
535 .detail-view-container {
536   padding: 2em;
537   font-size: 110%;
538 }
539
540 #detail-notifications {
541   margin-bottom: 2em;
542 }
543
544 #detail-notifications .warning,
545 #detail-notifications .pending,
546 #detail-notifications .error,
547 #detail-notifications .info {
548   -moz-margin-start: 0;
549 }
550
551 #detail-icon {
552   -moz-margin-end: 10px;
553 }
554
555 #detail-summary {
556   margin-bottom: 2em;
557 }
558
559 #detail-name-container {
560   font-size: 200%;
561 }
562
563 #detail-screenshot {
564   -moz-margin-end: 2em;
565 }
566
567 #detail-desc-container {
568   margin-bottom: 2em;
569 }
570
571 #detail-desc {
572   -moz-margin-start: 6px;
573   white-space: pre-wrap;
574   /* This is necessary to fix layout issues with multi-line descriptions, see
575      bug 592712*/
576   outline: solid transparent;
577 }
578
579 #detail-contributions {
580   border-radius: 5px;
581   border: 1px solid #666699;
582   margin-bottom: 2em;
583   padding: 1em;
584   background: #FFFFCC;
585 }
586
587 #detail-contrib-description {
588   font-style: italic;
589   margin-bottom: 1em;
590 }
591
592 #detail-contrib-suggested {
593   color: grey;
594 }
595
596 #detail-contrib-button {
597   list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
598 }
599
600 #detail-contrib-button .button-icon {
601   -moz-margin-end: 3px;
602 }
603
604 #detail-grid {
605   margin-bottom: 2em;
606 }
607
608 .detail-row[first-row="true"],
609 .detail-row-complex[first-row="true"] {
610   border-top: none;
611 }
612
613 .detail-row,
614 .detail-row-complex {
615   border-top: 1px solid #808080;
616   -moz-box-align: center;
617 }
618
619 .detail-row-value {
620   -moz-margin-start: 0;
621 }
622
623
624 /*** creator ***/
625
626 .creator > label {
627   -moz-margin-start: 0px;
628   -moz-margin-end: 0px;
629 }
630
631 .creator > .text-link {
632   margin-top: 1px;
633   margin-bottom: 1px;
634 }
635
636
637 /*** rating ***/
638
639 .meta-rating {
640   -moz-margin-start: 0px;
641   -moz-margin-end: 0px;
642   vertical-align: text-top;
643 }
644
645 .meta-rating[showrating="average"] > .star {
646   list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
647   padding: 0px 1px;
648 }
649
650 .meta-rating[showrating="user"] > .star {
651   list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
652   padding: 2px 3px;
653 }
654
655 .meta-rating > .star[on="true"],
656 .meta-rating[showrating="user"] > .star[hover] {
657   list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
658   padding: 0px 1px;
659 }
660
661
662 /*** download progress ***/
663
664 .download-progress {
665   background-color: #CCD0DD;
666   border: 1px solid #808080;
667   width: 200px;
668   height: 24px;
669   margin: 0px 8px;
670 }
671
672 .download-progress .start-cap,
673 .download-progress[complete] .end-cap,
674 .download-progress .progress .progress-bar {
675   background-color: #336699;
676 }
677
678 .download-progress .progress {
679   background-color: transparent;
680 }
681
682 .download-progress .start-cap, .download-progress .end-cap {
683   width: 12px;
684 }
685
686 .download-progress .start-cap:-moz-locale-dir(ltr),
687 .download-progress .end-cap:-moz-locale-dir(rtl) {
688   border-radius: 10000px 0 0 10000px;
689 }
690
691 .download-progress .end-cap:-moz-locale-dir(ltr),
692 .download-progress .start-cap:-moz-locale-dir(rtl) {
693   border-radius: 0 10000px 10000px 0;
694 }
695
696 .download-progress .progress {
697   -moz-appearance: none;
698   padding: 0px;
699   margin: 0px;
700   border: none;
701 }
702
703 .download-progress .pause, .download-progress .cancel {
704   -moz-appearance: none;
705   background-color: #CCD0DD;
706   border-width: 1px 0px 0px 1px;
707   padding-right: 1px;
708   border-style: solid;
709   -moz-border-top-colors: #FFFFFF;
710   -moz-border-left-colors: #FFFFFF;
711   min-width: 16px;
712   width: 16px;
713   height: 16px;
714   margin: 3px;
715 }
716
717 .download-progress .pause {
718   list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
719 }
720
721 .download-progress .cancel {
722   list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
723 }
724
725 .download-progress .status-container {
726   -moz-box-align: center;
727 }
728
729
730 /*** install status ***/
731
732 .install-status {
733   -moz-box-align: center;
734 }
735
736
737 /*** check for updates ***/
738
739 #updates-container {
740   -moz-box-align: center;
741 }
742
743 #updates-installed, #updates-downloaded {
744   color: #00CC00;
745   font-weight: bold;
746 }
747
748 #update-selected {
749   margin: 12px;
750 }
751
752 /*** buttons ***/
753
754 .addon-control[disabled="true"] {
755   display: none;
756 }
757
758 .button-link {
759   background: transparent;
760   border: none;
761   text-decoration: underline;
762   color: #0000FF;
763   cursor: pointer;
764   min-width: 0;
765   margin: 0 6px;
766 }