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: #FFFFCC;
88 #detail-view .global-warning {
90 border-bottom: 1px solid #9999CC;
93 @media all and (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;
110 /* Plugins aren't yet disabled by safemode (bug 342333),
111 so don't show that warning when viewing plugins. */
112 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
113 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
114 background-color: inherit;
115 background-image: none;
119 /*** notification icons ***/
122 list-style-image: url("chrome://global/skin/icons/warning-16.png");
129 list-style-image: url("chrome://global/skin/icons/error-16.png");
137 list-style-image: url("chrome://global/skin/icons/information-16.png");
143 .addon-view[pending="disable"] .pending-icon,
144 .addon-view[pending="uninstall"] .pending-icon {
145 list-style-image: url("chrome://global/skin/icons/warning-16.png");
152 /*** view alert boxes ***/
155 -moz-box-align: center;
158 .alert-spacer-before {
162 .alert-spacer-after {
167 -moz-box-align: center;
170 border: 1px inset #CCD0DD;
172 background-color: #CCD0DD;
173 background-clip: padding-box;
176 .alert .alert-title {
187 list-style-image: url("chrome://global/skin/icons/loading.gif");
193 /*** category selector ***/
196 -moz-appearance: none;
198 -moz-margin-end: -1px;
199 background-color: transparent;
205 background-color: transparent;
211 border-color: transparent;
212 -moz-box-align: center;
216 .category[disabled] {
221 -moz-transition-property: height, opacity;
222 -moz-transition-duration: 1s, 0.8s;
225 .category:not([disabled]) {
227 -moz-transition-property: height, opacity;
228 -moz-transition-duration: 1s, 0.8s;
231 .category[selected] {
232 background-color: #FFFFFF;
234 border-color: #666699;
241 /* Maximize the size of the viewport when the window is small */
242 @media all and (max-width: 800px) {
249 background-color: #666699;
252 border: 1px outset #666699;
258 .category-badge[value="0"] {
265 -moz-margin-start: 6px;
268 #category-search > .category-icon {
269 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
271 #category-discover > .category-icon {
272 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
274 #category-locale > .category-icon {
275 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
277 #category-searchengine > .category-icon {
278 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
280 #category-extension > .category-icon {
281 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
283 #category-theme > .category-icon {
284 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
286 #category-plugin > .category-icon {
287 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
289 #category-availableUpdates > .category-icon {
290 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
292 #category-recentUpdates > .category-icon {
293 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
306 border: 1px inset #CCD0DD;
308 background-color: #CCD0DD;
312 #header-search .textbox-input:-moz-placeholder {
316 #header-search[focused] {
317 background-color: #FFFFFF;
321 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
322 -moz-margin-end: 16px;
326 background-color: #9999CC;
330 border-bottom: 1px solid #666699;
337 -moz-appearance: none;
341 -moz-appearance: none;
342 border: 1px solid transparent;
343 background-color: transparent;
347 min-width: 12px !important;
348 -moz-box-direction: reverse;
351 .sorter .button-box {
357 border: 1px outset #666699;
360 .sorter[checkState="1"],
361 .sorter[checkState="2"] {
362 background-color: #666699;
364 border: 1px inset #666699;
367 .sorter[checkState="1"] {
368 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
371 .sorter[checkState="2"] {
372 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
375 .sorter .button-icon {
376 -moz-margin-start: 4px;
380 /*** discover view ***/
382 .discover-spacer-before,
383 .discover-spacer-after {
387 #discover-error .alert {
393 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
394 -moz-margin-end: 15px;
400 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
404 .discover-description {
419 background-color: transparent;
423 border-bottom: 1px solid #9999CC;
425 background-origin: border-box;
431 -moz-margin-start: 10px;
438 -moz-box-align: center;
439 -moz-box-pack: center;
443 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
448 .addon[active="false"] .icon {
449 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
452 .addon-view[type="theme"] .icon {
453 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
456 .addon-view[type="locale"] .icon {
457 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
460 .addon-view[type="plugin"] .icon {
461 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
477 .creator .text-link {
478 /* color: #0066CC; */
481 .description-container {
482 -moz-margin-start: 6px;
483 -moz-box-align: center;
494 -moz-margin-start: 48px;
496 -moz-box-align: center;
500 .basicinfo-container {
501 -moz-box-align: start;
504 .addon[status="installing"] > .content-container {
505 -moz-box-align: stretch;
508 .advancedinfo-container,
509 .update-info-container {
510 -moz-box-align: center;
517 .install-status-container {
522 .name-outer-container {
523 -moz-box-pack: center;
526 .relnotes-toggle-container,
527 .icon-outer-container {
528 -moz-box-pack: start;
536 .addon-view .warning {
544 .addon-view .pending {
548 .addon-view[pending="disable"] .pending,
549 .addon-view[pending="uninstall"] .pending {
553 .addon .relnotes-container {
554 -moz-box-align: start;
555 -moz-margin-start: 6px;
559 -moz-transition-property: height, opacity;
560 -moz-transition-duration: 0.5s, 0.5s;
563 .addon[show-relnotes] .relnotes-container {
565 -moz-transition-property: height, opacity;
566 -moz-transition-duration: 0.5s, 0.5s;
569 .addon .relnotes-header {
574 .addon .relnotes-toggle {
576 background: transparent;
578 -moz-box-direction: reverse;
580 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
583 .addon .relnotes-toggle > .button-box > .button-icon {
584 -moz-padding-start: 4px;
587 .addon[show-relnotes] .relnotes-toggle {
588 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
591 .addon[active="false"] {
592 /* background-color: rgba(135, 135, 135, 0.1); */
595 .addon-view[active="false"],
596 .addon-view[active="false"] .name-container {
600 .addon-view[notification="warning"] {
601 background-color: #FFFFCC;
604 .addon-view[notification="error"] {
605 background-color: #FFD0DD;
608 .addon-view[notification="info"] {
609 background-color: #9999CC;
612 .addon-view[pending="enable"],
613 .addon-view[pending="upgrade"],
614 .addon-view[pending="install"] {
615 background-color: #CCFFDD;
618 .addon-view[pending="enable"] .pending,
619 .addon-view[pending="upgrade"] .pending,
620 .addon-view[pending="install"] .pending {
624 .addon-view[pending="disable"],
625 .addon-view[pending="uninstall"] {
626 background-color: #808080;
630 background-color: #336699;
634 .addon[selected] .name-container {
638 .addon[active="false"][selected] {
642 .addon[active="false"][selected] .name-container {
647 /*** item - uninstalled ***/
649 .addon[status="uninstalled"] {
653 .addon[status="uninstalled"] > .container {
654 -moz-box-align: center;
656 background-color: #808080;
661 .addon[status="uninstalled"][selected] {
662 background-color: transparent;
666 /*** search view ***/
670 -moz-box-align: center;
671 background-color: #FFFFFF;
673 border-bottom: 1px solid #666699;
677 #search-filter-label {
682 .search-filter-radio {
683 -moz-appearance: none;
686 border-radius: 10000px;
689 .search-filter-radio[selected] {
690 background-color: #3366699;
694 .search-filter-radio .radio-check-box1 {
698 .search-filter-radio .radio-icon {
702 #search-allresults-link {
707 /*** detail view ***/
709 #detail-view .loading {
713 #detail-view[loading-extended] .loading {
715 -moz-transition-property: opacity;
716 -moz-transition-duration: 1s;
719 .detail-view-container {
720 padding: 0 2em 2em 2em;
724 #detail-notifications {
729 #detail-notifications .warning,
730 #detail-notifications .pending,
731 #detail-notifications .error {
732 -moz-margin-start: 0;
736 -moz-margin-end: 10px;
746 #detail-name-container {
751 -moz-margin-end: 2em;
756 #detail-desc-container {
760 #detail-desc, #detail-fulldesc {
761 -moz-margin-start: 6px;
762 white-space: pre-wrap;
763 /* This is necessary to fix layout issues with multi-line descriptions, see
765 outline: solid transparent;
773 #detail-contributions {
775 border: 1px solid #666699;
778 background-color: #FFFFCC;
781 #detail-contrib-description {
787 #detail-contrib-suggested {
792 #detail-contrib-btn {
793 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
796 #detail-contrib-btn .button-icon {
797 -moz-margin-end: 3px;
804 #detail-grid > columns > column:first-child {
808 .detail-row[first-row="true"],
809 .detail-row-complex[first-row="true"],
810 setting[first-row="true"] {
817 border-top: 1px solid #808080;
818 -moz-box-align: center;
826 #detail-view[active="false"]:not([pending]):not([notification]) {
827 /* background-color: foo; */
830 setting[first-row="true"] {
834 .preferences-description {
838 -moz-margin-start: 2em;
841 setting[type="string"] > .setting-input > textbox {
845 setting[type="radio"] > radiogroup {
846 -moz-box-orient: horizontal;
849 menulist { /* Fixes some styling inconsistencies */
850 margin: 1px 5px 2px 5px;
856 -moz-margin-start: 0;
860 .creator > .text-link {
873 .meta-rating > .star {
874 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
878 .meta-rating > .star[on="true"] {
879 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
883 /*** download progress ***/
886 background-color: #CCD0DD;
887 border: 1px solid #808080;
893 .download-progress[mode="undetermined"] .status-container {
897 .download-progress .start-cap,
898 .download-progress[complete] .end-cap,
899 .download-progress[mode="undetermined"] .end-cap,
900 .download-progress .progress .progress-bar {
901 background-color: #336699;
904 .download-progress .progress .progress-bar {
905 border-left-width: 0;
906 border-right-width: 0;
910 .download-progress .progress {
911 background-color: transparent;
917 .download-progress .start-cap, .download-progress .end-cap {
921 .download-progress .start-cap:-moz-locale-dir(ltr),
922 .download-progress .end-cap:-moz-locale-dir(rtl) {
923 border-radius: 3px 0 0 3px;
926 .download-progress .end-cap:-moz-locale-dir(ltr),
927 .download-progress .start-cap:-moz-locale-dir(rtl) {
928 border-radius: 0 3px 3px 0;
931 .download-progress .cancel {
932 -moz-appearance: none;
933 background-color: #CCD0DD;
934 border: 1px solid #666699;
940 .download-progress .cancel .button-box {
945 .download-progress .cancel .button-text {
949 .download-progress .cancel .button-icon {
950 -moz-margin-start: 0;
953 .download-progress .cancel {
954 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
957 .download-progress .status-container {
958 -moz-box-align: center;
961 .download-progress .status {
962 /* text-shadow: #FFF 0 0 2px; */
965 /*** install status ***/
968 -moz-box-align: center;
972 /*** check for updates ***/
975 -moz-box-align: center;
978 #updates-container .button-link {
983 #updates-downloaded {
994 .addon-control[disabled="true"] {
999 background: transparent;
1001 text-decoration: underline;
1008 /* Needed to override normal button style from inContent.css */
1009 button.button-link:not([disabled="true"]):active:hover {