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