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");
8 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
12 -moz-border-start: none;
15 #back-btn:-moz-locale-dir(ltr),
16 #forward-btn:-moz-locale-dir(rtl) {
17 -moz-image-region: rect(42px 25px 63px 0px);
20 #back-btn[disabled="true"]:-moz-locale-dir(ltr),
21 #forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
22 -moz-image-region: rect(42px 50px 63px 25px);
25 #back-btn:-moz-locale-dir(rtl),
26 #forward-btn:-moz-locale-dir(ltr) {
27 -moz-image-region: rect(63px 25px 84px 0px);
30 #back-btn[disabled="true"]:-moz-locale-dir(rtl),
31 #forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
32 -moz-image-region: rect(63px 50px 84px 25px);
36 /*** global warnings ***/
38 .global-warning-container {
43 -moz-box-align: center;
49 #addons-page[warning] .global-warning-container {
50 background-color: #FFFFCC;
53 #detail-view .global-warning {
55 border-bottom: 1px solid #9999CC;
58 @media (max-width: 600px) {
59 .global-warning-text {
63 .global-warning .warning-icon {
64 /* background-color: #FFF;
65 box-shadow: 0px 0px 2px 5px #FFF;
66 border-radius: 10px; */
70 /*** global informations ***/
71 #addons-page .global-info-container {
72 background-color: #9C9CFF;
75 /* Plugins aren't yet disabled by safemode (bug 342333),
76 so don't show that warning when viewing plugins. */
77 #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
78 #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
79 background-color: inherit;
80 background-image: none;
84 /*** notification icons ***/
87 list-style-image: url("chrome://global/skin/icons/warning-16.png");
94 list-style-image: url("chrome://global/skin/icons/error-16.png");
102 list-style-image: url("chrome://global/skin/icons/information-16.png");
108 .addon-view[pending="disable"] .pending-icon,
109 .addon-view[pending="uninstall"] .pending-icon {
110 list-style-image: url("chrome://global/skin/icons/warning-16.png");
117 /*** view alert boxes ***/
120 -moz-box-align: center;
123 .alert-spacer-before {
127 .alert-spacer-after {
132 -moz-box-align: center;
135 border: 1px inset #CCD0DD;
137 background-color: #CCD0DD;
138 background-clip: padding-box;
141 .alert .alert-title {
152 list-style-image: url("chrome://global/skin/icons/loading.gif");
158 /*** category selector ***/
161 -moz-appearance: none;
163 -moz-margin-end: -1px;
164 background-color: transparent;
170 background-color: transparent;
176 border-color: transparent;
177 -moz-box-align: center;
181 .category[disabled] {
186 transition-property: height, opacity;
187 transition-duration: 1s, 0.8s;
190 .category:not([disabled]) {
192 transition-property: height, opacity;
193 transition-duration: 1s, 0.8s;
196 .category[selected] {
197 background-color: #FFFFFF;
199 border-color: #666699;
206 /* Maximize the size of the viewport when the window is small */
207 @media (max-width: 800px) {
214 background-color: #666699;
217 border: 1px outset #666699;
223 .category-badge[value="0"] {
230 -moz-margin-start: 6px;
233 #category-search > .category-icon {
234 list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
236 #category-discover > .category-icon {
237 list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
239 #category-locale > .category-icon {
240 list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
242 #category-searchengine > .category-icon {
243 list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
245 #category-extension > .category-icon {
246 list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
248 #category-service > .category-icon {
249 list-style-image: url("chrome://mozapps/skin/extensions/category-service.png");
251 #category-theme > .category-icon {
252 list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
254 #category-plugin > .category-icon {
255 list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
257 #category-dictionary > .category-icon {
258 list-style-image: url("chrome://mozapps/skin/extensions/category-dictionaries.png");
260 #category-experiment > .category-icon {
261 list-style-image: url("chrome://mozapps/skin/extensions/category-experiments.png");
263 #category-availableUpdates > .category-icon {
264 list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
266 #category-recentUpdates > .category-icon {
267 list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
280 border: 1px inset #CCD0DD;
282 background-color: #CCD0DD;
286 #header-search .textbox-input::-moz-placeholder {
290 #header-search[focused] {
291 background-color: #FFFFFF;
294 @media (max-width: 600px) {
301 list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
302 -moz-margin-end: 16px;
306 background-color: #9999CC;
310 border-bottom: 1px solid #666699;
317 -moz-appearance: none;
321 -moz-appearance: none;
322 border: 1px solid transparent;
323 background-color: transparent;
327 min-width: 12px !important;
328 -moz-box-direction: reverse;
331 .sorter .button-box {
337 border: 1px outset #666699;
340 .sorter[checkState="1"],
341 .sorter[checkState="2"] {
342 background-color: #666699;
344 border: 1px inset #666699;
347 .sorter[checkState="1"] {
348 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
351 .sorter[checkState="2"] {
352 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
355 .sorter .button-icon {
356 -moz-margin-start: 4px;
360 /*** discover view ***/
362 .discover-spacer-before,
363 .discover-spacer-after {
367 #discover-error .alert {
373 list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
374 -moz-margin-end: 15px;
380 /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */
384 .discover-description {
399 background-color: transparent;
403 border-bottom: 1px solid #9999CC;
405 background-origin: border-box;
411 -moz-margin-start: 10px;
418 -moz-box-align: center;
419 -moz-box-pack: center;
423 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
428 .addon[active="false"] .icon {
429 filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
432 .addon-view[type="theme"] .icon {
433 list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
436 .addon-view[type="locale"] .icon {
437 list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
440 .addon-view[type="plugin"] .icon {
441 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
444 .addon-view[type="dictionary"] .icon {
445 list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png");
448 .addon-view[type="experiment"] .icon {
449 list-style-image: url("chrome://mozapps/skin/extensions/experimentGeneric.png");
465 .creator .text-link {
466 /* color: #0066CC; */
469 .description-container {
470 -moz-margin-start: 6px;
471 -moz-box-align: center;
482 -moz-margin-start: 48px;
484 -moz-box-align: center;
488 .basicinfo-container {
489 -moz-box-align: start;
492 .addon[status="installing"] > .content-container {
493 -moz-box-align: stretch;
496 .advancedinfo-container,
497 .update-info-container {
498 -moz-box-align: center;
505 .install-status-container {
510 .name-outer-container {
511 -moz-box-pack: center;
514 .relnotes-toggle-container,
515 .icon-outer-container {
516 -moz-box-pack: start;
524 .addon-view .warning {
532 .addon-view .pending {
536 .addon-view[pending="disable"] .pending,
537 .addon-view[pending="uninstall"] .pending {
541 .addon .relnotes-container {
542 -moz-box-align: start;
543 -moz-margin-start: 6px;
547 transition-property: height, opacity;
548 transition-duration: 0.5s, 0.5s;
551 .addon[show-relnotes] .relnotes-container {
553 transition-property: height, opacity;
554 transition-duration: 0.5s, 0.5s;
557 .addon .relnotes-header {
562 .addon .relnotes-toggle {
564 background: transparent;
566 -moz-box-direction: reverse;
568 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
571 .addon .relnotes-toggle > .button-box > .button-icon {
572 -moz-padding-start: 4px;
575 .addon[show-relnotes] .relnotes-toggle {
576 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
579 .addon[active="false"] {
580 background-color: #DDDDDD;
583 .addon-view[active="false"],
584 .addon-view[active="false"] .name-container {
588 .addon-view[notification="warning"] {
589 background-color: #FFFFCC;
592 .addon-view[notification="error"] {
593 background-color: #FFD0DD;
596 .addon-view[notification="info"] {
597 background-color: #9999CC;
600 .addon-view[pending="enable"],
601 .addon-view[pending="upgrade"],
602 .addon-view[pending="install"] {
603 background-color: #CCFFDD;
606 .addon-view[pending="enable"] .pending,
607 .addon-view[pending="upgrade"] .pending,
608 .addon-view[pending="install"] .pending {
612 .addon-view[pending="disable"],
613 .addon-view[pending="uninstall"] {
614 background-color: #808080;
618 background-color: #336699;
622 .addon[selected] .name-container {
626 .addon[active="false"][selected] {
630 .addon[active="false"][selected] .name-container {
635 /*** item - uninstalled ***/
637 .addon[status="uninstalled"] {
641 .addon[status="uninstalled"] > .container {
642 -moz-box-align: center;
644 background-color: #808080;
649 .addon[status="uninstalled"][selected] {
650 background-color: transparent;
654 /*** search view ***/
658 -moz-box-align: center;
659 background-color: #FFFFFF;
661 border-bottom: 1px solid #666699;
665 #search-filter-label {
670 .search-filter-radio {
671 -moz-appearance: none;
674 border-radius: 10000px;
677 .search-filter-radio[selected] {
678 background-color: #336699;
682 .search-filter-radio .radio-check-box1 {
686 .search-filter-radio .radio-icon {
690 #search-allresults-link {
695 /*** detail view ***/
697 #detail-view .loading {
701 #detail-view[loading-extended] .loading {
703 transition-property: opacity;
704 transition-duration: 1s;
707 .detail-view-container {
708 padding: 0 2em 2em 2em;
712 #detail-notifications {
717 #detail-notifications .warning,
718 #detail-notifications .pending,
719 #detail-notifications .error {
720 -moz-margin-start: 0;
723 #detail-icon-container {
725 -moz-margin-end: 10px;
738 #detail-name-container {
743 -moz-margin-end: 2em;
748 #detail-screenshot[loading] {
749 background-image: url("chrome://communicator/skin/brand/throbber-anim.gif");
750 background-position: 50% 50%;
751 background-repeat: no-repeat;
754 #detail-screenshot[loading="error"] {
755 background-image: url("chrome://global/skin/icons/alert-error.gif");
758 #detail-desc-container {
762 #detail-desc, #detail-fulldesc {
763 -moz-margin-start: 6px;
764 white-space: pre-wrap;
765 /* This is necessary to fix layout issues with multi-line descriptions, see
767 outline: solid transparent;
775 #detail-contributions {
777 border: 1px solid #666699;
780 background-color: #FFFFCC;
783 #detail-contrib-description {
789 #detail-contrib-suggested {
794 #detail-contrib-btn {
795 list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
798 #detail-contrib-btn .button-icon {
799 -moz-margin-end: 3px;
806 #detail-grid > columns > column:first-child {
811 .detail-row[first-row="true"],
812 .detail-row-complex[first-row="true"],
813 setting[first-row="true"] {
820 border-top: 1px solid #808080;
821 -moz-box-align: center;
829 #detail-view[active="false"]:not([pending]):not([notification]) {
830 /* background-color: foo; */
833 setting[first-row="true"] {
838 -moz-box-align: start;
841 .preferences-alignment {
843 -moz-box-align: center;
846 .preferences-description {
850 -moz-margin-start: 2em;
851 white-space: pre-wrap;
854 .preferences-description:empty {
858 setting[type="radio"] > radiogroup {
859 -moz-box-orient: horizontal;
862 menulist { /* Fixes some styling inconsistencies */
863 margin: 1px 5px 2px 5px;
869 -moz-margin-start: 0;
873 .creator > .text-link {
886 .meta-rating > .star {
887 list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
891 .meta-rating > .star[on="true"] {
892 list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
896 /*** download progress ***/
899 background-color: #CCD0DD;
900 border: 1px solid #808080;
906 .download-progress[mode="undetermined"] .status-container {
910 .download-progress .start-cap,
911 .download-progress[complete] .end-cap,
912 .download-progress[mode="undetermined"] .end-cap,
913 .download-progress .progress .progress-bar {
914 background-color: #336699;
917 .download-progress .progress .progress-bar {
918 border-left-width: 0;
919 border-right-width: 0;
923 .download-progress .progress {
924 background-color: transparent;
930 .download-progress .start-cap, .download-progress .end-cap {
934 .download-progress .start-cap:-moz-locale-dir(ltr),
935 .download-progress .end-cap:-moz-locale-dir(rtl) {
936 border-radius: 3px 0 0 3px;
939 .download-progress .end-cap:-moz-locale-dir(ltr),
940 .download-progress .start-cap:-moz-locale-dir(rtl) {
941 border-radius: 0 3px 3px 0;
944 .download-progress .cancel {
945 -moz-appearance: none;
946 background-color: #CCD0DD;
947 border: 1px solid #666699;
953 .download-progress .cancel .button-box {
958 .download-progress .cancel .button-text {
962 .download-progress .cancel .button-icon {
963 -moz-margin-start: 0;
966 .download-progress .cancel {
967 list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
970 .download-progress .status-container {
971 -moz-box-align: center;
974 .download-progress .status {
975 /* text-shadow: #FFF 0 0 2px; */
978 /*** install status ***/
981 -moz-box-align: center;
985 /*** check for updates ***/
988 -moz-box-align: center;
991 #updates-container .button-link {
996 #updates-downloaded {
1007 .addon-control[disabled="true"]:not(.no-auto-hide) {
1011 .no-auto-hide .addon-control {
1012 display: block !important;
1015 button.button-link {
1016 background: transparent;
1018 text-decoration: underline;
1025 /* Needed to override normal button style from inContent.css */
1026 button.button-link:not([disabled="true"]):active:hover {
1029 /*** telemetry experiments ***/
1031 #detail-experiment-container {
1036 #detail-experiment-bullet-container,
1037 #detail-experiment-state,
1038 #detail-experiment-time,
1039 .experiment-bullet-container,
1042 vertical-align: middle;
1043 display: inline-block;
1046 .addon .experiment-bullet,
1047 #detail-experiment-bullet {
1051 .addon[active="true"] .experiment-bullet,
1052 #detail-view[active="true"] #detail-experiment-bullet {