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 .addon-view[notification="error"] {
384 background-color: #FFD0DD;
387 .addon-view[notification="info"] {
388 background-color: #9999CC;
391 .addon-view[pending="enable"],
392 .addon-view[pending="upgrade"],
393 .addon-view[pending="install"] {
394 background-color: #CCFFDD;
397 .addon-view[pending="disable"],
398 .addon-view[pending="uninstall"] {
399 background-color: #808080;
402 .addon .relnotes-container {
403 -moz-box-align: start;
407 -moz-transition-property: height, opacity;
408 -moz-transition-duration: 0.5s, 0.5s;
411 .addon[show-relnotes] .relnotes-container {
413 -moz-transition-property: height, opacity;
414 -moz-transition-duration: 0.5s, 0.5s;
417 .addon .relnotes-header {
422 .addon .relnotes-toggle {
424 background: transparent;
426 -moz-box-direction: reverse;
428 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
431 .addon .relnotes-toggle > .button-box > .button-icon {
432 -moz-padding-start: 4px;
435 .addon[show-relnotes] .relnotes-toggle {
436 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
439 /*** item - uninstalled ***/
441 .addon[status="uninstalled"] {
445 .addon[status="uninstalled"] > .container {
446 -moz-box-align: center;
448 background-color: #808080;
453 .addon[status="uninstalled"][selected] {
454 background-color: transparent;
458 /*** search view ***/
462 -moz-box-align: center;
463 background-color: #FFFFFF;
467 #search-filter-label {
472 .search-filter-radio {
473 -moz-appearance: none;
476 border-radius: 10000px;
479 .search-filter-radio[selected] {
480 background-color: #3366699;
484 .search-filter-radio .radio-check-box1 {
488 .search-filter-radio .radio-icon {
492 #search-allresults-link {
497 /*** detail view ***/
499 #detail-view[active="false"] .fade {
503 #detail-view .loading {
507 #detail-view:not([loading]) .loading {
508 visibility: collapse;
511 #detail-view[loading-extended] .loading {
512 -moz-box-align: center;
513 -moz-box-pack: center;
515 -moz-transition-property: opacity;
516 -moz-transition-duration: 1s;
519 #detail-view .loading > image {
520 list-style-image: url("chrome://global/skin/icons/loading.gif");
523 .detail-view-container {
529 #detail-notifications {
533 #detail-notifications .warning,
534 #detail-notifications .pending,
535 #detail-notifications .error,
536 #detail-notifications .info {
537 -moz-margin-start: 0;
541 -moz-margin-end: 10px;
548 #detail-name-container {
553 -moz-margin-end: 2em;
556 #detail-desc-container {
558 /* This is necessary to fix layout issues with multi-line descriptions, see
560 outline: solid transparent;
564 -moz-margin-start: 6px;
565 white-space: pre-wrap;
568 #detail-contributions {
570 border: 1px solid #666699;
576 #detail-contrib-description {
581 #detail-contrib-suggested {
585 #detail-contrib-button {
586 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
589 #detail-contrib-button .button-icon {
590 -moz-margin-end: 3px;
598 .detail-row-complex {
599 border-bottom: 1px solid #808080;
600 -moz-box-align: center;
604 -moz-margin-start: 0;
611 -moz-margin-start: 0px;
612 -moz-margin-end: 0px;
615 .creator > .text-link {
624 -moz-margin-start: 0px;
625 -moz-margin-end: 0px;
626 vertical-align: text-top;
629 .meta-rating[showrating="average"] > .star {
630 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
634 .meta-rating[showrating="user"] > .star {
635 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
639 .meta-rating > .star[on="true"],
640 .meta-rating[showrating="user"] > .star[hover] {
641 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
646 /*** download progress ***/
649 background-color: #CCD0DD;
650 border: 1px solid #808080;
656 .download-progress .start-cap,
657 .download-progress[complete] .end-cap,
658 .download-progress .progress .progress-bar {
659 background-color: #336699;
662 .download-progress .progress {
663 background-color: transparent;
666 .download-progress .start-cap, .download-progress .end-cap {
670 .download-progress .start-cap:-moz-locale-dir(ltr),
671 .download-progress .end-cap:-moz-locale-dir(rtl) {
672 border-radius: 10000px 0 0 10000px;
675 .download-progress .end-cap:-moz-locale-dir(ltr),
676 .download-progress .start-cap:-moz-locale-dir(rtl) {
677 border-radius: 0 10000px 10000px 0;
680 .download-progress .progress {
681 -moz-appearance: none;
687 .download-progress .pause, .download-progress .cancel {
688 -moz-appearance: none;
689 background-color: #CCD0DD;
690 border-width: 1px 0px 0px 1px;
693 -moz-border-top-colors: #FFFFFF;
694 -moz-border-left-colors: #FFFFFF;
701 .download-progress .pause {
702 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
705 .download-progress .cancel {
706 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
709 .download-progress .status-container {
710 -moz-box-align: center;
714 /*** install status ***/
717 -moz-box-align: center;
721 /*** check for updates ***/
724 -moz-box-align: center;
727 #updates-installed, #updates-downloaded {
738 .addon-control[disabled="true"] {
743 background: transparent;
745 text-decoration: underline;