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 ***** */
40 -moz-appearance: none;
42 -moz-border-start: 1px solid #9C9CFF;
43 background-color: transparent;
44 background-image: none;
49 background-color: #000000;
53 /*** category selector ***/
56 -moz-appearance: none;
63 -moz-border-radius: 8px;
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: #008484;
93 background-color: #E7ADE7;
96 -moz-border-radius: 100%;
102 .category-badge[value="0"] {
109 -moz-margin-start: 6px;
112 #category-search > .category-icon {
113 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
115 #category-discover > .category-icon {
116 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
118 #category-languages > .category-icon {
119 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
121 #category-searchengines > .category-icon {
122 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
124 #category-extensions > .category-icon {
125 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
127 #category-themes > .category-icon {
128 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
130 #category-plugins > .category-icon {
131 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
138 background-color: #FF9F00;
139 -moz-border-radius: 8px;
142 -moz-box-align: center;
146 #header-name, #header-link {
155 -moz-appearance: none;
157 background: transparent;
160 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
163 #header-link .button-icon {
164 -moz-margin-end: 6px;
168 background-color: #9C9CFF;
170 -moz-border-radius: 8px;
179 -moz-appearance: none;
183 -moz-appearance: none;
185 border-left: 3px solid #000000;
186 border-right: 3px solid #000000;
187 background-color: transparent;
188 -moz-border-radius: 0;
191 min-width: 12px !important;
192 -moz-box-direction: reverse;
196 .sorter[checkState="1"],
197 .sorter[checkState="2"] {
198 background-color: #008484;
202 .sorter[checkState="1"] {
203 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
206 .sorter[checkState="2"] {
207 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
210 .sorter .button-icon {
211 -moz-margin-start: 4px;
215 /*** empty list notification ***/
218 -moz-box-align: center;
221 .empty-list-notice > button {
229 -moz-appearance: none;
234 .addon[status="installed"], .addon[status="installing"] {
235 background-color: #000000;
236 -moz-border-radius: 10px;
237 border: 1px solid #9C9CFF;
242 .addon[status="installing"] {
243 -moz-box-align: center;
244 border-color: #FF9F00;
247 .addon[selected]:not([status="uninstalled"]) {
248 background-color: #008484;
252 .addon[status="installed"][selected]:not([pending="true"]) {
257 .addon[status="installed"][active="false"] .fade {
261 .addon[status="installed"][pending="true"] {
266 /* color: -moz-dialogtext; */
269 .addon[selected] .text-link {
270 /* color: -moz-nativehyperlinktext; */
273 .addon .toggle-more {
276 min-width: 12px !important;
277 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
278 -moz-box-direction: reverse;
279 /* border: 1px solid transparent;
280 background: transparent; */
284 .addon .toggle-more > .button-box > .button-icon {
285 -moz-padding-start: 4px;
288 .addon[show-extra] .toggle-more {
289 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
292 .addon .toggle-more:hover {
293 /* background-color: #FFCF00;
297 .addon[selected] .toggle-more:hover {
298 /* background-color: #FFCF00;
302 .addon .extra-details {
307 -moz-transition-property: height, opacity;
308 -moz-transition-duration: 0.5s, 0.5s;
311 .addon[show-extra] .extra-details {
313 -moz-transition-property: height, opacity;
314 -moz-transition-duration: 0.5s, 0.5s;
321 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
324 .addon[type="theme"] .icon {
325 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
328 .addon[type="locale"] .icon {
329 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
332 .addon[type="plugin"] .icon {
333 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
336 .addon .name-container {
345 .addon .disabled-postfix {
349 .addon .description {
351 -moz-margin-start: 6px;
356 -moz-box-align: start;
359 .addon .warning-icon {
361 list-style-image: url("chrome://global/skin/icons/warning-16.png");
364 .addon[selected] .warning-icon {
368 .addon .details-container {
370 -moz-margin-start: 20px;
373 .addon .control-container {
374 -moz-box-align: center;
379 .addon[selected] .details-container {
380 border-color: #FFCF00;
384 /*** item - uninstalled ***/
386 .addon[status="uninstalled"] {
390 .addon[status="uninstalled"] > .container {
391 -moz-box-align: center;
393 background-color: #8050B0;
394 -moz-border-radius: 8px;
398 .addon[status="uninstalled"][selected] {
399 background-color: transparent;
404 /*** search view ***/
408 -moz-box-align: center;
409 background-color: #000000;
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 {
447 -moz-box-align: center;
462 -moz-margin-end: 10px;
463 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
466 #detail-view[type="theme"] #detail-icon {
467 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
470 #detail-view[type="locale"] #detail-icon {
471 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
474 #detail-view[type="plugin"] #detail-icon {
475 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
485 background-color: #9C9CFF;
486 margin: 0px 10px 0px 0px;
490 -moz-box-align: start;
497 #detail-notification {
498 -moz-box-align: center;
499 -moz-box-pack: center;
502 background-color: #FFCF00;
503 -moz-border-radius: 8px;
511 -moz-margin-start: 0px;
512 -moz-margin-end: 0px;
515 .creator > .text-link {
524 -moz-margin-start: 0px;
525 -moz-margin-end: 0px;
526 vertical-align: text-top;
529 .meta-rating[showrating="average"] > .star {
530 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
534 .meta-rating[showrating="user"] > .star {
535 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
539 .meta-rating > .star[on="true"],
540 .meta-rating[showrating="user"] > .star[hover] {
541 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
546 /*** download progress ***/
549 background-color: #000000;
550 -moz-border-radius: 100%;
551 border: 1px solid #FF9F00;
557 .download-progress .start-cap,
558 .download-progress[complete] .end-cap,
559 .download-progress .progress .progress-bar {
560 background-color: #008484;
563 .download-progress .progress {
564 background-color: transparent;
567 .download-progress .start-cap, .download-progress .end-cap {
571 .download-progress .start-cap {
572 -moz-border-radius: 100% 0 0 100%;
575 .download-progress .end-cap {
576 -moz-border-radius: 0 100% 100% 0;
579 .download-progress .progress {
580 -moz-appearance: none;
586 .download-progress .pause, .download-progress .cancel {
587 -moz-appearance: none;
588 background-color: #8050B0;
589 border-width: 1px 0px 0px 1px;
591 -moz-border-radius: 100%;
598 .download-progress .pause {
599 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
602 .download-progress .cancel {
603 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
606 .download-progress .status-container {
607 -moz-box-align: center;
611 /*** install status ***/
614 -moz-box-align: center;
618 /*** check for updates ***/
621 -moz-box-align: center;
624 #updates-installed, #updates-downloaded {
636 .addon-control[disabled="true"] {
641 -moz-padding-start: 20px;
642 -moz-padding-end: 4px;
646 background: transparent;
648 text-decoration: underline;