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