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);
80 /*** global warnings ***/
82 .global-warning-container {
87 -moz-box-align: center;
93 #addons-page[warning] .global-warning-container {
94 background-color: #FFCF00;
97 #detail-view .global-warning {
99 border-bottom: 3px solid #000000;
102 @media all and (max-width: 600px) {
103 .global-warning-text {
107 .global-warning .warning-icon {
108 /* background-color: #FFF;
109 box-shadow: 0px 0px 2px 5px #FFF;
110 border-radius: 10px; */
114 /* Plugins aren't yet disabled by safemode (bug 342333),
115 so don't show that warning when viewing plugins. */
116 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
117 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
118 background-color: inherit;
119 background-image: none;
123 /*** notification icons ***/
126 list-style-image: url("chrome://global/skin/icons/warning-16.png");
133 list-style-image: url("chrome://global/skin/icons/error-16.png");
141 list-style-image: url("chrome://global/skin/icons/information-16.png");
147 .addon-view[pending="disable"] .pending-icon,
148 .addon-view[pending="uninstall"] .pending-icon {
149 list-style-image: url("chrome://global/skin/icons/warning-16.png");
156 /*** view alert boxes ***/
159 -moz-box-align: center;
162 .alert-spacer-before {
166 .alert-spacer-after {
171 -moz-box-align: center;
174 border: 1px solid #9C9CFF;
176 background-color: #000000;
179 .alert .alert-title {
185 .alert .addon-control {
190 list-style-image: url("chrome://global/skin/icons/loading.gif");
196 /*** category selector ***/
199 -moz-appearance: none;
201 -moz-margin-end: -1px;
202 background-color: transparent;
208 background-color: transparent;
214 border-color: transparent;
215 -moz-box-align: center;
219 .category:-moz-locale-dir(ltr) {
220 border-top-left-radius: 5px;
221 border-bottom-left-radius: 5px;
224 .category:-moz-locale-dir(rtl) {
225 border-top-right-radius: 5px;
226 border-bottom-right-radius: 5px;
229 .category[disabled] {
232 -moz-transition-property: height, opacity;
233 -moz-transition-duration: 1s, 0.8s;
236 .category:not([disabled]) {
238 -moz-transition-property: height, opacity;
239 -moz-transition-duration: 1s, 0.8s;
242 .category[selected] {
243 background-color: #008484;
246 border-color: #9C9CFF;
253 /* Maximize the size of the viewport when the window is small */
254 @media all and (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-languages > .category-icon {
287 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
289 #category-searchengines > .category-icon {
290 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
292 #category-extensions > .category-icon {
293 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
295 #category-themes > .category-icon {
296 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
298 #category-plugins > .category-icon {
299 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
301 #category-availableUpdates > .category-icon {
302 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
304 #category-recentUpdates > .category-icon {
305 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
318 border: 1px solid #9C9CFF;
321 background-color: #000000;
325 #header-search .textbox-input:-moz-placeholder {
329 #header-search[focused="true"] {
330 border-color: #008484;
335 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
336 -moz-margin-end: 18px;
339 #header-utils-btn:hover,
340 #header-utils-btn:hover:active,
341 #header-utils-btn[open="true"] {
342 list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png");
345 #header-utils-btn > .button-box > .button-menu-dropmarker {
347 background: transparent;
350 #header-utils-btn:hover > .button-box > .button-menu-dropmarker {
351 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
355 background-color: #9C9CFF;
367 -moz-appearance: none;
368 border-right: 3px solid #000000;
372 -moz-appearance: none;
374 border-left: 3px solid #000000;
375 background-color: transparent;
379 -moz-padding-start: 6px;
380 -moz-padding-end: 3px;
382 min-width: 12px !important;
383 -moz-box-direction: reverse;
386 background-color: #FFCF00;
390 .sorter .button-box {
395 .sorter[checkState="1"],
396 .sorter[checkState="2"] {
397 background-color: #008484;
401 .sorter[checkState="1"] {
402 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
405 .sorter[checkState="2"] {
406 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
409 .sorter .button-icon {
410 -moz-margin-start: 4px;
419 background-color: transparent;
423 border-bottom: 1px solid #9C9CFF;
425 background-origin: border-box;
428 .addon[status="installing"] {
429 -moz-box-align: center;
435 -moz-margin-start: 10px;
441 margin: 22px 7px 7px 7px;
445 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
450 .addon[active="false"] .icon {
451 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
454 .addon-view[type="theme"] .icon {
455 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
458 .addon-view[type="locale"] .icon {
459 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
462 .addon-view[type="plugin"] .icon {
463 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
467 .addon[status="installing"] .name {
478 .creator .text-link {
479 /* color: #0066CC; */
482 .description-container {
484 -moz-margin-start: 6px;
495 -moz-margin-start: 48px;
499 .addon-view .warning {
507 .addon-view .pending {
511 .addon-view[pending="disable"] .pending,
512 .addon-view[pending="uninstall"] .pending {
516 .addon .relnotes-container {
517 -moz-box-align: start;
518 -moz-margin-start: 6px;
522 -moz-transition-property: height, opacity;
523 -moz-transition-duration: 0.5s, 0.5s;
526 .addon[show-relnotes] .relnotes-container {
528 -moz-transition-property: height, opacity;
529 -moz-transition-duration: 0.5s, 0.5s;
532 .addon .relnotes-header {
537 .addon .relnotes-toggle {
539 background: transparent;
541 -moz-box-direction: reverse;
543 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
546 .addon .relnotes-toggle > .button-box > .button-icon {
547 -moz-padding-start: 4px;
550 .addon[show-relnotes] .relnotes-toggle {
551 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
554 .addon[active="false"] {
555 /* background-color: rgba(135, 135, 135, 0.1); */
558 .addon-view[active="false"],
559 .addon-view[active="false"] .name-container {
563 .addon-view[notification="warning"] {
564 background-color : #FFCF00;
568 .addon-view[notification="warning"] .warning {
572 .addon-view[notification="warning"] .name-container {
576 .addon-view[notification="error"] {
577 background-color: #FF0000;
581 .addon-view[notification="error"] .error {
585 .addon-view[notification="info"] {
586 background-color: #9C9CFF;
590 .addon-view[pending="enable"],
591 .addon-view[pending="upgrade"],
592 .addon-view[pending="install"] {
593 background-color: #008484;
596 .addon-view[pending="disable"],
597 .addon-view[pending="uninstall"] {
602 /*** item - uninstalled ***/
604 .addon[status="uninstalled"] {
608 .addon[status="uninstalled"] > .container {
609 -moz-box-align: center;
611 background-color: #8050B0;
616 .addon[status="uninstalled"][selected] {
617 background-color: transparent;
621 background-color: #008484;
625 .addon[selected] .name-container {
629 .addon[active="false"][selected] {
633 .addon[active="false"][selected] .name-container {
638 /*** search view ***/
642 -moz-box-align: center;
643 background-color: #000000;
645 border-bottom: 1px solid #9C9CFF;
649 #search-filter-label {
654 .search-filter-radio {
657 border-radius: 10000px;
660 .search-filter-radio[selected] {
661 background-color: #008484;
665 .search-filter-radio .radio-check-box1 {
669 .search-filter-radio .radio-icon {
673 #search-allresults-link {
678 /*** detail view ***/
680 #detail-view .loading {
684 #detail-view:not([loading]) .alert-container {
685 visibility: collapse;
688 #detail-view[loading-extended] .loading {
690 -moz-transition-property: opacity;
691 -moz-transition-duration: 1s;
694 .detail-view-container {
695 padding: 0 2em 2em 2em;
699 #detail-notifications {
704 #detail-notifications .warning,
705 #detail-notifications .pending,
706 #detail-notifications .error {
707 -moz-margin-start: 0;
711 -moz-margin-end: 10px;
721 #detail-name-container {
726 -moz-margin-end: 2em;
731 #detail-desc-container {
736 -moz-margin-start: 6px;
737 white-space: pre-wrap;
738 /* This is necessary to fix layout issues with multi-line descriptions, see
740 outline: solid transparent;
744 #detail-contributions {
746 border: 1px solid #9C9CFF;
749 background-color: #FFCF00;
752 #detail-contrib-description {
758 #detail-contrib-suggested {
763 #detail-contrib-btn {
764 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
767 #detail-contrib-btn .button-icon {
768 -moz-margin-end: 3px;
775 .detail-row[first-row="true"],
776 .detail-row-complex[first-row="true"] {
781 .detail-row-complex {
782 border-top: 1px solid #9C9CFF;
783 -moz-box-align: center;
787 -moz-margin-start: 0;
794 #detail-view[active="false"]:not([pending]):not([notification]) {
795 /* background-color: foo; */
804 .creator > .text-link {
813 -moz-margin-start: 0;
818 .meta-rating > .star {
819 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
823 .meta-rating > .star[on="true"] {
824 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
828 /*** download progress ***/
831 background-color: #000000;
832 border-radius: 10000px;
833 border: 1px solid #FF9F00;
839 .download-progress[mode="undetermined"] .status-container {
843 .download-progress .start-cap,
844 .download-progress[complete] .end-cap,
845 .download-progress[mode="undetermined"] .end-cap,
846 .download-progress .progress .progress-bar {
847 background-color: #008484;
850 .download-progress .progress .progress-bar {
851 border-left-width: 0;
852 border-right-width: 0;
856 .download-progress .progress {
857 background-color: transparent;
863 .download-progress .start-cap, .download-progress .end-cap {
867 .download-progress .start-cap:-moz-locale-dir(ltr),
868 .download-progress .end-cap:-moz-locale-dir(rtl) {
869 border-radius: 3px 0 0 3px;
872 .download-progress .end-cap:-moz-locale-dir(ltr),
873 .download-progress .start-cap:-moz-locale-dir(rtl) {
874 border-radius: 0 3px 3px 0;
877 .download-progress .pause,
878 .download-progress .cancel {
879 -moz-appearance: none;
880 background-color: #8050B0;
881 border: 1px solid #9C9CFF;
888 .download-progress .pause .button-box,
889 .download-progress .cancel .button-box {
894 .download-progress .pause .button-text,
895 .download-progress .cancel .button-text {
899 .download-progress .pause .button-icon,
900 .download-progress .cancel .button-icon {
901 -moz-margin-start: 0;
904 .download-progress .pause {
905 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
908 .download-progress .cancel {
909 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
912 .download-progress .status-container {
913 -moz-box-align: center;
916 .download-progress .status {
917 /* text-shadow: #FFF 0 0 2px; */
920 /*** install status ***/
923 -moz-box-align: center;
927 /*** check for updates ***/
930 -moz-box-align: center;
933 #updates-container .button-link {
938 #updates-downloaded {
949 .addon-control[disabled="true"] {
954 background: transparent;
956 text-decoration: underline;