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 background-color: #FFFFFF;
45 border: 1px solid #666699;
49 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
54 #back-btn:-moz-locale-dir(ltr),
55 #forward-btn:-moz-locale-dir(rtl) {
56 -moz-image-region: rect(42px 25px 63px 0px);
59 #back-btn[disabled="true"]:-moz-locale-dir(ltr),
60 #forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
61 -moz-image-region: rect(42px 50px 63px 25px);
64 #back-btn:-moz-locale-dir(rtl),
65 #forward-btn:-moz-locale-dir(ltr) {
66 -moz-image-region: rect(63px 25px 84px 0px);
69 #back-btn[disabled="true"]:-moz-locale-dir(rtl),
70 #forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
71 -moz-image-region: rect(63px 50px 84px 25px);
74 /*** global warnings ***/
77 -moz-box-align: center;
83 #addons-page[warning] .global-warning-container {
84 background-color: #FFFFCC;
87 #detail-view .global-warning {
89 border-bottom: 1px solid #9999CC;
92 /*** notification icons ***/
95 list-style-image: url("chrome://global/skin/icons/warning-16.png");
102 list-style-image: url("chrome://global/skin/icons/error-16.png");
110 list-style-image: url("chrome://global/skin/icons/information-16.png");
116 /*** category selector ***/
119 -moz-appearance: none;
121 -moz-margin-end: -1px;
122 background-color: transparent;
128 -moz-border-end-width: 0;
130 border-color: transparent;
132 -moz-box-align: center;
137 .category[disabled] {
140 -moz-transition-property: height, opacity;
141 -moz-transition-duration: 1s, 0.8s;
144 .category:not([disabled]) {
146 -moz-transition-property: height, opacity;
147 -moz-transition-duration: 1s, 0.8s;
150 .category[selected] {
151 background-color: #FFFFFF;
153 border-color: #666699;
161 background-color: #666699;
164 border: 1px outset #666699;
170 .category-badge[value="0"] {
177 -moz-margin-start: 6px;
180 #category-search > .category-icon {
181 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
183 #category-discover > .category-icon {
184 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
186 #category-languages > .category-icon {
187 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
189 #category-searchengines > .category-icon {
190 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
192 #category-extensions > .category-icon {
193 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
195 #category-themes > .category-icon {
196 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
198 #category-plugins > .category-icon {
199 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
201 #category-availableUpdates > .category-icon {
202 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
204 #category-recentUpdates > .category-icon {
205 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
216 #header-name, #header-link {
225 -moz-appearance: none;
227 background: transparent;
230 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
233 #header-link .button-icon {
234 -moz-margin-end: 6px;
238 list-style-image: url("chrome://global/skin/icons/loading.gif");
243 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
246 #header-utils-btn:-moz-focusring > .button-box {
253 border-bottom: 1px solid #666699;
260 -moz-appearance: none;
264 -moz-appearance: none;
266 background-color: transparent;
269 min-width: 12px !important;
270 -moz-box-direction: reverse;
273 .sorter[checkState="1"],
274 .sorter[checkState="2"] {
275 background-color: #666699;
278 .sorter[checkState="1"] {
279 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
282 .sorter[checkState="2"] {
283 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
286 .sorter .button-icon {
287 -moz-margin-start: 4px;
291 /*** empty list notification ***/
294 -moz-box-align: center;
297 .empty-list-notice > button {
307 background-color: transparent;
311 border-bottom: 1px solid #9999CC;
315 .addon[status="installing"] {
316 -moz-box-align: center;
322 -moz-margin-start: 10px;
332 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
337 .addon-view[type="theme"] .icon {
338 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
341 .addon-view[type="locale"] .icon {
342 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
345 .addon-view[type="plugin"] .icon {
346 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
354 .description-container {
356 -moz-margin-start: 6px;
363 .warning, .pending, .error, .info {
364 -moz-margin-start: 48px;
367 .addon-view:not([selected]) .warning {
371 .addon-view:not([selected]) .error {
375 .addon-view:not([selected]) .pending {
379 .addon-view[notification="warning"] {
380 background-color : #FFFFCC;
383 richlistbox:focus > .addon-view[notification="warning"][selected="true"] {
387 .addon-view[notification="error"] {
388 background-color: #FFD0DD;
391 .addon-view[notification="info"] {
392 background-color: #9999CC;
395 .addon-view[pending="enable"],
396 .addon-view[pending="upgrade"],
397 .addon-view[pending="install"] {
398 background-color: #CCFFDD;
401 .addon-view[pending="enable"] .pending,
402 .addon-view[pending="upgrade"] .pending,
403 .addon-view[pending="install"] .pending {
407 .addon-view[pending="disable"],
408 .addon-view[pending="uninstall"] {
409 background-color: #808080;
412 .addon .relnotes-container {
413 -moz-box-align: start;
417 -moz-transition-property: height, opacity;
418 -moz-transition-duration: 0.5s, 0.5s;
421 .addon[show-relnotes] .relnotes-container {
423 -moz-transition-property: height, opacity;
424 -moz-transition-duration: 0.5s, 0.5s;
427 .addon .relnotes-header {
432 .addon .relnotes-toggle {
434 background: transparent;
436 -moz-box-direction: reverse;
438 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
441 .addon .relnotes-toggle > .button-box > .button-icon {
442 -moz-padding-start: 4px;
445 .addon[show-relnotes] .relnotes-toggle {
446 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
449 /*** item - uninstalled ***/
451 .addon[status="uninstalled"] {
455 .addon[status="uninstalled"] > .container {
456 -moz-box-align: center;
458 background-color: #808080;
463 .addon[status="uninstalled"][selected] {
464 background-color: transparent;
468 /*** search view ***/
472 -moz-box-align: center;
473 background-color: #FFFFFF;
477 #search-filter-label {
482 .search-filter-radio {
483 -moz-appearance: none;
486 border-radius: 10000px;
489 .search-filter-radio[selected] {
490 background-color: #3366699;
494 .search-filter-radio .radio-check-box1 {
498 .search-filter-radio .radio-icon {
502 #search-allresults-link {
507 /*** detail view ***/
509 #detail-view[active="false"] .fade {
513 #detail-view .loading {
517 #detail-view:not([loading]) .loading {
518 visibility: collapse;
521 #detail-view[loading-extended] .loading {
522 -moz-box-align: center;
523 -moz-box-pack: center;
525 -moz-transition-property: opacity;
526 -moz-transition-duration: 1s;
529 #detail-view .loading > image {
530 list-style-image: url("chrome://global/skin/icons/loading.gif");
533 .detail-view-container {
539 #detail-notifications {
543 #detail-notifications .warning,
544 #detail-notifications .pending,
545 #detail-notifications .error,
546 #detail-notifications .info {
547 -moz-margin-start: 0;
551 -moz-margin-end: 10px;
558 #detail-name-container {
563 -moz-margin-end: 2em;
566 #detail-desc-container {
568 /* This is necessary to fix layout issues with multi-line descriptions, see
570 outline: solid transparent;
574 -moz-margin-start: 6px;
575 white-space: pre-wrap;
578 #detail-contributions {
580 border: 1px solid #666699;
586 #detail-contrib-description {
591 #detail-contrib-suggested {
595 #detail-contrib-button {
596 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
599 #detail-contrib-button .button-icon {
600 -moz-margin-end: 3px;
608 .detail-row-complex {
609 border-bottom: 1px solid #808080;
610 -moz-box-align: center;
614 -moz-margin-start: 0;
621 -moz-margin-start: 0px;
622 -moz-margin-end: 0px;
625 .creator > .text-link {
634 -moz-margin-start: 0px;
635 -moz-margin-end: 0px;
636 vertical-align: text-top;
639 .meta-rating[showrating="average"] > .star {
640 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
644 .meta-rating[showrating="user"] > .star {
645 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
649 .meta-rating > .star[on="true"],
650 .meta-rating[showrating="user"] > .star[hover] {
651 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
656 /*** download progress ***/
659 background-color: #CCD0DD;
660 border: 1px solid #808080;
666 .download-progress .start-cap,
667 .download-progress[complete] .end-cap,
668 .download-progress .progress .progress-bar {
669 background-color: #336699;
672 .download-progress .progress {
673 background-color: transparent;
676 .download-progress .start-cap, .download-progress .end-cap {
680 .download-progress .start-cap:-moz-locale-dir(ltr),
681 .download-progress .end-cap:-moz-locale-dir(rtl) {
682 border-radius: 10000px 0 0 10000px;
685 .download-progress .end-cap:-moz-locale-dir(ltr),
686 .download-progress .start-cap:-moz-locale-dir(rtl) {
687 border-radius: 0 10000px 10000px 0;
690 .download-progress .progress {
691 -moz-appearance: none;
697 .download-progress .pause, .download-progress .cancel {
698 -moz-appearance: none;
699 background-color: #CCD0DD;
700 border-width: 1px 0px 0px 1px;
703 -moz-border-top-colors: #FFFFFF;
704 -moz-border-left-colors: #FFFFFF;
711 .download-progress .pause {
712 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
715 .download-progress .cancel {
716 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
719 .download-progress .status-container {
720 -moz-box-align: center;
724 /*** install status ***/
727 -moz-box-align: center;
731 /*** check for updates ***/
734 -moz-box-align: center;
737 #updates-installed, #updates-downloaded {
748 .addon-control[disabled="true"] {
753 background: transparent;
755 text-decoration: underline;