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 /* 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 inset #CCD0DD;
176 background-color: #CCD0DD;
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[disabled] {
222 -moz-transition-property: height, opacity;
223 -moz-transition-duration: 1s, 0.8s;
226 .category:not([disabled]) {
228 -moz-transition-property: height, opacity;
229 -moz-transition-duration: 1s, 0.8s;
232 .category[selected] {
233 background-color: #FFFFFF;
236 border-color: #666699;
243 /* Maximize the size of the viewport when the window is small */
244 @media all and (max-width: 800px) {
251 background-color: #666699;
254 border: 1px outset #666699;
260 .category-badge[value="0"] {
267 -moz-margin-start: 6px;
270 #category-search > .category-icon {
271 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
273 #category-discover > .category-icon {
274 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
276 #category-languages > .category-icon {
277 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
279 #category-searchengines > .category-icon {
280 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
282 #category-extensions > .category-icon {
283 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
285 #category-themes > .category-icon {
286 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
288 #category-plugins > .category-icon {
289 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
291 #category-availableUpdates > .category-icon {
292 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
294 #category-recentUpdates > .category-icon {
295 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
308 border: 1px inset #CCD0DD;
310 background-color: #CCD0DD;
314 #header-search .textbox-input:-moz-placeholder {
318 #header-search[focused="true"] {
319 background-color: #FFFFFF;
324 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
325 -moz-margin-end: 18px;
329 background-color: #9999CC;
333 border-bottom: 1px solid #666699;
340 -moz-appearance: none;
344 -moz-appearance: none;
345 border: 1px solid transparent;
346 background-color: transparent;
350 min-width: 12px !important;
351 -moz-box-direction: reverse;
354 .sorter .button-box {
360 border: 1px outset #666699;
363 .sorter[checkState="1"],
364 .sorter[checkState="2"] {
365 background-color: #666699;
367 border: 1px inset #666699;
370 .sorter[checkState="1"] {
371 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
374 .sorter[checkState="2"] {
375 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
378 .sorter .button-icon {
379 -moz-margin-start: 4px;
388 background-color: transparent;
392 border-bottom: 1px solid #9999CC;
394 background-origin: border-box;
397 .addon[status="installing"] {
398 -moz-box-align: center;
404 -moz-margin-start: 10px;
410 margin: 22px 7px 7px 7px;
413 .addon[active="false"] .icon {
414 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
418 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
423 .addon-view[type="theme"] .icon {
424 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
427 .addon-view[type="locale"] .icon {
428 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
431 .addon-view[type="plugin"] .icon {
432 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
436 .addon[status="installing"] .name {
447 .creator .text-link {
448 /* color: #0066CC; */
451 .description-container {
453 -moz-margin-start: 6px;
464 -moz-margin-start: 48px;
468 .addon-view .warning {
476 .addon-view .pending {
480 .addon-view[pending="disable"] .pending,
481 .addon-view[pending="uninstall"] .pending {
485 .addon .relnotes-container {
486 -moz-box-align: start;
487 -moz-margin-start: 6px;
491 -moz-transition-property: height, opacity;
492 -moz-transition-duration: 0.5s, 0.5s;
495 .addon[show-relnotes] .relnotes-container {
497 -moz-transition-property: height, opacity;
498 -moz-transition-duration: 0.5s, 0.5s;
501 .addon .relnotes-header {
506 .addon .relnotes-toggle {
508 background: transparent;
510 -moz-box-direction: reverse;
512 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
515 .addon .relnotes-toggle > .button-box > .button-icon {
516 -moz-padding-start: 4px;
519 .addon[show-relnotes] .relnotes-toggle {
520 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
523 .addon[active="false"] {
524 /* background-color: rgba(135, 135, 135, 0.1); */
527 .addon-view[active="false"],
528 .addon-view[active="false"] .name-container {
532 .addon-view[notification="warning"] {
533 background-color: #FFFFCC;
536 .addon-view[notification="error"] {
537 background-color: #FFD0DD;
540 .addon-view[notification="info"] {
541 background-color: #9999CC;
544 .addon-view[pending="enable"],
545 .addon-view[pending="upgrade"],
546 .addon-view[pending="install"] {
547 background-color: #CCFFDD;
550 .addon-view[pending="enable"] .pending,
551 .addon-view[pending="upgrade"] .pending,
552 .addon-view[pending="install"] .pending {
556 .addon-view[pending="disable"],
557 .addon-view[pending="uninstall"] {
558 background-color: #808080;
562 background-color: #336699;
566 .addon[selected] .name-container {
570 .addon[active="false"][selected] {
574 .addon[active="false"][selected] .name-container {
579 /*** item - uninstalled ***/
581 .addon[status="uninstalled"] {
585 .addon[status="uninstalled"] > .container {
586 -moz-box-align: center;
588 background-color: #808080;
593 .addon[status="uninstalled"][selected] {
594 background-color: transparent;
598 /*** search view ***/
602 -moz-box-align: center;
603 background-color: #FFFFFF;
605 border-bottom: 1px solid #666699;
609 #search-filter-label {
614 .search-filter-radio {
615 -moz-appearance: none;
618 border-radius: 10000px;
621 .search-filter-radio[selected] {
622 background-color: #3366699;
626 .search-filter-radio .radio-check-box1 {
630 .search-filter-radio .radio-icon {
634 #search-allresults-link {
639 /*** detail view ***/
641 #detail-view .loading {
645 #detail-view:not([loading]) .alert-container {
646 visibility: collapse;
649 #detail-view[loading-extended] .loading {
651 -moz-transition-property: opacity;
652 -moz-transition-duration: 1s;
655 .detail-view-container {
656 padding: 0 2em 2em 2em;
660 #detail-notifications {
665 #detail-notifications .warning,
666 #detail-notifications .pending,
667 #detail-notifications .error {
668 -moz-margin-start: 0;
672 -moz-margin-end: 10px;
682 #detail-name-container {
687 -moz-margin-end: 2em;
692 #detail-desc-container {
697 -moz-margin-start: 6px;
698 white-space: pre-wrap;
699 /* This is necessary to fix layout issues with multi-line descriptions, see
701 outline: solid transparent;
705 #detail-contributions {
707 border: 1px solid #666699;
710 background-color: #FFFFCC;
713 #detail-contrib-description {
719 #detail-contrib-suggested {
724 #detail-contrib-btn {
725 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
728 #detail-contrib-btn .button-icon {
729 -moz-margin-end: 3px;
736 .detail-row[first-row="true"],
737 .detail-row-complex[first-row="true"] {
742 .detail-row-complex {
743 border-top: 1px solid #808080;
744 -moz-box-align: center;
748 -moz-margin-start: 0;
755 #detail-view[active="false"]:not([pending]):not([notification]) {
756 /* background-color: foo; */
762 -moz-margin-start: 0;
766 .creator > .text-link {
775 -moz-margin-start: 0;
780 .meta-rating > .star {
781 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
785 .meta-rating > .star[on="true"] {
786 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
790 /*** download progress ***/
793 background-color: #CCD0DD;
794 border: 1px solid #808080;
800 .download-progress[mode="undetermined"] .status-container {
804 .download-progress .start-cap,
805 .download-progress[complete] .end-cap,
806 .download-progress[mode="undetermined"] .end-cap,
807 .download-progress .progress .progress-bar {
808 background-color: #336699;
811 .download-progress .progress .progress-bar {
812 border-left-width: 0;
813 border-right-width: 0;
817 .download-progress .progress {
818 background-color: transparent;
824 .download-progress .start-cap, .download-progress .end-cap {
828 .download-progress .start-cap:-moz-locale-dir(ltr),
829 .download-progress .end-cap:-moz-locale-dir(rtl) {
830 border-radius: 3px 0 0 3px;
833 .download-progress .end-cap:-moz-locale-dir(ltr),
834 .download-progress .start-cap:-moz-locale-dir(rtl) {
835 border-radius: 0 3px 3px 0;
838 .download-progress .pause,
839 .download-progress .cancel {
840 -moz-appearance: none;
841 background-color: #CCD0DD;
842 border: 1px solid #666699;
848 .download-progress .pause .button-box,
849 .download-progress .cancel .button-box {
854 .download-progress .pause .button-text,
855 .download-progress .cancel .button-text {
859 .download-progress .pause .button-icon,
860 .download-progress .cancel .button-icon {
861 -moz-margin-start: 0;
864 .download-progress .pause {
865 list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
868 .download-progress .cancel {
869 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
872 .download-progress .status-container {
873 -moz-box-align: center;
876 .download-progress .status {
877 /* text-shadow: #FFF 0 0 2px; */
880 /*** install status ***/
883 -moz-box-align: center;
887 /*** check for updates ***/
890 -moz-box-align: center;
893 #updates-container .button-link {
898 #updates-downloaded {
909 .addon-control[disabled="true"] {
914 background: transparent;
916 text-decoration: underline;