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] {
245 border-color: #9C9CFF;
252 /* Maximize the size of the viewport when the window is small */
253 @media all and (max-width: 800px) {
260 background-color: #E7ADE7;
263 border-radius: 10000px;
269 .category-badge[value="0"] {
276 -moz-margin-start: 6px;
279 #category-search > .category-icon {
280 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
282 #category-discover > .category-icon {
283 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
285 #category-languages > .category-icon {
286 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
288 #category-searchengines > .category-icon {
289 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
291 #category-extensions > .category-icon {
292 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
294 #category-themes > .category-icon {
295 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
297 #category-plugins > .category-icon {
298 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
300 #category-availableUpdates > .category-icon {
301 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
303 #category-recentUpdates > .category-icon {
304 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
317 border: 1px solid #9C9CFF;
320 background-color: #000000;
324 #header-search .textbox-input:-moz-placeholder {
328 #header-search[focused="true"] {
329 border-color: #008484;
334 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
335 -moz-margin-end: 18px;
338 #header-utils-btn:hover,
339 #header-utils-btn:hover:active,
340 #header-utils-btn[open="true"] {
341 list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png");
344 #header-utils-btn > .button-box > .button-menu-dropmarker {
346 background: transparent;
349 #header-utils-btn:hover > .button-box > .button-menu-dropmarker {
350 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
354 background-color: #000000;
365 -moz-appearance: none;
366 border-right: 3px solid #000000;
370 -moz-appearance: none;
372 border-left: 3px solid #000000;
373 background-color: transparent;
377 -moz-padding-start: 6px;
378 -moz-padding-end: 3px;
380 min-width: 12px !important;
381 -moz-box-direction: reverse;
384 background-color: #FFCF00;
388 .sorter .button-box {
393 .sorter[checkState="1"],
394 .sorter[checkState="2"] {
395 background-color: #008484;
399 .sorter[checkState="1"] {
400 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
403 .sorter[checkState="2"] {
404 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
407 .sorter .button-icon {
408 -moz-margin-start: 4px;
417 background-color: transparent;
421 border-bottom: 1px solid #9C9CFF;
423 background-origin: border-box;
426 .addon[status="installing"] {
427 -moz-box-align: center;
433 -moz-margin-start: 10px;
439 margin: 22px 7px 7px 7px;
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");
465 .addon[status="installing"] .name {
476 .creator .text-link {
477 /* color: #0066CC; */
480 .description-container {
482 -moz-margin-start: 6px;
493 -moz-margin-start: 48px;
497 .addon-view .warning {
505 .addon-view .pending {
509 .addon-view[pending="disable"] .pending,
510 .addon-view[pending="uninstall"] .pending {
514 .addon .relnotes-container {
515 -moz-box-align: start;
516 -moz-margin-start: 6px;
520 -moz-transition-property: height, opacity;
521 -moz-transition-duration: 0.5s, 0.5s;
524 .addon[show-relnotes] .relnotes-container {
526 -moz-transition-property: height, opacity;
527 -moz-transition-duration: 0.5s, 0.5s;
530 .addon .relnotes-header {
535 .addon .relnotes-toggle {
537 background: transparent;
539 -moz-box-direction: reverse;
541 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
544 .addon .relnotes-toggle > .button-box > .button-icon {
545 -moz-padding-start: 4px;
548 .addon[show-relnotes] .relnotes-toggle {
549 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
552 .addon[active="false"] {
553 /* background-color: rgba(135, 135, 135, 0.1); */
556 .addon-view[active="false"],
557 .addon-view[active="false"] .name-container {
561 .addon-view[notification="warning"] {
562 background-color : #FFCF00;
566 .addon-view[notification="warning"] .warning {
570 .addon-view[notification="error"] {
571 background-color: #FF0000;
575 .addon-view[notification="error"] .error {
579 .addon-view[notification="info"] {
580 background-color: #9C9CFF;
584 .addon-view[pending="enable"],
585 .addon-view[pending="upgrade"],
586 .addon-view[pending="install"] {
587 background-color: #008484;
590 .addon-view[pending="disable"],
591 .addon-view[pending="uninstall"] {
596 /*** item - uninstalled ***/
598 .addon[status="uninstalled"] {
602 .addon[status="uninstalled"] > .container {
603 -moz-box-align: center;
605 background-color: #8050B0;
610 .addon[status="uninstalled"][selected] {
611 background-color: transparent;
615 background-color: #008484;
619 .addon[selected] .name-container {
620 /* text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7); */
623 .addon[active="false"][selected] .name-container {
628 /*** search view ***/
632 -moz-box-align: center;
633 background-color: #000000;
635 border-bottom: 1px solid #9C9CFF;
639 #search-filter-label {
644 .search-filter-radio {
647 border-radius: 10000px;
650 .search-filter-radio[selected] {
651 background-color: #008484;
655 .search-filter-radio .radio-check-box1 {
659 .search-filter-radio .radio-icon {
663 #search-allresults-link {
668 /*** detail view ***/
670 #detail-view .loading {
674 #detail-view:not([loading]) .alert-container {
675 visibility: collapse;
678 #detail-view[loading-extended] .loading {
680 -moz-transition-property: opacity;
681 -moz-transition-duration: 1s;
684 .detail-view-container {
685 padding: 0 2em 2em 2em;
689 #detail-notifications {
694 #detail-notifications .warning,
695 #detail-notifications .pending,
696 #detail-notifications .error {
697 -moz-margin-start: 0;
701 -moz-margin-end: 10px;
711 #detail-name-container {
716 -moz-margin-end: 2em;
719 #detail-desc-container {
724 -moz-margin-start: 6px;
725 white-space: pre-wrap;
726 /* This is necessary to fix layout issues with multi-line descriptions, see
728 outline: solid transparent;
732 #detail-contributions {
734 border: 1px solid #9C9CFF;
737 background-color: #FFCF00;
740 #detail-contrib-description {
746 #detail-contrib-suggested {
751 #detail-contrib-btn {
752 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
755 #detail-contrib-btn .button-icon {
756 -moz-margin-end: 3px;
763 .detail-row[first-row="true"],
764 .detail-row-complex[first-row="true"] {
769 .detail-row-complex {
770 border-top: 1px solid #9C9CFF;
771 -moz-box-align: center;
775 -moz-margin-start: 0;
782 #detail-view[active="false"]:not([pending]):not([notification]) {
783 /* background-color: foo; */
789 -moz-margin-start: 0;
793 .creator > .text-link {
802 -moz-margin-start: 0;
807 .meta-rating > .star {
808 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
812 .meta-rating > .star[on="true"] {
813 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
817 /*** download progress ***/
820 background-color: #000000;
821 border-radius: 10000px;
822 border: 1px solid #FF9F00;
828 .download-progress[mode="undetermined"] .status-container {
832 .download-progress .start-cap,
833 .download-progress[complete] .end-cap,
834 .download-progress[mode="undetermined"] .end-cap,
835 .download-progress .progress .progress-bar {
836 background-color: #008484;
839 .download-progress .progress .progress-bar {
840 border-left-width: 0;
841 border-right-width: 0;
845 .download-progress .progress {
846 background-color: transparent;
852 .download-progress .start-cap, .download-progress .end-cap {
856 .download-progress .start-cap:-moz-locale-dir(ltr),
857 .download-progress .end-cap:-moz-locale-dir(rtl) {
858 border-radius: 3px 0 0 3px;
861 .download-progress .end-cap:-moz-locale-dir(ltr),
862 .download-progress .start-cap:-moz-locale-dir(rtl) {
863 border-radius: 0 3px 3px 0;
866 .download-progress .pause,
867 .download-progress .cancel {
868 -moz-appearance: none;
869 background-color: #8050B0;
870 border: 1px solid #9C9CFF;
877 .download-progress .pause .button-box,
878 .download-progress .cancel .button-box {
883 .download-progress .pause .button-text,
884 .download-progress .cancel .button-text {
888 .download-progress .pause .button-icon,
889 .download-progress .cancel .button-icon {
890 -moz-margin-start: 0;
893 .download-progress .pause {
894 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
897 .download-progress .cancel {
898 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
901 .download-progress .status-container {
902 -moz-box-align: center;
905 .download-progress .status {
906 /* text-shadow: #FFF 0 0 2px; */
909 /*** install status ***/
912 -moz-box-align: center;
916 /*** check for updates ***/
919 -moz-box-align: center;
922 #updates-container .button-link {
927 #updates-downloaded {
938 .addon-control[disabled="true"] {
943 background: transparent;
945 text-decoration: underline;