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;
415 /*** discover view ***/
417 .discover-spacer-before,
418 .discover-spacer-after {
422 #discover-error .alert {
428 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
429 -moz-margin-end: 15px;
435 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
439 .discover-description {
454 background-color: transparent;
458 border-bottom: 1px solid #9C9CFF;
460 background-origin: border-box;
466 -moz-margin-start: 10px;
476 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
481 .addon[active="false"] .icon {
482 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
485 .addon-view[type="theme"] .icon {
486 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
489 .addon-view[type="locale"] .icon {
490 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
493 .addon-view[type="plugin"] .icon {
494 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
508 .creator .text-link {
509 /* color: #0066CC; */
512 .description-container {
514 -moz-margin-start: 6px;
525 -moz-margin-start: 48px;
529 .addon-view .warning {
537 .addon-view .pending {
541 .addon-view[pending="disable"] .pending,
542 .addon-view[pending="uninstall"] .pending {
546 .addon .relnotes-container {
547 -moz-box-align: start;
548 -moz-margin-start: 6px;
552 -moz-transition-property: height, opacity;
553 -moz-transition-duration: 0.5s, 0.5s;
556 .addon[show-relnotes] .relnotes-container {
558 -moz-transition-property: height, opacity;
559 -moz-transition-duration: 0.5s, 0.5s;
562 .addon .relnotes-header {
567 .addon .relnotes-toggle {
569 background: transparent;
571 -moz-box-direction: reverse;
573 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
576 .addon .relnotes-toggle > .button-box > .button-icon {
577 -moz-padding-start: 4px;
580 .addon[show-relnotes] .relnotes-toggle {
581 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
584 .addon[active="false"] {
585 /* background-color: rgba(135, 135, 135, 0.1); */
588 .addon-view[active="false"],
589 .addon-view[active="false"] .name-container {
593 .addon-view[notification="warning"] {
594 background-color : #FFCF00;
598 .addon-view[notification="warning"] .warning {
602 .addon-view[notification="warning"] .name-container {
606 .addon-view[notification="error"] {
607 background-color: #FF0000;
611 .addon-view[notification="error"] .error {
615 .addon-view[notification="info"] {
616 background-color: #9C9CFF;
620 .addon-view[pending="enable"],
621 .addon-view[pending="upgrade"],
622 .addon-view[pending="install"] {
623 background-color: #008484;
626 .addon-view[pending="enable"] .pending,
627 .addon-view[pending="upgrade"] .pending,
628 .addon-view[pending="install"] .pending {
632 .addon-view[pending="disable"],
633 .addon-view[pending="uninstall"] {
638 /*** item - uninstalled ***/
640 .addon[status="uninstalled"] {
644 .addon[status="uninstalled"] > .container {
645 -moz-box-align: center;
647 background-color: #8050B0;
652 .addon[status="uninstalled"][selected] {
653 background-color: transparent;
657 background-color: #008484;
661 .addon[selected] .name-container {
665 .addon[active="false"][selected] {
669 .addon[active="false"][selected] .name-container {
674 /*** search view ***/
678 -moz-box-align: center;
679 background-color: #000000;
681 border-bottom: 1px solid #9C9CFF;
685 #search-filter-label {
690 .search-filter-radio {
693 border-radius: 10000px;
696 .search-filter-radio[selected] {
697 background-color: #008484;
701 .search-filter-radio .radio-check-box1 {
705 .search-filter-radio .radio-icon {
709 #search-allresults-link {
714 /*** detail view ***/
716 #detail-view .loading {
720 #detail-view[loading-extended] .loading {
722 -moz-transition-property: opacity;
723 -moz-transition-duration: 1s;
726 .detail-view-container {
727 padding: 0 2em 2em 2em;
731 #detail-notifications {
736 #detail-notifications .warning,
737 #detail-notifications .pending,
738 #detail-notifications .error {
739 -moz-margin-start: 0;
743 -moz-margin-end: 10px;
753 #detail-name-container {
758 -moz-margin-end: 2em;
763 #detail-desc-container {
767 #detail-desc, #detail-fulldesc {
768 -moz-margin-start: 6px;
769 white-space: pre-wrap;
770 /* This is necessary to fix layout issues with multi-line descriptions, see
772 outline: solid transparent;
780 #detail-contributions {
782 border: 1px solid #9C9CFF;
785 background-color: #FFCF00;
788 #detail-contrib-description {
794 #detail-contrib-suggested {
799 #detail-contrib-btn {
800 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
803 #detail-contrib-btn .button-icon {
804 -moz-margin-end: 3px;
811 .detail-row[first-row="true"],
812 .detail-row-complex[first-row="true"] {
817 .detail-row-complex {
818 border-top: 1px solid #9C9CFF;
819 -moz-box-align: center;
823 -moz-margin-start: 0;
830 #detail-view[active="false"]:not([pending]):not([notification]) {
831 /* background-color: foo; */
840 .creator > .text-link {
849 -moz-margin-start: 0;
854 .meta-rating > .star {
855 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
859 .meta-rating > .star[on="true"] {
860 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
864 /*** download progress ***/
867 background-color: #000000;
868 border-radius: 10000px;
869 border: 1px solid #FF9F00;
875 .download-progress[mode="undetermined"] .status-container {
879 .download-progress .start-cap,
880 .download-progress[complete] .end-cap,
881 .download-progress[mode="undetermined"] .end-cap,
882 .download-progress .progress .progress-bar {
883 background-color: #008484;
886 .download-progress .progress .progress-bar {
887 border-left-width: 0;
888 border-right-width: 0;
892 .download-progress .progress {
893 background-color: transparent;
899 .download-progress .start-cap, .download-progress .end-cap {
903 .download-progress .start-cap:-moz-locale-dir(ltr),
904 .download-progress .end-cap:-moz-locale-dir(rtl) {
905 border-radius: 3px 0 0 3px;
908 .download-progress .end-cap:-moz-locale-dir(ltr),
909 .download-progress .start-cap:-moz-locale-dir(rtl) {
910 border-radius: 0 3px 3px 0;
913 .download-progress .cancel {
914 -moz-appearance: none;
915 background-color: #8050B0;
916 border: 1px solid #9C9CFF;
923 .download-progress .cancel .button-box {
928 .download-progress .cancel .button-text {
932 .download-progress .cancel .button-icon {
933 -moz-margin-start: 0;
936 .download-progress .cancel {
937 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
940 .download-progress .status-container {
941 -moz-box-align: center;
944 .download-progress .status {
945 /* text-shadow: #FFF 0 0 2px; */
948 /*** install status ***/
951 -moz-box-align: center;
955 /*** check for updates ***/
958 -moz-box-align: center;
961 #updates-container .button-link {
966 #updates-downloaded {
977 .addon-control[disabled="true"] {
982 background: transparent;
984 text-decoration: underline;