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-service > .category-icon {
251 list-style-image: url("chrome://mozapps/skin/extensions/category-service.png");
253 #category-theme > .category-icon {
254 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
256 #category-plugin > .category-icon {
257 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
259 #category-dictionary > .category-icon {
260 list-style-image: url("chrome://mozapps/skin/extensions/category-dictionaries.png");
262 #category-availableUpdates > .category-icon {
263 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
265 #category-recentUpdates > .category-icon {
266 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
279 border: 1px inset #CCD0DD;
281 background-color: #CCD0DD;
285 #header-search .textbox-input::-moz-placeholder {
289 #header-search[focused] {
290 background-color: #FFFFFF;
293 @media (max-width: 600px) {
300 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
301 -moz-margin-end: 16px;
305 background-color: #9999CC;
309 border-bottom: 1px solid #666699;
316 -moz-appearance: none;
320 -moz-appearance: none;
321 border: 1px solid transparent;
322 background-color: transparent;
326 min-width: 12px !important;
327 -moz-box-direction: reverse;
330 .sorter .button-box {
336 border: 1px outset #666699;
339 .sorter[checkState="1"],
340 .sorter[checkState="2"] {
341 background-color: #666699;
343 border: 1px inset #666699;
346 .sorter[checkState="1"] {
347 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
350 .sorter[checkState="2"] {
351 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
354 .sorter .button-icon {
355 -moz-margin-start: 4px;
359 /*** discover view ***/
361 .discover-spacer-before,
362 .discover-spacer-after {
366 #discover-error .alert {
372 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
373 -moz-margin-end: 15px;
379 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
383 .discover-description {
398 background-color: transparent;
402 border-bottom: 1px solid #9999CC;
404 background-origin: border-box;
410 -moz-margin-start: 10px;
417 -moz-box-align: center;
418 -moz-box-pack: center;
422 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
427 .addon[active="false"] .icon {
428 filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
431 .addon-view[type="theme"] .icon {
432 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
435 .addon-view[type="locale"] .icon {
436 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
439 .addon-view[type="plugin"] .icon {
440 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
443 .addon-view[type="dictionary"] .icon {
444 list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png");
460 .creator .text-link {
461 /* color: #0066CC; */
464 .description-container {
465 -moz-margin-start: 6px;
466 -moz-box-align: center;
477 -moz-margin-start: 48px;
479 -moz-box-align: center;
483 .basicinfo-container {
484 -moz-box-align: start;
487 .addon[status="installing"] > .content-container {
488 -moz-box-align: stretch;
491 .advancedinfo-container,
492 .update-info-container {
493 -moz-box-align: center;
500 .install-status-container {
505 .name-outer-container {
506 -moz-box-pack: center;
509 .relnotes-toggle-container,
510 .icon-outer-container {
511 -moz-box-pack: start;
519 .addon-view .warning {
527 .addon-view .pending {
531 .addon-view[pending="disable"] .pending,
532 .addon-view[pending="uninstall"] .pending {
536 .addon .relnotes-container {
537 -moz-box-align: start;
538 -moz-margin-start: 6px;
542 transition-property: height, opacity;
543 transition-duration: 0.5s, 0.5s;
546 .addon[show-relnotes] .relnotes-container {
548 transition-property: height, opacity;
549 transition-duration: 0.5s, 0.5s;
552 .addon .relnotes-header {
557 .addon .relnotes-toggle {
559 background: transparent;
561 -moz-box-direction: reverse;
563 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
566 .addon .relnotes-toggle > .button-box > .button-icon {
567 -moz-padding-start: 4px;
570 .addon[show-relnotes] .relnotes-toggle {
571 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
574 .addon[active="false"] {
575 background-color: #DDDDDD;
578 .addon-view[active="false"],
579 .addon-view[active="false"] .name-container {
583 .addon-view[notification="warning"] {
584 background-color: #FFFFCC;
587 .addon-view[notification="error"] {
588 background-color: #FFD0DD;
591 .addon-view[notification="info"] {
592 background-color: #9999CC;
595 .addon-view[pending="enable"],
596 .addon-view[pending="upgrade"],
597 .addon-view[pending="install"] {
598 background-color: #CCFFDD;
601 .addon-view[pending="enable"] .pending,
602 .addon-view[pending="upgrade"] .pending,
603 .addon-view[pending="install"] .pending {
607 .addon-view[pending="disable"],
608 .addon-view[pending="uninstall"] {
609 background-color: #808080;
613 background-color: #336699;
617 .addon[selected] .name-container {
621 .addon[active="false"][selected] {
625 .addon[active="false"][selected] .name-container {
630 /*** item - uninstalled ***/
632 .addon[status="uninstalled"] {
636 .addon[status="uninstalled"] > .container {
637 -moz-box-align: center;
639 background-color: #808080;
644 .addon[status="uninstalled"][selected] {
645 background-color: transparent;
649 /*** search view ***/
653 -moz-box-align: center;
654 background-color: #FFFFFF;
656 border-bottom: 1px solid #666699;
660 #search-filter-label {
665 .search-filter-radio {
666 -moz-appearance: none;
669 border-radius: 10000px;
672 .search-filter-radio[selected] {
673 background-color: #3366699;
677 .search-filter-radio .radio-check-box1 {
681 .search-filter-radio .radio-icon {
685 #search-allresults-link {
690 /*** detail view ***/
692 #detail-view .loading {
696 #detail-view[loading-extended] .loading {
698 transition-property: opacity;
699 transition-duration: 1s;
702 .detail-view-container {
703 padding: 0 2em 2em 2em;
707 #detail-notifications {
712 #detail-notifications .warning,
713 #detail-notifications .pending,
714 #detail-notifications .error {
715 -moz-margin-start: 0;
718 #detail-icon-container {
720 -moz-margin-end: 10px;
733 #detail-name-container {
738 -moz-margin-end: 2em;
743 #detail-screenshot[loading] {
744 background-image: url("chrome://communicator/skin/brand/throbber-anim.gif");
745 background-position: 50% 50%;
746 background-repeat: no-repeat;
749 #detail-screenshot[loading="error"] {
750 background-image: url("chrome://global/skin/icons/alert-error.gif");
753 #detail-desc-container {
757 #detail-desc, #detail-fulldesc {
758 -moz-margin-start: 6px;
759 white-space: pre-wrap;
760 /* This is necessary to fix layout issues with multi-line descriptions, see
762 outline: solid transparent;
770 #detail-contributions {
772 border: 1px solid #666699;
775 background-color: #FFFFCC;
778 #detail-contrib-description {
784 #detail-contrib-suggested {
789 #detail-contrib-btn {
790 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
793 #detail-contrib-btn .button-icon {
794 -moz-margin-end: 3px;
801 #detail-grid > columns > column:first-child {
806 .detail-row[first-row="true"],
807 .detail-row-complex[first-row="true"],
808 setting[first-row="true"] {
815 border-top: 1px solid #808080;
816 -moz-box-align: center;
824 #detail-view[active="false"]:not([pending]):not([notification]) {
825 /* background-color: foo; */
828 setting[first-row="true"] {
833 -moz-box-align: start;
836 .preferences-alignment {
838 -moz-box-align: center;
841 .preferences-description {
845 -moz-margin-start: 2em;
846 white-space: pre-wrap;
849 .preferences-description:empty {
853 setting[type="radio"] > radiogroup {
854 -moz-box-orient: horizontal;
857 menulist { /* Fixes some styling inconsistencies */
858 margin: 1px 5px 2px 5px;
864 -moz-margin-start: 0;
868 .creator > .text-link {
881 .meta-rating > .star {
882 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
886 .meta-rating > .star[on="true"] {
887 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
891 /*** download progress ***/
894 background-color: #CCD0DD;
895 border: 1px solid #808080;
901 .download-progress[mode="undetermined"] .status-container {
905 .download-progress .start-cap,
906 .download-progress[complete] .end-cap,
907 .download-progress[mode="undetermined"] .end-cap,
908 .download-progress .progress .progress-bar {
909 background-color: #336699;
912 .download-progress .progress .progress-bar {
913 border-left-width: 0;
914 border-right-width: 0;
918 .download-progress .progress {
919 background-color: transparent;
925 .download-progress .start-cap, .download-progress .end-cap {
929 .download-progress .start-cap:-moz-locale-dir(ltr),
930 .download-progress .end-cap:-moz-locale-dir(rtl) {
931 border-radius: 3px 0 0 3px;
934 .download-progress .end-cap:-moz-locale-dir(ltr),
935 .download-progress .start-cap:-moz-locale-dir(rtl) {
936 border-radius: 0 3px 3px 0;
939 .download-progress .cancel {
940 -moz-appearance: none;
941 background-color: #CCD0DD;
942 border: 1px solid #666699;
948 .download-progress .cancel .button-box {
953 .download-progress .cancel .button-text {
957 .download-progress .cancel .button-icon {
958 -moz-margin-start: 0;
961 .download-progress .cancel {
962 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
965 .download-progress .status-container {
966 -moz-box-align: center;
969 .download-progress .status {
970 /* text-shadow: #FFF 0 0 2px; */
973 /*** install status ***/
976 -moz-box-align: center;
980 /*** check for updates ***/
983 -moz-box-align: center;
986 #updates-container .button-link {
991 #updates-downloaded {
1002 .addon-control[disabled="true"] {
1006 button.button-link {
1007 background: transparent;
1009 text-decoration: underline;
1016 /* Needed to override normal button style from inContent.css */
1017 button.button-link:not([disabled="true"]):active:hover {