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;
48 /*** global warnings ***/
51 -moz-box-align: center;
57 #addons-page[warning] .global-warning-container {
58 background-color: #FFCF00;
61 #detail-view .global-warning {
63 border-bottom: 3px solid #000000;
66 /*** notification icons ***/
69 list-style-image: url("chrome://global/skin/icons/warning-16.png");
76 list-style-image: url("chrome://global/skin/icons/error-16.png");
84 list-style-image: url("chrome://global/skin/icons/information-16.png");
90 /*** category selector ***/
93 -moz-appearance: none;
95 -moz-margin-end: -1px;
96 background-color: transparent;
102 -moz-border-end-width: 0;
104 border-color: transparent;
106 -moz-box-align: center;
111 .category:-moz-locale-dir(ltr) {
112 border-top-left-radius: 5px;
113 border-bottom-left-radius: 5px;
116 .category:-moz-locale-dir(rtl) {
117 border-top-right-radius: 5px;
118 border-bottom-right-radius: 5px;
121 .category[disabled] {
124 -moz-transition-property: height, opacity;
125 -moz-transition-duration: 1s, 0.8s;
128 .category:not([disabled]) {
130 -moz-transition-property: height, opacity;
131 -moz-transition-duration: 1s, 0.8s;
134 .category[selected] {
136 border-color: #9C9CFF;
144 background-color: #E7ADE7;
147 border-radius: 10000px;
153 .category-badge[value="0"] {
160 -moz-margin-start: 6px;
163 #category-search > .category-icon {
164 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
166 #category-discover > .category-icon {
167 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
169 #category-languages > .category-icon {
170 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
172 #category-searchengines > .category-icon {
173 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
175 #category-extensions > .category-icon {
176 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
178 #category-themes > .category-icon {
179 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
181 #category-plugins > .category-icon {
182 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
193 #header-name, #header-link {
202 -moz-appearance: none;
204 background: transparent;
207 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
210 #header-link .button-icon {
211 -moz-margin-end: 6px;
215 list-style-image: url("chrome://global/skin/icons/loading.gif");
228 -moz-appearance: none;
232 -moz-appearance: none;
234 border-left: 3px solid #000000;
235 border-right: 3px solid #000000;
236 background-color: transparent;
240 min-width: 12px !important;
241 -moz-box-direction: reverse;
245 .sorter[checkState="1"],
246 .sorter[checkState="2"] {
247 background-color: #008484;
251 .sorter[checkState="1"] {
252 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
255 .sorter[checkState="2"] {
256 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
259 .sorter .button-icon {
260 -moz-margin-start: 4px;
264 /*** empty list notification ***/
267 -moz-box-align: center;
270 .empty-list-notice > button {
280 background-color: transparent;
284 border-bottom: 1px solid #9C9CFF;
288 .addon[status="installing"] {
289 -moz-box-align: center;
295 -moz-margin-start: 10px;
305 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
310 .addon-view[type="theme"] .icon {
311 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
314 .addon-view[type="locale"] .icon {
315 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
318 .addon-view[type="plugin"] .icon {
319 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
327 .description-container {
329 -moz-margin-start: 6px;
336 .warning, .pending, .error, .info {
337 -moz-margin-start: 48px;
340 .addon-view:not([selected]) .warning {
344 .addon-view:not([selected]) .error {
348 .addon-view:not([selected]) .pending {
352 .addon-view[notification="warning"] {
353 background-color : #FFCF00;
357 .addon-view[notification="error"] {
358 background-color: #FF0000;
362 .addon-view[notification="info"] {
363 background-color: #9C9CFF;
367 .addon-view[pending="enable"],
368 .addon-view[pending="upgrade"],
369 .addon-view[pending="install"] {
370 background-color: #008484;
373 .addon-view[pending="disable"],
374 .addon-view[pending="uninstall"] {
378 /*** item - uninstalled ***/
380 .addon[status="uninstalled"] {
384 .addon[status="uninstalled"] > .container {
385 -moz-box-align: center;
387 background-color: #8050B0;
392 .addon[status="uninstalled"][selected] {
393 background-color: transparent;
397 /*** search view ***/
401 -moz-box-align: center;
402 background-color: #000000;
406 #search-filter-label {
411 .search-filter-radio {
414 border-radius: 10000px;
417 .search-filter-radio[selected] {
418 background-color: #008484;
422 .search-filter-radio .radio-check-box1 {
426 .search-filter-radio .radio-icon {
430 /*** detail view ***/
432 #detail-view[active="false"] .fade {
436 #detail-view .loading {
440 #detail-view:not([loading]) .loading {
441 visibility: collapse;
444 #detail-view[loading-extended] .loading {
445 -moz-box-align: center;
446 -moz-box-pack: center;
448 -moz-transition-property: opacity;
449 -moz-transition-duration: 1s;
452 #detail-view .loading > image {
453 list-style-image: url("chrome://global/skin/icons/loading.gif");
456 .detail-view-container {
462 #detail-notifications {
466 #detail-notifications .warning,
467 #detail-notifications .pending,
468 #detail-notifications .error,
469 #detail-notifications .info {
470 -moz-margin-start: 0;
474 -moz-margin-end: 10px;
481 #detail-name-container {
486 -moz-margin-end: 2em;
489 #detail-desc-container {
491 /* This is necessary to fix layout issues with multi-line descriptions, see
493 outline: solid transparent;
497 -moz-margin-start: 6px;
498 white-space: pre-wrap;
501 #detail-contributions {
503 border: 1px solid #9C9CFF;
509 #detail-contrib-description {
514 #detail-contrib-suggested {
518 #detail-contrib-button {
519 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
522 #detail-contrib-button .button-icon {
523 -moz-margin-end: 3px;
531 .detail-row-complex {
532 border-bottom: 1px solid #9C9CFF;
533 -moz-box-align: center;
537 -moz-margin-start: 0;
544 -moz-margin-start: 0px;
545 -moz-margin-end: 0px;
548 .creator > .text-link {
557 -moz-margin-start: 0px;
558 -moz-margin-end: 0px;
559 vertical-align: text-top;
562 .meta-rating[showrating="average"] > .star {
563 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
567 .meta-rating[showrating="user"] > .star {
568 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
572 .meta-rating > .star[on="true"],
573 .meta-rating[showrating="user"] > .star[hover] {
574 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
579 /*** download progress ***/
582 background-color: #000000;
583 border-radius: 10000px;
584 border: 1px solid #FF9F00;
590 .download-progress .start-cap,
591 .download-progress[complete] .end-cap,
592 .download-progress .progress .progress-bar {
593 background-color: #008484;
596 .download-progress .progress {
597 background-color: transparent;
600 .download-progress .start-cap, .download-progress .end-cap {
604 .download-progress .start-cap:-moz-locale-dir(ltr),
605 .download-progress .end-cap:-moz-locale-dir(rtl) {
606 border-radius: 10000px 0 0 10000px;
609 .download-progress .end-cap:-moz-locale-dir(ltr),
610 .download-progress .start-cap:-moz-locale-dir(rtl) {
611 border-radius: 0 10000px 10000px 0;
614 .download-progress .progress {
615 -moz-appearance: none;
621 .download-progress .pause, .download-progress .cancel {
622 -moz-appearance: none;
623 background-color: #8050B0;
624 border-width: 1px 0px 0px 1px;
627 border-radius: 10000px;
634 .download-progress .pause {
635 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
638 .download-progress .cancel {
639 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
642 .download-progress .status-container {
643 -moz-box-align: center;
647 /*** install status ***/
650 -moz-box-align: center;
654 /*** check for updates ***/
657 -moz-box-align: center;
660 #updates-installed, #updates-downloaded {
672 background: transparent;
674 text-decoration: underline;