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: #000000;
44 #view-port-container {
45 /* Needed to allow the radius to clip the inner content, see bug 595656 */
47 border: 1px solid #9C9CFF;
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: #FFCF00;
97 #detail-view .global-warning {
99 border-bottom: 3px solid #000000;
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 solid #9C9CFF;
176 background-color: #000000;
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:-moz-locale-dir(ltr) {
220 border-top-left-radius: 5px;
221 border-bottom-left-radius: 5px;
224 .category:-moz-locale-dir(rtl) {
225 border-top-right-radius: 5px;
226 border-bottom-right-radius: 5px;
229 .category[disabled] {
232 -moz-transition-property: height, opacity;
233 -moz-transition-duration: 1s, 0.8s;
236 .category:not([disabled]) {
238 -moz-transition-property: height, opacity;
239 -moz-transition-duration: 1s, 0.8s;
242 .category[selected] {
243 background-color: #008484;
245 border-color: #9C9CFF;
252 /* Maximize the size of the viewport when the window is small */
253 @media all and (max-width: 800px) {
260 background-color: #E7ADE7;
263 border-radius: 10000px;
269 .category-badge[value="0"] {
276 -moz-margin-start: 6px;
279 #category-search > .category-icon {
280 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
282 #category-discover > .category-icon {
283 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
285 #category-languages > .category-icon {
286 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
288 #category-searchengines > .category-icon {
289 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
291 #category-extensions > .category-icon {
292 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
294 #category-themes > .category-icon {
295 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
297 #category-plugins > .category-icon {
298 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
300 #category-availableUpdates > .category-icon {
301 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
303 #category-recentUpdates > .category-icon {
304 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
317 border: 1px solid #9C9CFF;
320 background-color: #000000;
324 #header-search .textbox-input:-moz-placeholder {
328 #header-search[focused="true"] {
329 border-color: #008484;
334 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
335 -moz-margin-end: 18px;
338 #header-utils-btn:hover,
339 #header-utils-btn:hover:active,
340 #header-utils-btn[open="true"] {
341 list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png");
344 #header-utils-btn > .button-box > .button-menu-dropmarker {
346 background: transparent;
349 #header-utils-btn:hover > .button-box > .button-menu-dropmarker {
350 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
354 background-color: #9C9CFF;
366 -moz-appearance: none;
367 border-right: 3px solid #000000;
371 -moz-appearance: none;
373 border-left: 3px solid #000000;
374 background-color: transparent;
378 -moz-padding-start: 6px;
379 -moz-padding-end: 3px;
381 min-width: 12px !important;
382 -moz-box-direction: reverse;
385 background-color: #FFCF00;
389 .sorter .button-box {
394 .sorter[checkState="1"],
395 .sorter[checkState="2"] {
396 background-color: #008484;
400 .sorter[checkState="1"] {
401 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
404 .sorter[checkState="2"] {
405 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
408 .sorter .button-icon {
409 -moz-margin-start: 4px;
418 background-color: transparent;
422 border-bottom: 1px solid #9C9CFF;
424 background-origin: border-box;
430 -moz-margin-start: 10px;
436 margin: 22px 7px 7px 7px;
440 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
445 .addon[active="false"] .icon {
446 /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */
449 .addon-view[type="theme"] .icon {
450 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
453 .addon-view[type="locale"] .icon {
454 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
457 .addon-view[type="plugin"] .icon {
458 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
472 .creator .text-link {
473 /* color: #0066CC; */
476 .description-container {
478 -moz-margin-start: 6px;
489 -moz-margin-start: 48px;
493 .addon-view .warning {
501 .addon-view .pending {
505 .addon-view[pending="disable"] .pending,
506 .addon-view[pending="uninstall"] .pending {
510 .addon .relnotes-container {
511 -moz-box-align: start;
512 -moz-margin-start: 6px;
516 -moz-transition-property: height, opacity;
517 -moz-transition-duration: 0.5s, 0.5s;
520 .addon[show-relnotes] .relnotes-container {
522 -moz-transition-property: height, opacity;
523 -moz-transition-duration: 0.5s, 0.5s;
526 .addon .relnotes-header {
531 .addon .relnotes-toggle {
533 background: transparent;
535 -moz-box-direction: reverse;
537 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
540 .addon .relnotes-toggle > .button-box > .button-icon {
541 -moz-padding-start: 4px;
544 .addon[show-relnotes] .relnotes-toggle {
545 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
548 .addon[active="false"] {
549 /* background-color: rgba(135, 135, 135, 0.1); */
552 .addon-view[active="false"],
553 .addon-view[active="false"] .name-container {
557 .addon-view[notification="warning"] {
558 background-color : #FFCF00;
562 .addon-view[notification="warning"] .warning {
566 .addon-view[notification="warning"] .name-container {
570 .addon-view[notification="error"] {
571 background-color: #FF0000;
575 .addon-view[notification="error"] .error {
579 .addon-view[notification="info"] {
580 background-color: #9C9CFF;
584 .addon-view[pending="enable"],
585 .addon-view[pending="upgrade"],
586 .addon-view[pending="install"] {
587 background-color: #008484;
590 .addon-view[pending="disable"],
591 .addon-view[pending="uninstall"] {
596 /*** item - uninstalled ***/
598 .addon[status="uninstalled"] {
602 .addon[status="uninstalled"] > .container {
603 -moz-box-align: center;
605 background-color: #8050B0;
610 .addon[status="uninstalled"][selected] {
611 background-color: transparent;
615 background-color: #008484;
619 .addon[selected] .name-container {
623 .addon[active="false"][selected] {
627 .addon[active="false"][selected] .name-container {
632 /*** search view ***/
636 -moz-box-align: center;
637 background-color: #000000;
639 border-bottom: 1px solid #9C9CFF;
643 #search-filter-label {
648 .search-filter-radio {
651 border-radius: 10000px;
654 .search-filter-radio[selected] {
655 background-color: #008484;
659 .search-filter-radio .radio-check-box1 {
663 .search-filter-radio .radio-icon {
667 #search-allresults-link {
672 /*** detail view ***/
674 #detail-view .loading {
678 #detail-view[loading-extended] .loading {
680 -moz-transition-property: opacity;
681 -moz-transition-duration: 1s;
684 .detail-view-container {
685 padding: 0 2em 2em 2em;
689 #detail-notifications {
694 #detail-notifications .warning,
695 #detail-notifications .pending,
696 #detail-notifications .error {
697 -moz-margin-start: 0;
701 -moz-margin-end: 10px;
711 #detail-name-container {
716 -moz-margin-end: 2em;
721 #detail-desc-container {
725 #detail-desc, #detail-fulldesc {
726 -moz-margin-start: 6px;
727 white-space: pre-wrap;
728 /* This is necessary to fix layout issues with multi-line descriptions, see
730 outline: solid transparent;
738 #detail-contributions {
740 border: 1px solid #9C9CFF;
743 background-color: #FFCF00;
746 #detail-contrib-description {
752 #detail-contrib-suggested {
757 #detail-contrib-btn {
758 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
761 #detail-contrib-btn .button-icon {
762 -moz-margin-end: 3px;
769 .detail-row[first-row="true"],
770 .detail-row-complex[first-row="true"] {
775 .detail-row-complex {
776 border-top: 1px solid #9C9CFF;
777 -moz-box-align: center;
781 -moz-margin-start: 0;
788 #detail-view[active="false"]:not([pending]):not([notification]) {
789 /* background-color: foo; */
798 .creator > .text-link {
807 -moz-margin-start: 0;
812 .meta-rating > .star {
813 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
817 .meta-rating > .star[on="true"] {
818 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
822 /*** download progress ***/
825 background-color: #000000;
826 border-radius: 10000px;
827 border: 1px solid #FF9F00;
833 .download-progress[mode="undetermined"] .status-container {
837 .download-progress .start-cap,
838 .download-progress[complete] .end-cap,
839 .download-progress[mode="undetermined"] .end-cap,
840 .download-progress .progress .progress-bar {
841 background-color: #008484;
844 .download-progress .progress .progress-bar {
845 border-left-width: 0;
846 border-right-width: 0;
850 .download-progress .progress {
851 background-color: transparent;
857 .download-progress .start-cap, .download-progress .end-cap {
861 .download-progress .start-cap:-moz-locale-dir(ltr),
862 .download-progress .end-cap:-moz-locale-dir(rtl) {
863 border-radius: 3px 0 0 3px;
866 .download-progress .end-cap:-moz-locale-dir(ltr),
867 .download-progress .start-cap:-moz-locale-dir(rtl) {
868 border-radius: 0 3px 3px 0;
871 .download-progress .cancel {
872 -moz-appearance: none;
873 background-color: #8050B0;
874 border: 1px solid #9C9CFF;
881 .download-progress .cancel .button-box {
886 .download-progress .cancel .button-text {
890 .download-progress .cancel .button-icon {
891 -moz-margin-start: 0;
894 .download-progress .cancel {
895 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
898 .download-progress .status-container {
899 -moz-box-align: center;
902 .download-progress .status {
903 /* text-shadow: #FFF 0 0 2px; */
906 /*** install status ***/
909 -moz-box-align: center;
913 /*** check for updates ***/
916 -moz-box-align: center;
919 #updates-container .button-link {
924 #updates-downloaded {
935 .addon-control[disabled="true"] {
940 background: transparent;
942 text-decoration: underline;