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 /*** 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;
73 -moz-transition-property: height, opacity;
74 -moz-transition-duration: 1s, 0.8s;
77 .category:not([disabled]) {
79 -moz-transition-property: height, opacity;
80 -moz-transition-duration: 1s, 0.8s;
84 background-color: #FFFFFF;
86 border-color: #666699;
94 background-color: #666699;
97 border: 1px outset #666699;
98 /* -moz-border-radius: 100%; */
104 .category-badge[value="0"] {
111 -moz-margin-start: 6px;
114 #category-search > .category-icon {
115 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
117 #category-discover > .category-icon {
118 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
120 #category-languages > .category-icon {
121 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
123 #category-searchengines > .category-icon {
124 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
126 #category-extensions > .category-icon {
127 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
129 #category-themes > .category-icon {
130 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
132 #category-plugins > .category-icon {
133 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
144 #header-name, #header-link {
153 -moz-appearance: none;
155 background: transparent;
158 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
161 #header-link .button-icon {
162 -moz-margin-end: 6px;
166 list-style-image: url("chrome://global/skin/icons/loading.gif");
172 border-bottom: 1px solid #666699;
179 -moz-appearance: none;
183 -moz-appearance: none;
185 background-color: transparent;
186 /* -moz-border-radius: 100%; */
189 min-width: 12px !important;
190 -moz-box-direction: reverse;
193 .sorter[checkState="1"],
194 .sorter[checkState="2"] {
195 background-color: #666699;
198 .sorter[checkState="1"] {
199 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
202 .sorter[checkState="2"] {
203 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
206 .sorter .button-icon {
207 -moz-margin-start: 4px;
211 /*** empty list notification ***/
214 -moz-box-align: center;
217 .empty-list-notice > button {
227 background-color: transparent;
231 border-bottom: 1px solid #9999CC;
235 .addon[status="installing"] {
236 -moz-box-align: center;
242 -moz-margin-start: 10px;
252 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
257 .addon[type="theme"] .icon {
258 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
261 .addon[type="locale"] .icon {
262 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
265 .addon[type="plugin"] .icon {
266 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
280 .description-container {
282 -moz-margin-start: 6px;
289 .warning, .pending, .error, .info {
290 -moz-margin-start: 48px;
293 .addon:not([selected]) .warning {
297 .addon:not([selected]) .error {
301 .addon:not([selected]) .pending {
305 .addon .warning-icon {
307 list-style-image: url("chrome://global/skin/icons/warning-16.png");
314 list-style-image: url("chrome://global/skin/icons/error-16.png");
320 .addon .pending-icon,
322 list-style-image: url("chrome://global/skin/icons/information-16.png");
328 .addon[notification="warning"] {
329 background-color : #FFFFCC;
332 .addon[notification="error"] {
333 background-color: #FFD0DD;
336 .addon[notification="info"] {
337 background-color: #9999CC;
340 .addon[pending="enable"],
341 .addon[pending="upgrade"],
342 .addon[pending="install"] {
343 background-color: #CCFFDD;
346 .addon[pending="disable"],
347 .addon[pending="uninstall"] {
348 background-color: #808080;
356 /*** item - uninstalled ***/
358 .addon[status="uninstalled"] {
362 .addon[status="uninstalled"] > .container {
363 -moz-box-align: center;
365 background-color: #808080;
366 -moz-border-radius: 8px;
370 .addon[status="uninstalled"][selected] {
371 background-color: transparent;
376 /*** search view ***/
380 -moz-box-align: center;
381 background-color: #FFFFFF;
385 #search-filter-label {
390 .search-filter-radio {
391 -moz-appearance: none;
394 -moz-border-radius: 100%;
397 .search-filter-radio[selected] {
398 background-color: #3366699;
402 .search-filter-radio .radio-check-box1 {
406 .search-filter-radio .radio-icon {
410 /*** detail view ***/
412 #detail-view[active="false"] .fade {
416 #detail-view > .loading {
420 #detail-view:not([loading]) > .loading {
421 visibility: collapse;
424 #detail-view[loading-extended] > .loading {
425 -moz-box-align: center;
426 -moz-box-pack: center;
428 -moz-transition-property: opacity;
429 -moz-transition-duration: 1s;
432 #detail-view > .loading > image {
433 list-style-image: url("chrome://global/skin/icons/loading.gif");
436 .detail-view-container {
443 -moz-box-align: center;
458 -moz-margin-end: 10px;
459 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
462 #detail-view[type="theme"] #detail-icon {
463 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
466 #detail-view[type="locale"] #detail-icon {
467 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
470 #detail-view[type="plugin"] #detail-icon {
471 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
481 background-color: blue;
482 margin: 0px 10px 0px 0px;
486 -moz-box-align: start;
493 #detail-notification {
494 -moz-box-align: center;
495 -moz-box-pack: center;
498 background-color: #FFFFCC;
499 /* -moz-border-radius: 8px; */
501 border: 1px solid #666699;
508 -moz-margin-start: 0px;
509 -moz-margin-end: 0px;
512 .creator > .text-link {
521 -moz-margin-start: 0px;
522 -moz-margin-end: 0px;
523 vertical-align: text-top;
526 .meta-rating[showrating="average"] > .star {
527 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
531 .meta-rating[showrating="user"] > .star {
532 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
536 .meta-rating > .star[on="true"],
537 .meta-rating[showrating="user"] > .star[hover] {
538 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
543 /*** download progress ***/
546 background-color: #CCD0DD;
547 /* -moz-border-radius: 100%; */
548 border: 1px solid #808080;
554 .download-progress .start-cap,
555 .download-progress[complete] .end-cap,
556 .download-progress .progress .progress-bar {
557 background-color: #336699;
560 .download-progress .progress {
561 background-color: transparent;
564 .download-progress .start-cap, .download-progress .end-cap {
568 .download-progress .start-cap:-moz-locale-dir(ltr),
569 .download-progress .end-cap:-moz-locale-dir(rtl) {
570 -moz-border-radius: 100% 0 0 100%;
573 .download-progress .end-cap:-moz-locale-dir(ltr),
574 .download-progress .start-cap:-moz-locale-dir(rtl) {
575 -moz-border-radius: 0 100% 100% 0;
578 .download-progress .progress {
579 -moz-appearance: none;
585 .download-progress .pause, .download-progress .cancel {
586 -moz-appearance: none;
587 background-color: #CCD0DD;
588 border-width: 1px 0px 0px 1px;
591 -moz-border-top-colors: #FFFFFF;
592 -moz-border-left-colors: #FFFFFF;
593 /* -moz-border-radius: 100%; */
600 .download-progress .pause {
601 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
604 .download-progress .cancel {
605 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
608 .download-progress .status-container {
609 -moz-box-align: center;
613 /*** install status ***/
616 -moz-box-align: center;
620 /*** check for updates ***/
623 -moz-box-align: center;
626 #updates-installed, #updates-downloaded {
635 background: transparent;
638 list-style-image: url("chrome://global/skin/icons/delete.png");
639 border: 1px solid transparent;
642 .remove-button .button-box {
646 .remove-button:hover {
647 border: 1px outset #CCD0DD;
650 .remove-button:active {
651 border: 1px inset #CCD0DD;
654 .remove-button .button-text {
659 -moz-padding-start: 20px;
660 -moz-padding-end: 4px;
664 background: transparent;
666 text-decoration: underline;