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;
49 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
54 #back-btn:-moz-locale-dir(ltr),
55 #forward-btn:-moz-locale-dir(rtl) {
56 -moz-image-region: rect(42px 25px 63px 0px);
59 #back-btn[disabled="true"]:-moz-locale-dir(ltr),
60 #forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
61 -moz-image-region: rect(42px 50px 63px 25px);
64 #back-btn:-moz-locale-dir(rtl),
65 #forward-btn:-moz-locale-dir(ltr) {
66 -moz-image-region: rect(63px 25px 84px 0px);
69 #back-btn[disabled="true"]:-moz-locale-dir(rtl),
70 #forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
71 -moz-image-region: rect(63px 50px 84px 25px);
74 /*** global warnings ***/
77 -moz-box-align: center;
83 #addons-page[warning] .global-warning-container {
84 background-color: #FFCF00;
87 #detail-view .global-warning {
89 border-bottom: 3px solid #000000;
92 /*** notification icons ***/
95 list-style-image: url("chrome://global/skin/icons/warning-16.png");
102 list-style-image: url("chrome://global/skin/icons/error-16.png");
110 list-style-image: url("chrome://global/skin/icons/information-16.png");
116 /*** category selector ***/
119 -moz-appearance: none;
121 -moz-margin-end: -1px;
122 background-color: transparent;
128 -moz-border-end-width: 0;
130 border-color: transparent;
132 -moz-box-align: center;
137 .category:-moz-locale-dir(ltr) {
138 border-top-left-radius: 5px;
139 border-bottom-left-radius: 5px;
142 .category:-moz-locale-dir(rtl) {
143 border-top-right-radius: 5px;
144 border-bottom-right-radius: 5px;
147 .category[disabled] {
150 -moz-transition-property: height, opacity;
151 -moz-transition-duration: 1s, 0.8s;
154 .category:not([disabled]) {
156 -moz-transition-property: height, opacity;
157 -moz-transition-duration: 1s, 0.8s;
160 .category[selected] {
162 border-color: #9C9CFF;
170 background-color: #E7ADE7;
173 border-radius: 10000px;
179 .category-badge[value="0"] {
186 -moz-margin-start: 6px;
189 #category-search > .category-icon {
190 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
192 #category-discover > .category-icon {
193 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
195 #category-languages > .category-icon {
196 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
198 #category-searchengines > .category-icon {
199 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
201 #category-extensions > .category-icon {
202 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
204 #category-themes > .category-icon {
205 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
207 #category-plugins > .category-icon {
208 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
210 #category-availableUpdates > .category-icon {
211 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
213 #category-recentUpdates > .category-icon {
214 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
225 #header-name, #header-link {
234 -moz-appearance: none;
236 background: transparent;
239 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
242 #header-link .button-icon {
243 -moz-margin-end: 6px;
247 list-style-image: url("chrome://global/skin/icons/loading.gif");
252 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
255 #header-utils-btn:hover,
256 #header-utils-btn:hover:active,
257 #header-utils-btn[open="true"] {
258 list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png");
261 #header-utils-btn:-moz-focusring > .button-box {
265 #header-utils-btn > .button-box > .button-menu-dropmarker {
267 background: transparent;
270 #header-utils-btn:hover > .button-box > .button-menu-dropmarker {
271 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
284 -moz-appearance: none;
285 border-right: 3px solid #000000;
289 -moz-appearance: none;
291 border-left: 3px solid #000000;
292 background-color: transparent;
296 -moz-padding-start: 6px;
297 -moz-padding-end: 3px;
299 min-width: 12px !important;
300 -moz-box-direction: reverse;
303 background-color: #FFCF00;
307 .sorter[checkState="1"],
308 .sorter[checkState="2"] {
309 background-color: #008484;
313 .sorter[checkState="1"] {
314 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
317 .sorter[checkState="2"] {
318 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
321 .sorter .button-icon {
322 -moz-margin-start: 4px;
326 /*** empty list notification ***/
329 -moz-box-align: center;
332 .empty-list-notice > button {
342 background-color: transparent;
346 border-bottom: 1px solid #9C9CFF;
350 .addon[status="installing"] {
351 -moz-box-align: center;
357 -moz-margin-start: 10px;
367 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
372 .addon-view[type="theme"] .icon {
373 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
376 .addon-view[type="locale"] .icon {
377 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
380 .addon-view[type="plugin"] .icon {
381 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
389 .description-container {
391 -moz-margin-start: 6px;
398 .warning, .pending, .error, .info {
399 -moz-margin-start: 48px;
402 .addon-view:not([selected]) .warning {
406 .addon-view:not([selected]) .error {
410 .addon-view:not([selected]) .pending {
414 .addon-view[notification="warning"] {
415 background-color : #FFCF00;
419 .addon-view[notification="warning"] .warning {
423 .addon-view[notification="error"] {
424 background-color: #FF0000;
428 .addon-view[notification="error"] .error {
432 .addon-view[notification="info"] {
433 background-color: #9C9CFF;
437 .addon-view[pending="enable"],
438 .addon-view[pending="upgrade"],
439 .addon-view[pending="install"] {
440 background-color: #008484;
443 .addon-view[pending="enable"] .pending,
444 .addon-view[pending="upgrade"] .pending,
445 .addon-view[pending="install"] .pending {
449 .addon-view[pending="disable"],
450 .addon-view[pending="uninstall"] {
454 .addon .relnotes-container {
455 -moz-box-align: start;
459 -moz-transition-property: height, opacity;
460 -moz-transition-duration: 0.5s, 0.5s;
463 .addon[show-relnotes] .relnotes-container {
465 -moz-transition-property: height, opacity;
466 -moz-transition-duration: 0.5s, 0.5s;
469 .addon .relnotes-header {
474 .addon .relnotes-toggle {
476 background: transparent;
478 -moz-box-direction: reverse;
480 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
483 .addon .relnotes-toggle > .button-box > .button-icon {
484 -moz-padding-start: 4px;
487 .addon[show-relnotes] .relnotes-toggle {
488 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
492 /*** item - uninstalled ***/
494 .addon[status="uninstalled"] {
498 .addon[status="uninstalled"] > .container {
499 -moz-box-align: center;
501 background-color: #8050B0;
506 .addon[status="uninstalled"][selected] {
507 background-color: transparent;
511 /*** search view ***/
515 -moz-box-align: center;
516 background-color: #000000;
520 #search-filter-label {
525 .search-filter-radio {
528 border-radius: 10000px;
531 .search-filter-radio[selected] {
532 background-color: #008484;
536 .search-filter-radio .radio-check-box1 {
540 .search-filter-radio .radio-icon {
544 #search-allresults-link {
549 /*** detail view ***/
551 #detail-view[active="false"] .fade {
555 #detail-view .loading {
559 #detail-view:not([loading]) .loading {
560 visibility: collapse;
563 #detail-view[loading-extended] .loading {
564 -moz-box-align: center;
565 -moz-box-pack: center;
567 -moz-transition-property: opacity;
568 -moz-transition-duration: 1s;
571 #detail-view .loading > image {
572 list-style-image: url("chrome://global/skin/icons/loading.gif");
575 .detail-view-container {
581 #detail-notifications {
585 #detail-notifications .warning,
586 #detail-notifications .pending,
587 #detail-notifications .error,
588 #detail-notifications .info {
589 -moz-margin-start: 0;
593 -moz-margin-end: 10px;
600 #detail-name-container {
605 -moz-margin-end: 2em;
608 #detail-desc-container {
610 /* This is necessary to fix layout issues with multi-line descriptions, see
612 outline: solid transparent;
616 -moz-margin-start: 6px;
617 white-space: pre-wrap;
620 #detail-contributions {
622 border: 1px solid #9C9CFF;
628 #detail-contrib-description {
633 #detail-contrib-suggested {
637 #detail-contrib-button {
638 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
641 #detail-contrib-button .button-icon {
642 -moz-margin-end: 3px;
650 .detail-row-complex {
651 border-bottom: 1px solid #9C9CFF;
652 -moz-box-align: center;
656 -moz-margin-start: 0;
663 -moz-margin-start: 0px;
664 -moz-margin-end: 0px;
667 .creator > .text-link {
676 -moz-margin-start: 0px;
677 -moz-margin-end: 0px;
678 vertical-align: text-top;
681 .meta-rating[showrating="average"] > .star {
682 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
686 .meta-rating[showrating="user"] > .star {
687 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
691 .meta-rating > .star[on="true"],
692 .meta-rating[showrating="user"] > .star[hover] {
693 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
698 /*** download progress ***/
701 background-color: #000000;
702 border-radius: 10000px;
703 border: 1px solid #FF9F00;
709 .download-progress .start-cap,
710 .download-progress[complete] .end-cap,
711 .download-progress .progress .progress-bar {
712 background-color: #008484;
715 .download-progress .progress {
716 background-color: transparent;
719 .download-progress .start-cap, .download-progress .end-cap {
723 .download-progress .start-cap:-moz-locale-dir(ltr),
724 .download-progress .end-cap:-moz-locale-dir(rtl) {
725 border-radius: 10000px 0 0 10000px;
728 .download-progress .end-cap:-moz-locale-dir(ltr),
729 .download-progress .start-cap:-moz-locale-dir(rtl) {
730 border-radius: 0 10000px 10000px 0;
733 .download-progress .progress {
734 -moz-appearance: none;
740 .download-progress .pause, .download-progress .cancel {
741 -moz-appearance: none;
742 background-color: #8050B0;
743 border-width: 1px 0px 0px 1px;
746 border-radius: 10000px;
753 .download-progress .pause {
754 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
757 .download-progress .cancel {
758 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
761 .download-progress .status-container {
762 -moz-box-align: center;
766 /*** install status ***/
769 -moz-box-align: center;
773 /*** check for updates ***/
776 -moz-box-align: center;
779 #updates-installed, #updates-downloaded {
790 .addon-control[disabled="true"] {
795 background: transparent;
797 text-decoration: underline;