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: #CCD0DD;
44 #view-port-container {
45 /* Needed to allow the radius to clip the inner content, see bug 595656 */
47 background-color: #FFFFFF;
48 border: 1px solid #666699;
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: #FFFFCC;
97 #detail-view .global-warning {
99 border-bottom: 1px solid #9999CC;
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 /*** notification icons ***/
117 list-style-image: url("chrome://global/skin/icons/warning-16.png");
124 list-style-image: url("chrome://global/skin/icons/error-16.png");
132 list-style-image: url("chrome://global/skin/icons/information-16.png");
138 .addon-view[pending="disable"] .pending-icon,
139 .addon-view[pending="uninstall"] .pending-icon {
140 list-style-image: url("chrome://global/skin/icons/warning-16.png");
147 /*** view alert boxes ***/
150 -moz-box-align: center;
153 .alert-spacer-before {
157 .alert-spacer-after {
162 -moz-box-align: center;
165 border: 1px solid #9C9CFF;
167 background-color: #000000;
170 .alert .alert-title {
176 .alert .addon-control {
181 list-style-image: url("chrome://global/skin/icons/loading.gif");
187 /*** category selector ***/
190 -moz-appearance: none;
192 -moz-margin-end: -1px;
193 background-color: transparent;
199 background-color: transparent;
205 border-color: transparent;
206 -moz-box-align: center;
210 .category[disabled] {
213 -moz-transition-property: height, opacity;
214 -moz-transition-duration: 1s, 0.8s;
217 .category:not([disabled]) {
219 -moz-transition-property: height, opacity;
220 -moz-transition-duration: 1s, 0.8s;
223 .category[selected] {
224 background-color: #FFFFFF;
227 border-color: #666699;
234 /* Maximize the size of the viewport when the window is small */
235 @media all and (max-width: 800px) {
242 background-color: #666699;
245 border: 1px outset #666699;
251 .category-badge[value="0"] {
258 -moz-margin-start: 6px;
261 #category-search > .category-icon {
262 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
264 #category-discover > .category-icon {
265 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
267 #category-languages > .category-icon {
268 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
270 #category-searchengines > .category-icon {
271 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
273 #category-extensions > .category-icon {
274 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
276 #category-themes > .category-icon {
277 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
279 #category-plugins > .category-icon {
280 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
282 #category-availableUpdates > .category-icon {
283 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
285 #category-recentUpdates > .category-icon {
286 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
299 border: 1px inset #CCD0DD;
301 background-color: #CCD0DD;
305 #header-search .textbox-input:-moz-placeholder {
309 #header-search[focused="true"] {
310 background-color: #FFFFFF;
315 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
316 -moz-margin-end: 18px;
320 background-color: #9999CC;
324 border-bottom: 1px solid #666699;
331 -moz-appearance: none;
335 -moz-appearance: none;
337 background-color: transparent;
341 min-width: 12px !important;
342 -moz-box-direction: reverse;
345 .sorter .button-box {
350 .sorter[checkState="1"],
351 .sorter[checkState="2"] {
352 background-color: #666699;
355 .sorter[checkState="1"] {
356 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
359 .sorter[checkState="2"] {
360 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
363 .sorter .button-icon {
364 -moz-margin-start: 4px;
373 background-color: transparent;
377 border-bottom: 1px solid #9999CC;
379 background-origin: border-box;
382 .addon[status="installing"] {
383 -moz-box-align: center;
389 -moz-margin-start: 10px;
395 margin: 22px 7px 7px 7px;
398 .addon[active="false"] .icon {
399 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
403 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
408 .addon-view[type="theme"] .icon {
409 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
412 .addon-view[type="locale"] .icon {
413 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
416 .addon-view[type="plugin"] .icon {
417 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
421 .addon[status="installing"] .name {
432 .creator .text-link {
433 /* color: #0066CC; */
436 .description-container {
438 -moz-margin-start: 6px;
449 -moz-margin-start: 48px;
453 .addon-view .warning {
461 .addon-view .pending {
465 .addon-view[pending="disable"] .pending,
466 .addon-view[pending="uninstall"] .pending {
470 .addon .relnotes-container {
471 -moz-box-align: start;
472 -moz-margin-start: 6px;
476 -moz-transition-property: height, opacity;
477 -moz-transition-duration: 0.5s, 0.5s;
480 .addon[show-relnotes] .relnotes-container {
482 -moz-transition-property: height, opacity;
483 -moz-transition-duration: 0.5s, 0.5s;
486 .addon .relnotes-header {
491 .addon .relnotes-toggle {
493 background: transparent;
495 -moz-box-direction: reverse;
497 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
500 .addon .relnotes-toggle > .button-box > .button-icon {
501 -moz-padding-start: 4px;
504 .addon[show-relnotes] .relnotes-toggle {
505 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
508 .addon[active="false"] {
509 /* background-color: rgba(135, 135, 135, 0.1); */
512 .addon-view[active="false"],
513 .addon-view[active="false"] .name-container {
517 .addon-view[notification="warning"] {
518 background-color : #FFFFCC;
521 richlistbox:focus > .addon-view[notification="warning"][selected="true"] {
525 .addon-view[notification="error"] {
526 background-color: #FFD0DD;
529 .addon-view[notification="info"] {
530 background-color: #9999CC;
533 .addon-view[pending="enable"],
534 .addon-view[pending="upgrade"],
535 .addon-view[pending="install"] {
536 background-color: #CCFFDD;
539 .addon-view[pending="enable"] .pending,
540 .addon-view[pending="upgrade"] .pending,
541 .addon-view[pending="install"] .pending {
545 .addon-view[pending="disable"],
546 .addon-view[pending="uninstall"] {
547 background-color: #808080;
551 background-color: #336699;
555 .addon[selected] .name-container {
556 /* text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7); */
559 .addon[active="false"][selected] .name-container {
564 /*** item - uninstalled ***/
566 .addon[status="uninstalled"] {
570 .addon[status="uninstalled"] > .container {
571 -moz-box-align: center;
573 background-color: #808080;
578 .addon[status="uninstalled"][selected] {
579 background-color: transparent;
583 /*** search view ***/
587 -moz-box-align: center;
588 background-color: #FFFFFF;
590 border-bottom: 1px solid #666699;
594 #search-filter-label {
599 .search-filter-radio {
600 -moz-appearance: none;
603 border-radius: 10000px;
606 .search-filter-radio[selected] {
607 background-color: #3366699;
611 .search-filter-radio .radio-check-box1 {
615 .search-filter-radio .radio-icon {
619 #search-allresults-link {
624 /*** detail view ***/
626 #detail-view .loading {
630 #detail-view:not([loading]) .alert-container {
631 visibility: collapse;
634 #detail-view[loading-extended] .loading {
636 -moz-transition-property: opacity;
637 -moz-transition-duration: 1s;
640 .detail-view-container {
641 padding: 0 2em 2em 2em;
645 #detail-notifications {
650 #detail-notifications .warning,
651 #detail-notifications .pending,
652 #detail-notifications .error {
653 -moz-margin-start: 0;
657 -moz-margin-end: 10px;
667 #detail-name-container {
672 -moz-margin-end: 2em;
675 #detail-desc-container {
680 -moz-margin-start: 6px;
681 white-space: pre-wrap;
682 /* This is necessary to fix layout issues with multi-line descriptions, see
684 outline: solid transparent;
688 #detail-contributions {
690 border: 1px solid #666699;
693 background-color: #FFFFCC;
696 #detail-contrib-description {
702 #detail-contrib-suggested {
707 #detail-contrib-btn {
708 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
711 #detail-contrib-btn .button-icon {
712 -moz-margin-end: 3px;
719 .detail-row[first-row="true"],
720 .detail-row-complex[first-row="true"] {
725 .detail-row-complex {
726 border-top: 1px solid #808080;
727 -moz-box-align: center;
731 -moz-margin-start: 0;
738 #detail-view[active="false"]:not([pending]):not([notification]) {
739 /* background-color: foo; */
745 -moz-margin-start: 0;
749 .creator > .text-link {
758 -moz-margin-start: 0;
763 .meta-rating > .star {
764 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
768 .meta-rating > .star[on="true"] {
769 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
773 /*** download progress ***/
776 background-color: #CCD0DD;
777 border: 1px solid #808080;
783 .download-progress .start-cap,
784 .download-progress[complete] .end-cap,
785 .download-progress .progress .progress-bar {
786 background-color: #336699;
789 .download-progress .progress {
790 background-color: transparent;
796 .download-progress .start-cap, .download-progress .end-cap {
800 .download-progress .start-cap:-moz-locale-dir(ltr),
801 .download-progress .end-cap:-moz-locale-dir(rtl) {
802 border-radius: 3px 0 0 3px;
805 .download-progress .end-cap:-moz-locale-dir(ltr),
806 .download-progress .start-cap:-moz-locale-dir(rtl) {
807 border-radius: 0 3px 3px 0;
810 .download-progress .pause,
811 .download-progress .cancel {
812 -moz-appearance: none;
813 background-color: #CCD0DD;
814 border: 1px solid #666699;
820 .download-progress .pause .button-box,
821 .download-progress .cancel .button-box {
826 .download-progress .pause .button-text,
827 .download-progress .cancel .button-text {
831 .download-progress .pause .button-icon,
832 .download-progress .cancel .button-icon {
833 -moz-margin-start: 0;
836 .download-progress .pause {
837 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
840 .download-progress .cancel {
841 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
844 .download-progress .status-container {
845 -moz-box-align: center;
848 .download-progress .status {
849 /* text-shadow: #FFF 0 0 2px; */
852 /*** install status ***/
855 -moz-box-align: center;
859 /*** check for updates ***/
862 -moz-box-align: center;
865 #updates-container .button-link {
870 #updates-downloaded {
881 .addon-control[disabled="true"] {
886 background: transparent;
888 text-decoration: underline;