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 */
46 /* Disabled because of bug 623615
49 background-color: #FFFFFF;
50 border: 1px solid #666699;
54 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
59 -moz-border-start: none;
62 #back-btn:-moz-locale-dir(ltr),
63 #forward-btn:-moz-locale-dir(rtl) {
64 -moz-image-region: rect(42px 25px 63px 0px);
67 #back-btn[disabled="true"]:-moz-locale-dir(ltr),
68 #forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
69 -moz-image-region: rect(42px 50px 63px 25px);
72 #back-btn:-moz-locale-dir(rtl),
73 #forward-btn:-moz-locale-dir(ltr) {
74 -moz-image-region: rect(63px 25px 84px 0px);
77 #back-btn[disabled="true"]:-moz-locale-dir(rtl),
78 #forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
79 -moz-image-region: rect(63px 50px 84px 25px);
83 /*** global warnings ***/
85 .global-warning-container {
90 -moz-box-align: center;
96 #addons-page[warning] .global-warning-container {
97 background-color: #FFFFCC;
100 #detail-view .global-warning {
102 border-bottom: 1px solid #9999CC;
105 @media all and (max-width: 600px) {
106 .global-warning-text {
110 .global-warning .warning-icon {
111 /* background-color: #FFF;
112 box-shadow: 0px 0px 2px 5px #FFF;
113 border-radius: 10px; */
117 /* Plugins aren't yet disabled by safemode (bug 342333),
118 so don't show that warning when viewing plugins. */
119 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
120 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
121 background-color: inherit;
122 background-image: none;
126 /*** notification icons ***/
129 list-style-image: url("chrome://global/skin/icons/warning-16.png");
136 list-style-image: url("chrome://global/skin/icons/error-16.png");
144 list-style-image: url("chrome://global/skin/icons/information-16.png");
150 .addon-view[pending="disable"] .pending-icon,
151 .addon-view[pending="uninstall"] .pending-icon {
152 list-style-image: url("chrome://global/skin/icons/warning-16.png");
159 /*** view alert boxes ***/
162 -moz-box-align: center;
165 .alert-spacer-before {
169 .alert-spacer-after {
174 -moz-box-align: center;
177 border: 1px inset #CCD0DD;
179 background-color: #CCD0DD;
180 background-clip: padding-box;
183 .alert .alert-title {
189 .alert .addon-control {
194 list-style-image: url("chrome://global/skin/icons/loading.gif");
200 /*** category selector ***/
203 -moz-appearance: none;
205 -moz-margin-end: -1px;
206 background-color: transparent;
212 background-color: transparent;
218 border-color: transparent;
219 -moz-box-align: center;
223 .category[disabled] {
228 -moz-transition-property: height, opacity;
229 -moz-transition-duration: 1s, 0.8s;
232 .category:not([disabled]) {
234 -moz-transition-property: height, opacity;
235 -moz-transition-duration: 1s, 0.8s;
238 .category[selected] {
239 background-color: #FFFFFF;
241 border-color: #666699;
248 /* Maximize the size of the viewport when the window is small */
249 @media all and (max-width: 800px) {
256 background-color: #666699;
259 border: 1px outset #666699;
265 .category-badge[value="0"] {
272 -moz-margin-start: 6px;
275 #category-search > .category-icon {
276 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
278 #category-discover > .category-icon {
279 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
281 #category-languages > .category-icon {
282 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
284 #category-searchengines > .category-icon {
285 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
287 #category-extensions > .category-icon {
288 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
290 #category-themes > .category-icon {
291 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
293 #category-plugins > .category-icon {
294 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
296 #category-availableUpdates > .category-icon {
297 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
299 #category-recentUpdates > .category-icon {
300 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
313 border: 1px inset #CCD0DD;
315 background-color: #CCD0DD;
319 #header-search .textbox-input:-moz-placeholder {
323 #header-search[focused="true"] {
324 background-color: #FFFFFF;
329 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
330 -moz-margin-end: 18px;
334 background-color: #9999CC;
338 border-bottom: 1px solid #666699;
345 -moz-appearance: none;
349 -moz-appearance: none;
350 border: 1px solid transparent;
351 background-color: transparent;
355 min-width: 12px !important;
356 -moz-box-direction: reverse;
359 .sorter .button-box {
365 border: 1px outset #666699;
368 .sorter[checkState="1"],
369 .sorter[checkState="2"] {
370 background-color: #666699;
372 border: 1px inset #666699;
375 .sorter[checkState="1"] {
376 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
379 .sorter[checkState="2"] {
380 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
383 .sorter .button-icon {
384 -moz-margin-start: 4px;
388 /*** discover view ***/
390 .discover-spacer-before,
391 .discover-spacer-after {
395 #discover-error .alert {
401 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
402 -moz-margin-end: 15px;
408 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
412 .discover-description {
427 background-color: transparent;
431 border-bottom: 1px solid #9999CC;
433 background-origin: border-box;
439 -moz-margin-start: 10px;
446 -moz-box-align: center;
447 -moz-box-pack: center;
451 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
456 .addon[active="false"] .icon {
457 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
460 .addon-view[type="theme"] .icon {
461 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
464 .addon-view[type="locale"] .icon {
465 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
468 .addon-view[type="plugin"] .icon {
469 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
484 .creator .text-link {
485 /* color: #0066CC; */
488 .description-container {
490 -moz-margin-start: 6px;
491 -moz-box-align: center;
502 -moz-margin-start: 48px;
504 -moz-box-align: center;
508 .basicinfo-container {
509 -moz-box-align: start;
512 .addon[status="installing"] > .content-container {
513 -moz-box-align: stretch;
516 .update-info-container {
517 -moz-box-align: center;
520 .advancedinfo-container,
525 .install-status-container {
530 .name-outer-container {
531 -moz-box-pack: center;
534 .relnotes-toggle-container,
535 .icon-outer-container {
536 -moz-box-pack: start;
544 .addon-view .warning {
552 .addon-view .pending {
556 .addon-view[pending="disable"] .pending,
557 .addon-view[pending="uninstall"] .pending {
561 .addon .relnotes-container {
562 -moz-box-align: start;
563 -moz-margin-start: 6px;
567 -moz-transition-property: height, opacity;
568 -moz-transition-duration: 0.5s, 0.5s;
571 .addon[show-relnotes] .relnotes-container {
573 -moz-transition-property: height, opacity;
574 -moz-transition-duration: 0.5s, 0.5s;
577 .addon .relnotes-header {
582 .addon .relnotes-toggle {
584 background: transparent;
586 -moz-box-direction: reverse;
588 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
591 .addon .relnotes-toggle > .button-box > .button-icon {
592 -moz-padding-start: 4px;
595 .addon[show-relnotes] .relnotes-toggle {
596 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
599 .addon[active="false"] {
600 /* background-color: rgba(135, 135, 135, 0.1); */
603 .addon-view[active="false"],
604 .addon-view[active="false"] .name-container {
608 .addon-view[notification="warning"] {
609 background-color: #FFFFCC;
612 .addon-view[notification="error"] {
613 background-color: #FFD0DD;
616 .addon-view[notification="info"] {
617 background-color: #9999CC;
620 .addon-view[pending="enable"],
621 .addon-view[pending="upgrade"],
622 .addon-view[pending="install"] {
623 background-color: #CCFFDD;
626 .addon-view[pending="enable"] .pending,
627 .addon-view[pending="upgrade"] .pending,
628 .addon-view[pending="install"] .pending {
632 .addon-view[pending="disable"],
633 .addon-view[pending="uninstall"] {
634 background-color: #808080;
638 background-color: #336699;
642 .addon[selected] .name-container {
646 .addon[active="false"][selected] {
650 .addon[active="false"][selected] .name-container {
655 /*** item - uninstalled ***/
657 .addon[status="uninstalled"] {
661 .addon[status="uninstalled"] > .container {
662 -moz-box-align: center;
664 background-color: #808080;
669 .addon[status="uninstalled"][selected] {
670 background-color: transparent;
674 /*** search view ***/
678 -moz-box-align: center;
679 background-color: #FFFFFF;
681 border-bottom: 1px solid #666699;
685 #search-filter-label {
690 .search-filter-radio {
691 -moz-appearance: none;
694 border-radius: 10000px;
697 .search-filter-radio[selected] {
698 background-color: #3366699;
702 .search-filter-radio .radio-check-box1 {
706 .search-filter-radio .radio-icon {
710 #search-allresults-link {
715 /*** detail view ***/
717 #detail-view .loading {
721 #detail-view[loading-extended] .loading {
723 -moz-transition-property: opacity;
724 -moz-transition-duration: 1s;
727 .detail-view-container {
728 padding: 0 2em 2em 2em;
732 #detail-notifications {
737 #detail-notifications .warning,
738 #detail-notifications .pending,
739 #detail-notifications .error {
740 -moz-margin-start: 0;
744 -moz-margin-end: 10px;
754 #detail-name-container {
759 -moz-margin-end: 2em;
764 #detail-desc-container {
768 #detail-desc, #detail-fulldesc {
769 -moz-margin-start: 6px;
770 white-space: pre-wrap;
771 /* This is necessary to fix layout issues with multi-line descriptions, see
773 outline: solid transparent;
781 #detail-contributions {
783 border: 1px solid #666699;
786 background-color: #FFFFCC;
789 #detail-contrib-description {
795 #detail-contrib-suggested {
800 #detail-contrib-btn {
801 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
804 #detail-contrib-btn .button-icon {
805 -moz-margin-end: 3px;
812 .detail-row[first-row="true"],
813 .detail-row-complex[first-row="true"] {
818 .detail-row-complex {
819 border-top: 1px solid #808080;
820 -moz-box-align: center;
824 -moz-margin-start: 0;
831 #detail-view[active="false"]:not([pending]):not([notification]) {
832 /* background-color: foo; */
838 -moz-margin-start: 0;
842 .creator > .text-link {
851 -moz-margin-start: 0;
856 .meta-rating > .star {
857 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
861 .meta-rating > .star[on="true"] {
862 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
866 /*** download progress ***/
869 background-color: #CCD0DD;
870 border: 1px solid #808080;
876 .download-progress[mode="undetermined"] .status-container {
880 .download-progress .start-cap,
881 .download-progress[complete] .end-cap,
882 .download-progress[mode="undetermined"] .end-cap,
883 .download-progress .progress .progress-bar {
884 background-color: #336699;
887 .download-progress .progress .progress-bar {
888 border-left-width: 0;
889 border-right-width: 0;
893 .download-progress .progress {
894 background-color: transparent;
900 .download-progress .start-cap, .download-progress .end-cap {
904 .download-progress .start-cap:-moz-locale-dir(ltr),
905 .download-progress .end-cap:-moz-locale-dir(rtl) {
906 border-radius: 3px 0 0 3px;
909 .download-progress .end-cap:-moz-locale-dir(ltr),
910 .download-progress .start-cap:-moz-locale-dir(rtl) {
911 border-radius: 0 3px 3px 0;
914 .download-progress .cancel {
915 -moz-appearance: none;
916 background-color: #CCD0DD;
917 border: 1px solid #666699;
923 .download-progress .cancel .button-box {
928 .download-progress .cancel .button-text {
932 .download-progress .cancel .button-icon {
933 -moz-margin-start: 0;
936 .download-progress .cancel {
937 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
940 .download-progress .status-container {
941 -moz-box-align: center;
944 .download-progress .status {
945 /* text-shadow: #FFF 0 0 2px; */
948 /*** install status ***/
951 -moz-box-align: center;
955 /*** check for updates ***/
958 -moz-box-align: center;
961 #updates-container .button-link {
966 #updates-downloaded {
977 .addon-control[disabled="true"] {
982 background: transparent;
984 text-decoration: underline;