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