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: #000000;
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 border: 1px solid #9C9CFF;
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: #FFCF00;
101 #detail-view .global-warning {
103 border-bottom: 3px solid #000000;
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 solid #9C9CFF;
180 background-color: #000000;
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:-moz-locale-dir(ltr) {
225 border-top-left-radius: 5px;
226 border-bottom-left-radius: 5px;
229 .category:-moz-locale-dir(rtl) {
230 border-top-right-radius: 5px;
231 border-bottom-right-radius: 5px;
234 .category[disabled] {
239 -moz-transition-property: height, opacity;
240 -moz-transition-duration: 1s, 0.8s;
243 .category:not([disabled]) {
245 -moz-transition-property: height, opacity;
246 -moz-transition-duration: 1s, 0.8s;
249 .category[selected] {
250 background-color: #008484;
252 border-color: #9C9CFF;
259 /* Maximize the size of the viewport when the window is small */
260 @media all and (max-width: 800px) {
267 background-color: #E7ADE7;
270 border-radius: 10000px;
276 .category-badge[value="0"] {
283 -moz-margin-start: 6px;
286 #category-search > .category-icon {
287 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
289 #category-discover > .category-icon {
290 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
292 #category-languages > .category-icon {
293 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
295 #category-searchengines > .category-icon {
296 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
298 #category-extensions > .category-icon {
299 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
301 #category-themes > .category-icon {
302 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
304 #category-plugins > .category-icon {
305 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
307 #category-availableUpdates > .category-icon {
308 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
310 #category-recentUpdates > .category-icon {
311 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
324 border: 1px solid #9C9CFF;
327 background-color: #000000;
331 #header-search .textbox-input:-moz-placeholder {
335 #header-search[focused] {
336 border-color: #008484;
340 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
341 -moz-margin-end: 16px;
344 #header-utils-btn:hover,
345 #header-utils-btn:hover:active,
346 #header-utils-btn[open="true"] {
347 list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png");
350 #header-utils-btn > .button-box > .button-menu-dropmarker {
352 background: transparent;
355 #header-utils-btn:hover > .button-box > .button-menu-dropmarker {
356 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
360 background-color: #9C9CFF;
372 -moz-appearance: none;
373 border-right: 3px solid #000000;
377 -moz-appearance: none;
379 border-left: 3px solid #000000;
380 background-color: transparent;
384 -moz-padding-start: 6px;
385 -moz-padding-end: 3px;
387 min-width: 12px !important;
388 -moz-box-direction: reverse;
391 background-color: #FFCF00;
395 .sorter .button-box {
400 .sorter[checkState="1"],
401 .sorter[checkState="2"] {
402 background-color: #008484;
406 .sorter[checkState="1"] {
407 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
410 .sorter[checkState="2"] {
411 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
414 .sorter .button-icon {
415 -moz-margin-start: 4px;
419 /*** discover view ***/
421 .discover-spacer-before,
422 .discover-spacer-after {
426 #discover-error .alert {
432 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
433 -moz-margin-end: 15px;
439 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
443 .discover-description {
458 background-color: transparent;
462 border-bottom: 1px solid #9C9CFF;
464 background-origin: border-box;
470 -moz-margin-start: 10px;
477 -moz-box-align: center;
478 -moz-box-pack: center;
482 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
487 .addon[active="false"] .icon {
488 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
491 .addon-view[type="theme"] .icon {
492 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
495 .addon-view[type="locale"] .icon {
496 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
499 .addon-view[type="plugin"] .icon {
500 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
516 .creator .text-link {
517 /* color: #0066CC; */
520 .description-container {
521 -moz-margin-start: 6px;
522 -moz-box-align: center;
533 -moz-margin-start: 48px;
535 -moz-box-align: center;
539 .basicinfo-container {
540 -moz-box-align: start;
543 .addon[status="installing"] > .content-container {
544 -moz-box-align: stretch;
547 .advancedinfo-container,
548 .update-info-container {
549 -moz-box-align: center;
556 .install-status-container {
561 .name-outer-container {
562 -moz-box-pack: center;
565 .relnotes-toggle-container,
566 .icon-outer-container {
567 -moz-box-pack: start;
575 .addon-view .warning {
583 .addon-view .pending {
587 .addon-view[pending="disable"] .pending,
588 .addon-view[pending="uninstall"] .pending {
592 .addon .relnotes-container {
593 -moz-box-align: start;
594 -moz-margin-start: 6px;
598 -moz-transition-property: height, opacity;
599 -moz-transition-duration: 0.5s, 0.5s;
602 .addon[show-relnotes] .relnotes-container {
604 -moz-transition-property: height, opacity;
605 -moz-transition-duration: 0.5s, 0.5s;
608 .addon .relnotes-header {
613 .addon .relnotes-toggle {
615 background: transparent;
617 -moz-box-direction: reverse;
619 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
622 .addon .relnotes-toggle > .button-box > .button-icon {
623 -moz-padding-start: 4px;
626 .addon[show-relnotes] .relnotes-toggle {
627 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
630 .addon[active="false"] {
631 /* background-color: rgba(135, 135, 135, 0.1); */
634 .addon-view[active="false"],
635 .addon-view[active="false"] .name-container {
639 .addon-view[notification="warning"] {
640 background-color : #FFCF00;
644 .addon-view[notification="warning"] .warning {
648 .addon-view[notification="warning"] .name-container {
652 .addon-view[notification="error"] {
653 background-color: #FF0000;
657 .addon-view[notification="error"] .error {
661 .addon-view[notification="info"] {
662 background-color: #9C9CFF;
666 .addon-view[pending="enable"],
667 .addon-view[pending="upgrade"],
668 .addon-view[pending="install"] {
669 background-color: #008484;
672 .addon-view[pending="enable"] .pending,
673 .addon-view[pending="upgrade"] .pending,
674 .addon-view[pending="install"] .pending {
678 .addon-view[pending="disable"],
679 .addon-view[pending="uninstall"] {
684 /*** item - uninstalled ***/
686 .addon[status="uninstalled"] {
690 .addon[status="uninstalled"] > .container {
691 -moz-box-align: center;
693 background-color: #8050B0;
698 .addon[status="uninstalled"][selected] {
699 background-color: transparent;
703 background-color: #008484;
707 .addon[selected] .name-container {
711 .addon[active="false"][selected] {
715 .addon[active="false"][selected] .name-container {
720 /*** search view ***/
724 -moz-box-align: center;
725 background-color: #000000;
727 border-bottom: 1px solid #9C9CFF;
731 #search-filter-label {
736 .search-filter-radio {
739 border-radius: 10000px;
742 .search-filter-radio[selected] {
743 background-color: #008484;
747 .search-filter-radio .radio-check-box1 {
751 .search-filter-radio .radio-icon {
755 #search-allresults-link {
760 /*** detail view ***/
762 #detail-view .loading {
766 #detail-view[loading-extended] .loading {
768 -moz-transition-property: opacity;
769 -moz-transition-duration: 1s;
772 .detail-view-container {
773 padding: 0 2em 2em 2em;
777 #detail-notifications {
782 #detail-notifications .warning,
783 #detail-notifications .pending,
784 #detail-notifications .error {
785 -moz-margin-start: 0;
789 -moz-margin-end: 10px;
799 #detail-name-container {
804 -moz-margin-end: 2em;
809 #detail-desc-container {
813 #detail-desc, #detail-fulldesc {
814 -moz-margin-start: 6px;
815 white-space: pre-wrap;
816 /* This is necessary to fix layout issues with multi-line descriptions, see
818 outline: solid transparent;
826 #detail-contributions {
828 border: 1px solid #9C9CFF;
831 background-color: #FFCF00;
834 #detail-contrib-description {
840 #detail-contrib-suggested {
845 #detail-contrib-btn {
846 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
849 #detail-contrib-btn .button-icon {
850 -moz-margin-end: 3px;
857 .detail-row[first-row="true"],
858 .detail-row-complex[first-row="true"] {
863 .detail-row-complex {
864 border-top: 1px solid #9C9CFF;
865 -moz-box-align: center;
869 -moz-margin-start: 0;
876 #detail-view[active="false"]:not([pending]):not([notification]) {
877 /* background-color: foo; */
886 .creator > .text-link {
895 -moz-margin-start: 0;
900 .meta-rating > .star {
901 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
905 .meta-rating > .star[on="true"] {
906 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
910 /*** download progress ***/
913 background-color: #000000;
914 border-radius: 10000px;
915 border: 1px solid #FF9F00;
921 .download-progress[mode="undetermined"] .status-container {
925 .download-progress .start-cap,
926 .download-progress[complete] .end-cap,
927 .download-progress[mode="undetermined"] .end-cap,
928 .download-progress .progress .progress-bar {
929 background-color: #008484;
932 .download-progress .progress .progress-bar {
933 border-left-width: 0;
934 border-right-width: 0;
938 .download-progress .progress {
939 background-color: transparent;
945 .download-progress .start-cap, .download-progress .end-cap {
949 .download-progress .start-cap:-moz-locale-dir(ltr),
950 .download-progress .end-cap:-moz-locale-dir(rtl) {
951 border-radius: 3px 0 0 3px;
954 .download-progress .end-cap:-moz-locale-dir(ltr),
955 .download-progress .start-cap:-moz-locale-dir(rtl) {
956 border-radius: 0 3px 3px 0;
959 .download-progress .cancel {
960 -moz-appearance: none;
961 background-color: #8050B0;
962 border: 1px solid #9C9CFF;
969 .download-progress .cancel .button-box {
974 .download-progress .cancel .button-text {
978 .download-progress .cancel .button-icon {
979 -moz-margin-start: 0;
982 .download-progress .cancel {
983 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
986 .download-progress .status-container {
987 -moz-box-align: center;
990 .download-progress .status {
991 /* text-shadow: #FFF 0 0 2px; */
994 /*** install status ***/
997 -moz-box-align: center;
1001 /*** check for updates ***/
1003 #updates-container {
1004 -moz-box-align: center;
1007 #updates-container .button-link {
1012 #updates-downloaded {
1023 .addon-control[disabled="true"] {
1028 background: transparent;
1030 text-decoration: underline;