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