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 /* 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:-moz-locale-dir(ltr) {
220 border-top-left-radius: 5px;
221 border-bottom-left-radius: 5px;
224 .category:-moz-locale-dir(rtl) {
225 border-top-right-radius: 5px;
226 border-bottom-right-radius: 5px;
229 .category[disabled] {
234 -moz-transition-property: height, opacity;
235 -moz-transition-duration: 1s, 0.8s;
238 .category:not([disabled]) {
240 -moz-transition-property: height, opacity;
241 -moz-transition-duration: 1s, 0.8s;
244 .category[selected] {
245 background-color: #008484;
247 border-color: #9C9CFF;
254 /* Maximize the size of the viewport when the window is small */
255 @media all and (max-width: 800px) {
262 background-color: #E7ADE7;
265 border-radius: 10000px;
271 .category-badge[value="0"] {
278 -moz-margin-start: 6px;
281 #category-search > .category-icon {
282 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
284 #category-discover > .category-icon {
285 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
287 #category-languages > .category-icon {
288 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
290 #category-searchengines > .category-icon {
291 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
293 #category-extensions > .category-icon {
294 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
296 #category-themes > .category-icon {
297 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
299 #category-plugins > .category-icon {
300 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
302 #category-availableUpdates > .category-icon {
303 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
305 #category-recentUpdates > .category-icon {
306 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
319 border: 1px solid #9C9CFF;
322 background-color: #000000;
326 #header-search .textbox-input:-moz-placeholder {
330 #header-search[focused="true"] {
331 border-color: #008484;
336 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
337 -moz-margin-end: 18px;
340 #header-utils-btn:hover,
341 #header-utils-btn:hover:active,
342 #header-utils-btn[open="true"] {
343 list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png");
346 #header-utils-btn > .button-box > .button-menu-dropmarker {
348 background: transparent;
351 #header-utils-btn:hover > .button-box > .button-menu-dropmarker {
352 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
356 background-color: #9C9CFF;
368 -moz-appearance: none;
369 border-right: 3px solid #000000;
373 -moz-appearance: none;
375 border-left: 3px solid #000000;
376 background-color: transparent;
380 -moz-padding-start: 6px;
381 -moz-padding-end: 3px;
383 min-width: 12px !important;
384 -moz-box-direction: reverse;
387 background-color: #FFCF00;
391 .sorter .button-box {
396 .sorter[checkState="1"],
397 .sorter[checkState="2"] {
398 background-color: #008484;
402 .sorter[checkState="1"] {
403 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
406 .sorter[checkState="2"] {
407 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
410 .sorter .button-icon {
411 -moz-margin-start: 4px;
420 background-color: transparent;
424 border-bottom: 1px solid #9C9CFF;
426 background-origin: border-box;
432 -moz-margin-start: 10px;
442 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
447 .addon[active="false"] .icon {
448 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
451 .addon-view[type="theme"] .icon {
452 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
455 .addon-view[type="locale"] .icon {
456 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
459 .addon-view[type="plugin"] .icon {
460 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
474 .creator .text-link {
475 /* color: #0066CC; */
478 .description-container {
480 -moz-margin-start: 6px;
491 -moz-margin-start: 48px;
495 .addon-view .warning {
503 .addon-view .pending {
507 .addon-view[pending="disable"] .pending,
508 .addon-view[pending="uninstall"] .pending {
512 .addon .relnotes-container {
513 -moz-box-align: start;
514 -moz-margin-start: 6px;
518 -moz-transition-property: height, opacity;
519 -moz-transition-duration: 0.5s, 0.5s;
522 .addon[show-relnotes] .relnotes-container {
524 -moz-transition-property: height, opacity;
525 -moz-transition-duration: 0.5s, 0.5s;
528 .addon .relnotes-header {
533 .addon .relnotes-toggle {
535 background: transparent;
537 -moz-box-direction: reverse;
539 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
542 .addon .relnotes-toggle > .button-box > .button-icon {
543 -moz-padding-start: 4px;
546 .addon[show-relnotes] .relnotes-toggle {
547 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
550 .addon[active="false"] {
551 /* background-color: rgba(135, 135, 135, 0.1); */
554 .addon-view[active="false"],
555 .addon-view[active="false"] .name-container {
559 .addon-view[notification="warning"] {
560 background-color : #FFCF00;
564 .addon-view[notification="warning"] .warning {
568 .addon-view[notification="warning"] .name-container {
572 .addon-view[notification="error"] {
573 background-color: #FF0000;
577 .addon-view[notification="error"] .error {
581 .addon-view[notification="info"] {
582 background-color: #9C9CFF;
586 .addon-view[pending="enable"],
587 .addon-view[pending="upgrade"],
588 .addon-view[pending="install"] {
589 background-color: #008484;
592 .addon-view[pending="disable"],
593 .addon-view[pending="uninstall"] {
598 /*** item - uninstalled ***/
600 .addon[status="uninstalled"] {
604 .addon[status="uninstalled"] > .container {
605 -moz-box-align: center;
607 background-color: #8050B0;
612 .addon[status="uninstalled"][selected] {
613 background-color: transparent;
617 background-color: #008484;
621 .addon[selected] .name-container {
625 .addon[active="false"][selected] {
629 .addon[active="false"][selected] .name-container {
634 /*** search view ***/
638 -moz-box-align: center;
639 background-color: #000000;
641 border-bottom: 1px solid #9C9CFF;
645 #search-filter-label {
650 .search-filter-radio {
653 border-radius: 10000px;
656 .search-filter-radio[selected] {
657 background-color: #008484;
661 .search-filter-radio .radio-check-box1 {
665 .search-filter-radio .radio-icon {
669 #search-allresults-link {
674 /*** detail view ***/
676 #detail-view .loading {
680 #detail-view[loading-extended] .loading {
682 -moz-transition-property: opacity;
683 -moz-transition-duration: 1s;
686 .detail-view-container {
687 padding: 0 2em 2em 2em;
691 #detail-notifications {
696 #detail-notifications .warning,
697 #detail-notifications .pending,
698 #detail-notifications .error {
699 -moz-margin-start: 0;
703 -moz-margin-end: 10px;
713 #detail-name-container {
718 -moz-margin-end: 2em;
723 #detail-desc-container {
727 #detail-desc, #detail-fulldesc {
728 -moz-margin-start: 6px;
729 white-space: pre-wrap;
730 /* This is necessary to fix layout issues with multi-line descriptions, see
732 outline: solid transparent;
740 #detail-contributions {
742 border: 1px solid #9C9CFF;
745 background-color: #FFCF00;
748 #detail-contrib-description {
754 #detail-contrib-suggested {
759 #detail-contrib-btn {
760 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
763 #detail-contrib-btn .button-icon {
764 -moz-margin-end: 3px;
771 .detail-row[first-row="true"],
772 .detail-row-complex[first-row="true"] {
777 .detail-row-complex {
778 border-top: 1px solid #9C9CFF;
779 -moz-box-align: center;
783 -moz-margin-start: 0;
790 #detail-view[active="false"]:not([pending]):not([notification]) {
791 /* background-color: foo; */
800 .creator > .text-link {
809 -moz-margin-start: 0;
814 .meta-rating > .star {
815 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
819 .meta-rating > .star[on="true"] {
820 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
824 /*** download progress ***/
827 background-color: #000000;
828 border-radius: 10000px;
829 border: 1px solid #FF9F00;
835 .download-progress[mode="undetermined"] .status-container {
839 .download-progress .start-cap,
840 .download-progress[complete] .end-cap,
841 .download-progress[mode="undetermined"] .end-cap,
842 .download-progress .progress .progress-bar {
843 background-color: #008484;
846 .download-progress .progress .progress-bar {
847 border-left-width: 0;
848 border-right-width: 0;
852 .download-progress .progress {
853 background-color: transparent;
859 .download-progress .start-cap, .download-progress .end-cap {
863 .download-progress .start-cap:-moz-locale-dir(ltr),
864 .download-progress .end-cap:-moz-locale-dir(rtl) {
865 border-radius: 3px 0 0 3px;
868 .download-progress .end-cap:-moz-locale-dir(ltr),
869 .download-progress .start-cap:-moz-locale-dir(rtl) {
870 border-radius: 0 3px 3px 0;
873 .download-progress .cancel {
874 -moz-appearance: none;
875 background-color: #8050B0;
876 border: 1px solid #9C9CFF;
883 .download-progress .cancel .button-box {
888 .download-progress .cancel .button-text {
892 .download-progress .cancel .button-icon {
893 -moz-margin-start: 0;
896 .download-progress .cancel {
897 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
900 .download-progress .status-container {
901 -moz-box-align: center;
904 .download-progress .status {
905 /* text-shadow: #FFF 0 0 2px; */
908 /*** install status ***/
911 -moz-box-align: center;
915 /*** check for updates ***/
918 -moz-box-align: center;
921 #updates-container .button-link {
926 #updates-downloaded {
937 .addon-control[disabled="true"] {
942 background: transparent;
944 text-decoration: underline;