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 /*** global informations ***/
119 #addons-page .global-info-container {
120 background-color: #9C9CFF;
121 border-top-right-radius: 5px;
122 border-top-left-radius: 5px;
125 /* Plugins aren't yet disabled by safemode (bug 342333),
126 so don't show that warning when viewing plugins. */
127 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
128 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
129 background-color: inherit;
130 background-image: none;
134 /*** notification icons ***/
137 list-style-image: url("chrome://global/skin/icons/warning-16.png");
144 list-style-image: url("chrome://global/skin/icons/error-16.png");
152 list-style-image: url("chrome://global/skin/icons/information-16.png");
158 .addon-view[pending="disable"] .pending-icon,
159 .addon-view[pending="uninstall"] .pending-icon {
160 list-style-image: url("chrome://global/skin/icons/warning-16.png");
167 /*** view alert boxes ***/
170 -moz-box-align: center;
173 .alert-spacer-before {
177 .alert-spacer-after {
182 -moz-box-align: center;
185 border: 1px solid #9C9CFF;
187 background-color: #000000;
188 background-clip: padding-box;
191 .alert .alert-title {
197 .alert .addon-control {
202 list-style-image: url("chrome://global/skin/icons/loading.gif");
208 /*** category selector ***/
211 -moz-appearance: none;
213 -moz-margin-end: -1px;
214 background-color: transparent;
220 background-color: transparent;
226 border-color: transparent;
227 -moz-box-align: center;
231 .category:-moz-locale-dir(ltr) {
232 border-top-left-radius: 5px;
233 border-bottom-left-radius: 5px;
236 .category:-moz-locale-dir(rtl) {
237 border-top-right-radius: 5px;
238 border-bottom-right-radius: 5px;
241 .category[disabled] {
246 -moz-transition-property: height, opacity;
247 -moz-transition-duration: 1s, 0.8s;
250 .category:not([disabled]) {
252 -moz-transition-property: height, opacity;
253 -moz-transition-duration: 1s, 0.8s;
256 .category[selected] {
257 background-color: #008484;
259 border-color: #9C9CFF;
266 /* Maximize the size of the viewport when the window is small */
267 @media all and (max-width: 800px) {
274 background-color: #E7ADE7;
277 border-radius: 10000px;
283 .category-badge[value="0"] {
290 -moz-margin-start: 6px;
293 #category-search > .category-icon {
294 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
296 #category-discover > .category-icon {
297 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
299 #category-locale > .category-icon {
300 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
302 #category-searchengine > .category-icon {
303 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
305 #category-extension > .category-icon {
306 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
308 #category-theme > .category-icon {
309 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
311 #category-plugin > .category-icon {
312 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
314 #category-availableUpdates > .category-icon {
315 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
317 #category-recentUpdates > .category-icon {
318 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
331 border: 1px solid #9C9CFF;
334 background-color: #000000;
338 #header-search .textbox-input:-moz-placeholder {
342 #header-search[focused] {
343 border-color: #008484;
347 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
348 -moz-margin-end: 16px;
351 #header-utils-btn:hover,
352 #header-utils-btn:hover:active,
353 #header-utils-btn[open="true"] {
354 list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png");
357 #header-utils-btn > .button-box > .button-menu-dropmarker {
359 background: transparent;
362 #header-utils-btn:hover > .button-box > .button-menu-dropmarker {
363 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
367 background-color: #9C9CFF;
379 -moz-appearance: none;
380 border-right: 3px solid #000000;
384 -moz-appearance: none;
386 border-left: 3px solid #000000;
387 background-color: transparent;
391 -moz-padding-start: 6px;
392 -moz-padding-end: 3px;
394 min-width: 12px !important;
395 -moz-box-direction: reverse;
398 background-color: #FFCF00;
402 .sorter .button-box {
407 .sorter[checkState="1"],
408 .sorter[checkState="2"] {
409 background-color: #008484;
413 .sorter[checkState="1"] {
414 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
417 .sorter[checkState="2"] {
418 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
421 .sorter .button-icon {
422 -moz-margin-start: 4px;
426 /*** discover view ***/
428 .discover-spacer-before,
429 .discover-spacer-after {
433 #discover-error .alert {
439 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
440 -moz-margin-end: 15px;
446 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
450 .discover-description {
465 background-color: transparent;
469 border-bottom: 1px solid #9C9CFF;
471 background-origin: border-box;
477 -moz-margin-start: 10px;
484 -moz-box-align: center;
485 -moz-box-pack: center;
489 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
494 .addon[active="false"] .icon {
495 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
498 .addon-view[type="theme"] .icon {
499 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
502 .addon-view[type="locale"] .icon {
503 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
506 .addon-view[type="plugin"] .icon {
507 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
523 .creator .text-link {
524 /* color: #0066CC; */
527 .description-container {
528 -moz-margin-start: 6px;
529 -moz-box-align: center;
540 -moz-margin-start: 48px;
542 -moz-box-align: center;
546 .basicinfo-container {
547 -moz-box-align: start;
550 .addon[status="installing"] > .content-container {
551 -moz-box-align: stretch;
554 .advancedinfo-container,
555 .update-info-container {
556 -moz-box-align: center;
563 .install-status-container {
568 .name-outer-container {
569 -moz-box-pack: center;
572 .relnotes-toggle-container,
573 .icon-outer-container {
574 -moz-box-pack: start;
582 .addon-view .warning {
590 .addon-view .pending {
594 .addon-view[pending="disable"] .pending,
595 .addon-view[pending="uninstall"] .pending {
599 .addon .relnotes-container {
600 -moz-box-align: start;
601 -moz-margin-start: 6px;
605 -moz-transition-property: height, opacity;
606 -moz-transition-duration: 0.5s, 0.5s;
609 .addon[show-relnotes] .relnotes-container {
611 -moz-transition-property: height, opacity;
612 -moz-transition-duration: 0.5s, 0.5s;
615 .addon .relnotes-header {
620 .addon .relnotes-toggle {
622 background: transparent;
624 -moz-box-direction: reverse;
626 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
629 .addon .relnotes-toggle > .button-box > .button-icon {
630 -moz-padding-start: 4px;
633 .addon[show-relnotes] .relnotes-toggle {
634 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
637 .addon[active="false"] {
638 /* background-color: rgba(135, 135, 135, 0.1); */
641 .addon-view[active="false"],
642 .addon-view[active="false"] .name-container {
646 .addon-view[notification="warning"] {
647 background-color : #FFCF00;
651 .addon-view[notification="warning"] .warning {
655 .addon-view[notification="warning"] .name-container {
659 .addon-view[notification="error"] {
660 background-color: #FF0000;
664 .addon-view[notification="error"] .error {
668 .addon-view[notification="info"] {
669 background-color: #9C9CFF;
673 .addon-view[pending="enable"],
674 .addon-view[pending="upgrade"],
675 .addon-view[pending="install"] {
676 background-color: #008484;
679 .addon-view[pending="enable"] .pending,
680 .addon-view[pending="upgrade"] .pending,
681 .addon-view[pending="install"] .pending {
685 .addon-view[pending="disable"],
686 .addon-view[pending="uninstall"] {
691 /*** item - uninstalled ***/
693 .addon[status="uninstalled"] {
697 .addon[status="uninstalled"] > .container {
698 -moz-box-align: center;
700 background-color: #8050B0;
705 .addon[status="uninstalled"][selected] {
706 background-color: transparent;
710 background-color: #008484;
714 .addon[selected] .name-container {
718 .addon[active="false"][selected] {
722 .addon[active="false"][selected] .name-container {
727 /*** search view ***/
731 -moz-box-align: center;
732 background-color: #000000;
734 border-bottom: 1px solid #9C9CFF;
738 #search-filter-label {
743 .search-filter-radio {
746 border-radius: 10000px;
749 .search-filter-radio[selected] {
750 background-color: #008484;
754 .search-filter-radio .radio-check-box1 {
758 .search-filter-radio .radio-icon {
762 #search-allresults-link {
767 /*** detail view ***/
769 #detail-view .loading {
773 #detail-view[loading-extended] .loading {
775 -moz-transition-property: opacity;
776 -moz-transition-duration: 1s;
779 .detail-view-container {
780 padding: 0 2em 2em 2em;
784 #detail-notifications {
789 #detail-notifications .warning,
790 #detail-notifications .pending,
791 #detail-notifications .error {
792 -moz-margin-start: 0;
796 -moz-margin-end: 10px;
806 #detail-name-container {
811 -moz-margin-end: 2em;
816 #detail-desc-container {
820 #detail-desc, #detail-fulldesc {
821 -moz-margin-start: 6px;
822 white-space: pre-wrap;
823 /* This is necessary to fix layout issues with multi-line descriptions, see
825 outline: solid transparent;
833 #detail-contributions {
835 border: 1px solid #9C9CFF;
838 background-color: #FFCF00;
841 #detail-contrib-description {
847 #detail-contrib-suggested {
852 #detail-contrib-btn {
853 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
856 #detail-contrib-btn .button-icon {
857 -moz-margin-end: 3px;
864 .detail-row[first-row="true"],
865 .detail-row-complex[first-row="true"] {
870 .detail-row-complex {
871 border-top: 1px solid #9C9CFF;
872 -moz-box-align: center;
876 -moz-margin-start: 0;
883 #detail-view[active="false"]:not([pending]):not([notification]) {
884 /* background-color: foo; */
893 .creator > .text-link {
902 -moz-margin-start: 0;
907 .meta-rating > .star {
908 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
912 .meta-rating > .star[on="true"] {
913 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
917 /*** download progress ***/
920 background-color: #000000;
921 border-radius: 10000px;
922 border: 1px solid #FF9F00;
928 .download-progress[mode="undetermined"] .status-container {
932 .download-progress .start-cap,
933 .download-progress[complete] .end-cap,
934 .download-progress[mode="undetermined"] .end-cap,
935 .download-progress .progress .progress-bar {
936 background-color: #008484;
939 .download-progress .progress .progress-bar {
940 border-left-width: 0;
941 border-right-width: 0;
945 .download-progress .progress {
946 background-color: transparent;
952 .download-progress .start-cap, .download-progress .end-cap {
956 .download-progress .start-cap:-moz-locale-dir(ltr),
957 .download-progress .end-cap:-moz-locale-dir(rtl) {
958 border-radius: 3px 0 0 3px;
961 .download-progress .end-cap:-moz-locale-dir(ltr),
962 .download-progress .start-cap:-moz-locale-dir(rtl) {
963 border-radius: 0 3px 3px 0;
966 .download-progress .cancel {
967 -moz-appearance: none;
968 background-color: #8050B0;
969 border: 1px solid #9C9CFF;
976 .download-progress .cancel .button-box {
981 .download-progress .cancel .button-text {
985 .download-progress .cancel .button-icon {
986 -moz-margin-start: 0;
989 .download-progress .cancel {
990 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
993 .download-progress .status-container {
994 -moz-box-align: center;
997 .download-progress .status {
998 /* text-shadow: #FFF 0 0 2px; */
1001 /*** install status ***/
1004 -moz-box-align: center;
1008 /*** check for updates ***/
1010 #updates-container {
1011 -moz-box-align: center;
1014 #updates-container .button-link {
1019 #updates-downloaded {
1030 .addon-control[disabled="true"] {
1035 background: transparent;
1037 text-decoration: underline;