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;
43 #view-port-container {
44 /* Needed to allow the radius to clip the inner content, see bug 595656 */
46 background-color: #FFFFFF;
47 border: 1px solid #666699;
51 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
56 #back-btn:-moz-locale-dir(ltr),
57 #forward-btn:-moz-locale-dir(rtl) {
58 -moz-image-region: rect(42px 25px 63px 0px);
61 #back-btn[disabled="true"]:-moz-locale-dir(ltr),
62 #forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
63 -moz-image-region: rect(42px 50px 63px 25px);
66 #back-btn:-moz-locale-dir(rtl),
67 #forward-btn:-moz-locale-dir(ltr) {
68 -moz-image-region: rect(63px 25px 84px 0px);
71 #back-btn[disabled="true"]:-moz-locale-dir(rtl),
72 #forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
73 -moz-image-region: rect(63px 50px 84px 25px);
76 /*** global warnings ***/
79 -moz-box-align: center;
85 #addons-page[warning] .global-warning-container {
86 background-color: #FFFFCC;
89 #detail-view .global-warning {
91 border-bottom: 1px solid #9999CC;
94 /*** notification icons ***/
97 list-style-image: url("chrome://global/skin/icons/warning-16.png");
104 list-style-image: url("chrome://global/skin/icons/error-16.png");
112 list-style-image: url("chrome://global/skin/icons/information-16.png");
118 /*** category selector ***/
121 -moz-appearance: none;
123 -moz-margin-end: -1px;
124 background-color: transparent;
130 -moz-border-end-width: 0;
132 border-color: transparent;
134 -moz-box-align: center;
139 .category[disabled] {
142 -moz-transition-property: height, opacity;
143 -moz-transition-duration: 1s, 0.8s;
146 .category:not([disabled]) {
148 -moz-transition-property: height, opacity;
149 -moz-transition-duration: 1s, 0.8s;
152 .category[selected] {
153 background-color: #FFFFFF;
155 border-color: #666699;
163 background-color: #666699;
166 border: 1px outset #666699;
172 .category-badge[value="0"] {
179 -moz-margin-start: 6px;
182 #category-search > .category-icon {
183 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
185 #category-discover > .category-icon {
186 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
188 #category-languages > .category-icon {
189 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
191 #category-searchengines > .category-icon {
192 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
194 #category-extensions > .category-icon {
195 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
197 #category-themes > .category-icon {
198 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
200 #category-plugins > .category-icon {
201 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
203 #category-availableUpdates > .category-icon {
204 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
206 #category-recentUpdates > .category-icon {
207 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
218 #header-name, #header-link {
227 -moz-appearance: none;
229 background: transparent;
232 list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
235 #header-link .button-icon {
236 -moz-margin-end: 6px;
240 list-style-image: url("chrome://global/skin/icons/loading.gif");
245 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
248 #header-utils-btn:-moz-focusring > .button-box {
255 border-bottom: 1px solid #666699;
262 -moz-appearance: none;
266 -moz-appearance: none;
268 background-color: transparent;
271 min-width: 12px !important;
272 -moz-box-direction: reverse;
275 .sorter[checkState="1"],
276 .sorter[checkState="2"] {
277 background-color: #666699;
280 .sorter[checkState="1"] {
281 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
284 .sorter[checkState="2"] {
285 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
288 .sorter .button-icon {
289 -moz-margin-start: 4px;
293 /*** empty list notification ***/
296 -moz-box-align: center;
299 .empty-list-notice > button {
309 background-color: transparent;
313 border-bottom: 1px solid #9999CC;
317 .addon[status="installing"] {
318 -moz-box-align: center;
324 -moz-margin-start: 10px;
334 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
339 .addon-view[type="theme"] .icon {
340 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
343 .addon-view[type="locale"] .icon {
344 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
347 .addon-view[type="plugin"] .icon {
348 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
356 .description-container {
358 -moz-margin-start: 6px;
365 .warning, .pending, .error, .info {
366 -moz-margin-start: 48px;
369 .addon-view:not([selected]) .warning {
373 .addon-view:not([selected]) .error {
377 .addon-view:not([selected]) .pending {
381 .addon-view[notification="warning"] {
382 background-color : #FFFFCC;
385 richlistbox:focus > .addon-view[notification="warning"][selected="true"] {
389 .addon-view[notification="error"] {
390 background-color: #FFD0DD;
393 .addon-view[notification="info"] {
394 background-color: #9999CC;
397 .addon-view[pending="enable"],
398 .addon-view[pending="upgrade"],
399 .addon-view[pending="install"] {
400 background-color: #CCFFDD;
403 .addon-view[pending="enable"] .pending,
404 .addon-view[pending="upgrade"] .pending,
405 .addon-view[pending="install"] .pending {
409 .addon-view[pending="disable"],
410 .addon-view[pending="uninstall"] {
411 background-color: #808080;
414 .addon .relnotes-container {
415 -moz-box-align: start;
419 -moz-transition-property: height, opacity;
420 -moz-transition-duration: 0.5s, 0.5s;
423 .addon[show-relnotes] .relnotes-container {
425 -moz-transition-property: height, opacity;
426 -moz-transition-duration: 0.5s, 0.5s;
429 .addon .relnotes-header {
434 .addon .relnotes-toggle {
436 background: transparent;
438 -moz-box-direction: reverse;
440 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
443 .addon .relnotes-toggle > .button-box > .button-icon {
444 -moz-padding-start: 4px;
447 .addon[show-relnotes] .relnotes-toggle {
448 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
451 /*** item - uninstalled ***/
453 .addon[status="uninstalled"] {
457 .addon[status="uninstalled"] > .container {
458 -moz-box-align: center;
460 background-color: #808080;
465 .addon[status="uninstalled"][selected] {
466 background-color: transparent;
470 /*** search view ***/
474 -moz-box-align: center;
475 background-color: #FFFFFF;
479 #search-filter-label {
484 .search-filter-radio {
485 -moz-appearance: none;
488 border-radius: 10000px;
491 .search-filter-radio[selected] {
492 background-color: #3366699;
496 .search-filter-radio .radio-check-box1 {
500 .search-filter-radio .radio-icon {
504 #search-allresults-link {
509 /*** detail view ***/
511 #detail-view[active="false"] .fade {
515 #detail-view .loading {
519 #detail-view:not([loading]) .loading {
520 visibility: collapse;
523 #detail-view[loading-extended] .loading {
524 -moz-box-align: center;
525 -moz-box-pack: center;
527 -moz-transition-property: opacity;
528 -moz-transition-duration: 1s;
531 #detail-view .loading > image {
532 list-style-image: url("chrome://global/skin/icons/loading.gif");
535 .detail-view-container {
540 #detail-notifications {
544 #detail-notifications .warning,
545 #detail-notifications .pending,
546 #detail-notifications .error,
547 #detail-notifications .info {
548 -moz-margin-start: 0;
552 -moz-margin-end: 10px;
559 #detail-name-container {
564 -moz-margin-end: 2em;
567 #detail-desc-container {
572 -moz-margin-start: 6px;
573 white-space: pre-wrap;
574 /* This is necessary to fix layout issues with multi-line descriptions, see
576 outline: solid transparent;
579 #detail-contributions {
581 border: 1px solid #666699;
587 #detail-contrib-description {
592 #detail-contrib-suggested {
596 #detail-contrib-button {
597 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
600 #detail-contrib-button .button-icon {
601 -moz-margin-end: 3px;
608 .detail-row[first-row="true"],
609 .detail-row-complex[first-row="true"] {
614 .detail-row-complex {
615 border-top: 1px solid #808080;
616 -moz-box-align: center;
620 -moz-margin-start: 0;
627 -moz-margin-start: 0px;
628 -moz-margin-end: 0px;
631 .creator > .text-link {
640 -moz-margin-start: 0px;
641 -moz-margin-end: 0px;
642 vertical-align: text-top;
645 .meta-rating[showrating="average"] > .star {
646 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
650 .meta-rating[showrating="user"] > .star {
651 list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
655 .meta-rating > .star[on="true"],
656 .meta-rating[showrating="user"] > .star[hover] {
657 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
662 /*** download progress ***/
665 background-color: #CCD0DD;
666 border: 1px solid #808080;
672 .download-progress .start-cap,
673 .download-progress[complete] .end-cap,
674 .download-progress .progress .progress-bar {
675 background-color: #336699;
678 .download-progress .progress {
679 background-color: transparent;
682 .download-progress .start-cap, .download-progress .end-cap {
686 .download-progress .start-cap:-moz-locale-dir(ltr),
687 .download-progress .end-cap:-moz-locale-dir(rtl) {
688 border-radius: 10000px 0 0 10000px;
691 .download-progress .end-cap:-moz-locale-dir(ltr),
692 .download-progress .start-cap:-moz-locale-dir(rtl) {
693 border-radius: 0 10000px 10000px 0;
696 .download-progress .progress {
697 -moz-appearance: none;
703 .download-progress .pause, .download-progress .cancel {
704 -moz-appearance: none;
705 background-color: #CCD0DD;
706 border-width: 1px 0px 0px 1px;
709 -moz-border-top-colors: #FFFFFF;
710 -moz-border-left-colors: #FFFFFF;
717 .download-progress .pause {
718 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
721 .download-progress .cancel {
722 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
725 .download-progress .status-container {
726 -moz-box-align: center;
730 /*** install status ***/
733 -moz-box-align: center;
737 /*** check for updates ***/
740 -moz-box-align: center;
743 #updates-installed, #updates-downloaded {
754 .addon-control[disabled="true"] {
759 background: transparent;
761 text-decoration: underline;