1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is the Extension Manager UI.
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.
22 * Blair McBride <bmcbride@mozilla.com>
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.
36 * ***** END LICENSE BLOCK ***** */
39 background-color: #CCD0DD;
44 #view-port-container {
45 /* Needed to allow the radius to clip the inner content, see bug 595656 */
47 background-color: #FFFFFF;
48 border: 1px solid #666699;
52 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
57 -moz-border-start: none;
60 #back-btn:-moz-locale-dir(ltr),
61 #forward-btn:-moz-locale-dir(rtl) {
62 -moz-image-region: rect(42px 25px 63px 0px);
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);
70 #back-btn:-moz-locale-dir(rtl),
71 #forward-btn:-moz-locale-dir(ltr) {
72 -moz-image-region: rect(63px 25px 84px 0px);
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);
80 /*** global warnings ***/
82 .global-warning-container {
87 -moz-box-align: center;
93 #addons-page[warning] .global-warning-container {
94 background-color: #FFFFCC;
97 #detail-view .global-warning {
99 border-bottom: 1px solid #9999CC;
102 @media all and (max-width: 600px) {
103 .global-warning-text {
107 .global-warning .warning-icon {
108 /* background-color: #FFF;
109 box-shadow: 0px 0px 2px 5px #FFF;
110 border-radius: 10px; */
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;
123 /*** notification icons ***/
126 list-style-image: url("chrome://global/skin/icons/warning-16.png");
133 list-style-image: url("chrome://global/skin/icons/error-16.png");
141 list-style-image: url("chrome://global/skin/icons/information-16.png");
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");
156 /*** view alert boxes ***/
159 -moz-box-align: center;
162 .alert-spacer-before {
166 .alert-spacer-after {
171 -moz-box-align: center;
174 border: 1px inset #CCD0DD;
176 background-color: #CCD0DD;
179 .alert .alert-title {
185 .alert .addon-control {
190 list-style-image: url("chrome://global/skin/icons/loading.gif");
196 /*** category selector ***/
199 -moz-appearance: none;
201 -moz-margin-end: -1px;
202 background-color: transparent;
208 background-color: transparent;
214 border-color: transparent;
215 -moz-box-align: center;
219 .category[disabled] {
224 -moz-transition-property: height, opacity;
225 -moz-transition-duration: 1s, 0.8s;
228 .category:not([disabled]) {
230 -moz-transition-property: height, opacity;
231 -moz-transition-duration: 1s, 0.8s;
234 .category[selected] {
235 background-color: #FFFFFF;
237 border-color: #666699;
244 /* Maximize the size of the viewport when the window is small */
245 @media all and (max-width: 800px) {
252 background-color: #666699;
255 border: 1px outset #666699;
261 .category-badge[value="0"] {
268 -moz-margin-start: 6px;
271 #category-search > .category-icon {
272 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
274 #category-discover > .category-icon {
275 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
277 #category-languages > .category-icon {
278 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
280 #category-searchengines > .category-icon {
281 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
283 #category-extensions > .category-icon {
284 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
286 #category-themes > .category-icon {
287 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
289 #category-plugins > .category-icon {
290 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
292 #category-availableUpdates > .category-icon {
293 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
295 #category-recentUpdates > .category-icon {
296 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
309 border: 1px inset #CCD0DD;
311 background-color: #CCD0DD;
315 #header-search .textbox-input:-moz-placeholder {
319 #header-search[focused="true"] {
320 background-color: #FFFFFF;
325 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
326 -moz-margin-end: 18px;
330 background-color: #9999CC;
334 border-bottom: 1px solid #666699;
341 -moz-appearance: none;
345 -moz-appearance: none;
346 border: 1px solid transparent;
347 background-color: transparent;
351 min-width: 12px !important;
352 -moz-box-direction: reverse;
355 .sorter .button-box {
361 border: 1px outset #666699;
364 .sorter[checkState="1"],
365 .sorter[checkState="2"] {
366 background-color: #666699;
368 border: 1px inset #666699;
371 .sorter[checkState="1"] {
372 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
375 .sorter[checkState="2"] {
376 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
379 .sorter .button-icon {
380 -moz-margin-start: 4px;
384 /*** discover view ***/
386 .discover-spacer-before,
387 .discover-spacer-after {
391 #discover-error .alert {
397 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
398 -moz-margin-end: 15px;
404 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
408 .discover-description {
423 background-color: transparent;
427 border-bottom: 1px solid #9999CC;
429 background-origin: border-box;
435 -moz-margin-start: 10px;
444 .addon[active="false"] .icon {
445 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
449 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
454 .addon-view[type="theme"] .icon {
455 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
458 .addon-view[type="locale"] .icon {
459 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
462 .addon-view[type="plugin"] .icon {
463 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
477 .creator .text-link {
478 /* color: #0066CC; */
481 .description-container {
483 -moz-margin-start: 6px;
494 -moz-margin-start: 48px;
498 .addon-view .warning {
506 .addon-view .pending {
510 .addon-view[pending="disable"] .pending,
511 .addon-view[pending="uninstall"] .pending {
515 .addon .relnotes-container {
516 -moz-box-align: start;
517 -moz-margin-start: 6px;
521 -moz-transition-property: height, opacity;
522 -moz-transition-duration: 0.5s, 0.5s;
525 .addon[show-relnotes] .relnotes-container {
527 -moz-transition-property: height, opacity;
528 -moz-transition-duration: 0.5s, 0.5s;
531 .addon .relnotes-header {
536 .addon .relnotes-toggle {
538 background: transparent;
540 -moz-box-direction: reverse;
542 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
545 .addon .relnotes-toggle > .button-box > .button-icon {
546 -moz-padding-start: 4px;
549 .addon[show-relnotes] .relnotes-toggle {
550 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
553 .addon[active="false"] {
554 /* background-color: rgba(135, 135, 135, 0.1); */
557 .addon-view[active="false"],
558 .addon-view[active="false"] .name-container {
562 .addon-view[notification="warning"] {
563 background-color: #FFFFCC;
566 .addon-view[notification="error"] {
567 background-color: #FFD0DD;
570 .addon-view[notification="info"] {
571 background-color: #9999CC;
574 .addon-view[pending="enable"],
575 .addon-view[pending="upgrade"],
576 .addon-view[pending="install"] {
577 background-color: #CCFFDD;
580 .addon-view[pending="enable"] .pending,
581 .addon-view[pending="upgrade"] .pending,
582 .addon-view[pending="install"] .pending {
586 .addon-view[pending="disable"],
587 .addon-view[pending="uninstall"] {
588 background-color: #808080;
592 background-color: #336699;
596 .addon[selected] .name-container {
600 .addon[active="false"][selected] {
604 .addon[active="false"][selected] .name-container {
609 /*** item - uninstalled ***/
611 .addon[status="uninstalled"] {
615 .addon[status="uninstalled"] > .container {
616 -moz-box-align: center;
618 background-color: #808080;
623 .addon[status="uninstalled"][selected] {
624 background-color: transparent;
628 /*** search view ***/
632 -moz-box-align: center;
633 background-color: #FFFFFF;
635 border-bottom: 1px solid #666699;
639 #search-filter-label {
644 .search-filter-radio {
645 -moz-appearance: none;
648 border-radius: 10000px;
651 .search-filter-radio[selected] {
652 background-color: #3366699;
656 .search-filter-radio .radio-check-box1 {
660 .search-filter-radio .radio-icon {
664 #search-allresults-link {
669 /*** detail view ***/
671 #detail-view .loading {
675 #detail-view[loading-extended] .loading {
677 -moz-transition-property: opacity;
678 -moz-transition-duration: 1s;
681 .detail-view-container {
682 padding: 0 2em 2em 2em;
686 #detail-notifications {
691 #detail-notifications .warning,
692 #detail-notifications .pending,
693 #detail-notifications .error {
694 -moz-margin-start: 0;
698 -moz-margin-end: 10px;
708 #detail-name-container {
713 -moz-margin-end: 2em;
718 #detail-desc-container {
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
727 outline: solid transparent;
735 #detail-contributions {
737 border: 1px solid #666699;
740 background-color: #FFFFCC;
743 #detail-contrib-description {
749 #detail-contrib-suggested {
754 #detail-contrib-btn {
755 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
758 #detail-contrib-btn .button-icon {
759 -moz-margin-end: 3px;
766 .detail-row[first-row="true"],
767 .detail-row-complex[first-row="true"] {
772 .detail-row-complex {
773 border-top: 1px solid #808080;
774 -moz-box-align: center;
778 -moz-margin-start: 0;
785 #detail-view[active="false"]:not([pending]):not([notification]) {
786 /* background-color: foo; */
792 -moz-margin-start: 0;
796 .creator > .text-link {
805 -moz-margin-start: 0;
810 .meta-rating > .star {
811 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
815 .meta-rating > .star[on="true"] {
816 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
820 /*** download progress ***/
823 background-color: #CCD0DD;
824 border: 1px solid #808080;
830 .download-progress[mode="undetermined"] .status-container {
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;
841 .download-progress .progress .progress-bar {
842 border-left-width: 0;
843 border-right-width: 0;
847 .download-progress .progress {
848 background-color: transparent;
854 .download-progress .start-cap, .download-progress .end-cap {
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;
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;
868 .download-progress .cancel {
869 -moz-appearance: none;
870 background-color: #CCD0DD;
871 border: 1px solid #666699;
877 .download-progress .cancel .button-box {
882 .download-progress .cancel .button-text {
886 .download-progress .cancel .button-icon {
887 -moz-margin-start: 0;
890 .download-progress .cancel {
891 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
894 .download-progress .status-container {
895 -moz-box-align: center;
898 .download-progress .status {
899 /* text-shadow: #FFF 0 0 2px; */
902 /*** install status ***/
905 -moz-box-align: center;
909 /*** check for updates ***/
912 -moz-box-align: center;
915 #updates-container .button-link {
920 #updates-downloaded {
931 .addon-control[disabled="true"] {
936 background: transparent;
938 text-decoration: underline;