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;
45 -moz-border-radius: 5px;
49 /*** category selector ***/
52 -moz-appearance: none;
54 -moz-margin-end: -1px;
55 background-color: transparent;
61 -moz-border-end-width: 0;
63 border-color: transparent;
65 -moz-box-align: center;
70 .category:-moz-locale-dir(ltr) {
71 -moz-border-radius-topleft: 5px;
72 -moz-border-radius-bottomleft: 5px;
75 .category:-moz-locale-dir(rtl) {
76 -moz-border-radius-topright: 5px;
77 -moz-border-radius-bottomright: 5px;
83 -moz-transition-property: height, opacity;
84 -moz-transition-duration: 1s, 0.8s;
87 .category:not([disabled]) {
89 -moz-transition-property: height, opacity;
90 -moz-transition-duration: 1s, 0.8s;
95 border-color: #9C9CFF;
103 background-color: #E7ADE7;
106 -moz-border-radius: 100%;
112 .category-badge[value="0"] {
119 -moz-margin-start: 6px;
122 #category-search > .category-icon {
123 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
125 #category-discover > .category-icon {
126 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
128 #category-languages > .category-icon {
129 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
131 #category-searchengines > .category-icon {
132 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
134 #category-extensions > .category-icon {
135 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
137 #category-themes > .category-icon {
138 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
140 #category-plugins > .category-icon {
141 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
152 #header-name, #header-link {
161 -moz-appearance: none;
163 background: transparent;
166 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
169 #header-link .button-icon {
170 -moz-margin-end: 6px;
174 list-style-image: url("chrome://global/skin/icons/loading.gif");
178 -moz-border-radius: 8px;
187 -moz-appearance: none;
191 -moz-appearance: none;
193 border-left: 3px solid #000000;
194 border-right: 3px solid #000000;
195 background-color: transparent;
196 -moz-border-radius: 0;
199 min-width: 12px !important;
200 -moz-box-direction: reverse;
204 .sorter[checkState="1"],
205 .sorter[checkState="2"] {
206 background-color: #008484;
210 .sorter[checkState="1"] {
211 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
214 .sorter[checkState="2"] {
215 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
218 .sorter .button-icon {
219 -moz-margin-start: 4px;
223 /*** empty list notification ***/
226 -moz-box-align: center;
229 .empty-list-notice > button {
239 background-color: transparent;
243 border-bottom: 1px solid #9C9CFF;
247 .addon[status="installing"] {
248 -moz-box-align: center;
254 -moz-margin-start: 10px;
264 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
269 .addon[type="theme"] .icon {
270 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
273 .addon[type="locale"] .icon {
274 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
277 .addon[type="plugin"] .icon {
278 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
292 .description-container {
294 -moz-margin-start: 6px;
301 .warning, .pending, .error, .info {
302 -moz-margin-start: 48px;
305 .addon:not([selected]) .warning {
309 .addon:not([selected]) .error {
313 .addon:not([selected]) .pending {
317 .addon .warning-icon {
318 list-style-image: url("chrome://global/skin/icons/warning-16.png");
325 list-style-image: url("chrome://global/skin/icons/error-16.png");
331 .addon .pending-icon,
333 list-style-image: url("chrome://global/skin/icons/information-16.png");
339 .addon[notification="warning"] {
340 background-color : #FFCF00;
344 .addon[notification="error"] {
345 background-color: #FF0000;
349 .addon[notification="info"] {
350 background-color: #9C9CFF;
354 .addon[pending="enable"],
355 .addon[pending="upgrade"],
356 .addon[pending="install"] {
357 background-color: #008484;
360 .addon[pending="disable"],
361 .addon[pending="uninstall"] {
370 /*** item - uninstalled ***/
372 .addon[status="uninstalled"] {
376 .addon[status="uninstalled"] > .container {
377 -moz-box-align: center;
379 background-color: #8050B0;
380 -moz-border-radius: 8px;
384 .addon[status="uninstalled"][selected] {
385 background-color: transparent;
390 /*** search view ***/
394 -moz-box-align: center;
395 background-color: #000000;
399 #search-filter-label {
404 .search-filter-radio {
407 -moz-border-radius: 100%;
410 .search-filter-radio[selected] {
411 background-color: #008484;
415 .search-filter-radio .radio-check-box1 {
419 .search-filter-radio .radio-icon {
423 /*** detail view ***/
425 #detail-view[active="false"] .fade {
429 #detail-view > .loading {
433 #detail-view:not([loading]) > .loading {
434 visibility: collapse;
437 #detail-view[loading-extended] > .loading {
438 -moz-box-align: center;
439 -moz-box-pack: center;
441 -moz-transition-property: opacity;
442 -moz-transition-duration: 1s;
445 #detail-view > .loading > image {
446 list-style-image: url("chrome://global/skin/icons/loading.gif");
449 .detail-view-container {
456 -moz-box-align: center;
471 -moz-margin-end: 10px;
472 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
475 #detail-view[type="theme"] #detail-icon {
476 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
479 #detail-view[type="locale"] #detail-icon {
480 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
483 #detail-view[type="plugin"] #detail-icon {
484 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
494 background-color: #9C9CFF;
495 margin: 0px 10px 0px 0px;
499 -moz-box-align: start;
506 #detail-notification {
507 -moz-box-align: center;
508 -moz-box-pack: center;
511 background-color: #FFCF00;
512 -moz-border-radius: 8px;
520 -moz-margin-start: 0px;
521 -moz-margin-end: 0px;
524 .creator > .text-link {
533 -moz-margin-start: 0px;
534 -moz-margin-end: 0px;
535 vertical-align: text-top;
538 .meta-rating[showrating="average"] > .star {
539 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
543 .meta-rating[showrating="user"] > .star {
544 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
548 .meta-rating > .star[on="true"],
549 .meta-rating[showrating="user"] > .star[hover] {
550 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
555 /*** download progress ***/
558 background-color: #000000;
559 -moz-border-radius: 100%;
560 border: 1px solid #FF9F00;
566 .download-progress .start-cap,
567 .download-progress[complete] .end-cap,
568 .download-progress .progress .progress-bar {
569 background-color: #008484;
572 .download-progress .progress {
573 background-color: transparent;
576 .download-progress .start-cap, .download-progress .end-cap {
580 .download-progress .start-cap:-moz-locale-dir(ltr),
581 .download-progress .end-cap:-moz-locale-dir(rtl) {
582 -moz-border-radius: 100% 0 0 100%;
585 .download-progress .end-cap:-moz-locale-dir(ltr),
586 .download-progress .start-cap:-moz-locale-dir(rtl) {
587 -moz-border-radius: 0 100% 100% 0;
590 .download-progress .progress {
591 -moz-appearance: none;
597 .download-progress .pause, .download-progress .cancel {
598 -moz-appearance: none;
599 background-color: #8050B0;
600 border-width: 1px 0px 0px 1px;
603 -moz-border-radius: 100%;
610 .download-progress .pause {
611 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
614 .download-progress .cancel {
615 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
618 .download-progress .status-container {
619 -moz-box-align: center;
623 /*** install status ***/
626 -moz-box-align: center;
630 /*** check for updates ***/
633 -moz-box-align: center;
636 #updates-installed, #updates-downloaded {
647 list-style-image: url("chrome://global/skin/icons/delete.png");
648 -moz-image-region: rect(0, 16px, 16px, 0px);
651 .remove-button:hover, .remove-button:active {
652 -moz-image-region: rect(0, 32px, 16px, 16px);
655 .remove-button .button-text {
660 -moz-padding-start: 20px;
661 -moz-padding-end: 4px;
665 background: transparent;
667 text-decoration: underline;