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;
235 border-color: #666699;
242 /* Maximize the size of the viewport when the window is small */
243 @media all and (max-width: 800px) {
250 background-color: #666699;
253 border: 1px outset #666699;
259 .category-badge[value="0"] {
266 -moz-margin-start: 6px;
269 #category-search > .category-icon {
270 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
272 #category-discover > .category-icon {
273 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
275 #category-languages > .category-icon {
276 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
278 #category-searchengines > .category-icon {
279 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
281 #category-extensions > .category-icon {
282 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
284 #category-themes > .category-icon {
285 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
287 #category-plugins > .category-icon {
288 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
290 #category-availableUpdates > .category-icon {
291 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
293 #category-recentUpdates > .category-icon {
294 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
307 border: 1px inset #CCD0DD;
309 background-color: #CCD0DD;
313 #header-search .textbox-input:-moz-placeholder {
317 #header-search[focused="true"] {
318 background-color: #FFFFFF;
323 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
324 -moz-margin-end: 18px;
328 background-color: #9999CC;
332 border-bottom: 1px solid #666699;
339 -moz-appearance: none;
343 -moz-appearance: none;
344 border: 1px solid transparent;
345 background-color: transparent;
349 min-width: 12px !important;
350 -moz-box-direction: reverse;
353 .sorter .button-box {
359 border: 1px outset #666699;
362 .sorter[checkState="1"],
363 .sorter[checkState="2"] {
364 background-color: #666699;
366 border: 1px inset #666699;
369 .sorter[checkState="1"] {
370 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
373 .sorter[checkState="2"] {
374 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
377 .sorter .button-icon {
378 -moz-margin-start: 4px;
387 background-color: transparent;
391 border-bottom: 1px solid #9999CC;
393 background-origin: border-box;
399 -moz-margin-start: 10px;
405 margin: 22px 7px 7px 7px;
408 .addon[active="false"] .icon {
409 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
413 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
418 .addon-view[type="theme"] .icon {
419 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
422 .addon-view[type="locale"] .icon {
423 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
426 .addon-view[type="plugin"] .icon {
427 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
441 .creator .text-link {
442 /* color: #0066CC; */
445 .description-container {
447 -moz-margin-start: 6px;
458 -moz-margin-start: 48px;
462 .addon-view .warning {
470 .addon-view .pending {
474 .addon-view[pending="disable"] .pending,
475 .addon-view[pending="uninstall"] .pending {
479 .addon .relnotes-container {
480 -moz-box-align: start;
481 -moz-margin-start: 6px;
485 -moz-transition-property: height, opacity;
486 -moz-transition-duration: 0.5s, 0.5s;
489 .addon[show-relnotes] .relnotes-container {
491 -moz-transition-property: height, opacity;
492 -moz-transition-duration: 0.5s, 0.5s;
495 .addon .relnotes-header {
500 .addon .relnotes-toggle {
502 background: transparent;
504 -moz-box-direction: reverse;
506 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
509 .addon .relnotes-toggle > .button-box > .button-icon {
510 -moz-padding-start: 4px;
513 .addon[show-relnotes] .relnotes-toggle {
514 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
517 .addon[active="false"] {
518 /* background-color: rgba(135, 135, 135, 0.1); */
521 .addon-view[active="false"],
522 .addon-view[active="false"] .name-container {
526 .addon-view[notification="warning"] {
527 background-color: #FFFFCC;
530 .addon-view[notification="error"] {
531 background-color: #FFD0DD;
534 .addon-view[notification="info"] {
535 background-color: #9999CC;
538 .addon-view[pending="enable"],
539 .addon-view[pending="upgrade"],
540 .addon-view[pending="install"] {
541 background-color: #CCFFDD;
544 .addon-view[pending="enable"] .pending,
545 .addon-view[pending="upgrade"] .pending,
546 .addon-view[pending="install"] .pending {
550 .addon-view[pending="disable"],
551 .addon-view[pending="uninstall"] {
552 background-color: #808080;
556 background-color: #336699;
560 .addon[selected] .name-container {
564 .addon[active="false"][selected] {
568 .addon[active="false"][selected] .name-container {
573 /*** item - uninstalled ***/
575 .addon[status="uninstalled"] {
579 .addon[status="uninstalled"] > .container {
580 -moz-box-align: center;
582 background-color: #808080;
587 .addon[status="uninstalled"][selected] {
588 background-color: transparent;
592 /*** search view ***/
596 -moz-box-align: center;
597 background-color: #FFFFFF;
599 border-bottom: 1px solid #666699;
603 #search-filter-label {
608 .search-filter-radio {
609 -moz-appearance: none;
612 border-radius: 10000px;
615 .search-filter-radio[selected] {
616 background-color: #3366699;
620 .search-filter-radio .radio-check-box1 {
624 .search-filter-radio .radio-icon {
628 #search-allresults-link {
633 /*** detail view ***/
635 #detail-view .loading {
639 #detail-view[loading-extended] .loading {
641 -moz-transition-property: opacity;
642 -moz-transition-duration: 1s;
645 .detail-view-container {
646 padding: 0 2em 2em 2em;
650 #detail-notifications {
655 #detail-notifications .warning,
656 #detail-notifications .pending,
657 #detail-notifications .error {
658 -moz-margin-start: 0;
662 -moz-margin-end: 10px;
672 #detail-name-container {
677 -moz-margin-end: 2em;
682 #detail-desc-container {
686 #detail-desc, #detail-fulldesc {
687 -moz-margin-start: 6px;
688 white-space: pre-wrap;
689 /* This is necessary to fix layout issues with multi-line descriptions, see
691 outline: solid transparent;
699 #detail-contributions {
701 border: 1px solid #666699;
704 background-color: #FFFFCC;
707 #detail-contrib-description {
713 #detail-contrib-suggested {
718 #detail-contrib-btn {
719 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
722 #detail-contrib-btn .button-icon {
723 -moz-margin-end: 3px;
730 .detail-row[first-row="true"],
731 .detail-row-complex[first-row="true"] {
736 .detail-row-complex {
737 border-top: 1px solid #808080;
738 -moz-box-align: center;
742 -moz-margin-start: 0;
749 #detail-view[active="false"]:not([pending]):not([notification]) {
750 /* background-color: foo; */
756 -moz-margin-start: 0;
760 .creator > .text-link {
769 -moz-margin-start: 0;
774 .meta-rating > .star {
775 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
779 .meta-rating > .star[on="true"] {
780 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
784 /*** download progress ***/
787 background-color: #CCD0DD;
788 border: 1px solid #808080;
794 .download-progress[mode="undetermined"] .status-container {
798 .download-progress .start-cap,
799 .download-progress[complete] .end-cap,
800 .download-progress[mode="undetermined"] .end-cap,
801 .download-progress .progress .progress-bar {
802 background-color: #336699;
805 .download-progress .progress .progress-bar {
806 border-left-width: 0;
807 border-right-width: 0;
811 .download-progress .progress {
812 background-color: transparent;
818 .download-progress .start-cap, .download-progress .end-cap {
822 .download-progress .start-cap:-moz-locale-dir(ltr),
823 .download-progress .end-cap:-moz-locale-dir(rtl) {
824 border-radius: 3px 0 0 3px;
827 .download-progress .end-cap:-moz-locale-dir(ltr),
828 .download-progress .start-cap:-moz-locale-dir(rtl) {
829 border-radius: 0 3px 3px 0;
832 .download-progress .cancel {
833 -moz-appearance: none;
834 background-color: #CCD0DD;
835 border: 1px solid #666699;
841 .download-progress .cancel .button-box {
846 .download-progress .cancel .button-text {
850 .download-progress .cancel .button-icon {
851 -moz-margin-start: 0;
854 .download-progress .cancel {
855 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
858 .download-progress .status-container {
859 -moz-box-align: center;
862 .download-progress .status {
863 /* text-shadow: #FFF 0 0 2px; */
866 /*** install status ***/
869 -moz-box-align: center;
873 /*** check for updates ***/
876 -moz-box-align: center;
879 #updates-container .button-link {
884 #updates-downloaded {
895 .addon-control[disabled="true"] {
900 background: transparent;
902 text-decoration: underline;