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 #view-port-container {
45 /* Needed to allow the radius to clip the inner content, see bug 595656 */
47 border: 1px solid #9C9CFF;
52 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
57 -moz-border-start: none;
60 #back-btn:-moz-locale-dir(ltr),
61 #forward-btn:-moz-locale-dir(rtl) {
62 -moz-image-region: rect(42px 25px 63px 0px);
65 #back-btn[disabled="true"]:-moz-locale-dir(ltr),
66 #forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
67 -moz-image-region: rect(42px 50px 63px 25px);
70 #back-btn:-moz-locale-dir(rtl),
71 #forward-btn:-moz-locale-dir(ltr) {
72 -moz-image-region: rect(63px 25px 84px 0px);
75 #back-btn[disabled="true"]:-moz-locale-dir(rtl),
76 #forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
77 -moz-image-region: rect(63px 50px 84px 25px);
80 /*** global warnings ***/
82 .global-warning-container {
87 -moz-box-align: center;
93 #addons-page[warning] .global-warning-container {
94 background-color: #FFCF00;
97 #detail-view .global-warning {
99 border-bottom: 3px solid #000000;
102 @media all and (max-width: 600px) {
103 .global-warning-text {
107 .global-warning .warning-icon {
108 /* background-color: #FFF;
109 box-shadow: 0px 0px 2px 5px #FFF;
110 border-radius: 10px; */
114 /*** notification icons ***/
117 list-style-image: url("chrome://global/skin/icons/warning-16.png");
124 list-style-image: url("chrome://global/skin/icons/error-16.png");
132 list-style-image: url("chrome://global/skin/icons/information-16.png");
138 .addon-view[pending="disable"] .pending-icon,
139 .addon-view[pending="uninstall"] .pending-icon {
140 list-style-image: url("chrome://global/skin/icons/warning-16.png");
147 /*** view alert boxes ***/
150 -moz-box-align: center;
153 .alert-spacer-before {
157 .alert-spacer-after {
162 -moz-box-align: center;
165 border: 1px solid #9C9CFF;
167 background-color: #000000;
170 .alert .alert-title {
176 .alert .addon-control {
181 list-style-image: url("chrome://global/skin/icons/loading.gif");
187 /*** category selector ***/
190 -moz-appearance: none;
192 -moz-margin-end: -1px;
193 background-color: transparent;
199 background-color: transparent;
205 border-color: transparent;
206 -moz-box-align: center;
210 .category:-moz-locale-dir(ltr) {
211 border-top-left-radius: 5px;
212 border-bottom-left-radius: 5px;
215 .category:-moz-locale-dir(rtl) {
216 border-top-right-radius: 5px;
217 border-bottom-right-radius: 5px;
220 .category[disabled] {
223 -moz-transition-property: height, opacity;
224 -moz-transition-duration: 1s, 0.8s;
227 .category:not([disabled]) {
229 -moz-transition-property: height, opacity;
230 -moz-transition-duration: 1s, 0.8s;
233 .category[selected] {
236 border-color: #9C9CFF;
243 /* Maximize the size of the viewport when the window is small */
244 @media all and (max-width: 800px) {
251 background-color: #E7ADE7;
254 border-radius: 10000px;
260 .category-badge[value="0"] {
267 -moz-margin-start: 6px;
270 #category-search > .category-icon {
271 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
273 #category-discover > .category-icon {
274 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
276 #category-languages > .category-icon {
277 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
279 #category-searchengines > .category-icon {
280 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
282 #category-extensions > .category-icon {
283 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
285 #category-themes > .category-icon {
286 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
288 #category-plugins > .category-icon {
289 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
291 #category-availableUpdates > .category-icon {
292 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
294 #category-recentUpdates > .category-icon {
295 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
308 border: 1px solid #9C9CFF;
311 background-color: #000000;
315 #header-search .textbox-input:-moz-placeholder {
319 #header-search[focused="true"] {
320 border-color: #008484;
325 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
326 -moz-margin-end: 18px;
329 #header-utils-btn:hover,
330 #header-utils-btn:hover:active,
331 #header-utils-btn[open="true"] {
332 list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png");
335 #header-utils-btn > .button-box > .button-menu-dropmarker {
337 background: transparent;
340 #header-utils-btn:hover > .button-box > .button-menu-dropmarker {
341 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
345 background-color: #000000;
356 -moz-appearance: none;
357 border-right: 3px solid #000000;
361 -moz-appearance: none;
363 border-left: 3px solid #000000;
364 background-color: transparent;
368 -moz-padding-start: 6px;
369 -moz-padding-end: 3px;
371 min-width: 12px !important;
372 -moz-box-direction: reverse;
375 background-color: #FFCF00;
379 .sorter .button-box {
384 .sorter[checkState="1"],
385 .sorter[checkState="2"] {
386 background-color: #008484;
390 .sorter[checkState="1"] {
391 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
394 .sorter[checkState="2"] {
395 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
398 .sorter .button-icon {
399 -moz-margin-start: 4px;
408 background-color: transparent;
412 border-bottom: 1px solid #9C9CFF;
414 background-origin: border-box;
417 .addon[status="installing"] {
418 -moz-box-align: center;
424 -moz-margin-start: 10px;
430 margin: 22px 7px 7px 7px;
434 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
439 .addon[active="false"] .icon {
440 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
443 .addon-view[type="theme"] .icon {
444 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
447 .addon-view[type="locale"] .icon {
448 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
451 .addon-view[type="plugin"] .icon {
452 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
456 .addon[status="installing"] .name {
467 .creator .text-link {
468 /* color: #0066CC; */
471 .description-container {
473 -moz-margin-start: 6px;
484 -moz-margin-start: 48px;
488 .addon-view .warning {
496 .addon-view .pending {
500 .addon-view[pending="disable"] .pending,
501 .addon-view[pending="uninstall"] .pending {
505 .addon .relnotes-container {
506 -moz-box-align: start;
507 -moz-margin-start: 6px;
511 -moz-transition-property: height, opacity;
512 -moz-transition-duration: 0.5s, 0.5s;
515 .addon[show-relnotes] .relnotes-container {
517 -moz-transition-property: height, opacity;
518 -moz-transition-duration: 0.5s, 0.5s;
521 .addon .relnotes-header {
526 .addon .relnotes-toggle {
528 background: transparent;
530 -moz-box-direction: reverse;
532 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
535 .addon .relnotes-toggle > .button-box > .button-icon {
536 -moz-padding-start: 4px;
539 .addon[show-relnotes] .relnotes-toggle {
540 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
543 .addon[active="false"] {
544 /* background-color: rgba(135, 135, 135, 0.1); */
547 .addon-view[active="false"],
548 .addon-view[active="false"] .name-container {
552 .addon-view[notification="warning"] {
553 background-color : #FFCF00;
557 .addon-view[notification="warning"] .warning {
561 .addon-view[notification="error"] {
562 background-color: #FF0000;
566 .addon-view[notification="error"] .error {
570 .addon-view[notification="info"] {
571 background-color: #9C9CFF;
575 .addon-view[pending="enable"],
576 .addon-view[pending="upgrade"],
577 .addon-view[pending="install"] {
578 background-color: #008484;
581 .addon-view[pending="disable"],
582 .addon-view[pending="uninstall"] {
587 /*** item - uninstalled ***/
589 .addon[status="uninstalled"] {
593 .addon[status="uninstalled"] > .container {
594 -moz-box-align: center;
596 background-color: #8050B0;
601 .addon[status="uninstalled"][selected] {
602 background-color: transparent;
606 background-color: #008484;
610 .addon[selected] .name-container {
611 /* text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7); */
614 .addon[active="false"][selected] .name-container {
619 /*** search view ***/
623 -moz-box-align: center;
624 background-color: #000000;
626 border-bottom: 1px solid #9C9CFF;
630 #search-filter-label {
635 .search-filter-radio {
638 border-radius: 10000px;
641 .search-filter-radio[selected] {
642 background-color: #008484;
646 .search-filter-radio .radio-check-box1 {
650 .search-filter-radio .radio-icon {
654 #search-allresults-link {
659 /*** detail view ***/
661 #detail-view .loading {
665 #detail-view:not([loading]) .alert-container {
666 visibility: collapse;
669 #detail-view[loading-extended] .loading {
671 -moz-transition-property: opacity;
672 -moz-transition-duration: 1s;
675 .detail-view-container {
676 padding: 0 2em 2em 2em;
680 #detail-notifications {
685 #detail-notifications .warning,
686 #detail-notifications .pending,
687 #detail-notifications .error {
688 -moz-margin-start: 0;
692 -moz-margin-end: 10px;
702 #detail-name-container {
707 -moz-margin-end: 2em;
710 #detail-desc-container {
715 -moz-margin-start: 6px;
716 white-space: pre-wrap;
717 /* This is necessary to fix layout issues with multi-line descriptions, see
719 outline: solid transparent;
723 #detail-contributions {
725 border: 1px solid #9C9CFF;
728 background-color: #FFCF00;
731 #detail-contrib-description {
737 #detail-contrib-suggested {
742 #detail-contrib-btn {
743 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
746 #detail-contrib-btn .button-icon {
747 -moz-margin-end: 3px;
754 .detail-row[first-row="true"],
755 .detail-row-complex[first-row="true"] {
760 .detail-row-complex {
761 border-top: 1px solid #9C9CFF;
762 -moz-box-align: center;
766 -moz-margin-start: 0;
773 #detail-view[active="false"]:not([pending]):not([notification]) {
774 /* background-color: foo; */
780 -moz-margin-start: 0;
784 .creator > .text-link {
793 -moz-margin-start: 0;
798 .meta-rating > .star {
799 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
803 .meta-rating > .star[on="true"] {
804 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
808 /*** download progress ***/
811 background-color: #000000;
812 border-radius: 10000px;
813 border: 1px solid #FF9F00;
819 .download-progress .start-cap,
820 .download-progress[complete] .end-cap,
821 .download-progress .progress .progress-bar {
822 background-color: #008484;
825 .download-progress .progress {
826 background-color: transparent;
832 .download-progress .start-cap, .download-progress .end-cap {
836 .download-progress .start-cap:-moz-locale-dir(ltr),
837 .download-progress .end-cap:-moz-locale-dir(rtl) {
838 border-radius: 3px 0 0 3px;
841 .download-progress .end-cap:-moz-locale-dir(ltr),
842 .download-progress .start-cap:-moz-locale-dir(rtl) {
843 border-radius: 0 3px 3px 0;
846 .download-progress .pause,
847 .download-progress .cancel {
848 -moz-appearance: none;
849 background-color: #8050B0;
850 border: 1px solid #9C9CFF;
857 .download-progress .pause .button-box,
858 .download-progress .cancel .button-box {
863 .download-progress .pause .button-text,
864 .download-progress .cancel .button-text {
868 .download-progress .pause .button-icon,
869 .download-progress .cancel .button-icon {
870 -moz-margin-start: 0;
873 .download-progress .pause {
874 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
877 .download-progress .cancel {
878 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
881 .download-progress .status-container {
882 -moz-box-align: center;
885 .download-progress .status {
886 /* text-shadow: #FFF 0 0 2px; */
889 /*** install status ***/
892 -moz-box-align: center;
896 /*** check for updates ***/
899 -moz-box-align: center;
902 #updates-container .button-link {
907 #updates-downloaded {
918 .addon-control[disabled="true"] {
923 background: transparent;
925 text-decoration: underline;