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 #666699;
43 background-color: transparent;
44 background-image: none;
49 background-color: #FFFFFF;
53 /*** category selector ***/
56 -moz-appearance: none;
63 -moz-appearance: none;
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: #9999CC;
93 background-color: #666699;
96 border: 1px outset #666699;
97 /* -moz-border-radius: 100%; */
103 .category-badge[value="0"] {
110 -moz-margin-start: 6px;
113 #category-search > .category-icon {
114 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
116 #category-discover > .category-icon {
117 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
119 #category-languages > .category-icon {
120 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
122 #category-searchengines > .category-icon {
123 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
125 #category-extensions > .category-icon {
126 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
128 #category-themes > .category-icon {
129 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
131 #category-plugins > .category-icon {
132 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
139 background-color: #666699;
140 border: 1px inset #666699;
143 -moz-box-align: center;
147 #header-name, #header-link {
156 -moz-appearance: none;
158 background: transparent;
161 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
164 #header-link .button-icon {
165 -moz-margin-end: 6px;
169 list-style-image: url("chrome://global/skin/icons/loading.gif");
176 border-bottom: 1px solid #666699;
183 -moz-appearance: none;
187 -moz-appearance: none;
189 background-color: transparent;
190 /* -moz-border-radius: 100%; */
193 min-width: 12px !important;
194 -moz-box-direction: reverse;
197 .sorter[checkState="1"],
198 .sorter[checkState="2"] {
199 background-color: #666699;
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: #CCD0DD;
236 /* -moz-border-radius: 10px; */
237 border: 1px solid #9999CC;
242 .addon[status="installing"] {
243 -moz-box-align: center;
244 border-color: #336699;
247 .addon[selected]:not([status="uninstalled"]) {
253 .addon[status="installed"][selected]:not([pending="true"]) {
258 .addon[status="installed"][active="false"] .fade {
262 .addon[status="installed"][pending="true"] {
267 /* color: -moz-dialogtext; */
270 .addon[selected] .text-link {
271 /* color: -moz-nativehyperlinktext; */
274 .addon .toggle-more {
275 /* -moz-border-radius: 100%; */
278 min-width: 12px !important;
279 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
280 -moz-box-direction: reverse;
281 border: 1px solid transparent;
282 background: transparent;
286 .addon .toggle-more > .button-box > .button-icon {
287 -moz-padding-start: 4px;
290 .addon[show-extra] .toggle-more {
291 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
294 .addon .toggle-more:hover {
295 background-color: #CCD0DD;
296 border: 1px outset #CCD0DD;
299 .addon[selected] .toggle-more:hover {
300 background-color: #CCD0DD;
301 border: 1px outset #CCD0DD;
304 .addon .extra-details {
309 -moz-transition-property: height, opacity;
310 -moz-transition-duration: 0.5s, 0.5s;
313 .addon[show-extra] .extra-details {
315 -moz-transition-property: height, opacity;
316 -moz-transition-duration: 0.5s, 0.5s;
323 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
326 .addon[type="theme"] .icon {
327 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
330 .addon[type="locale"] .icon {
331 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
334 .addon[type="plugin"] .icon {
335 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
338 .addon .name-container {
348 .addon .disabled-postfix {
352 .addon .description {
354 -moz-margin-start: 6px;
359 -moz-box-align: start;
362 .addon .warning-icon {
364 list-style-image: url("chrome://global/skin/icons/warning-16.png");
367 .addon[selected] .warning-icon {
371 .addon .details-container {
373 -moz-margin-start: 20px;
376 .addon .control-container {
377 -moz-box-align: center;
382 .addon[selected] .details-container {
383 border-color: #9999CC;
387 /*** item - uninstalled ***/
389 .addon[status="uninstalled"] {
393 .addon[status="uninstalled"] > .container {
394 -moz-box-align: center;
396 background-color: #808080;
397 -moz-border-radius: 8px;
401 .addon[status="uninstalled"][selected] {
402 background-color: transparent;
407 /*** search view ***/
411 -moz-box-align: center;
412 background-color: #FFFFFF;
417 /*** detail view ***/
419 #detail-view[active="false"] .fade {
423 #detail-view > .loading {
427 #detail-view:not([loading]) > .loading {
428 visibility: collapse;
431 #detail-view[loading-extended] > .loading {
432 -moz-box-align: center;
433 -moz-box-pack: center;
435 -moz-transition-property: opacity;
436 -moz-transition-duration: 1s;
439 #detail-view > .loading > image {
440 list-style-image: url("chrome://global/skin/icons/loading.gif");
443 .detail-view-container {
450 -moz-box-align: center;
465 -moz-margin-end: 10px;
466 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
469 #detail-view[type="theme"] #detail-icon {
470 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
473 #detail-view[type="locale"] #detail-icon {
474 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
477 #detail-view[type="plugin"] #detail-icon {
478 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
488 background-color: blue;
489 margin: 0px 10px 0px 0px;
493 -moz-box-align: start;
500 #detail-notification {
501 -moz-box-align: center;
502 -moz-box-pack: center;
505 background-color: #FFFFCC;
506 /* -moz-border-radius: 8px; */
508 border: 1px solid #666699;
515 -moz-margin-start: 0px;
516 -moz-margin-end: 0px;
519 .creator > .text-link {
528 -moz-margin-start: 0px;
529 -moz-margin-end: 0px;
530 vertical-align: text-top;
533 .meta-rating[showrating="average"] > .star {
534 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
538 .meta-rating[showrating="user"] > .star {
539 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
543 .meta-rating > .star[on="true"],
544 .meta-rating[showrating="user"] > .star[hover] {
545 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
550 /*** download progress ***/
553 background-color: #CCD0DD;
554 /* -moz-border-radius: 100%; */
555 border: 1px solid #808080;
561 .download-progress .start-cap,
562 .download-progress[complete] .end-cap,
563 .download-progress .progress .progress-bar {
564 background-color: #336699;
567 .download-progress .progress {
568 background-color: transparent;
571 .download-progress .start-cap, .download-progress .end-cap {
575 .download-progress .start-cap {
576 -moz-border-radius: 100% 0 0 100%;
579 .download-progress .end-cap {
580 -moz-border-radius: 0 100% 100% 0;
583 .download-progress .progress {
584 -moz-appearance: none;
590 .download-progress .pause, .download-progress .cancel {
591 -moz-appearance: none;
592 background-color: #CCD0DD;
593 border-width: 1px 0px 0px 1px;
595 -moz-border-top-colors: #FFFFFF;
596 -moz-border-left-colors: #FFFFFF;
597 /* -moz-border-radius: 100%; */
604 .download-progress .pause {
605 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
608 .download-progress .cancel {
609 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
612 .download-progress .status-container {
613 -moz-box-align: center;
617 /*** install status ***/
620 -moz-box-align: center;
624 /*** check for updates ***/
627 -moz-box-align: center;
630 #updates-installed, #updates-downloaded {
642 .addon-control[disabled="true"] {
647 -moz-padding-start: 20px;
648 -moz-padding-end: 4px;
652 background: transparent;
654 text-decoration: underline;