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