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;
44 #view-port-container {
45 /* Needed to allow the radius to clip the inner content, see bug 595656 */
47 background-color: #FFFFFF;
48 border: 1px solid #666699;
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: #FFFFCC;
97 #detail-view .global-warning {
99 border-bottom: 1px solid #9999CC;
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 /* Plugins aren't yet disabled by safemode (bug 342333),
115 so don't show that warning when viewing plugins. */
116 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
117 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
118 background-color: inherit;
119 background-image: none;
123 /*** notification icons ***/
126 list-style-image: url("chrome://global/skin/icons/warning-16.png");
133 list-style-image: url("chrome://global/skin/icons/error-16.png");
141 list-style-image: url("chrome://global/skin/icons/information-16.png");
147 .addon-view[pending="disable"] .pending-icon,
148 .addon-view[pending="uninstall"] .pending-icon {
149 list-style-image: url("chrome://global/skin/icons/warning-16.png");
156 /*** view alert boxes ***/
159 -moz-box-align: center;
162 .alert-spacer-before {
166 .alert-spacer-after {
171 -moz-box-align: center;
174 border: 1px solid #9C9CFF;
176 background-color: #000000;
179 .alert .alert-title {
185 .alert .addon-control {
190 list-style-image: url("chrome://global/skin/icons/loading.gif");
196 /*** category selector ***/
199 -moz-appearance: none;
201 -moz-margin-end: -1px;
202 background-color: transparent;
208 background-color: transparent;
214 border-color: transparent;
215 -moz-box-align: center;
219 .category[disabled] {
222 -moz-transition-property: height, opacity;
223 -moz-transition-duration: 1s, 0.8s;
226 .category:not([disabled]) {
228 -moz-transition-property: height, opacity;
229 -moz-transition-duration: 1s, 0.8s;
232 .category[selected] {
233 background-color: #FFFFFF;
236 border-color: #666699;
243 /* Maximize the size of the viewport when the window is small */
244 @media all and (max-width: 800px) {
251 background-color: #666699;
254 border: 1px outset #666699;
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 inset #CCD0DD;
310 background-color: #CCD0DD;
314 #header-search .textbox-input:-moz-placeholder {
318 #header-search[focused="true"] {
319 background-color: #FFFFFF;
324 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
325 -moz-margin-end: 18px;
329 background-color: #9999CC;
333 border-bottom: 1px solid #666699;
340 -moz-appearance: none;
344 -moz-appearance: none;
346 background-color: transparent;
350 min-width: 12px !important;
351 -moz-box-direction: reverse;
354 .sorter .button-box {
359 .sorter[checkState="1"],
360 .sorter[checkState="2"] {
361 background-color: #666699;
364 .sorter[checkState="1"] {
365 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
368 .sorter[checkState="2"] {
369 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
372 .sorter .button-icon {
373 -moz-margin-start: 4px;
382 background-color: transparent;
386 border-bottom: 1px solid #9999CC;
388 background-origin: border-box;
391 .addon[status="installing"] {
392 -moz-box-align: center;
398 -moz-margin-start: 10px;
404 margin: 22px 7px 7px 7px;
407 .addon[active="false"] .icon {
408 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
412 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
417 .addon-view[type="theme"] .icon {
418 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
421 .addon-view[type="locale"] .icon {
422 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
425 .addon-view[type="plugin"] .icon {
426 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
430 .addon[status="installing"] .name {
441 .creator .text-link {
442 /* color: #0066CC; */
445 .description-container {
447 -moz-margin-start: 6px;
458 -moz-margin-start: 48px;
462 .addon-view .warning {
470 .addon-view .pending {
474 .addon-view[pending="disable"] .pending,
475 .addon-view[pending="uninstall"] .pending {
479 .addon .relnotes-container {
480 -moz-box-align: start;
481 -moz-margin-start: 6px;
485 -moz-transition-property: height, opacity;
486 -moz-transition-duration: 0.5s, 0.5s;
489 .addon[show-relnotes] .relnotes-container {
491 -moz-transition-property: height, opacity;
492 -moz-transition-duration: 0.5s, 0.5s;
495 .addon .relnotes-header {
500 .addon .relnotes-toggle {
502 background: transparent;
504 -moz-box-direction: reverse;
506 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
509 .addon .relnotes-toggle > .button-box > .button-icon {
510 -moz-padding-start: 4px;
513 .addon[show-relnotes] .relnotes-toggle {
514 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
517 .addon[active="false"] {
518 /* background-color: rgba(135, 135, 135, 0.1); */
521 .addon-view[active="false"],
522 .addon-view[active="false"] .name-container {
526 .addon-view[notification="warning"] {
527 background-color : #FFFFCC;
530 richlistbox:focus > .addon-view[notification="warning"][selected="true"] {
534 .addon-view[notification="error"] {
535 background-color: #FFD0DD;
538 .addon-view[notification="info"] {
539 background-color: #9999CC;
542 .addon-view[pending="enable"],
543 .addon-view[pending="upgrade"],
544 .addon-view[pending="install"] {
545 background-color: #CCFFDD;
548 .addon-view[pending="enable"] .pending,
549 .addon-view[pending="upgrade"] .pending,
550 .addon-view[pending="install"] .pending {
554 .addon-view[pending="disable"],
555 .addon-view[pending="uninstall"] {
556 background-color: #808080;
560 background-color: #336699;
564 .addon[selected] .name-container {
565 /* text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7); */
568 .addon[active="false"][selected] .name-container {
573 /*** item - uninstalled ***/
575 .addon[status="uninstalled"] {
579 .addon[status="uninstalled"] > .container {
580 -moz-box-align: center;
582 background-color: #808080;
587 .addon[status="uninstalled"][selected] {
588 background-color: transparent;
592 /*** search view ***/
596 -moz-box-align: center;
597 background-color: #FFFFFF;
599 border-bottom: 1px solid #666699;
603 #search-filter-label {
608 .search-filter-radio {
609 -moz-appearance: none;
612 border-radius: 10000px;
615 .search-filter-radio[selected] {
616 background-color: #3366699;
620 .search-filter-radio .radio-check-box1 {
624 .search-filter-radio .radio-icon {
628 #search-allresults-link {
633 /*** detail view ***/
635 #detail-view .loading {
639 #detail-view:not([loading]) .alert-container {
640 visibility: collapse;
643 #detail-view[loading-extended] .loading {
645 -moz-transition-property: opacity;
646 -moz-transition-duration: 1s;
649 .detail-view-container {
650 padding: 0 2em 2em 2em;
654 #detail-notifications {
659 #detail-notifications .warning,
660 #detail-notifications .pending,
661 #detail-notifications .error {
662 -moz-margin-start: 0;
666 -moz-margin-end: 10px;
676 #detail-name-container {
681 -moz-margin-end: 2em;
684 #detail-desc-container {
689 -moz-margin-start: 6px;
690 white-space: pre-wrap;
691 /* This is necessary to fix layout issues with multi-line descriptions, see
693 outline: solid transparent;
697 #detail-contributions {
699 border: 1px solid #666699;
702 background-color: #FFFFCC;
705 #detail-contrib-description {
711 #detail-contrib-suggested {
716 #detail-contrib-btn {
717 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
720 #detail-contrib-btn .button-icon {
721 -moz-margin-end: 3px;
728 .detail-row[first-row="true"],
729 .detail-row-complex[first-row="true"] {
734 .detail-row-complex {
735 border-top: 1px solid #808080;
736 -moz-box-align: center;
740 -moz-margin-start: 0;
747 #detail-view[active="false"]:not([pending]):not([notification]) {
748 /* background-color: foo; */
754 -moz-margin-start: 0;
758 .creator > .text-link {
767 -moz-margin-start: 0;
772 .meta-rating > .star {
773 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
777 .meta-rating > .star[on="true"] {
778 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
782 /*** download progress ***/
785 background-color: #CCD0DD;
786 border: 1px solid #808080;
792 .download-progress[mode="undetermined"] .status-container {
796 .download-progress .start-cap,
797 .download-progress[complete] .end-cap,
798 .download-progress[mode="undetermined"] .end-cap,
799 .download-progress .progress .progress-bar {
800 background-color: #336699;
803 .download-progress .progress .progress-bar {
804 border-left-width: 0;
805 border-right-width: 0;
809 .download-progress .progress {
810 background-color: transparent;
816 .download-progress .start-cap, .download-progress .end-cap {
820 .download-progress .start-cap:-moz-locale-dir(ltr),
821 .download-progress .end-cap:-moz-locale-dir(rtl) {
822 border-radius: 3px 0 0 3px;
825 .download-progress .end-cap:-moz-locale-dir(ltr),
826 .download-progress .start-cap:-moz-locale-dir(rtl) {
827 border-radius: 0 3px 3px 0;
830 .download-progress .pause,
831 .download-progress .cancel {
832 -moz-appearance: none;
833 background-color: #CCD0DD;
834 border: 1px solid #666699;
840 .download-progress .pause .button-box,
841 .download-progress .cancel .button-box {
846 .download-progress .pause .button-text,
847 .download-progress .cancel .button-text {
851 .download-progress .pause .button-icon,
852 .download-progress .cancel .button-icon {
853 -moz-margin-start: 0;
856 .download-progress .pause {
857 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
860 .download-progress .cancel {
861 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
864 .download-progress .status-container {
865 -moz-box-align: center;
868 .download-progress .status {
869 /* text-shadow: #FFF 0 0 2px; */
872 /*** install status ***/
875 -moz-box-align: center;
879 /*** check for updates ***/
882 -moz-box-align: center;
885 #updates-container .button-link {
890 #updates-downloaded {
901 .addon-control[disabled="true"] {
906 background: transparent;
908 text-decoration: underline;