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 ***** */
38 @import url("chrome://global/skin/inContentUI.css");
40 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
43 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
47 -moz-border-start: none;
50 #back-btn:-moz-locale-dir(ltr),
51 #forward-btn:-moz-locale-dir(rtl) {
52 -moz-image-region: rect(42px 25px 63px 0px);
55 #back-btn[disabled="true"]:-moz-locale-dir(ltr),
56 #forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
57 -moz-image-region: rect(42px 50px 63px 25px);
60 #back-btn:-moz-locale-dir(rtl),
61 #forward-btn:-moz-locale-dir(ltr) {
62 -moz-image-region: rect(63px 25px 84px 0px);
65 #back-btn[disabled="true"]:-moz-locale-dir(rtl),
66 #forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
67 -moz-image-region: rect(63px 50px 84px 25px);
71 /*** global warnings ***/
73 .global-warning-container {
78 -moz-box-align: center;
84 #addons-page[warning] .global-warning-container {
85 background-color: #FFFFCC;
88 #detail-view .global-warning {
90 border-bottom: 1px solid #9999CC;
93 @media (max-width: 600px) {
94 .global-warning-text {
98 .global-warning .warning-icon {
99 /* background-color: #FFF;
100 box-shadow: 0px 0px 2px 5px #FFF;
101 border-radius: 10px; */
105 /*** global informations ***/
106 #addons-page .global-info-container {
107 background-color: #9C9CFF;
110 /* Plugins aren't yet disabled by safemode (bug 342333),
111 so don't show that warning when viewing plugins. */
112 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
113 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
114 background-color: inherit;
115 background-image: none;
119 /*** notification icons ***/
122 list-style-image: url("chrome://global/skin/icons/warning-16.png");
129 list-style-image: url("chrome://global/skin/icons/error-16.png");
137 list-style-image: url("chrome://global/skin/icons/information-16.png");
143 .addon-view[pending="disable"] .pending-icon,
144 .addon-view[pending="uninstall"] .pending-icon {
145 list-style-image: url("chrome://global/skin/icons/warning-16.png");
152 /*** view alert boxes ***/
155 -moz-box-align: center;
158 .alert-spacer-before {
162 .alert-spacer-after {
167 -moz-box-align: center;
170 border: 1px inset #CCD0DD;
172 background-color: #CCD0DD;
173 background-clip: padding-box;
176 .alert .alert-title {
187 list-style-image: url("chrome://global/skin/icons/loading.gif");
193 /*** category selector ***/
196 -moz-appearance: none;
198 -moz-margin-end: -1px;
199 background-color: transparent;
205 background-color: transparent;
211 border-color: transparent;
212 -moz-box-align: center;
216 .category[disabled] {
221 -moz-transition-property: height, opacity;
222 -moz-transition-duration: 1s, 0.8s;
225 .category:not([disabled]) {
227 -moz-transition-property: height, opacity;
228 -moz-transition-duration: 1s, 0.8s;
231 .category[selected] {
232 background-color: #FFFFFF;
234 border-color: #666699;
241 /* Maximize the size of the viewport when the window is small */
242 @media (max-width: 800px) {
249 background-color: #666699;
252 border: 1px outset #666699;
258 .category-badge[value="0"] {
265 -moz-margin-start: 6px;
268 #category-search > .category-icon {
269 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
271 #category-discover > .category-icon {
272 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
274 #category-locale > .category-icon {
275 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
277 #category-searchengine > .category-icon {
278 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
280 #category-extension > .category-icon {
281 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
283 #category-theme > .category-icon {
284 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
286 #category-plugin > .category-icon {
287 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
289 #category-dictionary > .category-icon {
290 list-style-image: url("chrome://mozapps/skin/extensions/category-dictionaries.png");
292 #category-availableUpdates > .category-icon {
293 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
295 #category-recentUpdates > .category-icon {
296 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
309 border: 1px inset #CCD0DD;
311 background-color: #CCD0DD;
315 #header-search .textbox-input:-moz-placeholder {
319 #header-search[focused] {
320 background-color: #FFFFFF;
324 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
325 -moz-margin-end: 16px;
329 background-color: #9999CC;
333 border-bottom: 1px solid #666699;
340 -moz-appearance: none;
344 -moz-appearance: none;
345 border: 1px solid transparent;
346 background-color: transparent;
350 min-width: 12px !important;
351 -moz-box-direction: reverse;
354 .sorter .button-box {
360 border: 1px outset #666699;
363 .sorter[checkState="1"],
364 .sorter[checkState="2"] {
365 background-color: #666699;
367 border: 1px inset #666699;
370 .sorter[checkState="1"] {
371 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
374 .sorter[checkState="2"] {
375 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
378 .sorter .button-icon {
379 -moz-margin-start: 4px;
383 /*** discover view ***/
385 .discover-spacer-before,
386 .discover-spacer-after {
390 #discover-error .alert {
396 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
397 -moz-margin-end: 15px;
403 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
407 .discover-description {
422 background-color: transparent;
426 border-bottom: 1px solid #9999CC;
428 background-origin: border-box;
434 -moz-margin-start: 10px;
441 -moz-box-align: center;
442 -moz-box-pack: center;
446 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
451 .addon[active="false"] .icon {
452 filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
455 .addon-view[type="theme"] .icon {
456 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
459 .addon-view[type="locale"] .icon {
460 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
463 .addon-view[type="plugin"] .icon {
464 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
467 .addon-view[type="dictionary"] .icon {
468 list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png");
484 .creator .text-link {
485 /* color: #0066CC; */
488 .description-container {
489 -moz-margin-start: 6px;
490 -moz-box-align: center;
501 -moz-margin-start: 48px;
503 -moz-box-align: center;
507 .basicinfo-container {
508 -moz-box-align: start;
511 .addon[status="installing"] > .content-container {
512 -moz-box-align: stretch;
515 .advancedinfo-container,
516 .update-info-container {
517 -moz-box-align: center;
524 .install-status-container {
529 .name-outer-container {
530 -moz-box-pack: center;
533 .relnotes-toggle-container,
534 .icon-outer-container {
535 -moz-box-pack: start;
543 .addon-view .warning {
551 .addon-view .pending {
555 .addon-view[pending="disable"] .pending,
556 .addon-view[pending="uninstall"] .pending {
560 .addon .relnotes-container {
561 -moz-box-align: start;
562 -moz-margin-start: 6px;
566 -moz-transition-property: height, opacity;
567 -moz-transition-duration: 0.5s, 0.5s;
570 .addon[show-relnotes] .relnotes-container {
572 -moz-transition-property: height, opacity;
573 -moz-transition-duration: 0.5s, 0.5s;
576 .addon .relnotes-header {
581 .addon .relnotes-toggle {
583 background: transparent;
585 -moz-box-direction: reverse;
587 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
590 .addon .relnotes-toggle > .button-box > .button-icon {
591 -moz-padding-start: 4px;
594 .addon[show-relnotes] .relnotes-toggle {
595 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
598 .addon[active="false"] {
599 background-color: #DDDDDD;
602 .addon-view[active="false"],
603 .addon-view[active="false"] .name-container {
607 .addon-view[notification="warning"] {
608 background-color: #FFFFCC;
611 .addon-view[notification="error"] {
612 background-color: #FFD0DD;
615 .addon-view[notification="info"] {
616 background-color: #9999CC;
619 .addon-view[pending="enable"],
620 .addon-view[pending="upgrade"],
621 .addon-view[pending="install"] {
622 background-color: #CCFFDD;
625 .addon-view[pending="enable"] .pending,
626 .addon-view[pending="upgrade"] .pending,
627 .addon-view[pending="install"] .pending {
631 .addon-view[pending="disable"],
632 .addon-view[pending="uninstall"] {
633 background-color: #808080;
637 background-color: #336699;
641 .addon[selected] .name-container {
645 .addon[active="false"][selected] {
649 .addon[active="false"][selected] .name-container {
654 /*** item - uninstalled ***/
656 .addon[status="uninstalled"] {
660 .addon[status="uninstalled"] > .container {
661 -moz-box-align: center;
663 background-color: #808080;
668 .addon[status="uninstalled"][selected] {
669 background-color: transparent;
673 /*** search view ***/
677 -moz-box-align: center;
678 background-color: #FFFFFF;
680 border-bottom: 1px solid #666699;
684 #search-filter-label {
689 .search-filter-radio {
690 -moz-appearance: none;
693 border-radius: 10000px;
696 .search-filter-radio[selected] {
697 background-color: #3366699;
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;
742 #detail-icon-container {
744 -moz-margin-end: 10px;
757 #detail-name-container {
762 -moz-margin-end: 2em;
767 #detail-screenshot[loading] {
768 background-image: url("chrome://communicator/skin/brand/throbber-anim.gif");
769 background-position: 50% 50%;
770 background-repeat: no-repeat;
773 #detail-screenshot[loading="error"] {
774 background-image: url("chrome://global/skin/icons/alert-error.gif");
777 #detail-desc-container {
781 #detail-desc, #detail-fulldesc {
782 -moz-margin-start: 6px;
783 white-space: pre-wrap;
784 /* This is necessary to fix layout issues with multi-line descriptions, see
786 outline: solid transparent;
794 #detail-contributions {
796 border: 1px solid #666699;
799 background-color: #FFFFCC;
802 #detail-contrib-description {
808 #detail-contrib-suggested {
813 #detail-contrib-btn {
814 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
817 #detail-contrib-btn .button-icon {
818 -moz-margin-end: 3px;
825 #detail-grid > columns > column:first-child {
830 .detail-row[first-row="true"],
831 .detail-row-complex[first-row="true"],
832 setting[first-row="true"] {
839 border-top: 1px solid #808080;
840 -moz-box-align: center;
848 #detail-view[active="false"]:not([pending]):not([notification]) {
849 /* background-color: foo; */
852 setting[first-row="true"] {
857 -moz-box-align: start;
860 .preferences-alignment {
862 -moz-box-align: center;
865 .preferences-description {
869 -moz-margin-start: 2em;
870 white-space: pre-wrap;
873 .preferences-description:empty {
877 setting[type="radio"] > radiogroup {
878 -moz-box-orient: horizontal;
881 menulist { /* Fixes some styling inconsistencies */
882 margin: 1px 5px 2px 5px;
888 -moz-margin-start: 0;
892 .creator > .text-link {
905 .meta-rating > .star {
906 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
910 .meta-rating > .star[on="true"] {
911 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
915 /*** download progress ***/
918 background-color: #CCD0DD;
919 border: 1px solid #808080;
925 .download-progress[mode="undetermined"] .status-container {
929 .download-progress .start-cap,
930 .download-progress[complete] .end-cap,
931 .download-progress[mode="undetermined"] .end-cap,
932 .download-progress .progress .progress-bar {
933 background-color: #336699;
936 .download-progress .progress .progress-bar {
937 border-left-width: 0;
938 border-right-width: 0;
942 .download-progress .progress {
943 background-color: transparent;
949 .download-progress .start-cap, .download-progress .end-cap {
953 .download-progress .start-cap:-moz-locale-dir(ltr),
954 .download-progress .end-cap:-moz-locale-dir(rtl) {
955 border-radius: 3px 0 0 3px;
958 .download-progress .end-cap:-moz-locale-dir(ltr),
959 .download-progress .start-cap:-moz-locale-dir(rtl) {
960 border-radius: 0 3px 3px 0;
963 .download-progress .cancel {
964 -moz-appearance: none;
965 background-color: #CCD0DD;
966 border: 1px solid #666699;
972 .download-progress .cancel .button-box {
977 .download-progress .cancel .button-text {
981 .download-progress .cancel .button-icon {
982 -moz-margin-start: 0;
985 .download-progress .cancel {
986 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
989 .download-progress .status-container {
990 -moz-box-align: center;
993 .download-progress .status {
994 /* text-shadow: #FFF 0 0 2px; */
997 /*** install status ***/
1000 -moz-box-align: center;
1004 /*** check for updates ***/
1006 #updates-container {
1007 -moz-box-align: center;
1010 #updates-container .button-link {
1015 #updates-downloaded {
1026 .addon-control[disabled="true"] {
1030 button.button-link {
1031 background: transparent;
1033 text-decoration: underline;
1040 /* Needed to override normal button style from inContent.css */
1041 button.button-link:not([disabled="true"]):active:hover {