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