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;
48 /*** global warnings ***/
51 -moz-box-align: center;
57 #addons-page[warning] .global-warning-container {
58 background-color: #FFFFCC;
61 #detail-view .global-warning {
63 border-bottom: 1px solid #9999CC;
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[disabled] {
114 -moz-transition-property: height, opacity;
115 -moz-transition-duration: 1s, 0.8s;
118 .category:not([disabled]) {
120 -moz-transition-property: height, opacity;
121 -moz-transition-duration: 1s, 0.8s;
124 .category[selected] {
125 background-color: #FFFFFF;
127 border-color: #666699;
135 background-color: #666699;
138 border: 1px outset #666699;
144 .category-badge[value="0"] {
151 -moz-margin-start: 6px;
154 #category-search > .category-icon {
155 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
157 #category-discover > .category-icon {
158 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
160 #category-languages > .category-icon {
161 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
163 #category-searchengines > .category-icon {
164 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
166 #category-extensions > .category-icon {
167 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
169 #category-themes > .category-icon {
170 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
172 #category-plugins > .category-icon {
173 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
184 #header-name, #header-link {
193 -moz-appearance: none;
195 background: transparent;
198 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
201 #header-link .button-icon {
202 -moz-margin-end: 6px;
206 list-style-image: url("chrome://global/skin/icons/loading.gif");
212 border-bottom: 1px solid #666699;
219 -moz-appearance: none;
223 -moz-appearance: none;
225 background-color: transparent;
228 min-width: 12px !important;
229 -moz-box-direction: reverse;
232 .sorter[checkState="1"],
233 .sorter[checkState="2"] {
234 background-color: #666699;
237 .sorter[checkState="1"] {
238 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
241 .sorter[checkState="2"] {
242 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
245 .sorter .button-icon {
246 -moz-margin-start: 4px;
250 /*** empty list notification ***/
253 -moz-box-align: center;
256 .empty-list-notice > button {
266 background-color: transparent;
270 border-bottom: 1px solid #9999CC;
274 .addon[status="installing"] {
275 -moz-box-align: center;
281 -moz-margin-start: 10px;
291 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
296 .addon-view[type="theme"] .icon {
297 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
300 .addon-view[type="locale"] .icon {
301 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
304 .addon-view[type="plugin"] .icon {
305 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
313 .description-container {
315 -moz-margin-start: 6px;
322 .warning, .pending, .error, .info {
323 -moz-margin-start: 48px;
326 .addon-view:not([selected]) .warning {
330 .addon-view:not([selected]) .error {
334 .addon-view:not([selected]) .pending {
338 .addon-view[notification="warning"] {
339 background-color : #FFFFCC;
342 .addon-view[notification="error"] {
343 background-color: #FFD0DD;
346 .addon-view[notification="info"] {
347 background-color: #9999CC;
350 .addon-view[pending="enable"],
351 .addon-view[pending="upgrade"],
352 .addon-view[pending="install"] {
353 background-color: #CCFFDD;
356 .addon-view[pending="disable"],
357 .addon-view[pending="uninstall"] {
358 background-color: #808080;
361 /*** item - uninstalled ***/
363 .addon[status="uninstalled"] {
367 .addon[status="uninstalled"] > .container {
368 -moz-box-align: center;
370 background-color: #808080;
375 .addon[status="uninstalled"][selected] {
376 background-color: transparent;
380 /*** search view ***/
384 -moz-box-align: center;
385 background-color: #FFFFFF;
389 #search-filter-label {
394 .search-filter-radio {
395 -moz-appearance: none;
398 border-radius: 10000px;
401 .search-filter-radio[selected] {
402 background-color: #3366699;
406 .search-filter-radio .radio-check-box1 {
410 .search-filter-radio .radio-icon {
414 /*** detail view ***/
416 #detail-view[active="false"] .fade {
420 #detail-view .loading {
424 #detail-view:not([loading]) .loading {
425 visibility: collapse;
428 #detail-view[loading-extended] .loading {
429 -moz-box-align: center;
430 -moz-box-pack: center;
432 -moz-transition-property: opacity;
433 -moz-transition-duration: 1s;
436 #detail-view .loading > image {
437 list-style-image: url("chrome://global/skin/icons/loading.gif");
440 .detail-view-container {
446 #detail-notifications {
450 #detail-notifications .warning,
451 #detail-notifications .pending,
452 #detail-notifications .error,
453 #detail-notifications .info {
454 -moz-margin-start: 0;
458 -moz-margin-end: 10px;
465 #detail-name-container {
470 -moz-margin-end: 2em;
473 #detail-desc-container {
475 /* This is necessary to fix layout issues with multi-line descriptions, see
477 outline: solid transparent;
481 -moz-margin-start: 6px;
482 white-space: pre-wrap;
485 #detail-contributions {
487 border: 1px solid #666699;
493 #detail-contrib-description {
498 #detail-contrib-suggested {
502 #detail-contrib-button {
503 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
506 #detail-contrib-button .button-icon {
507 -moz-margin-end: 3px;
515 .detail-row-complex {
516 border-bottom: 1px solid #808080;
517 -moz-box-align: center;
521 -moz-margin-start: 0;
528 -moz-margin-start: 0px;
529 -moz-margin-end: 0px;
532 .creator > .text-link {
541 -moz-margin-start: 0px;
542 -moz-margin-end: 0px;
543 vertical-align: text-top;
546 .meta-rating[showrating="average"] > .star {
547 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
551 .meta-rating[showrating="user"] > .star {
552 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
556 .meta-rating > .star[on="true"],
557 .meta-rating[showrating="user"] > .star[hover] {
558 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
563 /*** download progress ***/
566 background-color: #CCD0DD;
567 border: 1px solid #808080;
573 .download-progress .start-cap,
574 .download-progress[complete] .end-cap,
575 .download-progress .progress .progress-bar {
576 background-color: #336699;
579 .download-progress .progress {
580 background-color: transparent;
583 .download-progress .start-cap, .download-progress .end-cap {
587 .download-progress .start-cap:-moz-locale-dir(ltr),
588 .download-progress .end-cap:-moz-locale-dir(rtl) {
589 border-radius: 10000px 0 0 10000px;
592 .download-progress .end-cap:-moz-locale-dir(ltr),
593 .download-progress .start-cap:-moz-locale-dir(rtl) {
594 border-radius: 0 10000px 10000px 0;
597 .download-progress .progress {
598 -moz-appearance: none;
604 .download-progress .pause, .download-progress .cancel {
605 -moz-appearance: none;
606 background-color: #CCD0DD;
607 border-width: 1px 0px 0px 1px;
610 -moz-border-top-colors: #FFFFFF;
611 -moz-border-left-colors: #FFFFFF;
618 .download-progress .pause {
619 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
622 .download-progress .cancel {
623 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
626 .download-progress .status-container {
627 -moz-box-align: center;
631 /*** install status ***/
634 -moz-box-align: center;
638 /*** check for updates ***/
641 -moz-box-align: center;
644 #updates-installed, #updates-downloaded {
656 background: transparent;
658 text-decoration: underline;