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 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
41 background-color: #CCD0DD;
46 #view-port-container {
47 /* Needed to allow the radius to clip the inner content, see bug 595656 */
48 /* Disabled because of bug 623615
51 background-color: #FFFFFF;
52 border: 1px solid #666699;
56 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
60 -moz-border-start: none;
63 #back-btn:-moz-locale-dir(ltr),
64 #forward-btn:-moz-locale-dir(rtl) {
65 -moz-image-region: rect(42px 25px 63px 0px);
68 #back-btn[disabled="true"]:-moz-locale-dir(ltr),
69 #forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
70 -moz-image-region: rect(42px 50px 63px 25px);
73 #back-btn:-moz-locale-dir(rtl),
74 #forward-btn:-moz-locale-dir(ltr) {
75 -moz-image-region: rect(63px 25px 84px 0px);
78 #back-btn[disabled="true"]:-moz-locale-dir(rtl),
79 #forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
80 -moz-image-region: rect(63px 50px 84px 25px);
84 /*** global warnings ***/
86 .global-warning-container {
91 -moz-box-align: center;
97 #addons-page[warning] .global-warning-container {
98 background-color: #FFFFCC;
101 #detail-view .global-warning {
103 border-bottom: 1px solid #9999CC;
106 @media all and (max-width: 600px) {
107 .global-warning-text {
111 .global-warning .warning-icon {
112 /* background-color: #FFF;
113 box-shadow: 0px 0px 2px 5px #FFF;
114 border-radius: 10px; */
118 /*** global informations ***/
119 #addons-page .global-info-container {
120 background-color: #9C9CFF;
123 /* Plugins aren't yet disabled by safemode (bug 342333),
124 so don't show that warning when viewing plugins. */
125 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
126 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
127 background-color: inherit;
128 background-image: none;
132 /*** notification icons ***/
135 list-style-image: url("chrome://global/skin/icons/warning-16.png");
142 list-style-image: url("chrome://global/skin/icons/error-16.png");
150 list-style-image: url("chrome://global/skin/icons/information-16.png");
156 .addon-view[pending="disable"] .pending-icon,
157 .addon-view[pending="uninstall"] .pending-icon {
158 list-style-image: url("chrome://global/skin/icons/warning-16.png");
165 /*** view alert boxes ***/
168 -moz-box-align: center;
171 .alert-spacer-before {
175 .alert-spacer-after {
180 -moz-box-align: center;
183 border: 1px inset #CCD0DD;
185 background-color: #CCD0DD;
186 background-clip: padding-box;
189 .alert .alert-title {
195 .alert .addon-control {
200 list-style-image: url("chrome://global/skin/icons/loading.gif");
206 /*** category selector ***/
209 -moz-appearance: none;
211 -moz-margin-end: -1px;
212 background-color: transparent;
218 background-color: transparent;
224 border-color: transparent;
225 -moz-box-align: center;
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: #FFFFFF;
247 border-color: #666699;
254 /* Maximize the size of the viewport when the window is small */
255 @media all and (max-width: 800px) {
262 background-color: #666699;
265 border: 1px outset #666699;
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-locale > .category-icon {
288 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
290 #category-searchengine > .category-icon {
291 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
293 #category-extension > .category-icon {
294 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
296 #category-theme > .category-icon {
297 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
299 #category-plugin > .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 inset #CCD0DD;
321 background-color: #CCD0DD;
325 #header-search .textbox-input:-moz-placeholder {
329 #header-search[focused] {
330 background-color: #FFFFFF;
334 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
335 -moz-margin-end: 16px;
339 background-color: #9999CC;
343 border-bottom: 1px solid #666699;
350 -moz-appearance: none;
354 -moz-appearance: none;
355 border: 1px solid transparent;
356 background-color: transparent;
360 min-width: 12px !important;
361 -moz-box-direction: reverse;
364 .sorter .button-box {
370 border: 1px outset #666699;
373 .sorter[checkState="1"],
374 .sorter[checkState="2"] {
375 background-color: #666699;
377 border: 1px inset #666699;
380 .sorter[checkState="1"] {
381 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
384 .sorter[checkState="2"] {
385 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
388 .sorter .button-icon {
389 -moz-margin-start: 4px;
393 /*** discover view ***/
395 .discover-spacer-before,
396 .discover-spacer-after {
400 #discover-error .alert {
406 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
407 -moz-margin-end: 15px;
413 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
417 .discover-description {
432 background-color: transparent;
436 border-bottom: 1px solid #9999CC;
438 background-origin: border-box;
444 -moz-margin-start: 10px;
451 -moz-box-align: center;
452 -moz-box-pack: center;
456 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
461 .addon[active="false"] .icon {
462 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
465 .addon-view[type="theme"] .icon {
466 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
469 .addon-view[type="locale"] .icon {
470 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
473 .addon-view[type="plugin"] .icon {
474 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
490 .creator .text-link {
491 /* color: #0066CC; */
494 .description-container {
495 -moz-margin-start: 6px;
496 -moz-box-align: center;
507 -moz-margin-start: 48px;
509 -moz-box-align: center;
513 .basicinfo-container {
514 -moz-box-align: start;
517 .addon[status="installing"] > .content-container {
518 -moz-box-align: stretch;
521 .advancedinfo-container,
522 .update-info-container {
523 -moz-box-align: center;
530 .install-status-container {
535 .name-outer-container {
536 -moz-box-pack: center;
539 .relnotes-toggle-container,
540 .icon-outer-container {
541 -moz-box-pack: start;
549 .addon-view .warning {
557 .addon-view .pending {
561 .addon-view[pending="disable"] .pending,
562 .addon-view[pending="uninstall"] .pending {
566 .addon .relnotes-container {
567 -moz-box-align: start;
568 -moz-margin-start: 6px;
572 -moz-transition-property: height, opacity;
573 -moz-transition-duration: 0.5s, 0.5s;
576 .addon[show-relnotes] .relnotes-container {
578 -moz-transition-property: height, opacity;
579 -moz-transition-duration: 0.5s, 0.5s;
582 .addon .relnotes-header {
587 .addon .relnotes-toggle {
589 background: transparent;
591 -moz-box-direction: reverse;
593 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
596 .addon .relnotes-toggle > .button-box > .button-icon {
597 -moz-padding-start: 4px;
600 .addon[show-relnotes] .relnotes-toggle {
601 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
604 .addon[active="false"] {
605 /* background-color: rgba(135, 135, 135, 0.1); */
608 .addon-view[active="false"],
609 .addon-view[active="false"] .name-container {
613 .addon-view[notification="warning"] {
614 background-color: #FFFFCC;
617 .addon-view[notification="error"] {
618 background-color: #FFD0DD;
621 .addon-view[notification="info"] {
622 background-color: #9999CC;
625 .addon-view[pending="enable"],
626 .addon-view[pending="upgrade"],
627 .addon-view[pending="install"] {
628 background-color: #CCFFDD;
631 .addon-view[pending="enable"] .pending,
632 .addon-view[pending="upgrade"] .pending,
633 .addon-view[pending="install"] .pending {
637 .addon-view[pending="disable"],
638 .addon-view[pending="uninstall"] {
639 background-color: #808080;
643 background-color: #336699;
647 .addon[selected] .name-container {
651 .addon[active="false"][selected] {
655 .addon[active="false"][selected] .name-container {
660 /*** item - uninstalled ***/
662 .addon[status="uninstalled"] {
666 .addon[status="uninstalled"] > .container {
667 -moz-box-align: center;
669 background-color: #808080;
674 .addon[status="uninstalled"][selected] {
675 background-color: transparent;
679 /*** search view ***/
683 -moz-box-align: center;
684 background-color: #FFFFFF;
686 border-bottom: 1px solid #666699;
690 #search-filter-label {
695 .search-filter-radio {
696 -moz-appearance: none;
699 border-radius: 10000px;
702 .search-filter-radio[selected] {
703 background-color: #3366699;
707 .search-filter-radio .radio-check-box1 {
711 .search-filter-radio .radio-icon {
715 #search-allresults-link {
720 /*** detail view ***/
722 #detail-view .loading {
726 #detail-view[loading-extended] .loading {
728 -moz-transition-property: opacity;
729 -moz-transition-duration: 1s;
732 .detail-view-container {
733 padding: 0 2em 2em 2em;
737 #detail-notifications {
742 #detail-notifications .warning,
743 #detail-notifications .pending,
744 #detail-notifications .error {
745 -moz-margin-start: 0;
749 -moz-margin-end: 10px;
759 #detail-name-container {
764 -moz-margin-end: 2em;
769 #detail-desc-container {
773 #detail-desc, #detail-fulldesc {
774 -moz-margin-start: 6px;
775 white-space: pre-wrap;
776 /* This is necessary to fix layout issues with multi-line descriptions, see
778 outline: solid transparent;
786 #detail-contributions {
788 border: 1px solid #666699;
791 background-color: #FFFFCC;
794 #detail-contrib-description {
800 #detail-contrib-suggested {
805 #detail-contrib-btn {
806 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
809 #detail-contrib-btn .button-icon {
810 -moz-margin-end: 3px;
817 .detail-row[first-row="true"],
818 .detail-row-complex[first-row="true"] {
823 .detail-row-complex {
824 border-top: 1px solid #808080;
825 -moz-box-align: center;
829 -moz-margin-start: 0;
836 #detail-view[active="false"]:not([pending]):not([notification]) {
837 /* background-color: foo; */
843 -moz-margin-start: 0;
847 .creator > .text-link {
856 -moz-margin-start: 0;
861 .meta-rating > .star {
862 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
866 .meta-rating > .star[on="true"] {
867 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
871 /*** download progress ***/
874 background-color: #CCD0DD;
875 border: 1px solid #808080;
881 .download-progress[mode="undetermined"] .status-container {
885 .download-progress .start-cap,
886 .download-progress[complete] .end-cap,
887 .download-progress[mode="undetermined"] .end-cap,
888 .download-progress .progress .progress-bar {
889 background-color: #336699;
892 .download-progress .progress .progress-bar {
893 border-left-width: 0;
894 border-right-width: 0;
898 .download-progress .progress {
899 background-color: transparent;
905 .download-progress .start-cap, .download-progress .end-cap {
909 .download-progress .start-cap:-moz-locale-dir(ltr),
910 .download-progress .end-cap:-moz-locale-dir(rtl) {
911 border-radius: 3px 0 0 3px;
914 .download-progress .end-cap:-moz-locale-dir(ltr),
915 .download-progress .start-cap:-moz-locale-dir(rtl) {
916 border-radius: 0 3px 3px 0;
919 .download-progress .cancel {
920 -moz-appearance: none;
921 background-color: #CCD0DD;
922 border: 1px solid #666699;
928 .download-progress .cancel .button-box {
933 .download-progress .cancel .button-text {
937 .download-progress .cancel .button-icon {
938 -moz-margin-start: 0;
941 .download-progress .cancel {
942 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
945 .download-progress .status-container {
946 -moz-box-align: center;
949 .download-progress .status {
950 /* text-shadow: #FFF 0 0 2px; */
953 /*** install status ***/
956 -moz-box-align: center;
960 /*** check for updates ***/
963 -moz-box-align: center;
966 #updates-container .button-link {
971 #updates-downloaded {
982 .addon-control[disabled="true"] {
987 background: transparent;
989 text-decoration: underline;