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: #000000;
44 border: 1px solid #9C9CFF;
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: #FFCF00;
87 #detail-view .global-warning {
89 border-bottom: 3px solid #000000;
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:-moz-locale-dir(ltr) {
138 border-top-left-radius: 5px;
139 border-bottom-left-radius: 5px;
142 .category:-moz-locale-dir(rtl) {
143 border-top-right-radius: 5px;
144 border-bottom-right-radius: 5px;
147 .category[disabled] {
150 -moz-transition-property: height, opacity;
151 -moz-transition-duration: 1s, 0.8s;
154 .category:not([disabled]) {
156 -moz-transition-property: height, opacity;
157 -moz-transition-duration: 1s, 0.8s;
160 .category[selected] {
162 border-color: #9C9CFF;
170 background-color: #E7ADE7;
173 border-radius: 10000px;
179 .category-badge[value="0"] {
186 -moz-margin-start: 6px;
189 #category-search > .category-icon {
190 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
192 #category-discover > .category-icon {
193 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
195 #category-languages > .category-icon {
196 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
198 #category-searchengines > .category-icon {
199 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
201 #category-extensions > .category-icon {
202 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
204 #category-themes > .category-icon {
205 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
207 #category-plugins > .category-icon {
208 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
210 #category-availableUpdates > .category-icon {
211 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
213 #category-recentUpdates > .category-icon {
214 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
225 #header-name, #header-link {
234 -moz-appearance: none;
236 background: transparent;
239 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
242 #header-link .button-icon {
243 -moz-margin-end: 6px;
247 list-style-image: url("chrome://global/skin/icons/loading.gif");
252 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
255 #header-utils-btn:-moz-focusring > .button-box {
269 -moz-appearance: none;
273 -moz-appearance: none;
275 border-left: 3px solid #000000;
276 border-right: 3px solid #000000;
277 background-color: transparent;
281 min-width: 12px !important;
282 -moz-box-direction: reverse;
286 .sorter[checkState="1"],
287 .sorter[checkState="2"] {
288 background-color: #008484;
292 .sorter[checkState="1"] {
293 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
296 .sorter[checkState="2"] {
297 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
300 .sorter .button-icon {
301 -moz-margin-start: 4px;
305 /*** empty list notification ***/
308 -moz-box-align: center;
311 .empty-list-notice > button {
321 background-color: transparent;
325 border-bottom: 1px solid #9C9CFF;
329 .addon[status="installing"] {
330 -moz-box-align: center;
336 -moz-margin-start: 10px;
346 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
351 .addon-view[type="theme"] .icon {
352 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
355 .addon-view[type="locale"] .icon {
356 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
359 .addon-view[type="plugin"] .icon {
360 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
368 .description-container {
370 -moz-margin-start: 6px;
377 .warning, .pending, .error, .info {
378 -moz-margin-start: 48px;
381 .addon-view:not([selected]) .warning {
385 .addon-view:not([selected]) .error {
389 .addon-view:not([selected]) .pending {
393 .addon-view[notification="warning"] {
394 background-color : #FFCF00;
398 .addon-view[notification="error"] {
399 background-color: #FF0000;
403 .addon-view[notification="info"] {
404 background-color: #9C9CFF;
408 .addon-view[pending="enable"],
409 .addon-view[pending="upgrade"],
410 .addon-view[pending="install"] {
411 background-color: #008484;
414 .addon-view[pending="disable"],
415 .addon-view[pending="uninstall"] {
419 .addon .relnotes-container {
420 -moz-box-align: start;
424 -moz-transition-property: height, opacity;
425 -moz-transition-duration: 0.5s, 0.5s;
428 .addon[show-relnotes] .relnotes-container {
430 -moz-transition-property: height, opacity;
431 -moz-transition-duration: 0.5s, 0.5s;
434 .addon .relnotes-header {
439 .addon .relnotes-toggle {
441 background: transparent;
443 -moz-box-direction: reverse;
445 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
448 .addon .relnotes-toggle > .button-box > .button-icon {
449 -moz-padding-start: 4px;
452 .addon[show-relnotes] .relnotes-toggle {
453 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
457 /*** item - uninstalled ***/
459 .addon[status="uninstalled"] {
463 .addon[status="uninstalled"] > .container {
464 -moz-box-align: center;
466 background-color: #8050B0;
471 .addon[status="uninstalled"][selected] {
472 background-color: transparent;
476 /*** search view ***/
480 -moz-box-align: center;
481 background-color: #000000;
485 #search-filter-label {
490 .search-filter-radio {
493 border-radius: 10000px;
496 .search-filter-radio[selected] {
497 background-color: #008484;
501 .search-filter-radio .radio-check-box1 {
505 .search-filter-radio .radio-icon {
509 #search-allresults-link {
514 /*** detail view ***/
516 #detail-view[active="false"] .fade {
520 #detail-view .loading {
524 #detail-view:not([loading]) .loading {
525 visibility: collapse;
528 #detail-view[loading-extended] .loading {
529 -moz-box-align: center;
530 -moz-box-pack: center;
532 -moz-transition-property: opacity;
533 -moz-transition-duration: 1s;
536 #detail-view .loading > image {
537 list-style-image: url("chrome://global/skin/icons/loading.gif");
540 .detail-view-container {
546 #detail-notifications {
550 #detail-notifications .warning,
551 #detail-notifications .pending,
552 #detail-notifications .error,
553 #detail-notifications .info {
554 -moz-margin-start: 0;
558 -moz-margin-end: 10px;
565 #detail-name-container {
570 -moz-margin-end: 2em;
573 #detail-desc-container {
575 /* This is necessary to fix layout issues with multi-line descriptions, see
577 outline: solid transparent;
581 -moz-margin-start: 6px;
582 white-space: pre-wrap;
585 #detail-contributions {
587 border: 1px solid #9C9CFF;
593 #detail-contrib-description {
598 #detail-contrib-suggested {
602 #detail-contrib-button {
603 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
606 #detail-contrib-button .button-icon {
607 -moz-margin-end: 3px;
615 .detail-row-complex {
616 border-bottom: 1px solid #9C9CFF;
617 -moz-box-align: center;
621 -moz-margin-start: 0;
628 -moz-margin-start: 0px;
629 -moz-margin-end: 0px;
632 .creator > .text-link {
641 -moz-margin-start: 0px;
642 -moz-margin-end: 0px;
643 vertical-align: text-top;
646 .meta-rating[showrating="average"] > .star {
647 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
651 .meta-rating[showrating="user"] > .star {
652 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
656 .meta-rating > .star[on="true"],
657 .meta-rating[showrating="user"] > .star[hover] {
658 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
663 /*** download progress ***/
666 background-color: #000000;
667 border-radius: 10000px;
668 border: 1px solid #FF9F00;
674 .download-progress .start-cap,
675 .download-progress[complete] .end-cap,
676 .download-progress .progress .progress-bar {
677 background-color: #008484;
680 .download-progress .progress {
681 background-color: transparent;
684 .download-progress .start-cap, .download-progress .end-cap {
688 .download-progress .start-cap:-moz-locale-dir(ltr),
689 .download-progress .end-cap:-moz-locale-dir(rtl) {
690 border-radius: 10000px 0 0 10000px;
693 .download-progress .end-cap:-moz-locale-dir(ltr),
694 .download-progress .start-cap:-moz-locale-dir(rtl) {
695 border-radius: 0 10000px 10000px 0;
698 .download-progress .progress {
699 -moz-appearance: none;
705 .download-progress .pause, .download-progress .cancel {
706 -moz-appearance: none;
707 background-color: #8050B0;
708 border-width: 1px 0px 0px 1px;
711 border-radius: 10000px;
718 .download-progress .pause {
719 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
722 .download-progress .cancel {
723 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
726 .download-progress .status-container {
727 -moz-box-align: center;
731 /*** install status ***/
734 -moz-box-align: center;
738 /*** check for updates ***/
741 -moz-box-align: center;
744 #updates-installed, #updates-downloaded {
755 .addon-control[disabled="true"] {
760 background: transparent;
762 text-decoration: underline;