X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fmozapps%2Fextensions%2Fextensions.css;h=c8ad94a084d54f13b84b0f5ffa7f04dd1c6aa8d1;hp=698e47728edfe29a64b3f527bfb7211cef341b98;hb=6598e84c81931cfd234efc0b5f1b0861ff777215;hpb=1e140ad9404c156764e2dfddf7551f222cf630b7 diff --git a/LCARStrek/mozapps/extensions/extensions.css b/LCARStrek/mozapps/extensions/extensions.css index 698e4772..c8ad94a0 100644 --- a/LCARStrek/mozapps/extensions/extensions.css +++ b/LCARStrek/mozapps/extensions/extensions.css @@ -1,470 +1,1142 @@ -#extensionsBox { - margin: 10px 10px 0px; - min-width: 1px; +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url("chrome://global/skin/in-content/common.css"); + +#addons-page { + padding: 3px; + margin: 0; } -#extensionsView { - -moz-appearance: none; - -moz-border-radius: 3px; +.main-content { + padding: 0; +} + +#nav-header { + min-height: 39px; +} + +.view-pane > .list > scrollbox { + border-radius: 1em 0 0 0; +/* padding-right: 48px; + padding-left: 48px; */ +} + +#search-list > scrollbox { + border-radius: 0; +} + +/*** global warnings ***/ + +.global-warning-container { + overflow-x: hidden; +} + +.global-warning { + -moz-box-align: center; + padding: 0 8px; + color: #000000; + font-weight: bold; +} + +#addons-page[warning] .global-warning-container { + background-color: #FFCF00; +} + +#detail-view .global-warning { + padding: 4px 12px; + border-bottom: 3px solid #000000; +} + +@media (max-width: 600px) { + .global-warning-text { + display: none; + } + + .global-warning .warning-icon { + /* background-color: #FFF; + box-shadow: 0px 0px 2px 5px #FFF; + border-radius: 10px; */ + } +} + +/*** global informations ***/ + +/* Plugins aren't yet disabled by safemode (bug 342333), + so don't show that warning when viewing plugins. */ +#addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container, +#addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container { + background-color: inherit; + background-image: none; +} + +/*** notification icons ***/ + +.warning-icon, +.error-icon, +.pending-icon, +.info-icon { + width: 16px; + height: 16px; + margin: 1px 0; +} + +.warning-icon { + list-style-image: url("chrome://mozapps/skin/extensions/alerticon-warning.svg"); +} + +.error-icon { + list-style-image: url("chrome://mozapps/skin/extensions/alerticon-error.svg"); +} + +.pending-icon, +.info-icon { + list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-positive.svg"); +} + +.addon-view[pending="disable"] .pending-icon, +.addon-view[pending="uninstall"] .pending-icon { + list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.svg"); +} + +/*** view alert boxes ***/ + +.alert-container { + -moz-box-align: center; + margin-right: 48px; + margin-left: 48px; + padding-top: .5em; +} + +.alert-spacer-before { + -moz-box-flex: 1; +} + +.alert-spacer-after { + -moz-box-flex: 3; +} + +.alert { + -moz-box-align: center; + padding: 10px; + color: #FF9F00; border: 1px solid #9C9CFF; - margin: 0; - min-width: 245px; + border-radius: 8px; + background-color: #000000; + background-clip: padding-box; } -#resizerBox { - margin-top: -12px; - visibility: hidden; +.alert .alert-title { + font-weight: bold; + font-size: 200%; + margin-bottom: 15px; } -#resizerBox > resizer { - height: 10px; - max-height: 10px; - visibility: visible; +.alert button { + margin: 1em 2em; } -.notification-inner { - border: none; - border-bottom: 1px solid #9C9CFF; +.loading { + list-style-image: url("chrome://global/skin/icons/loading.png"); + padding-left: 20px; + padding-right: 20px; } -#searchfield { - -moz-margin-start: 0; +@media (min-resolution: 1.1dppx) { + .loading > image { + width: 16px; + list-style-image: url("chrome://global/skin/icons/loading@2x.png"); + } } -/* Command Bar */ -#commandBarBottom { - margin-top: 5px; - margin-bottom: 10px; - -moz-margin-start: 10px; - -moz-margin-end: 5px; - min-width: 1px; +button.warning { + list-style-image: url("chrome://mozapps/skin/extensions/alerticon-warning.svg"); } -#commandBarBottom button { - margin: 0; - -moz-margin-end: 5px; +/*** category selector ***/ + +#categories { + padding-top: 0;/*31px;*/ } -/* List Items */ -richlistitem { - padding-top: 6px; - padding-bottom: 6px; - -moz-padding-start: 7px; - -moz-padding-end: 7px; - min-height: 25px; - border-bottom: 1px dotted #FF9F00; +.category[disabled] { + min-height: 0; + opacity: 0; + transition-property: min-height, opacity; + transition-duration: 1s, 0.8s; } -richlistitem[isDisabled="true"] .addonIcon { - opacity: 0.3; +.category:not([disabled]) { + min-height: 40px; + transition-property: min-height, opacity; + transition-duration: 1s, 0.8s; } -richlistitem[isDisabled="true"] { - color: #8050B0; +/* Maximize the size of the viewport when the window is small */ +@media (max-width: 800px) { + .category-name { + display: none; + } +} + +.category-badge { + background-color: #E7ADE7; + padding: 2px 8px; + margin: 6px 0; + margin-inline-start: 6px; + border-radius: 100%; + color: #000000; + font-weight: bold; + text-align: center; +} + +.category-badge[value="0"] { + display: none; +} + +#category-search > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-search.png"); +} +#category-discover > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png"); +} +#category-locale > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png"); +} +#category-extension > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png"); +} +#category-service > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-service.png"); +} +#category-theme > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png"); +} +#category-plugin > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png"); +} +#category-dictionary > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-dictionaries.png"); +} +#category-experiment > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-experiments.png"); +} +#category-availableUpdates > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-available.png"); +} +#category-recentUpdates > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png"); +} + +/*** main content ***/ + +#addons-page > hbox { + /* This applies to the box surrounding all content. */ + background-color: #A09090; + border-radius: 1em 0 0 0; +} + +.main-content { + border: none; + padding-bottom: 0; } -richlistitem[newAddon="true"] { +#view-port { +} + +#headered-views-content { + border-radius: 1em 0 0 0; background-color: #000000; - color: #FFCF00; } -richlistitem[selected="true"] { - background-color: #008484; +/*** header ***/ + +#header { + height: 2em; + padding: 3px; + background-color: #A09090; +} + +@media (max-width: 600px) { + #header-search { + width: 12em; + } +} + +#header-utils-btn { + list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg#utilities"); + margin-inline-end: 16px; +} + +#header-utils-btn:hover, +#header-utils-btn:hover:active, +#header-utils-btn[open="true"] { + list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg#utilities-hover"); +} + +#header-utils-btn > .button-box > .button-menu-dropmarker { + border: none; + background: transparent; +} + +#header-utils-btn:hover > .button-box > .button-menu-dropmarker { + list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); +} + +.view-header { + margin: 0 48px; + background-color: #9C9CFF; + color: #000000; + border-radius: 8px; + padding: 0px 1em; + margin: 3px; +} + +.header-button { +} + +.header-button[disabled="true"] > .toolbarbutton-icon { +} + +.header-button:not([disabled="true"]):hover, +#header-utils-btn:not([disabled="true"]):hover { + cursor: pointer; +} + +.header-button > .toolbarbutton-text { + display: none; +} + +.nav-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); +} + +#forward-btn { + border-inline-start: none; +} + +#back-btn:-moz-locale-dir(ltr), +#forward-btn:-moz-locale-dir(rtl) { + -moz-image-region: rect(42px 25px 63px 0px); +} + +#back-btn[disabled="true"]:-moz-locale-dir(ltr), +#forward-btn[disabled="true"]:-moz-locale-dir(rtl) { + -moz-image-region: rect(42px 50px 63px 25px); +} + +#back-btn:-moz-locale-dir(rtl), +#forward-btn:-moz-locale-dir(ltr) { + -moz-image-region: rect(63px 25px 84px 0px); +} + +#back-btn[disabled="true"]:-moz-locale-dir(rtl), +#forward-btn[disabled="true"]:-moz-locale-dir(ltr) { + -moz-image-region: rect(63px 50px 84px 25px); +} + +/*** sorters ***/ + +.sort-controls { + border-right: 3px solid #000000; +} + +.sorter { + border: none; + border-left: 3px solid #000000; + background-color: transparent; + color: #000000; + border-radius: 0; + margin: 0; + min-width: 12px !important; + -moz-box-direction: reverse; +} +.sorter:hover { + background-color: #FFCF00; color: #000000; } -richlistitem[selected="true"] .text-link { - color: inherit; +.sorter .button-box { + padding-top: 0; + padding-bottom: 0; } -#extensionsView:focus > richlistitem[selected="true"] { +.sorter[checkState="1"], +.sorter[checkState="2"] { background-color: #008484; color: #FFCF00; } -#extensionsView:focus > richlistitem[selected="true"][isDisabled="true"] { - background-color: #8050B0; - color: #000000; +.sorter[checkState="1"] { + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); } -.descriptionWrap { - margin-bottom: 2px; +.sorter[checkState="2"] { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); } -richlistitem[selected="true"]:not([opType]) .descriptionCrop { - display: none; +.sorter .button-icon { + margin-inline-start: 6px; } -.addonName { - font-weight: bold; + +/*** discover view ***/ + +#discover-view { + background-image: linear-gradient(#A09090 28px, #000000 28px, #000000 100%); +} + +.discover-spacer-before, +.discover-spacer-after { + -moz-box-flex: 1; +} + +#discover-error .alert { + max-width: 45em; + -moz-box-flex: 1; +} + +.discover-logo { + list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png"); + margin-inline-end: 15px; } -.previewText { - font-size: larger; +.discover-title { font-weight: bold; - color: #FF9F00; - text-align: center; + font-size: 24px; + /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */ + margin: 0 0 15px 0; } -#themePreviewArea { - -moz-border-radius: 3px; - border: 1px solid #9C9CFF; - background-color: #000000; - color: #FF9F00; - min-width: 65px; - overflow: auto; +.discover-description { + text-align: justify; + margin: 0 0 15px 0; } -#previewImageDeck { - min-width: 220px; +.discover-footer { + text-align: justify; } -#themeSplitter { - border-width: 0; +#discover-browser { + border-radius: 1em 0px 0px; } -.addonIcon { - -moz-margin-end: 2px; - width: 32px; - height: 32px; +/*** list ***/ + +.list { + margin: 0; + border-width: 0 !important; + background-color: transparent; } -.addonIcon > image { - max-width: 32px; - max-height: 32px; +.list > scrollbox > .scrollbox-innerbox { + border: 1px dotted transparent; } -.updateBadge, -.notifyBadge { - width: 16px; - height: 16px; - margin-bottom: -3px; - list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); +.list:-moz-focusring > scrollbox > .scrollbox-innerbox { + border-color: #008484; } -richlistitem .updateBadge { - -moz-margin-end: -2px; +.addon { + border-bottom: 1px solid #9C9CFF; + padding: 5px; + background-origin: border-box; } -richlistitem .notifyBadge { - -moz-margin-start: -2px; +.addon:not(:only-child):last-child { + border-bottom-width: 0; } -.updateBadge, -.updateAvailableBox, -.notifyBadge { - display: none; +.details { + cursor: pointer; + margin: 0; + margin-inline-start: 10px; +} + +.icon-container { + width: 48px; + height: 48px; + margin: 3px 7px; + -moz-box-align: center; + -moz-box-pack: center; +} + +.icon { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.svg"); + max-width: 48px; + max-height: 48px; +} + +.content-inner-container { + margin-inline-end: 5px; +} + +.addon[active="false"] .icon { + filter: grayscale(1); +} + +.addon-view[type="theme"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); +} + +.addon-view[type="locale"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); } -richlistitem[availableUpdateURL][updateable="true"] .updateBadge, -richlistitem[availableUpdateURL][updateable="true"] .updateAvailableBox, -richlistitem[compatible="false"] .notifyBadge, -richlistitem[providesUpdatesSecurely="false"] .notifyBadge, -richlistitem[blocklisted="true"] .notifyBadge, -richlistitem[blocklistedsoft="true"] .notifyBadge, -richlistitem[satisfiesDependencies="false"] .notifyBadge { - display: -moz-box; +.addon-view[type="plugin"] .icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); } +.addon-view[type="dictionary"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png"); +} -/* Selected Add-on buttons - See content/extensions.css to hide / display buttons */ -.selectedButtons { - margin-top: 4px; - min-height: 2.1em; +.addon-view[type="experiment"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/experimentGeneric.png"); } -.selectedButtons > button { - margin-top: 0; +.name-container { + font-size: 1.3rem; + font-weight: bold; + color: #9C9CFF; margin-bottom: 0; + -moz-box-align: end; + -moz-box-flex: 1; } -.enableButton, -.disableButton, -.optionsButton, -.useThemeButton { - -moz-margin-end: 0; +.creator { + font-weight: bold; } -.enableButton, .disableButton, -.uninstallButton, .cancelUninstallButton { - -moz-margin-start: 5px; +.description-container { + margin-inline-start: 6px; + -moz-box-align: center; + font-size: 1.25rem; } -/* Selected Add-on status messages and images */ -richlistitem[compatible="true"] .incompatibleBox, -richlistitem[providesUpdatesSecurely="true"] .insecureUpdateBox, -richlistitem[satisfiesDependencies="true"] .needsDependenciesBox, -richlistitem:not([blocklisted="true"]):not([blocklistedsoft="true"]) .blocklistedBox, -richlistitem[blocklistedsoft="false"]:not([selected="true"]) .blocklistedBox, -richlistitem[blocklisted="false"] .blocklistedLabel, -richlistitem[blocklistedsoft="false"] .softBlocklistedLabel, -richlistitem[opType="needs-uninstall"] .blocklistedBox, -richlistitem[opType="needs-uninstall"] .incompatibleBox, -richlistitem[opType="needs-uninstall"] .needsDependenciesBox, -richlistitem[opType="needs-uninstall"] .blocklistedBox { - display: none; +.description { + margin: 0; } -richlistitem[loading="true"] .updateBadge { - display: -moz-box; - width: 16px; - height: 16px; - margin-bottom: -3px; - -moz-margin-end: -2px; - list-style-image: url("chrome://global/skin/icons/loading.gif"); - -moz-image-region: auto; +.warning, +.pending, +.error, +.info { + margin-inline-start: 48px; + font-weight: bold; + -moz-box-align: center; } -.addonThrobber { - -moz-margin-start: 5px; - width: 16px; - height: 16px; - list-style-image: url("chrome://global/skin/icons/loading.gif"); +.content-container, +.basicinfo-container { + -moz-box-align: start; +} + +.addon[status="installing"] > .content-container { + -moz-box-align: stretch; +} + +.update-info-container { + -moz-box-align: center; +} + +.update-available { + -moz-box-align: end; } -.selectedStatusMsgs > hbox { - margin-top: 2px; - margin-bottom: 2px; +.install-status-container { + -moz-box-pack: end; + -moz-box-align: end; } -.selectedStatusMsgs label { +.name-outer-container { + -moz-box-pack: center; +} + +.relnotes-toggle-container, +.icon-outer-container { + -moz-box-pack: start; +} + +.status-container, +.control-container { + -moz-box-pack: end; +} + +.addon-view .warning { + color: #FFCF00; +} + +.addon-view .error { + color: #FF0000; +} + +.addon-view .pending { + color: #008484; +} + +.addon-view[pending="disable"] .pending, +.addon-view[pending="uninstall"] .pending { + color: #FF9C00; +} + +.addon .relnotes-container { + -moz-box-align: start; + margin-inline-start: 6px; + height: 0; + overflow: hidden; + opacity: 0; + transition-property: height, opacity; + transition-duration: 0.5s, 0.5s; +} + +.addon[show-relnotes] .relnotes-container { + opacity: 1; + transition-property: height, opacity; + transition-duration: 0.5s, 0.5s; +} + +.addon .relnotes-header { font-weight: bold; + margin: 10px 0; } -.selectedStatusMsgs label.text-link { - font-weight: normal; +.addon .relnotes-toggle { border: none; + background: transparent; + font-weight: bold; + -moz-box-direction: reverse; + cursor: pointer; + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); } -richlistitem[opType="needs-uninstall"] .notifyBadge { - display: none; +.addon .relnotes-toggle > .button-box > .button-icon { + padding-inline-start: 4px; +} + +.addon[show-relnotes] .relnotes-toggle { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +} + +.addon-view[notification], +.addon-view[pending] { + --view-highlight-color: transparent; + /* + background-image: radial-gradient(at 50% 0%, + var(--view-highlight-color) 0%, + transparent 75%); + */ + background-color: var(--view-highlight-color); +} + +.addon-view[notification="warning"] { + --view-highlight-color: #FFCF00; + color: #000000; +} + +.addon-view[notification="warning"] .warning { + color: #000000; +} + +.addon-view[notification="warning"] .name-container { + color: #000000; +} + +.addon-view[notification="warning"] .text-link:hover { + color: #000000; +} + +.addon-view[notification="error"] { + --view-highlight-color: #FF0000; + color: #000000; +} + +.addon-view[notification="error"] .error { + color: #000000; +} + +.addon-view[notification="info"] { + --view-highlight-color: #9C9CFF; + color: #000000; +} + +.addon-view[pending="enable"], +.addon-view[pending="upgrade"], +.addon-view[pending="install"] { + --view-highlight-color: #008484; +} + +.addon-view[pending="enable"] .pending, +.addon-view[pending="upgrade"] .pending, +.addon-view[pending="install"] .pending { + color: #000000; +} + +.addon-view[pending="disable"], +.addon-view[pending="uninstall"] { + color: #8050B0; +} + + +/*** item - uninstalled ***/ + +.addon[status="uninstalled"] { + border: none; +} + +.addon[status="uninstalled"] > .container { + -moz-box-align: center; + padding: 4px 20px; + background-color: #8050B0; + border-radius: 8px; + font-size: 120%; +} + +.addon[status="uninstalled"][selected] { + background-color: transparent; +} + +.addon[selected] { + background-color: #008484; + color: #FF9F00; +} + +.addon[selected] .name-container { + color: #FFCF00; +} + +.addon[active="false"] { + background-color: #8050B0; + color: #E7ADE7; +} + +.addon-view[active="false"] .name-container { + color: #E7ADE7; + color: #000000; +} + +.addon[active="false"][selected] { + color: #E7ADE7; } -.addon-search-details { - margin-top: 5px; - margin-bottom: 5px; - -moz-margin-start: 6px; - -moz-margin-end: 0; +.addon[active="false"][selected] .name-container { + color: #E7ADE7; } -.addonThumbnailContainer { + +/*** search view ***/ + +#search-filter { + padding: 5px 20px; +/* margin-right: 48px; + margin-left: 48px;*/ + -moz-box-align: center; background-color: #000000; - padding: 5px; - -moz-border-radius: 3px; - border: 1px solid #9C9CFF; - width: 135px; - min-height: 104px; - -moz-margin-end: 5px; + font-size: 120%; + border-bottom: 1px solid #9C9CFF; + overflow-x: hidden; } -.addonMissingThumbnail { - color: GrayText; - font-size: larger; +#search-filter-label { font-weight: bold; + color: #FFCF00; + margin-inline-end: 10px; } -.addonFailure { - width: 16px; - height: 16px; - list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); +#search-allresults-link { + margin-top: 1em; + margin-bottom: 2em; } -.addonRating { - display: none; +/*** detail view ***/ + +#detail-view .loading { + opacity: 0; } -.addonLearnMore { - margin-top: 4px; - margin-bottom: 4px; +#detail-view[loading-extended] .loading { + opacity: 1; + transition-property: opacity; + transition-duration: 1s; } -.addonRating[rating] { - display: -moz-box; - width: 68px; - height: 12px; - list-style-image: url("chrome://mozapps/skin/extensions/ratings.png"); +.detail-view-container { + padding: 0 2em 2em 2em; + font-size: 1.25rem; } -.addonRating[rating="0"] { - -moz-image-region: rect(0px 68px 12px 0px); +#detail-notifications { + margin-top: 1em; + margin-bottom: 2em; } -.addonRating[rating="1"] { - -moz-image-region: rect(12px 68px 24px 0px); +#detail-notifications .warning, +#detail-notifications .pending, +#detail-notifications .error { + margin-inline-start: 0; } -.addonRating[rating="2"] { - -moz-image-region: rect(24px 68px 36px 0px); +#detail-icon-container { + width: 64px; + margin-inline-end: 10px; + margin-top: 6px; } -.addonRating[rating="3"] { - -moz-image-region: rect(36px 68px 48px 0px); +#detail-icon { + max-width: 64px; + max-height: 64px; } -.addonRating[rating="4"] { - -moz-image-region: rect(48px 68px 60px 0px); +#detail-summary { + margin-bottom: 2em; } -.addonRating[rating="5"] { - -moz-image-region: rect(60px 68px 72px 0px); +#detail-name-container { + font-size: 2.5rem; + font-weight: normal; } -.addonType image { - -moz-margin-start: 6px; - list-style-image: url("chrome://mozapps/skin/extensions/extensionIcons.png"); - width: 16px; - height: 16px; +#detail-screenshot-box { + margin-inline-end: 2em; +/* background-color: white;*/ } -.addonTypeExtension image { - -moz-image-region: rect(0px 16px 16px 0px); + +#detail-screenshot { + max-width: 300px; + max-height: 300px; } -.addonTypeTheme image { - -moz-image-region: rect(0px 32px 16px 16px); +#detail-screenshot[loading] { + background-image: url("chrome://global/skin/icons/loading.png"); + background-position: 50% 50%; + background-repeat: no-repeat; } -vbox[typeName="status"][type="search-failure"], -vbox[typeName="status"][type="recommended-failure"], -vbox[typeName="status"][type="message-norecommended"], -vbox[typeName="status"][type="message-nosearchresults"], -vbox[typeName="status"][type="retrieve-search"], -vbox[typeName="status"][type="retrieve-recommended"] { - margin-top: 2em; +@media (min-resolution: 1.1dppx) { + #detail-screenshot[loading] { + background-image: url("chrome://global/skin/icons/loading@2x.png"); + background-size: 16px; + } +} + +#detail-screenshot[loading="error"] { + background-image: url("chrome://global/skin/icons/alert-error.gif"); +} + +#detail-desc-container { + margin-bottom: 2em; } -vbox[typeName="status"][type="footer-recommended"], -vbox[typeName="status"][type="footer-search"] { +#detail-desc, #detail-fulldesc { + margin-inline-start: 6px; + white-space: pre-wrap; + /* This is necessary to fix layout issues with multi-line descriptions, see + bug 592712*/ + outline: solid transparent; + min-width: 8em; +} + +#detail-fulldesc { margin-top: 1em; } -vbox[typeName="status"][type="header-recommended"] { - font-size: 150%; - background: #000000; +#detail-contributions { + border-radius: 5px; + border: 1px solid #9C9CFF; + margin-bottom: 2em; + padding: 1em; + background-color: #FFCF00; } -#searchbox { - padding: 0; +#detail-contrib-description { + font-style: italic; + margin-bottom: 1em; + color: #000000; } -#progressBox { - padding: 5px; +#detail-contrib-suggested { + color: #8050B0; + font-weight: bold; +} + +#detail-contrib-btn { + list-style-image: url("chrome://mozapps/skin/extensions/heart.png"); +} + +#detail-contrib-btn .button-icon { + margin-inline-end: 3px; } -#progressBox > hbox { +#detail-grid { + min-width: 15em; + margin-bottom: 2em; +} + +#detail-grid > columns > column:first-child { + max-width: 25em; +} + +.detail-row[first-row="true"], +.detail-row-complex[first-row="true"], +setting[first-row="true"] { + border-top: none; +} + +.detail-row, +.detail-row-complex, +setting { + border-top: 1px solid #9C9CFF; -moz-box-align: center; + min-height: 35px; + line-height: 20px; } -/* View buttons */ -.viewSelector { - border-bottom: 1px solid #9C9CFF; - margin: 0px; - padding-bottom: 3px; - -moz-padding-start: 10px; - background-color: #000000; - color: #FF9F00; +#detail-controls { + margin-bottom: 1em; } -#viewGroup radio { - -moz-border-radius: 5px; - margin: 0px; - padding: 1px 3px; - min-width: 4.5em; - list-style-image: url("chrome://mozapps/skin/extensions/viewButtons.png"); - border: 1px solid transparent; +.inline-options-browser, +setting[first-row="true"] { + margin-top: 2em; } -#viewGroup radio:hover { - background-color: #FFCF00; - color: #000000; +setting { + -moz-box-align: start; +} + +.preferences-alignment { + min-height: 30px; + -moz-box-align: center; +} + +.preferences-description { + font-size: 90.9%; + color: #808080; + margin-top: -2px; + margin-inline-start: 2em; + white-space: pre-wrap; +} + +.preferences-description:empty { + display: none; +} + +setting[type="radio"] > radiogroup { + -moz-box-orient: horizontal; +} + +/*** creator ***/ + +.creator > label { + margin-inline-end: 0; +} + +.creator > .text-link { + margin-top: 1px; + margin-bottom: 1px; +} + + +/*** rating ***/ + +.meta-rating { + margin-inline-end: 0; + padding-top: 2px; +} + +.meta-rating > .star { + list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); + padding: 0 1px; +} + +.meta-rating > .star[on="true"] { + list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); +} + + +/*** download progress ***/ + +.download-progress { + background-color: #000000; + border-radius: 2px; + border: 1px solid #FF9F00; + width: 200px; + height: 30px; + margin: 2px 4px; } -#viewGroup radio[selected="true"] { +.download-progress[mode="undetermined"] { + border-color: #A09090; +} + +.download-progress .start-cap, +.download-progress[complete] .end-cap, +.download-progress[mode="undetermined"] .end-cap, +.download-progress .progress .progress-bar { background-color: #008484; - color: #000000; } -.viewButtonIcon { - width: 32px; - height: 32px; +.download-progress .progress .progress-bar { + border-left-width: 0; + border-right-width: 0; + min-height: 21px; } -radio#extensions-view { - -moz-image-region: rect(0px, 32px, 32px, 0px) +.download-progress .progress { + background-color: transparent; + padding: 0; + margin: 0; + border: none; } -radio#themes-view { - -moz-image-region: rect(0px, 64px, 32px, 32px) +.download-progress .start-cap, .download-progress .end-cap { + width: 12px; } -radio#locales-view { - -moz-image-region: rect(0px, 96px, 32px, 64px) +.download-progress .start-cap:-moz-locale-dir(ltr), +.download-progress .end-cap:-moz-locale-dir(rtl) { + border-radius: 1px 0 0 1px; } -radio#plugins-view { - -moz-image-region: rect(0px, 128px, 32px, 96px) +.download-progress .end-cap:-moz-locale-dir(ltr), +.download-progress .start-cap:-moz-locale-dir(rtl) { + border-radius: 0 1px 1px 0; } -radio#updates-view { - -moz-image-region: rect(0px, 160px, 32px, 128px) +.download-progress .cancel { + -moz-appearance: none; + background-color: #8050B0; + border: 1px solid #9C9CFF; + padding: 3px; + min-width: 0; + width: 20px; + height: 20px; + margin: 3px; } -radio#installs-view { - -moz-image-region: rect(0px, 192px, 32px, 160px) +.download-progress .cancel .button-box { + padding: 0; + border: none; +} + +.download-progress .cancel .button-text { + display: none; } -radio#search-view { - -moz-image-region: rect(0px, 224px, 32px, 192px) +.download-progress .cancel .button-icon { + margin-inline-start: 0; } -/* Update view checkbox */ -.includeUpdate { - -moz-user-focus: none; +.download-progress .cancel { + list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); } -richlistitem[selected="true"] .includeUpdate { - -moz-user-focus: normal; +.download-progress .status-container { + -moz-box-align: center; } -#infoDisplay { - overflow-y: auto; +.download-progress .status { +/* text-shadow: #FFF 0 0 2px; */ } -#infoDisplay body { - padding: 5px; +/*** install status ***/ + +.install-status { + -moz-box-align: center; +} + + +/*** check for updates ***/ + +#updates-container { + -moz-box-align: center; } -#infoDisplay h1, -#infoDisplay h2, -#infoDisplay h3 { - text-align: left; +#updates-container .button-link { font-weight: bold; - margin: 0 0 0.7em; } -#infoDisplay h1 { - font-size: 150%; +#updates-installed, +#updates-downloaded { + color: #008484; + font-weight: bold; } -#infoDisplay h2 { - font-size: 125%; +#update-selected { + margin: 12px; } -#infoDisplay h3 { - font-size: 100%; +/*** buttons ***/ + +.addon-control[disabled="true"]:not(.no-auto-hide) { + display: none; } -#infoDisplay ol, -#infoDisplay ul { - margin: 0 0 0.7em; +.no-auto-hide .addon-control { + display: block !important; } -#infoDisplay li { - text-align: left; +button.button-link { + background: transparent; + border: none; + text-decoration: underline; + color: #3333FF; + cursor: pointer; + min-width: 0; + margin: 0 6px; } -#infoDisplay p { - text-align: justify; - margin: 0 0 0.7em; +/* Needed to override normal button style from inContent.css */ +button.button-link:not([disabled="true"]):active:hover { +} + +/*** telemetry experiments ***/ + +#detail-experiment-container { + font-size: 80%; + margin-bottom: 1em; +} + +#detail-experiment-bullet-container, +#detail-experiment-state, +#detail-experiment-time, +.experiment-bullet-container, +.experiment-state, +.experiment-time { + vertical-align: middle; + display: inline-block; +} + +.addon .experiment-bullet, +#detail-experiment-bullet { + fill: #8050B0; +} + +.addon[active="true"] .experiment-bullet, +#detail-view[active="true"] #detail-experiment-bullet { + fill: #FFCF00; +} + +/*** info UI for add-ons that have been disabled for being unsigned ***/ + +#show-disabled-unsigned-extensions:not(:hover) { + background-color: #FF0000; +} + +#disabled-unsigned-addons-info { + margin-bottom: 2em; + margin-right: 48px; + margin-left: 48px; +} + +#disabled-unsigned-addons-heading { + font-size: 1.4em; + font-weight: bold; + margin-bottom: .5em; +} + +#signing-dev-info { + font-style: italic; }