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] {
224 -moz-transition-property: height, opacity;
225 -moz-transition-duration: 1s, 0.8s;
228 .category:not([disabled]) {
230 -moz-transition-property: height, opacity;
231 -moz-transition-duration: 1s, 0.8s;
234 .category[selected] {
235 background-color: #FFFFFF;
237 border-color: #666699;
244 /* Maximize the size of the viewport when the window is small */
245 @media all and (max-width: 800px) {
252 background-color: #666699;
255 border: 1px outset #666699;
261 .category-badge[value="0"] {
268 -moz-margin-start: 6px;
271 #category-search > .category-icon {
272 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
274 #category-discover > .category-icon {
275 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
277 #category-languages > .category-icon {
278 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
280 #category-searchengines > .category-icon {
281 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
283 #category-extensions > .category-icon {
284 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
286 #category-themes > .category-icon {
287 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
289 #category-plugins > .category-icon {
290 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
292 #category-availableUpdates > .category-icon {
293 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
295 #category-recentUpdates > .category-icon {
296 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
309 border: 1px inset #CCD0DD;
311 background-color: #CCD0DD;
315 #header-search .textbox-input:-moz-placeholder {
319 #header-search[focused="true"] {
320 background-color: #FFFFFF;
325 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
326 -moz-margin-end: 18px;
330 background-color: #9999CC;
334 border-bottom: 1px solid #666699;
341 -moz-appearance: none;
345 -moz-appearance: none;
346 border: 1px solid transparent;
347 background-color: transparent;
351 min-width: 12px !important;
352 -moz-box-direction: reverse;
355 .sorter .button-box {
361 border: 1px outset #666699;
364 .sorter[checkState="1"],
365 .sorter[checkState="2"] {
366 background-color: #666699;
368 border: 1px inset #666699;
371 .sorter[checkState="1"] {
372 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
375 .sorter[checkState="2"] {
376 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
379 .sorter .button-icon {
380 -moz-margin-start: 4px;
389 background-color: transparent;
393 border-bottom: 1px solid #9999CC;
395 background-origin: border-box;
401 -moz-margin-start: 10px;
410 .addon[active="false"] .icon {
411 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
415 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
420 .addon-view[type="theme"] .icon {
421 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
424 .addon-view[type="locale"] .icon {
425 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
428 .addon-view[type="plugin"] .icon {
429 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
443 .creator .text-link {
444 /* color: #0066CC; */
447 .description-container {
449 -moz-margin-start: 6px;
460 -moz-margin-start: 48px;
464 .addon-view .warning {
472 .addon-view .pending {
476 .addon-view[pending="disable"] .pending,
477 .addon-view[pending="uninstall"] .pending {
481 .addon .relnotes-container {
482 -moz-box-align: start;
483 -moz-margin-start: 6px;
487 -moz-transition-property: height, opacity;
488 -moz-transition-duration: 0.5s, 0.5s;
491 .addon[show-relnotes] .relnotes-container {
493 -moz-transition-property: height, opacity;
494 -moz-transition-duration: 0.5s, 0.5s;
497 .addon .relnotes-header {
502 .addon .relnotes-toggle {
504 background: transparent;
506 -moz-box-direction: reverse;
508 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
511 .addon .relnotes-toggle > .button-box > .button-icon {
512 -moz-padding-start: 4px;
515 .addon[show-relnotes] .relnotes-toggle {
516 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
519 .addon[active="false"] {
520 /* background-color: rgba(135, 135, 135, 0.1); */
523 .addon-view[active="false"],
524 .addon-view[active="false"] .name-container {
528 .addon-view[notification="warning"] {
529 background-color: #FFFFCC;
532 .addon-view[notification="error"] {
533 background-color: #FFD0DD;
536 .addon-view[notification="info"] {
537 background-color: #9999CC;
540 .addon-view[pending="enable"],
541 .addon-view[pending="upgrade"],
542 .addon-view[pending="install"] {
543 background-color: #CCFFDD;
546 .addon-view[pending="enable"] .pending,
547 .addon-view[pending="upgrade"] .pending,
548 .addon-view[pending="install"] .pending {
552 .addon-view[pending="disable"],
553 .addon-view[pending="uninstall"] {
554 background-color: #808080;
558 background-color: #336699;
562 .addon[selected] .name-container {
566 .addon[active="false"][selected] {
570 .addon[active="false"][selected] .name-container {
575 /*** item - uninstalled ***/
577 .addon[status="uninstalled"] {
581 .addon[status="uninstalled"] > .container {
582 -moz-box-align: center;
584 background-color: #808080;
589 .addon[status="uninstalled"][selected] {
590 background-color: transparent;
594 /*** search view ***/
598 -moz-box-align: center;
599 background-color: #FFFFFF;
601 border-bottom: 1px solid #666699;
605 #search-filter-label {
610 .search-filter-radio {
611 -moz-appearance: none;
614 border-radius: 10000px;
617 .search-filter-radio[selected] {
618 background-color: #3366699;
622 .search-filter-radio .radio-check-box1 {
626 .search-filter-radio .radio-icon {
630 #search-allresults-link {
635 /*** detail view ***/
637 #detail-view .loading {
641 #detail-view[loading-extended] .loading {
643 -moz-transition-property: opacity;
644 -moz-transition-duration: 1s;
647 .detail-view-container {
648 padding: 0 2em 2em 2em;
652 #detail-notifications {
657 #detail-notifications .warning,
658 #detail-notifications .pending,
659 #detail-notifications .error {
660 -moz-margin-start: 0;
664 -moz-margin-end: 10px;
674 #detail-name-container {
679 -moz-margin-end: 2em;
684 #detail-desc-container {
688 #detail-desc, #detail-fulldesc {
689 -moz-margin-start: 6px;
690 white-space: pre-wrap;
691 /* This is necessary to fix layout issues with multi-line descriptions, see
693 outline: solid transparent;
701 #detail-contributions {
703 border: 1px solid #666699;
706 background-color: #FFFFCC;
709 #detail-contrib-description {
715 #detail-contrib-suggested {
720 #detail-contrib-btn {
721 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
724 #detail-contrib-btn .button-icon {
725 -moz-margin-end: 3px;
732 .detail-row[first-row="true"],
733 .detail-row-complex[first-row="true"] {
738 .detail-row-complex {
739 border-top: 1px solid #808080;
740 -moz-box-align: center;
744 -moz-margin-start: 0;
751 #detail-view[active="false"]:not([pending]):not([notification]) {
752 /* background-color: foo; */
758 -moz-margin-start: 0;
762 .creator > .text-link {
771 -moz-margin-start: 0;
776 .meta-rating > .star {
777 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
781 .meta-rating > .star[on="true"] {
782 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
786 /*** download progress ***/
789 background-color: #CCD0DD;
790 border: 1px solid #808080;
796 .download-progress[mode="undetermined"] .status-container {
800 .download-progress .start-cap,
801 .download-progress[complete] .end-cap,
802 .download-progress[mode="undetermined"] .end-cap,
803 .download-progress .progress .progress-bar {
804 background-color: #336699;
807 .download-progress .progress .progress-bar {
808 border-left-width: 0;
809 border-right-width: 0;
813 .download-progress .progress {
814 background-color: transparent;
820 .download-progress .start-cap, .download-progress .end-cap {
824 .download-progress .start-cap:-moz-locale-dir(ltr),
825 .download-progress .end-cap:-moz-locale-dir(rtl) {
826 border-radius: 3px 0 0 3px;
829 .download-progress .end-cap:-moz-locale-dir(ltr),
830 .download-progress .start-cap:-moz-locale-dir(rtl) {
831 border-radius: 0 3px 3px 0;
834 .download-progress .cancel {
835 -moz-appearance: none;
836 background-color: #CCD0DD;
837 border: 1px solid #666699;
843 .download-progress .cancel .button-box {
848 .download-progress .cancel .button-text {
852 .download-progress .cancel .button-icon {
853 -moz-margin-start: 0;
856 .download-progress .cancel {
857 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
860 .download-progress .status-container {
861 -moz-box-align: center;
864 .download-progress .status {
865 /* text-shadow: #FFF 0 0 2px; */
868 /*** install status ***/
871 -moz-box-align: center;
875 /*** check for updates ***/
878 -moz-box-align: center;
881 #updates-container .button-link {
886 #updates-downloaded {
897 .addon-control[disabled="true"] {
902 background: transparent;
904 text-decoration: underline;