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: #FFCF00;
88 #detail-view .global-warning {
90 border-bottom: 3px solid #000000;
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;
108 border-top-right-radius: 5px;
109 border-top-left-radius: 5px;
112 /* Plugins aren't yet disabled by safemode (bug 342333),
113 so don't show that warning when viewing plugins. */
114 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
115 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
116 background-color: inherit;
117 background-image: none;
121 /*** notification icons ***/
124 list-style-image: url("chrome://global/skin/icons/warning-16.png");
131 list-style-image: url("chrome://global/skin/icons/error-16.png");
139 list-style-image: url("chrome://global/skin/icons/information-16.png");
145 .addon-view[pending="disable"] .pending-icon,
146 .addon-view[pending="uninstall"] .pending-icon {
147 list-style-image: url("chrome://global/skin/icons/warning-16.png");
154 /*** view alert boxes ***/
157 -moz-box-align: center;
160 .alert-spacer-before {
164 .alert-spacer-after {
169 -moz-box-align: center;
172 border: 1px solid #9C9CFF;
174 background-color: #000000;
175 background-clip: padding-box;
178 .alert .alert-title {
189 list-style-image: url("chrome://global/skin/icons/loading.gif");
195 /*** category selector ***/
198 -moz-appearance: none;
200 -moz-margin-end: -1px;
201 background-color: transparent;
207 background-color: transparent;
213 border-color: transparent;
214 -moz-box-align: center;
218 .category:-moz-locale-dir(ltr) {
219 border-top-left-radius: 5px;
220 border-bottom-left-radius: 5px;
223 .category:-moz-locale-dir(rtl) {
224 border-top-right-radius: 5px;
225 border-bottom-right-radius: 5px;
228 .category[disabled] {
233 -moz-transition-property: height, opacity;
234 -moz-transition-duration: 1s, 0.8s;
237 .category:not([disabled]) {
239 -moz-transition-property: height, opacity;
240 -moz-transition-duration: 1s, 0.8s;
243 .category[selected] {
244 background-color: #008484;
246 border-color: #9C9CFF;
253 /* Maximize the size of the viewport when the window is small */
254 @media (max-width: 800px) {
261 background-color: #E7ADE7;
264 border-radius: 10000px;
270 .category-badge[value="0"] {
277 -moz-margin-start: 6px;
280 #category-search > .category-icon {
281 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
283 #category-discover > .category-icon {
284 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
286 #category-locale > .category-icon {
287 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
289 #category-searchengine > .category-icon {
290 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
292 #category-extension > .category-icon {
293 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
295 #category-theme > .category-icon {
296 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
298 #category-plugin > .category-icon {
299 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
301 #category-dictionary > .category-icon {
302 list-style-image: url("chrome://mozapps/skin/extensions/category-dictionaries.png");
304 #category-availableUpdates > .category-icon {
305 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
307 #category-recentUpdates > .category-icon {
308 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
321 border: 1px solid #9C9CFF;
324 background-color: #000000;
328 #header-search .textbox-input:-moz-placeholder {
332 #header-search[focused] {
333 border-color: #008484;
337 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
338 -moz-margin-end: 16px;
341 #header-utils-btn:hover,
342 #header-utils-btn:hover:active,
343 #header-utils-btn[open="true"] {
344 list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png");
347 #header-utils-btn > .button-box > .button-menu-dropmarker {
349 background: transparent;
352 #header-utils-btn:hover > .button-box > .button-menu-dropmarker {
353 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
357 background-color: #9C9CFF;
369 -moz-appearance: none;
370 border-right: 3px solid #000000;
374 -moz-appearance: none;
376 border-left: 3px solid #000000;
377 background-color: transparent;
381 -moz-padding-start: 6px;
382 -moz-padding-end: 3px;
384 min-width: 12px !important;
385 -moz-box-direction: reverse;
388 background-color: #FFCF00;
392 .sorter .button-box {
397 .sorter[checkState="1"],
398 .sorter[checkState="2"] {
399 background-color: #008484;
403 .sorter[checkState="1"] {
404 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
407 .sorter[checkState="2"] {
408 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
411 .sorter .button-icon {
412 -moz-margin-start: 4px;
416 /*** discover view ***/
418 .discover-spacer-before,
419 .discover-spacer-after {
423 #discover-error .alert {
429 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
430 -moz-margin-end: 15px;
436 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
440 .discover-description {
455 background-color: transparent;
459 border-bottom: 1px solid #9C9CFF;
461 background-origin: border-box;
467 -moz-margin-start: 10px;
474 -moz-box-align: center;
475 -moz-box-pack: center;
479 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
484 .addon[active="false"] .icon {
485 filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
488 .addon-view[type="theme"] .icon {
489 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
492 .addon-view[type="locale"] .icon {
493 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
496 .addon-view[type="plugin"] .icon {
497 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
500 .addon-view[type="dictionary"] .icon {
501 list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png");
517 .creator .text-link {
518 /* color: #0066CC; */
521 .description-container {
522 -moz-margin-start: 6px;
523 -moz-box-align: center;
534 -moz-margin-start: 48px;
536 -moz-box-align: center;
540 .basicinfo-container {
541 -moz-box-align: start;
544 .addon[status="installing"] > .content-container {
545 -moz-box-align: stretch;
548 .advancedinfo-container,
549 .update-info-container {
550 -moz-box-align: center;
557 .install-status-container {
562 .name-outer-container {
563 -moz-box-pack: center;
566 .relnotes-toggle-container,
567 .icon-outer-container {
568 -moz-box-pack: start;
576 .addon-view .warning {
584 .addon-view .pending {
588 .addon-view[pending="disable"] .pending,
589 .addon-view[pending="uninstall"] .pending {
593 .addon .relnotes-container {
594 -moz-box-align: start;
595 -moz-margin-start: 6px;
599 -moz-transition-property: height, opacity;
600 -moz-transition-duration: 0.5s, 0.5s;
603 .addon[show-relnotes] .relnotes-container {
605 -moz-transition-property: height, opacity;
606 -moz-transition-duration: 0.5s, 0.5s;
609 .addon .relnotes-header {
614 .addon .relnotes-toggle {
616 background: transparent;
618 -moz-box-direction: reverse;
620 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
623 .addon .relnotes-toggle > .button-box > .button-icon {
624 -moz-padding-start: 4px;
627 .addon[show-relnotes] .relnotes-toggle {
628 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
631 .addon[active="false"] {
632 background-color: #8050B0;
636 .addon-view[active="false"] .name-container {
641 .addon-view[notification="warning"] {
642 background-color : #FFCF00;
646 .addon-view[notification="warning"] .warning {
650 .addon-view[notification="warning"] .name-container {
654 .addon-view[notification="error"] {
655 background-color: #FF0000;
659 .addon-view[notification="error"] .error {
663 .addon-view[notification="info"] {
664 background-color: #9C9CFF;
668 .addon-view[pending="enable"],
669 .addon-view[pending="upgrade"],
670 .addon-view[pending="install"] {
671 background-color: #008484;
674 .addon-view[pending="enable"] .pending,
675 .addon-view[pending="upgrade"] .pending,
676 .addon-view[pending="install"] .pending {
680 .addon-view[pending="disable"],
681 .addon-view[pending="uninstall"] {
686 /*** item - uninstalled ***/
688 .addon[status="uninstalled"] {
692 .addon[status="uninstalled"] > .container {
693 -moz-box-align: center;
695 background-color: #8050B0;
700 .addon[status="uninstalled"][selected] {
701 background-color: transparent;
705 background-color: #008484;
709 .addon[selected] .name-container {
713 .addon[active="false"][selected] {
717 .addon[active="false"][selected] .name-container {
722 /*** search view ***/
726 -moz-box-align: center;
727 background-color: #000000;
729 border-bottom: 1px solid #9C9CFF;
733 #search-filter-label {
738 .search-filter-radio {
741 border-radius: 10000px;
744 .search-filter-radio[selected] {
745 background-color: #008484;
749 .search-filter-radio .radio-check-box1 {
753 .search-filter-radio .radio-icon {
757 #search-allresults-link {
762 /*** detail view ***/
764 #detail-view .loading {
768 #detail-view[loading-extended] .loading {
770 -moz-transition-property: opacity;
771 -moz-transition-duration: 1s;
774 .detail-view-container {
775 padding: 0 2em 2em 2em;
779 #detail-notifications {
784 #detail-notifications .warning,
785 #detail-notifications .pending,
786 #detail-notifications .error {
787 -moz-margin-start: 0;
790 #detail-icon-container {
792 -moz-margin-end: 10px;
805 #detail-name-container {
810 -moz-margin-end: 2em;
815 #detail-screenshot[loading] {
816 background-image: url("chrome://communicator/skin/brand/throbber-anim.gif");
817 background-position: 50% 50%;
818 background-repeat: no-repeat;
821 #detail-screenshot[loading="error"] {
822 background-image: url("chrome://global/skin/icons/alert-error.gif");
825 #detail-desc-container {
829 #detail-desc, #detail-fulldesc {
830 -moz-margin-start: 6px;
831 white-space: pre-wrap;
832 /* This is necessary to fix layout issues with multi-line descriptions, see
834 outline: solid transparent;
842 #detail-contributions {
844 border: 1px solid #9C9CFF;
847 background-color: #FFCF00;
850 #detail-contrib-description {
856 #detail-contrib-suggested {
861 #detail-contrib-btn {
862 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
865 #detail-contrib-btn .button-icon {
866 -moz-margin-end: 3px;
874 #detail-grid > columns > column:first-child {
878 .detail-row[first-row="true"],
879 .detail-row-complex[first-row="true"],
880 setting[first-row="true"] {
887 border-top: 1px solid #9C9CFF;
888 -moz-box-align: center;
896 #detail-view[active="false"]:not([pending]):not([notification]) {
897 /* background-color: foo; */
900 setting[first-row="true"] {
904 .preferences-description {
908 -moz-margin-start: 2em;
911 setting[type="string"] > .setting-input > textbox {
915 setting[type="radio"] > radiogroup {
916 -moz-box-orient: horizontal;
919 menulist { /* Fixes some styling inconsistencies */
920 margin: 1px 5px 2px 5px;
929 .creator > .text-link {
942 .meta-rating > .star {
943 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
947 .meta-rating > .star[on="true"] {
948 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
952 /*** download progress ***/
955 background-color: #000000;
956 border-radius: 10000px;
957 border: 1px solid #FF9F00;
963 .download-progress[mode="undetermined"] .status-container {
967 .download-progress .start-cap,
968 .download-progress[complete] .end-cap,
969 .download-progress[mode="undetermined"] .end-cap,
970 .download-progress .progress .progress-bar {
971 background-color: #008484;
974 .download-progress .progress .progress-bar {
975 border-left-width: 0;
976 border-right-width: 0;
980 .download-progress .progress {
981 background-color: transparent;
987 .download-progress .start-cap, .download-progress .end-cap {
991 .download-progress .start-cap:-moz-locale-dir(ltr),
992 .download-progress .end-cap:-moz-locale-dir(rtl) {
993 border-radius: 3px 0 0 3px;
996 .download-progress .end-cap:-moz-locale-dir(ltr),
997 .download-progress .start-cap:-moz-locale-dir(rtl) {
998 border-radius: 0 3px 3px 0;
1001 .download-progress .cancel {
1002 -moz-appearance: none;
1003 background-color: #8050B0;
1004 border: 1px solid #9C9CFF;
1011 .download-progress .cancel .button-box {
1016 .download-progress .cancel .button-text {
1020 .download-progress .cancel .button-icon {
1021 -moz-margin-start: 0;
1024 .download-progress .cancel {
1025 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
1028 .download-progress .status-container {
1029 -moz-box-align: center;
1032 .download-progress .status {
1033 /* text-shadow: #FFF 0 0 2px; */
1036 /*** install status ***/
1039 -moz-box-align: center;
1043 /*** check for updates ***/
1045 #updates-container {
1046 -moz-box-align: center;
1049 #updates-container .button-link {
1054 #updates-downloaded {
1065 .addon-control[disabled="true"] {
1069 button.button-link {
1070 background: transparent;
1072 text-decoration: underline;
1079 /* Needed to override normal button style from inContent.css */
1080 button.button-link:not([disabled="true"]):active:hover {