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 /* Plugins aren't yet disabled by safemode (bug 342333),
119 so don't show that warning when viewing plugins. */
120 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
121 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
122 background-color: inherit;
123 background-image: none;
127 /*** notification icons ***/
130 list-style-image: url("chrome://global/skin/icons/warning-16.png");
137 list-style-image: url("chrome://global/skin/icons/error-16.png");
145 list-style-image: url("chrome://global/skin/icons/information-16.png");
151 .addon-view[pending="disable"] .pending-icon,
152 .addon-view[pending="uninstall"] .pending-icon {
153 list-style-image: url("chrome://global/skin/icons/warning-16.png");
160 /*** view alert boxes ***/
163 -moz-box-align: center;
166 .alert-spacer-before {
170 .alert-spacer-after {
175 -moz-box-align: center;
178 border: 1px inset #CCD0DD;
180 background-color: #CCD0DD;
181 background-clip: padding-box;
184 .alert .alert-title {
190 .alert .addon-control {
195 list-style-image: url("chrome://global/skin/icons/loading.gif");
201 /*** category selector ***/
204 -moz-appearance: none;
206 -moz-margin-end: -1px;
207 background-color: transparent;
213 background-color: transparent;
219 border-color: transparent;
220 -moz-box-align: center;
224 .category[disabled] {
229 -moz-transition-property: height, opacity;
230 -moz-transition-duration: 1s, 0.8s;
233 .category:not([disabled]) {
235 -moz-transition-property: height, opacity;
236 -moz-transition-duration: 1s, 0.8s;
239 .category[selected] {
240 background-color: #FFFFFF;
242 border-color: #666699;
249 /* Maximize the size of the viewport when the window is small */
250 @media all and (max-width: 800px) {
257 background-color: #666699;
260 border: 1px outset #666699;
266 .category-badge[value="0"] {
273 -moz-margin-start: 6px;
276 #category-search > .category-icon {
277 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
279 #category-discover > .category-icon {
280 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
282 #category-languages > .category-icon {
283 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
285 #category-searchengines > .category-icon {
286 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
288 #category-extensions > .category-icon {
289 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
291 #category-themes > .category-icon {
292 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
294 #category-plugins > .category-icon {
295 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
297 #category-availableUpdates > .category-icon {
298 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
300 #category-recentUpdates > .category-icon {
301 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
314 border: 1px inset #CCD0DD;
316 background-color: #CCD0DD;
320 #header-search .textbox-input:-moz-placeholder {
324 #header-search[focused] {
325 background-color: #FFFFFF;
329 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
330 -moz-margin-end: 16px;
334 background-color: #9999CC;
338 border-bottom: 1px solid #666699;
345 -moz-appearance: none;
349 -moz-appearance: none;
350 border: 1px solid transparent;
351 background-color: transparent;
355 min-width: 12px !important;
356 -moz-box-direction: reverse;
359 .sorter .button-box {
365 border: 1px outset #666699;
368 .sorter[checkState="1"],
369 .sorter[checkState="2"] {
370 background-color: #666699;
372 border: 1px inset #666699;
375 .sorter[checkState="1"] {
376 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
379 .sorter[checkState="2"] {
380 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
383 .sorter .button-icon {
384 -moz-margin-start: 4px;
388 /*** discover view ***/
390 .discover-spacer-before,
391 .discover-spacer-after {
395 #discover-error .alert {
401 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
402 -moz-margin-end: 15px;
408 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
412 .discover-description {
427 background-color: transparent;
431 border-bottom: 1px solid #9999CC;
433 background-origin: border-box;
439 -moz-margin-start: 10px;
446 -moz-box-align: center;
447 -moz-box-pack: center;
451 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
456 .addon[active="false"] .icon {
457 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
460 .addon-view[type="theme"] .icon {
461 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
464 .addon-view[type="locale"] .icon {
465 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
468 .addon-view[type="plugin"] .icon {
469 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
485 .creator .text-link {
486 /* color: #0066CC; */
489 .description-container {
490 -moz-margin-start: 6px;
491 -moz-box-align: center;
502 -moz-margin-start: 48px;
504 -moz-box-align: center;
508 .basicinfo-container {
509 -moz-box-align: start;
512 .addon[status="installing"] > .content-container {
513 -moz-box-align: stretch;
516 .advancedinfo-container,
517 .update-info-container {
518 -moz-box-align: center;
525 .install-status-container {
530 .name-outer-container {
531 -moz-box-pack: center;
534 .relnotes-toggle-container,
535 .icon-outer-container {
536 -moz-box-pack: start;
544 .addon-view .warning {
552 .addon-view .pending {
556 .addon-view[pending="disable"] .pending,
557 .addon-view[pending="uninstall"] .pending {
561 .addon .relnotes-container {
562 -moz-box-align: start;
563 -moz-margin-start: 6px;
567 -moz-transition-property: height, opacity;
568 -moz-transition-duration: 0.5s, 0.5s;
571 .addon[show-relnotes] .relnotes-container {
573 -moz-transition-property: height, opacity;
574 -moz-transition-duration: 0.5s, 0.5s;
577 .addon .relnotes-header {
582 .addon .relnotes-toggle {
584 background: transparent;
586 -moz-box-direction: reverse;
588 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
591 .addon .relnotes-toggle > .button-box > .button-icon {
592 -moz-padding-start: 4px;
595 .addon[show-relnotes] .relnotes-toggle {
596 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
599 .addon[active="false"] {
600 /* background-color: rgba(135, 135, 135, 0.1); */
603 .addon-view[active="false"],
604 .addon-view[active="false"] .name-container {
608 .addon-view[notification="warning"] {
609 background-color: #FFFFCC;
612 .addon-view[notification="error"] {
613 background-color: #FFD0DD;
616 .addon-view[notification="info"] {
617 background-color: #9999CC;
620 .addon-view[pending="enable"],
621 .addon-view[pending="upgrade"],
622 .addon-view[pending="install"] {
623 background-color: #CCFFDD;
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"] {
634 background-color: #808080;
638 background-color: #336699;
642 .addon[selected] .name-container {
646 .addon[active="false"][selected] {
650 .addon[active="false"][selected] .name-container {
655 /*** item - uninstalled ***/
657 .addon[status="uninstalled"] {
661 .addon[status="uninstalled"] > .container {
662 -moz-box-align: center;
664 background-color: #808080;
669 .addon[status="uninstalled"][selected] {
670 background-color: transparent;
674 /*** search view ***/
678 -moz-box-align: center;
679 background-color: #FFFFFF;
681 border-bottom: 1px solid #666699;
685 #search-filter-label {
690 .search-filter-radio {
691 -moz-appearance: none;
694 border-radius: 10000px;
697 .search-filter-radio[selected] {
698 background-color: #3366699;
702 .search-filter-radio .radio-check-box1 {
706 .search-filter-radio .radio-icon {
710 #search-allresults-link {
715 /*** detail view ***/
717 #detail-view .loading {
721 #detail-view[loading-extended] .loading {
723 -moz-transition-property: opacity;
724 -moz-transition-duration: 1s;
727 .detail-view-container {
728 padding: 0 2em 2em 2em;
732 #detail-notifications {
737 #detail-notifications .warning,
738 #detail-notifications .pending,
739 #detail-notifications .error {
740 -moz-margin-start: 0;
744 -moz-margin-end: 10px;
754 #detail-name-container {
759 -moz-margin-end: 2em;
764 #detail-desc-container {
768 #detail-desc, #detail-fulldesc {
769 -moz-margin-start: 6px;
770 white-space: pre-wrap;
771 /* This is necessary to fix layout issues with multi-line descriptions, see
773 outline: solid transparent;
781 #detail-contributions {
783 border: 1px solid #666699;
786 background-color: #FFFFCC;
789 #detail-contrib-description {
795 #detail-contrib-suggested {
800 #detail-contrib-btn {
801 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
804 #detail-contrib-btn .button-icon {
805 -moz-margin-end: 3px;
812 .detail-row[first-row="true"],
813 .detail-row-complex[first-row="true"] {
818 .detail-row-complex {
819 border-top: 1px solid #808080;
820 -moz-box-align: center;
824 -moz-margin-start: 0;
831 #detail-view[active="false"]:not([pending]):not([notification]) {
832 /* background-color: foo; */
838 -moz-margin-start: 0;
842 .creator > .text-link {
851 -moz-margin-start: 0;
856 .meta-rating > .star {
857 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
861 .meta-rating > .star[on="true"] {
862 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
866 /*** download progress ***/
869 background-color: #CCD0DD;
870 border: 1px solid #808080;
876 .download-progress[mode="undetermined"] .status-container {
880 .download-progress .start-cap,
881 .download-progress[complete] .end-cap,
882 .download-progress[mode="undetermined"] .end-cap,
883 .download-progress .progress .progress-bar {
884 background-color: #336699;
887 .download-progress .progress .progress-bar {
888 border-left-width: 0;
889 border-right-width: 0;
893 .download-progress .progress {
894 background-color: transparent;
900 .download-progress .start-cap, .download-progress .end-cap {
904 .download-progress .start-cap:-moz-locale-dir(ltr),
905 .download-progress .end-cap:-moz-locale-dir(rtl) {
906 border-radius: 3px 0 0 3px;
909 .download-progress .end-cap:-moz-locale-dir(ltr),
910 .download-progress .start-cap:-moz-locale-dir(rtl) {
911 border-radius: 0 3px 3px 0;
914 .download-progress .cancel {
915 -moz-appearance: none;
916 background-color: #CCD0DD;
917 border: 1px solid #666699;
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;