1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @import url("chrome://global/skin/inContentUI.css");
7 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
14 -moz-border-start: none;
17 #back-btn:-moz-locale-dir(ltr),
18 #forward-btn:-moz-locale-dir(rtl) {
19 -moz-image-region: rect(42px 25px 63px 0px);
22 #back-btn[disabled="true"]:-moz-locale-dir(ltr),
23 #forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
24 -moz-image-region: rect(42px 50px 63px 25px);
27 #back-btn:-moz-locale-dir(rtl),
28 #forward-btn:-moz-locale-dir(ltr) {
29 -moz-image-region: rect(63px 25px 84px 0px);
32 #back-btn[disabled="true"]:-moz-locale-dir(rtl),
33 #forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
34 -moz-image-region: rect(63px 50px 84px 25px);
38 /*** global warnings ***/
40 .global-warning-container {
45 -moz-box-align: center;
51 #addons-page[warning] .global-warning-container {
52 background-color: #FFFFCC;
55 #detail-view .global-warning {
57 border-bottom: 1px solid #9999CC;
60 @media (max-width: 600px) {
61 .global-warning-text {
65 .global-warning .warning-icon {
66 /* background-color: #FFF;
67 box-shadow: 0px 0px 2px 5px #FFF;
68 border-radius: 10px; */
72 /*** global informations ***/
73 #addons-page .global-info-container {
74 background-color: #9C9CFF;
77 /* Plugins aren't yet disabled by safemode (bug 342333),
78 so don't show that warning when viewing plugins. */
79 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
80 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
81 background-color: inherit;
82 background-image: none;
86 /*** notification icons ***/
89 list-style-image: url("chrome://global/skin/icons/warning-16.png");
96 list-style-image: url("chrome://global/skin/icons/error-16.png");
104 list-style-image: url("chrome://global/skin/icons/information-16.png");
110 .addon-view[pending="disable"] .pending-icon,
111 .addon-view[pending="uninstall"] .pending-icon {
112 list-style-image: url("chrome://global/skin/icons/warning-16.png");
119 /*** view alert boxes ***/
122 -moz-box-align: center;
125 .alert-spacer-before {
129 .alert-spacer-after {
134 -moz-box-align: center;
137 border: 1px inset #CCD0DD;
139 background-color: #CCD0DD;
140 background-clip: padding-box;
143 .alert .alert-title {
154 list-style-image: url("chrome://global/skin/icons/loading.gif");
160 /*** category selector ***/
163 -moz-appearance: none;
165 -moz-margin-end: -1px;
166 background-color: transparent;
172 background-color: transparent;
178 border-color: transparent;
179 -moz-box-align: center;
183 .category[disabled] {
188 transition-property: height, opacity;
189 transition-duration: 1s, 0.8s;
192 .category:not([disabled]) {
194 transition-property: height, opacity;
195 transition-duration: 1s, 0.8s;
198 .category[selected] {
199 background-color: #FFFFFF;
201 border-color: #666699;
208 /* Maximize the size of the viewport when the window is small */
209 @media (max-width: 800px) {
216 background-color: #666699;
219 border: 1px outset #666699;
225 .category-badge[value="0"] {
232 -moz-margin-start: 6px;
235 #category-search > .category-icon {
236 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
238 #category-discover > .category-icon {
239 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
241 #category-locale > .category-icon {
242 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
244 #category-searchengine > .category-icon {
245 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
247 #category-extension > .category-icon {
248 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
250 #category-theme > .category-icon {
251 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
253 #category-plugin > .category-icon {
254 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
256 #category-dictionary > .category-icon {
257 list-style-image: url("chrome://mozapps/skin/extensions/category-dictionaries.png");
259 #category-availableUpdates > .category-icon {
260 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
262 #category-recentUpdates > .category-icon {
263 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
276 border: 1px inset #CCD0DD;
278 background-color: #CCD0DD;
282 #header-search .textbox-input::-moz-placeholder {
286 #header-search[focused] {
287 background-color: #FFFFFF;
291 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
292 -moz-margin-end: 16px;
296 background-color: #9999CC;
300 border-bottom: 1px solid #666699;
307 -moz-appearance: none;
311 -moz-appearance: none;
312 border: 1px solid transparent;
313 background-color: transparent;
317 min-width: 12px !important;
318 -moz-box-direction: reverse;
321 .sorter .button-box {
327 border: 1px outset #666699;
330 .sorter[checkState="1"],
331 .sorter[checkState="2"] {
332 background-color: #666699;
334 border: 1px inset #666699;
337 .sorter[checkState="1"] {
338 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
341 .sorter[checkState="2"] {
342 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
345 .sorter .button-icon {
346 -moz-margin-start: 4px;
350 /*** discover view ***/
352 .discover-spacer-before,
353 .discover-spacer-after {
357 #discover-error .alert {
363 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
364 -moz-margin-end: 15px;
370 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
374 .discover-description {
389 background-color: transparent;
393 border-bottom: 1px solid #9999CC;
395 background-origin: border-box;
401 -moz-margin-start: 10px;
408 -moz-box-align: center;
409 -moz-box-pack: center;
413 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
418 .addon[active="false"] .icon {
419 filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
422 .addon-view[type="theme"] .icon {
423 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
426 .addon-view[type="locale"] .icon {
427 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
430 .addon-view[type="plugin"] .icon {
431 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
434 .addon-view[type="dictionary"] .icon {
435 list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png");
451 .creator .text-link {
452 /* color: #0066CC; */
455 .description-container {
456 -moz-margin-start: 6px;
457 -moz-box-align: center;
468 -moz-margin-start: 48px;
470 -moz-box-align: center;
474 .basicinfo-container {
475 -moz-box-align: start;
478 .addon[status="installing"] > .content-container {
479 -moz-box-align: stretch;
482 .advancedinfo-container,
483 .update-info-container {
484 -moz-box-align: center;
491 .install-status-container {
496 .name-outer-container {
497 -moz-box-pack: center;
500 .relnotes-toggle-container,
501 .icon-outer-container {
502 -moz-box-pack: start;
510 .addon-view .warning {
518 .addon-view .pending {
522 .addon-view[pending="disable"] .pending,
523 .addon-view[pending="uninstall"] .pending {
527 .addon .relnotes-container {
528 -moz-box-align: start;
529 -moz-margin-start: 6px;
533 transition-property: height, opacity;
534 transition-duration: 0.5s, 0.5s;
537 .addon[show-relnotes] .relnotes-container {
539 transition-property: height, opacity;
540 transition-duration: 0.5s, 0.5s;
543 .addon .relnotes-header {
548 .addon .relnotes-toggle {
550 background: transparent;
552 -moz-box-direction: reverse;
554 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
557 .addon .relnotes-toggle > .button-box > .button-icon {
558 -moz-padding-start: 4px;
561 .addon[show-relnotes] .relnotes-toggle {
562 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
565 .addon[active="false"] {
566 background-color: #DDDDDD;
569 .addon-view[active="false"],
570 .addon-view[active="false"] .name-container {
574 .addon-view[notification="warning"] {
575 background-color: #FFFFCC;
578 .addon-view[notification="error"] {
579 background-color: #FFD0DD;
582 .addon-view[notification="info"] {
583 background-color: #9999CC;
586 .addon-view[pending="enable"],
587 .addon-view[pending="upgrade"],
588 .addon-view[pending="install"] {
589 background-color: #CCFFDD;
592 .addon-view[pending="enable"] .pending,
593 .addon-view[pending="upgrade"] .pending,
594 .addon-view[pending="install"] .pending {
598 .addon-view[pending="disable"],
599 .addon-view[pending="uninstall"] {
600 background-color: #808080;
604 background-color: #336699;
608 .addon[selected] .name-container {
612 .addon[active="false"][selected] {
616 .addon[active="false"][selected] .name-container {
621 /*** item - uninstalled ***/
623 .addon[status="uninstalled"] {
627 .addon[status="uninstalled"] > .container {
628 -moz-box-align: center;
630 background-color: #808080;
635 .addon[status="uninstalled"][selected] {
636 background-color: transparent;
640 /*** search view ***/
644 -moz-box-align: center;
645 background-color: #FFFFFF;
647 border-bottom: 1px solid #666699;
651 #search-filter-label {
656 .search-filter-radio {
657 -moz-appearance: none;
660 border-radius: 10000px;
663 .search-filter-radio[selected] {
664 background-color: #3366699;
668 .search-filter-radio .radio-check-box1 {
672 .search-filter-radio .radio-icon {
676 #search-allresults-link {
681 /*** detail view ***/
683 #detail-view .loading {
687 #detail-view[loading-extended] .loading {
689 transition-property: opacity;
690 transition-duration: 1s;
693 .detail-view-container {
694 padding: 0 2em 2em 2em;
698 #detail-notifications {
703 #detail-notifications .warning,
704 #detail-notifications .pending,
705 #detail-notifications .error {
706 -moz-margin-start: 0;
709 #detail-icon-container {
711 -moz-margin-end: 10px;
724 #detail-name-container {
729 -moz-margin-end: 2em;
734 #detail-screenshot[loading] {
735 background-image: url("chrome://communicator/skin/brand/throbber-anim.gif");
736 background-position: 50% 50%;
737 background-repeat: no-repeat;
740 #detail-screenshot[loading="error"] {
741 background-image: url("chrome://global/skin/icons/alert-error.gif");
744 #detail-desc-container {
748 #detail-desc, #detail-fulldesc {
749 -moz-margin-start: 6px;
750 white-space: pre-wrap;
751 /* This is necessary to fix layout issues with multi-line descriptions, see
753 outline: solid transparent;
761 #detail-contributions {
763 border: 1px solid #666699;
766 background-color: #FFFFCC;
769 #detail-contrib-description {
775 #detail-contrib-suggested {
780 #detail-contrib-btn {
781 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
784 #detail-contrib-btn .button-icon {
785 -moz-margin-end: 3px;
792 #detail-grid > columns > column:first-child {
797 .detail-row[first-row="true"],
798 .detail-row-complex[first-row="true"],
799 setting[first-row="true"] {
806 border-top: 1px solid #808080;
807 -moz-box-align: center;
815 #detail-view[active="false"]:not([pending]):not([notification]) {
816 /* background-color: foo; */
819 setting[first-row="true"] {
824 -moz-box-align: start;
827 .preferences-alignment {
829 -moz-box-align: center;
832 .preferences-description {
836 -moz-margin-start: 2em;
837 white-space: pre-wrap;
840 .preferences-description:empty {
844 setting[type="radio"] > radiogroup {
845 -moz-box-orient: horizontal;
848 menulist { /* Fixes some styling inconsistencies */
849 margin: 1px 5px 2px 5px;
855 -moz-margin-start: 0;
859 .creator > .text-link {
872 .meta-rating > .star {
873 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
877 .meta-rating > .star[on="true"] {
878 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
882 /*** download progress ***/
885 background-color: #CCD0DD;
886 border: 1px solid #808080;
892 .download-progress[mode="undetermined"] .status-container {
896 .download-progress .start-cap,
897 .download-progress[complete] .end-cap,
898 .download-progress[mode="undetermined"] .end-cap,
899 .download-progress .progress .progress-bar {
900 background-color: #336699;
903 .download-progress .progress .progress-bar {
904 border-left-width: 0;
905 border-right-width: 0;
909 .download-progress .progress {
910 background-color: transparent;
916 .download-progress .start-cap, .download-progress .end-cap {
920 .download-progress .start-cap:-moz-locale-dir(ltr),
921 .download-progress .end-cap:-moz-locale-dir(rtl) {
922 border-radius: 3px 0 0 3px;
925 .download-progress .end-cap:-moz-locale-dir(ltr),
926 .download-progress .start-cap:-moz-locale-dir(rtl) {
927 border-radius: 0 3px 3px 0;
930 .download-progress .cancel {
931 -moz-appearance: none;
932 background-color: #CCD0DD;
933 border: 1px solid #666699;
939 .download-progress .cancel .button-box {
944 .download-progress .cancel .button-text {
948 .download-progress .cancel .button-icon {
949 -moz-margin-start: 0;
952 .download-progress .cancel {
953 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
956 .download-progress .status-container {
957 -moz-box-align: center;
960 .download-progress .status {
961 /* text-shadow: #FFF 0 0 2px; */
964 /*** install status ***/
967 -moz-box-align: center;
971 /*** check for updates ***/
974 -moz-box-align: center;
977 #updates-container .button-link {
982 #updates-downloaded {
993 .addon-control[disabled="true"] {
998 background: transparent;
1000 text-decoration: underline;
1007 /* Needed to override normal button style from inContent.css */
1008 button.button-link:not([disabled="true"]):active:hover {