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