X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fmozapps%2Fextensions%2Fextensions.css;h=4a46d54e92ff6e6aece1b9f2d8107659dd07ed41;hp=50dc77db9c1260f356a93ed823c28f1363e4961f;hb=203a977890308df99566c32daca3ceef2b52791a;hpb=e10e7addc389ca4e7c2b804cafa0d49525bfc116 diff --git a/LCARStrek/mozapps/extensions/extensions.css b/LCARStrek/mozapps/extensions/extensions.css index 50dc77db..4a46d54e 100644 --- a/LCARStrek/mozapps/extensions/extensions.css +++ b/LCARStrek/mozapps/extensions/extensions.css @@ -1,457 +1,1035 @@ -#extensionsBox { - margin: 10px 10px 0px 10px; - min-width: 1px; +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Extension Manager UI. + * + * The Initial Developer of the Original Code is + * the Mozilla Foundation. + * Portions created by the Initial Developer are Copyright (C) 2010 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Blair McBride + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +#addons-page { + background-color: #000000; + color: #FF9F00; + margin: 20px; } -#extensionsView { - -moz-border-radius: 3px; +#view-port-container { + /* Needed to allow the radius to clip the inner content, see bug 595656 */ + /* Disabled because of bug 623615 + overflow: hidden; + */ border: 1px solid #9C9CFF; - margin: 0; - min-width: 245px; + border-radius: 5px; } -#resizerBox { - margin-top: -12px; - visibility: hidden; +.nav-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); + min-width: 0; } -#resizerBox > resizer { - height: 10px; - max-height: 10px; - visibility: visible; +#forward-btn { + -moz-border-start: none; } -.notification-inner { - border: none; - border-bottom: 1px solid #9C9CFF; +#back-btn:-moz-locale-dir(ltr), +#forward-btn:-moz-locale-dir(rtl) { + -moz-image-region: rect(42px 25px 63px 0px); } -/* Command Bar */ -#commandBarBottom { - margin: 5px 5px 10px 10px; - min-width: 1px; +#back-btn[disabled="true"]:-moz-locale-dir(ltr), +#forward-btn[disabled="true"]:-moz-locale-dir(rtl) { + -moz-image-region: rect(42px 50px 63px 25px); } -#commandBarBottom button { - margin: 0; - -moz-margin-end: 5px; +#back-btn:-moz-locale-dir(rtl), +#forward-btn:-moz-locale-dir(ltr) { + -moz-image-region: rect(63px 25px 84px 0px); } -/* 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; +#back-btn[disabled="true"]:-moz-locale-dir(rtl), +#forward-btn[disabled="true"]:-moz-locale-dir(ltr) { + -moz-image-region: rect(63px 50px 84px 25px); } -richlistitem[isDisabled="true"] .addonIcon { - opacity: 0.3; + +/*** global warnings ***/ + +.global-warning-container { + overflow-x: hidden; } -richlistitem[isDisabled="true"] { - color: #8050B0; +.global-warning { + -moz-box-align: center; + padding: 0 8px; + color: #000000; + font-weight: bold; } -richlistitem[newAddon="true"] { - background-color: #000000; - color: #FFCF00; +#addons-page[warning] .global-warning-container { + background-color: #FFCF00; } -richlistitem[selected="true"] { - background-color: #008484; - color: #000000; +#detail-view .global-warning { + padding: 4px 12px; + border-bottom: 3px solid #000000; } -richlistitem[selected="true"] .text-link { - color: inherit; +@media all and (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; */ + } } -#extensionsView:focus > richlistitem[selected="true"] { - background-color: #008484; - color: #FFCF00; +/* 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; } -#extensionsView:focus > richlistitem[selected="true"][isDisabled="true"] { - background-color: #8050B0; - color: #000000; + +/*** notification icons ***/ + +.warning-icon { + list-style-image: url("chrome://global/skin/icons/warning-16.png"); + width: 16px; + height: 16px; + margin: 1px 0; } -.descriptionWrap { - margin-bottom: 2px; +.error-icon { + list-style-image: url("chrome://global/skin/icons/error-16.png"); + width: 16px; + height: 16px; + margin: 1px 0; } -richlistitem[selected="true"]:not([opType]) .descriptionCrop { - display: none; +.pending-icon, +.info-icon { + list-style-image: url("chrome://global/skin/icons/information-16.png"); + width: 16px; + height: 16px; + margin: 1px 0; } -.addonName { - font-weight: bold; +.addon-view[pending="disable"] .pending-icon, +.addon-view[pending="uninstall"] .pending-icon { + list-style-image: url("chrome://global/skin/icons/warning-16.png"); + width: 16px; + height: 15px; + margin: 3px 0; } -.previewText { - font-size: larger; - font-weight: bold; - color: #FF9F00; - text-align: center; + +/*** view alert boxes ***/ + +.alert-container { + -moz-box-align: center; } -#themePreviewArea { - -moz-border-radius: 3px; +.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; + border-radius: 8px; background-color: #000000; + background-clip: padding-box; +} + +.alert .alert-title { + font-weight: bold; + font-size: 200%; + margin-bottom: 15px; +} + +.alert .addon-control { + margin: 1em 2em; +} + +.loading { + list-style-image: url("chrome://global/skin/icons/loading.gif"); + padding-left: 20px; + padding-right: 20px; +} + + +/*** category selector ***/ + +#categories { + -moz-appearance: none; + border: none; + -moz-margin-end: -1px; + background-color: transparent; + position: relative; + margin-top: 31px; +} + +.category { + background-color: transparent; color: #FF9F00; - min-width: 65px; - overflow: auto; + min-height: 0; + padding: 10px 4px; + border-width: 1px; + border-style: solid; + border-color: transparent; + -moz-box-align: center; + overflow: hidden; +} + +.category:-moz-locale-dir(ltr) { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +.category:-moz-locale-dir(rtl) { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +.category[disabled] { + border-top: 0; + border-bottom: 0; + height: 0; + opacity: 0; + -moz-transition-property: height, opacity; + -moz-transition-duration: 1s, 0.8s; +} + +.category:not([disabled]) { + height: 52px; + -moz-transition-property: height, opacity; + -moz-transition-duration: 1s, 0.8s; +} + +.category[selected] { + background-color: #008484; + color: #FFCF00; + border-color: #9C9CFF; +} + +.category-name { + font-size: 150%; } -#previewImageDeck { - min-width: 220px; +/* Maximize the size of the viewport when the window is small */ +@media all and (max-width: 800px) { + .category-name { + display: none; + } } -#themeSplitter { - border-width: 0; +.category-badge { + background-color: #E7ADE7; + padding: 2px 8px; + margin: 6px 0; + border-radius: 10000px; + color: #000000; + font-weight: bold; + text-align: center; } -.addonIcon { - -moz-margin-end: 2px; +.category-badge[value="0"] { + visibility: hidden; +} + +.category-icon { width: 32px; height: 32px; + -moz-margin-start: 6px; +} + +#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-languages > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png"); +} +#category-searchengines > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png"); +} +#category-extensions > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png"); +} +#category-themes > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png"); +} +#category-plugins > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.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"); +} + -.addonIcon > image { - max-width: 32px; - max-height: 32px; +/*** header ***/ + +#header { + margin-bottom: 18px; + height: 2em; } -.updateBadge, -.notifyBadge { - width: 16px; - height: 16px; - margin-bottom: -3px; - list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); +#header-search { + color: #E7ADE7; + border: 1px solid #9C9CFF; + border-radius: 4px; + padding: 3px; + background-color: #000000; + margin: 0; } -richlistitem .updateBadge { - -moz-margin-end: -2px; +#header-search .textbox-input:-moz-placeholder { + color: #8050B0; } -richlistitem .notifyBadge { - -moz-margin-start: -2px; +#header-search[focused="true"] { + border-color: #008484; } -.updateBadge, -.updateAvailableBox, -.notifyBadge { - display: none; +#header-utils-btn { + min-width: 4.5em; + list-style-image: url("chrome://mozapps/skin/extensions/utilities.png"); + -moz-margin-end: 18px; } -richlistitem[availableUpdateURL][updateable="true"] .updateBadge, -richlistitem[availableUpdateURL][updateable="true"] .updateAvailableBox, -richlistitem[compatible="false"] .notifyBadge, -richlistitem[providesUpdatesSecurely="false"] .notifyBadge, -richlistitem[blocklisted="true"] .notifyBadge, -richlistitem[satisfiesDependencies="false"] .notifyBadge { - display: -moz-box; +#header-utils-btn:hover, +#header-utils-btn:hover:active, +#header-utils-btn[open="true"] { + list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png"); } +#header-utils-btn > .button-box > .button-menu-dropmarker { + border: none; + background: transparent; +} -/* Selected Add-on buttons - See content/extensions.css to hide / display buttons */ -.selectedButtons { - margin-top: 4px; - min-height: 2.1em; +#header-utils-btn:hover > .button-box > .button-menu-dropmarker { + list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); } -.selectedButtons > button { - margin-top: 0; - margin-bottom: 0; +.view-header { + background-color: #9C9CFF; + color: #000000; + border-radius: 8px; + padding: 0px 1em; + margin: 3px; + min-height: 31px; } -.enableButton, -.disableButton, -.optionsButton, -.useThemeButton { - -moz-margin-end: 0; + +/*** sorters ***/ + +.sort-controls { + -moz-appearance: none; + border-right: 3px solid #000000; +} + +.sorter { + -moz-appearance: none; + border: none; + border-left: 3px solid #000000; + background-color: transparent; + color: #8050B0; + border-radius: 0; + padding: 0 6px; + -moz-padding-start: 6px; + -moz-padding-end: 3px; + margin: 0; + min-width: 12px !important; + -moz-box-direction: reverse; +} +.sorter:hover { + background-color: #FFCF00; + color: #000000; } -.enableButton, .disableButton, -.uninstallButton, .cancelUninstallButton { - -moz-margin-start: 5px; +.sorter .button-box { + padding-top: 0; + padding-bottom: 0; } -/* Selected Add-on status messages and images */ -richlistitem[compatible="true"] .incompatibleBox, -richlistitem[providesUpdatesSecurely="true"] .insecureUpdateBox, -richlistitem[satisfiesDependencies="true"] .needsDependenciesBox, -richlistitem[blocklisted="false"] .blocklistedBox, -richlistitem[opType="needs-uninstall"] .blocklistedBox, -richlistitem[opType="needs-uninstall"] .incompatibleBox, -richlistitem[opType="needs-uninstall"] .needsDependenciesBox, -richlistitem[opType="needs-uninstall"] .blocklistedBox { - display: none; +.sorter[checkState="1"], +.sorter[checkState="2"] { + background-color: #008484; + color: #FFCF00; } -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; +.sorter[checkState="1"] { + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); } -.addonThrobber { - -moz-margin-start: 5px; - width: 16px; - height: 16px; - list-style-image: url("chrome://global/skin/icons/loading.gif"); +.sorter[checkState="2"] { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +} + +.sorter .button-icon { + -moz-margin-start: 4px; } -.selectedStatusMsgs > hbox { - margin-top: 2px; - margin-bottom: 2px; + +/*** discover view ***/ + +.discover-spacer-before, +.discover-spacer-after { + -moz-box-flex: 1; } -.selectedStatusMsgs label { +#discover-error .alert { + max-width: 45em; + -moz-box-flex: 1; +} + +.discover-logo { + list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png"); + -moz-margin-end: 15px; +} + +.discover-title { font-weight: bold; + font-size: 24px; + /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */ + margin: 0 0 15px 0; +} + +.discover-description { + text-align: justify; + margin: 0 0 15px 0; +} + +.discover-footer { + text-align: justify; } -.selectedStatusMsgs label.text-link { - font-weight: normal; + +/*** list ***/ + +.list { + margin: 0; border: none; + background-color: transparent; } -richlistitem[opType="needs-uninstall"] .notifyBadge { - display: none; +.addon { + border-bottom: 1px solid #9C9CFF; + padding: 5px; + background-origin: border-box; +} + +.details { + cursor: pointer; + margin: 0; + -moz-margin-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.png"); + max-width: 48px; + max-height: 48px; +} + +.addon[active="false"] .icon { +/* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */ +} + +.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"); +} + +.addon-view[type="plugin"] .icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + +.name-container { + font-size: 150%; + font-weight: bold; + color: #9C9CFF; + margin-bottom: 0; + -moz-box-align: end; +} + +.creator { + font-weight: bold; } -.addon-search-details { - margin-top: 5px; - margin-bottom: 5px; +.creator .text-link { + /* color: #0066CC; */ +} + +.description-container { + margin-top: 8px; -moz-margin-start: 6px; - -moz-margin-end: 0; + -moz-box-align: center; } -.addonThumbnailContainer { - background-color: #000000; - padding: 5px; - -moz-border-radius: 3px; - border: 1px solid #9C9CFF; - width: 135px; - min-height: 104px; - -moz-margin-end: 5px; +.description { + margin: 0; } -.addonMissingThumbnail { - color: GrayText; - font-size: larger; +.warning, +.pending, +.error, +.info { + -moz-margin-start: 48px; font-weight: bold; + -moz-box-align: center; } -.addonFailure { - width: 16px; - height: 16px; - list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); +.content-container, +.basicinfo-container { + -moz-box-align: start; } -.addonRating { - display: none; +.addon[status="installing"] > .content-container { + -moz-box-align: stretch; } -.addonLearnMore { - margin-top: 4px; - margin-bottom: 4px; +.update-info-container { + -moz-box-align: center; +} + +.advancedinfo-container, +.update-available { + -moz-box-align: end; } -.addonRating[rating] { - display: -moz-box; - width: 68px; - height: 12px; - list-style-image: url("chrome://mozapps/skin/extensions/ratings.png"); +.install-status-container { + -moz-box-pack: end; + -moz-box-align: end; } -.addonRating[rating="0"] { - -moz-image-region: rect(0px 68px 12px 0px); +.name-outer-container { + -moz-box-pack: center; } -.addonRating[rating="1"] { - -moz-image-region: rect(12px 68px 24px 0px); +.relnotes-toggle-container, +.icon-outer-container { + -moz-box-pack: start; } -.addonRating[rating="2"] { - -moz-image-region: rect(24px 68px 36px 0px); +.status-container, +.control-container { + -moz-box-pack: end; +} + +.addon-view .warning { + color: #FFCF00; } -.addonRating[rating="3"] { - -moz-image-region: rect(36px 68px 48px 0px); +.addon-view .error { + color: #FF0000; } -.addonRating[rating="4"] { - -moz-image-region: rect(48px 68px 60px 0px); +.addon-view .pending { + color: #008484; } -.addonRating[rating="5"] { - -moz-image-region: rect(60px 68px 72px 0px); +.addon-view[pending="disable"] .pending, +.addon-view[pending="uninstall"] .pending { + color: #FF9C00; } -.addonType image { +.addon .relnotes-container { + -moz-box-align: start; -moz-margin-start: 6px; - list-style-image: url("chrome://mozapps/skin/extensions/extensionIcons.png"); - width: 16px; - height: 16px; + height: 0; + overflow: hidden; + opacity: 0; + -moz-transition-property: height, opacity; + -moz-transition-duration: 0.5s, 0.5s; } -.addonTypeExtension image { - -moz-image-region: rect(0px 16px 16px 0px); +.addon[show-relnotes] .relnotes-container { + opacity: 1; + -moz-transition-property: height, opacity; + -moz-transition-duration: 0.5s, 0.5s; } -.addonTypeTheme image { - -moz-image-region: rect(0px 32px 16px 16px); +.addon .relnotes-header { + font-weight: bold; + margin: 10px 0; } -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; +.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"); } -vbox[typeName="status"][type="footer-recommended"], -vbox[typeName="status"][type="footer-search"] { - margin-top: 1em; +.addon .relnotes-toggle > .button-box > .button-icon { + -moz-padding-start: 4px; } -vbox[typeName="status"][type="header-recommended"] { - font-size: 150%; - background: #000000; +.addon[show-relnotes] .relnotes-toggle { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); } -#searchbox { - padding: 0; +.addon[active="false"] { + /* background-color: rgba(135, 135, 135, 0.1); */ +} + +.addon-view[active="false"], +.addon-view[active="false"] .name-container { + color: #E7ADE7; +} + +.addon-view[notification="warning"] { + background-color : #FFCF00; + color: #000000; +} + +.addon-view[notification="warning"] .warning { + color: #000000; +} + +.addon-view[notification="warning"] .name-container { + color: #000000; +} + +.addon-view[notification="error"] { + background-color: #FF0000; + color: #000000; +} + +.addon-view[notification="error"] .error { + color: #000000; +} + +.addon-view[notification="info"] { + background-color: #9C9CFF; + color: #000000; } -#progressBox { - padding: 5px 5px 5px 5px; +.addon-view[pending="enable"], +.addon-view[pending="upgrade"], +.addon-view[pending="install"] { + background-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; } -#progressBox > hbox { +.addon[status="uninstalled"] > .container { -moz-box-align: center; + padding: 4px 20px; + background-color: #8050B0; + border-radius: 8px; + font-size: 120%; } -/* View buttons */ -.viewSelector { - border-bottom: 1px solid #9C9CFF; - margin: 0px; - -moz-padding-start: 10px; - background-color: #000000; +.addon[status="uninstalled"][selected] { + background-color: transparent; +} + +.addon[selected] { + background-color: #008484; color: #FF9F00; } -#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; +.addon[selected] .name-container { + color: #FFCF00; } -#viewGroup radio:hover { - background-color: #FFCF00; - color: #000000; +.addon[active="false"][selected] { + color: #E7ADE7; +} + +.addon[active="false"][selected] .name-container { + color: #E7ADE7; +} + + +/*** search view ***/ + +#search-filter { + padding: 5px 20px; + -moz-box-align: center; + background-color: #000000; + font-size: 120%; + border-bottom: 1px solid #9C9CFF; + overflow-x: hidden; +} + +#search-filter-label { + font-weight: bold; + color: #FFCF00; } -#viewGroup radio[selected="true"] { +.search-filter-radio { + padding: 0 6px; + margin: 0 3px; + border-radius: 10000px; +} + +.search-filter-radio[selected] { background-color: #008484; color: #000000; } -.viewButtonIcon { - width: 32px; - height: 32px; +.search-filter-radio .radio-check-box1 { + display: none; +} + +.search-filter-radio .radio-icon { + display: none; } -radio#extensions-view { - -moz-image-region: rect(0px, 32px, 32px, 0px) +#search-allresults-link { + margin-top: 1em; + margin-bottom: 2em; } -radio#themes-view { - -moz-image-region: rect(0px, 64px, 32px, 32px) +/*** detail view ***/ + +#detail-view .loading { + opacity: 0; } -radio#locales-view { - -moz-image-region: rect(0px, 96px, 32px, 64px) +#detail-view[loading-extended] .loading { + opacity: 1; + -moz-transition-property: opacity; + -moz-transition-duration: 1s; } -radio#plugins-view { - -moz-image-region: rect(0px, 128px, 32px, 96px) +.detail-view-container { + padding: 0 2em 2em 2em; + font-size: 110%; } -radio#updates-view { - -moz-image-region: rect(0px, 160px, 32px, 128px) +#detail-notifications { + margin-top: 1em; + margin-bottom: 2em; } -radio#installs-view { - -moz-image-region: rect(0px, 192px, 32px, 160px) +#detail-notifications .warning, +#detail-notifications .pending, +#detail-notifications .error { + -moz-margin-start: 0; } -radio#search-view { - -moz-image-region: rect(0px, 224px, 32px, 192px) +#detail-icon { + -moz-margin-end: 10px; + margin-top: 6px; + max-width: 64px; + max-height: 64px; } -/* Update view checkbox */ -.includeUpdate { - -moz-user-focus: none; +#detail-summary { + margin-bottom: 2em; } -richlistitem[selected="true"] .includeUpdate { - -moz-user-focus: normal; +#detail-name-container { + font-size: 200%; } -#infoDisplay { - overflow-y: auto; +#detail-screenshot { + -moz-margin-end: 2em; + max-width: 300px; + max-height: 300px; } -#infoDisplay body { - padding: 5px; +#detail-desc-container { + margin-bottom: 2em; +} + +#detail-desc, #detail-fulldesc { + -moz-margin-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; +} + +#detail-contributions { + border-radius: 5px; + border: 1px solid #9C9CFF; + margin-bottom: 2em; + padding: 1em; + background-color: #FFCF00; +} + +#detail-contrib-description { + font-style: italic; + margin-bottom: 1em; + color: #000000; } -#infoDisplay h1, -#infoDisplay h2, -#infoDisplay h3 { - text-align: left; +#detail-contrib-suggested { + color: #8050B0; font-weight: bold; - margin: 0 0 0.7em 0; } -#infoDisplay h1 { - font-size: 150%; +#detail-contrib-btn { + list-style-image: url("chrome://mozapps/skin/extensions/heart.png"); } -#infoDisplay h2 { - font-size: 125%; +#detail-contrib-btn .button-icon { + -moz-margin-end: 3px; } -#infoDisplay h3 { - font-size: 100%; +#detail-grid { + margin-bottom: 2em; } -#infoDisplay ol, -#infoDisplay ul { - margin: 0 0 0.7em 0; +.detail-row[first-row="true"], +.detail-row-complex[first-row="true"] { + border-top: none; } -#infoDisplay li { - text-align: left; +.detail-row, +.detail-row-complex { + border-top: 1px solid #9C9CFF; + -moz-box-align: center; } -#infoDisplay p { - text-align: justify; - margin: 0 0 0.7em 0; +.detail-row-value { + -moz-margin-start: 0; +} + +#detail-controls { + margin-bottom: 1em; +} + +#detail-view[active="false"]:not([pending]):not([notification]) { + /* background-color: foo; */ +} + +/*** creator ***/ + +.creator > label { + -moz-margin-end: 0; +} + +.creator > .text-link { + margin-top: 1px; + margin-bottom: 1px; +} + + +/*** rating ***/ + +.meta-rating { + -moz-margin-start: 0; + -moz-margin-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: 10000px; + border: 1px solid #FF9F00; + width: 200px; + height: 21px; + margin: 0 8px; +} + +.download-progress[mode="undetermined"] .status-container { + padding: 0 2px; +} + +.download-progress .start-cap, +.download-progress[complete] .end-cap, +.download-progress[mode="undetermined"] .end-cap, +.download-progress .progress .progress-bar { + background-color: #008484; +} + +.download-progress .progress .progress-bar { + border-left-width: 0; + border-right-width: 0; + min-height: 21px; +} + +.download-progress .progress { + background-color: transparent; + padding: 0; + margin: 0; + border: none; +} + +.download-progress .start-cap, .download-progress .end-cap { + width: 12px; +} + +.download-progress .start-cap:-moz-locale-dir(ltr), +.download-progress .end-cap:-moz-locale-dir(rtl) { + border-radius: 3px 0 0 3px; +} + +.download-progress .end-cap:-moz-locale-dir(ltr), +.download-progress .start-cap:-moz-locale-dir(rtl) { + border-radius: 0 3px 3px 0; +} + +.download-progress .cancel { + -moz-appearance: none; + background-color: #8050B0; + border: 1px solid #9C9CFF; + padding: 3px; + border-radius: 3px; + min-width: 0; + margin: 3px; +} + +.download-progress .cancel .button-box { + padding: 0; + border: none; +} + +.download-progress .cancel .button-text { + display: none; +} + +.download-progress .cancel .button-icon { + -moz-margin-start: 0; +} + +.download-progress .cancel { + list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); +} + +.download-progress .status-container { + -moz-box-align: center; +} + +.download-progress .status { +/* text-shadow: #FFF 0 0 2px; */ +} + +/*** install status ***/ + +.install-status { + -moz-box-align: center; +} + + +/*** check for updates ***/ + +#updates-container { + -moz-box-align: center; +} + +#updates-container .button-link { + font-weight: bold; +} + +#updates-installed, +#updates-downloaded { + color: #008484; + font-weight: bold; +} + +#update-selected { + margin: 12px; +} + +/*** buttons ***/ + +.addon-control[disabled="true"] { + display: none; +} + +.button-link { + background: transparent; + border: none; + text-decoration: underline; + color: blue; + cursor: pointer; + min-width: 0; + margin: 0 6px; }