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 ***** */
39 background-color: #000000;
44 #view-port-container {
45 /* Needed to allow the radius to clip the inner content, see bug 595656 */
47 border: 1px solid #9C9CFF;
52 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
57 -moz-border-start: none;
60 #back-btn:-moz-locale-dir(ltr),
61 #forward-btn:-moz-locale-dir(rtl) {
62 -moz-image-region: rect(42px 25px 63px 0px);
65 #back-btn[disabled="true"]:-moz-locale-dir(ltr),
66 #forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
67 -moz-image-region: rect(42px 50px 63px 25px);
70 #back-btn:-moz-locale-dir(rtl),
71 #forward-btn:-moz-locale-dir(ltr) {
72 -moz-image-region: rect(63px 25px 84px 0px);
75 #back-btn[disabled="true"]:-moz-locale-dir(rtl),
76 #forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
77 -moz-image-region: rect(63px 50px 84px 25px);
81 /*** global warnings ***/
83 .global-warning-container {
88 -moz-box-align: center;
94 #addons-page[warning] .global-warning-container {
95 background-color: #FFCF00;
98 #detail-view .global-warning {
100 border-bottom: 3px solid #000000;
103 @media all and (max-width: 600px) {
104 .global-warning-text {
108 .global-warning .warning-icon {
109 /* background-color: #FFF;
110 box-shadow: 0px 0px 2px 5px #FFF;
111 border-radius: 10px; */
115 /* Plugins aren't yet disabled by safemode (bug 342333),
116 so don't show that warning when viewing plugins. */
117 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
118 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
119 background-color: inherit;
120 background-image: none;
124 /*** notification icons ***/
127 list-style-image: url("chrome://global/skin/icons/warning-16.png");
134 list-style-image: url("chrome://global/skin/icons/error-16.png");
142 list-style-image: url("chrome://global/skin/icons/information-16.png");
148 .addon-view[pending="disable"] .pending-icon,
149 .addon-view[pending="uninstall"] .pending-icon {
150 list-style-image: url("chrome://global/skin/icons/warning-16.png");
157 /*** view alert boxes ***/
160 -moz-box-align: center;
163 .alert-spacer-before {
167 .alert-spacer-after {
172 -moz-box-align: center;
175 border: 1px solid #9C9CFF;
177 background-color: #000000;
178 background-clip: padding-box;
181 .alert .alert-title {
187 .alert .addon-control {
192 list-style-image: url("chrome://global/skin/icons/loading.gif");
198 /*** category selector ***/
201 -moz-appearance: none;
203 -moz-margin-end: -1px;
204 background-color: transparent;
210 background-color: transparent;
216 border-color: transparent;
217 -moz-box-align: center;
221 .category:-moz-locale-dir(ltr) {
222 border-top-left-radius: 5px;
223 border-bottom-left-radius: 5px;
226 .category:-moz-locale-dir(rtl) {
227 border-top-right-radius: 5px;
228 border-bottom-right-radius: 5px;
231 .category[disabled] {
236 -moz-transition-property: height, opacity;
237 -moz-transition-duration: 1s, 0.8s;
240 .category:not([disabled]) {
242 -moz-transition-property: height, opacity;
243 -moz-transition-duration: 1s, 0.8s;
246 .category[selected] {
247 background-color: #008484;
249 border-color: #9C9CFF;
256 /* Maximize the size of the viewport when the window is small */
257 @media all and (max-width: 800px) {
264 background-color: #E7ADE7;
267 border-radius: 10000px;
273 .category-badge[value="0"] {
280 -moz-margin-start: 6px;
283 #category-search > .category-icon {
284 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
286 #category-discover > .category-icon {
287 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
289 #category-languages > .category-icon {
290 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
292 #category-searchengines > .category-icon {
293 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
295 #category-extensions > .category-icon {
296 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
298 #category-themes > .category-icon {
299 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
301 #category-plugins > .category-icon {
302 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.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="true"] {
333 border-color: #008484;
338 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
339 -moz-margin-end: 18px;
342 #header-utils-btn:hover,
343 #header-utils-btn:hover:active,
344 #header-utils-btn[open="true"] {
345 list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png");
348 #header-utils-btn > .button-box > .button-menu-dropmarker {
350 background: transparent;
353 #header-utils-btn:hover > .button-box > .button-menu-dropmarker {
354 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
358 background-color: #9C9CFF;
370 -moz-appearance: none;
371 border-right: 3px solid #000000;
375 -moz-appearance: none;
377 border-left: 3px solid #000000;
378 background-color: transparent;
382 -moz-padding-start: 6px;
383 -moz-padding-end: 3px;
385 min-width: 12px !important;
386 -moz-box-direction: reverse;
389 background-color: #FFCF00;
393 .sorter .button-box {
398 .sorter[checkState="1"],
399 .sorter[checkState="2"] {
400 background-color: #008484;
404 .sorter[checkState="1"] {
405 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
408 .sorter[checkState="2"] {
409 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
412 .sorter .button-icon {
413 -moz-margin-start: 4px;
417 /*** discover view ***/
419 .discover-spacer-before,
420 .discover-spacer-after {
424 #discover-error .alert {
430 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
431 -moz-margin-end: 15px;
437 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
441 .discover-description {
456 background-color: transparent;
460 border-bottom: 1px solid #9C9CFF;
462 background-origin: border-box;
468 -moz-margin-start: 10px;
475 -moz-box-align: center;
476 -moz-box-pack: center;
480 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
485 .addon[active="false"] .icon {
486 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
489 .addon-view[type="theme"] .icon {
490 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
493 .addon-view[type="locale"] .icon {
494 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
497 .addon-view[type="plugin"] .icon {
498 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
513 .creator .text-link {
514 /* color: #0066CC; */
517 .description-container {
519 -moz-margin-start: 6px;
520 -moz-box-align: center;
531 -moz-margin-start: 48px;
533 -moz-box-align: center;
537 .basicinfo-container {
538 -moz-box-align: start;
541 .addon[status="installing"] > .content-container {
542 -moz-box-align: stretch;
545 .update-info-container {
546 -moz-box-align: center;
549 .advancedinfo-container,
554 .install-status-container {
559 .name-outer-container {
560 -moz-box-pack: center;
563 .relnotes-toggle-container,
564 .icon-outer-container {
565 -moz-box-pack: start;
573 .addon-view .warning {
581 .addon-view .pending {
585 .addon-view[pending="disable"] .pending,
586 .addon-view[pending="uninstall"] .pending {
590 .addon .relnotes-container {
591 -moz-box-align: start;
592 -moz-margin-start: 6px;
596 -moz-transition-property: height, opacity;
597 -moz-transition-duration: 0.5s, 0.5s;
600 .addon[show-relnotes] .relnotes-container {
602 -moz-transition-property: height, opacity;
603 -moz-transition-duration: 0.5s, 0.5s;
606 .addon .relnotes-header {
611 .addon .relnotes-toggle {
613 background: transparent;
615 -moz-box-direction: reverse;
617 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
620 .addon .relnotes-toggle > .button-box > .button-icon {
621 -moz-padding-start: 4px;
624 .addon[show-relnotes] .relnotes-toggle {
625 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
628 .addon[active="false"] {
629 /* background-color: rgba(135, 135, 135, 0.1); */
632 .addon-view[active="false"],
633 .addon-view[active="false"] .name-container {
637 .addon-view[notification="warning"] {
638 background-color : #FFCF00;
642 .addon-view[notification="warning"] .warning {
646 .addon-view[notification="warning"] .name-container {
650 .addon-view[notification="error"] {
651 background-color: #FF0000;
655 .addon-view[notification="error"] .error {
659 .addon-view[notification="info"] {
660 background-color: #9C9CFF;
664 .addon-view[pending="enable"],
665 .addon-view[pending="upgrade"],
666 .addon-view[pending="install"] {
667 background-color: #008484;
670 .addon-view[pending="enable"] .pending,
671 .addon-view[pending="upgrade"] .pending,
672 .addon-view[pending="install"] .pending {
676 .addon-view[pending="disable"],
677 .addon-view[pending="uninstall"] {
682 /*** item - uninstalled ***/
684 .addon[status="uninstalled"] {
688 .addon[status="uninstalled"] > .container {
689 -moz-box-align: center;
691 background-color: #8050B0;
696 .addon[status="uninstalled"][selected] {
697 background-color: transparent;
701 background-color: #008484;
705 .addon[selected] .name-container {
709 .addon[active="false"][selected] {
713 .addon[active="false"][selected] .name-container {
718 /*** search view ***/
722 -moz-box-align: center;
723 background-color: #000000;
725 border-bottom: 1px solid #9C9CFF;
729 #search-filter-label {
734 .search-filter-radio {
737 border-radius: 10000px;
740 .search-filter-radio[selected] {
741 background-color: #008484;
745 .search-filter-radio .radio-check-box1 {
749 .search-filter-radio .radio-icon {
753 #search-allresults-link {
758 /*** detail view ***/
760 #detail-view .loading {
764 #detail-view[loading-extended] .loading {
766 -moz-transition-property: opacity;
767 -moz-transition-duration: 1s;
770 .detail-view-container {
771 padding: 0 2em 2em 2em;
775 #detail-notifications {
780 #detail-notifications .warning,
781 #detail-notifications .pending,
782 #detail-notifications .error {
783 -moz-margin-start: 0;
787 -moz-margin-end: 10px;
797 #detail-name-container {
802 -moz-margin-end: 2em;
807 #detail-desc-container {
811 #detail-desc, #detail-fulldesc {
812 -moz-margin-start: 6px;
813 white-space: pre-wrap;
814 /* This is necessary to fix layout issues with multi-line descriptions, see
816 outline: solid transparent;
824 #detail-contributions {
826 border: 1px solid #9C9CFF;
829 background-color: #FFCF00;
832 #detail-contrib-description {
838 #detail-contrib-suggested {
843 #detail-contrib-btn {
844 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
847 #detail-contrib-btn .button-icon {
848 -moz-margin-end: 3px;
855 .detail-row[first-row="true"],
856 .detail-row-complex[first-row="true"] {
861 .detail-row-complex {
862 border-top: 1px solid #9C9CFF;
863 -moz-box-align: center;
867 -moz-margin-start: 0;
874 #detail-view[active="false"]:not([pending]):not([notification]) {
875 /* background-color: foo; */
884 .creator > .text-link {
893 -moz-margin-start: 0;
898 .meta-rating > .star {
899 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
903 .meta-rating > .star[on="true"] {
904 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
908 /*** download progress ***/
911 background-color: #000000;
912 border-radius: 10000px;
913 border: 1px solid #FF9F00;
919 .download-progress[mode="undetermined"] .status-container {
923 .download-progress .start-cap,
924 .download-progress[complete] .end-cap,
925 .download-progress[mode="undetermined"] .end-cap,
926 .download-progress .progress .progress-bar {
927 background-color: #008484;
930 .download-progress .progress .progress-bar {
931 border-left-width: 0;
932 border-right-width: 0;
936 .download-progress .progress {
937 background-color: transparent;
943 .download-progress .start-cap, .download-progress .end-cap {
947 .download-progress .start-cap:-moz-locale-dir(ltr),
948 .download-progress .end-cap:-moz-locale-dir(rtl) {
949 border-radius: 3px 0 0 3px;
952 .download-progress .end-cap:-moz-locale-dir(ltr),
953 .download-progress .start-cap:-moz-locale-dir(rtl) {
954 border-radius: 0 3px 3px 0;
957 .download-progress .cancel {
958 -moz-appearance: none;
959 background-color: #8050B0;
960 border: 1px solid #9C9CFF;
967 .download-progress .cancel .button-box {
972 .download-progress .cancel .button-text {
976 .download-progress .cancel .button-icon {
977 -moz-margin-start: 0;
980 .download-progress .cancel {
981 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
984 .download-progress .status-container {
985 -moz-box-align: center;
988 .download-progress .status {
989 /* text-shadow: #FFF 0 0 2px; */
992 /*** install status ***/
995 -moz-box-align: center;
999 /*** check for updates ***/
1001 #updates-container {
1002 -moz-box-align: center;
1005 #updates-container .button-link {
1010 #updates-downloaded {
1021 .addon-control[disabled="true"] {
1026 background: transparent;
1028 text-decoration: underline;