X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fmozapps%2Fextensions%2Fextensions.css;h=8b770335b78565d0462a4b6ca6da10cf7cabd07d;hp=358abd9bcbd599c9b4a33a4fd4852808fbbd8e7c;hb=569543b3d2d5099d602cc6644b026ee2adf3e00a;hpb=4d12b027587c575893aad19d5207e86f52bda796 diff --git a/EarlyBlue/mozapps/extensions/extensions.css b/EarlyBlue/mozapps/extensions/extensions.css index 358abd9b..8b770335 100644 --- a/EarlyBlue/mozapps/extensions/extensions.css +++ b/EarlyBlue/mozapps/extensions/extensions.css @@ -1,390 +1,663 @@ -#extensionManager { +/* ***** 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: #CCD0DD; + margin: 20px; } -#extensionsBox { - margin: 10px 10px 0px 10px; - min-width:1px; +#view-port { + background-color: #FFFFFF; + border: 1px solid #666699; } -richlistbox { - border: 1px inset #CCD0DD; - margin: 0; +/*** global warnings ***/ + +.global-warning { + -moz-box-align: center; + padding: 0 8px; + color: #000000; + font-weight: bold; } -#getMore { - text-align: right; +#addons-page[warning] .global-warning-container { + background-color: #FFFFCC; } -#resizerBox { -margin-top: -12px; +#detail-view .global-warning { + padding: 4px 12px; + border-bottom: 1px solid #9999CC; } -#resizerBox resizer { - height: 10px; - max-height: 10px; +/*** notification icons ***/ + +.warning-icon { + list-style-image: url("chrome://global/skin/icons/warning-16.png"); + width: 16px; + height: 16px; + margin: 3px 0; +} + +.error-icon { + list-style-image: url("chrome://global/skin/icons/error-16.png"); + width: 16px; + height: 16px; + margin: 3px 0; } -.notification-inner { +.pending-icon, +.info-icon { + list-style-image: url("chrome://global/skin/icons/information-16.png"); + width: 16px; + height: 16px; + margin: 3px 0; +} + +/*** category selector ***/ + +#categories { + -moz-appearance: none; border: none; - border-bottom: 1px solid #9999CC; + -moz-margin-end: -1px; + background-color: transparent; + position: relative; } -/* Command Bar */ -#commandBarBottom { - margin: 5px 5px 10px 10px; - min-width: 1px; +.category { + border-width: 1px; + -moz-border-end-width: 0; + border-style: solid; + border-color: transparent; + padding: 10px 4px; + -moz-box-align: center; + overflow: hidden; + min-height: 0px; } -#commandBarBottom button { - margin: 0; - list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png"); - -moz-margin-end: 5px; +.category[disabled] { + height: 0px; + opacity: 0; + -moz-transition-property: height, opacity; + -moz-transition-duration: 1s, 0.8s; } -#commandBarBottom button .button-icon { - margin-top: 0px; - margin-bottom: 0px; - -moz-margin-start: 0px; - -moz-margin-end: 5px; +.category:not([disabled]) { + height: 52px; + -moz-transition-property: height, opacity; + -moz-transition-duration: 1s, 0.8s; } -#installFileButton, #installUpdatesAllButton { - -moz-image-region: rect(0px, 84px, 21px, 63px); +.category[selected] { + background-color: #FFFFFF; + color: #000000; + border-color: #666699; } -#installFileButton[disabled="true"], -#installUpdatesAllButton[disabled="true"] { - -moz-image-region: rect(21px, 84px, 42px, 63px); +.category-name { + font-size: 150%; } -#checkUpdatesAllButton { - -moz-image-region: rect(0px, 63px, 21px, 42px); +.category-badge { + background-color: #666699; + padding: 2px 8px; + margin: 6px 0px; + border: 1px outset #666699; + color: #FFFFFF; + font-weight: bold; + text-align: center; } -#checkUpdatesAllButton[disabled="true"] { - -moz-image-region: rect(21px, 63px, 42px, 42px); + +.category-badge[value="0"] { + visibility: hidden; } -#restartAppButton { - -moz-image-region: rect(0px, 42px, 21px, 21px); +.category-icon { + width: 32px; + height: 32px; + -moz-margin-start: 6px; } -#restartAppButton[disabled="true"] { - -moz-image-region: rect(21px, 42px, 42px, 21px); +#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"); } -/* these skip/continue icons don't make sense. it's just a placeholder. */ -#skipDialogButton { - -moz-image-region: rect(0px, 42px, 21px, 21px); + +/*** header ***/ + +#header { + margin-bottom: 20px; + height: 2em; } -#skipDialogButton[disabled="true"] { - -moz-image-region: rect(21px, 42px, 42px, 21px); +#header-name, #header-link { + color: #FFFFFF; } -#continueDialogButton { - -moz-image-region: rect(0px, 42px, 21px, 21px); +#header-name { + font-size: 180%; } -#continueDialogButton[disabled="true"] { - -moz-image-region: rect(21px, 42px, 42px, 21px); +#header-link { + -moz-appearance: none; + border: none; + background: transparent; + font-size: 120%; + cursor: pointer; + list-style-image: url("chrome://mozapps/skin/extensions/go-back.png"); } -/* List Items */ -richlistitem { - padding-top: 6px; - padding-bottom: 6px; - -moz-padding-start: 7px; - -moz-padding-end: 7px; - min-height: 25px; - border-bottom: 1px dotted #666699; +#header-link .button-icon { + -moz-margin-end: 6px; } -richlistitem[isDisabled="true"] .addonIcon { - opacity: 0.3; +#header-searching { + list-style-image: url("chrome://global/skin/icons/loading.gif"); } -richlistitem[isDisabled="true"] { - color: #808080; +.view-header { + padding: 4px; + margin: 0px; + border-bottom: 1px solid #666699; } -richlistitem[selected="true"] { - background-color: #CCD0DD; - color: #000000; + +/*** sorters ***/ + +.sort-controls { + -moz-appearance: none; } -richlistbox[focused] richlistitem[selected="true"] { - background-color: #336699; - color: #FFFFFF; +.sorter { + -moz-appearance: none; + border: none; + background-color: transparent; + padding: 0px 6px; + margin: 0px 6px; + min-width: 12px !important; + -moz-box-direction: reverse; } -richlistbox[focused] richlistitem[selected="true"][isDisabled="true"] { +.sorter[checkState="1"], +.sorter[checkState="2"] { background-color: #666699; - color: #FFFFFF; } -.descriptionWrap { - margin-bottom: 2px; +.sorter[checkState="1"] { + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); } -richlistitem[selected="true"]:not([opType]) .descriptionCrop { - display: none; +.sorter[checkState="2"] { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); } -.addonName { - font-weight: bold; +.sorter .button-icon { + -moz-margin-start: 4px; } -.addonIcon { - -moz-margin-end: 2px; + +/*** empty list notification ***/ + +.empty-list-notice { + -moz-box-align: center; } -.previewText { - font-size: larger; - font-weight: bold; - color: #000000; - text-align: center; +.empty-list-notice > button { + margin: 20px; } -#themePreviewArea { - border: 1px inset #CCD0DD; - background-color: #FFFFFF; - color: #000000; - overflow: auto; - width: 0px; + +/*** list ***/ + +.list { + margin: 0px; + border: none; + background-color: transparent; } -#themeSplitter { - border-width: 0; +.addon { + border-bottom: 1px solid #9999CC; + padding: 5px; } -.addonIcon { - width: 32px; - max-width: 32px; - height: 32px; - max-height: 32px; +.addon[status="installing"] { + -moz-box-align: center; } -richlistitem .updateBadge, -richlistitem .notifyBadge { - width: 16px; - height: 16px; - list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); +.details { + cursor: pointer; + margin: 0; + -moz-margin-start: 10px; } -richlistitem .updateBadge, -richlistitem .notifyBadge { - margin-bottom: -3px; +.icon-container { + width: 48px; + height: 48px; + margin: 7px; } -richlistitem .updateBadge { - -moz-margin-end: -2px; +.icon { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); + max-width: 48px; + max-height: 48px; } -richlistitem .notifyBadge { - -moz-margin-start: -2px; +.addon-view[type="theme"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); } -.updateBadge, -.updateAvailableBox, -.notifyBadge { - display: none; +.addon-view[type="locale"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); } -richlistitem[availableUpdateURL][updateable="true"] -richlistitem[availableUpdateURL][updateable="true"] .updateAvailableBox, -richlistitem[compatible="false"] .notifyBadge, -richlistitem[blocklisted="true"] .notifyBadge, -richlistitem[satisfiesDependencies="false"] .notifyBadge { - display: -moz-box; +.addon-view[type="plugin"] .icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); } +.name-container { + font-size: 150%; + margin-bottom: 0px; +} -/* Selected Add-on buttons */ -.selectedButtons { - margin-top: 4px; - min-height: 2.1em; +.description-container { + margin-top: 8px; + -moz-margin-start: 6px; } -.selectedButtons button { - margin-top: 0; - margin-bottom: 0; +.description { + margin: 0; } -.optionsButton, .useThemeButton { - -moz-margin-end: 0; +.warning, .pending, .error, .info { + -moz-margin-start: 48px; } -.enableButton, .disableButton { - -moz-margin-start: 5px; - -moz-margin-end: 0; +.addon-view:not([selected]) .warning { + color: #808000; } -.uninstallButton, .cancelUninstallButton { - -moz-margin-start: 5px; +.addon-view:not([selected]) .error { + color: #FF0000; } -.enableHide, -.uninstallShow, -.installShow, -.upgradeShow, -richlistitem[isDisabled="true"] .disableHide { - display: none; +.addon-view:not([selected]) .pending { + color: #33FF33; } -richlistitem[opType="needs-uninstall"] .uninstallShow, -richlistitem[opType="needs-install"] .installShow, -richlistitem[opType="needs-upgrade"] .upgradeShow, -richlistitem[opType="needs-enable"] .enableShow, -richlistitem[opType="needs-disable"] .disableShow, -richlistitem[isDisabled="true"] .disableShow { - display: -moz-box; +.addon-view[notification="warning"] { + background-color : #FFFFCC; } -richlistitem[opType="needs-uninstall"] .uninstallHide, -richlistitem[opType="needs-install"] .uninstallHide, -richlistitem[opType="needs-upgrade"] .uninstallHide, -richlistitem[opType="needs-enable"] .enableHide, -richlistitem[opType="needs-disable"] .disableHide { - display: none; +.addon-view[notification="error"] { + background-color: #FFD0DD; +} + +.addon-view[notification="info"] { + background-color: #9999CC; +} + +.addon-view[pending="enable"], +.addon-view[pending="upgrade"], +.addon-view[pending="install"] { + background-color: #CCFFDD; +} + +.addon-view[pending="disable"], +.addon-view[pending="uninstall"] { + background-color: #808080; +} + +/*** item - uninstalled ***/ + +.addon[status="uninstalled"] { + border: none; +} + +.addon[status="uninstalled"] > .container { + -moz-box-align: center; + padding: 4px 20px; + background-color: #808080; + border-radius: 8px; + font-size: 120%; +} + +.addon[status="uninstalled"][selected] { + background-color: transparent; } -richlistitem[plugin] .themeButton, -richlistitem[plugin] .optionsButton, -richlistitem[plugin] .uninstallButton, -richlistitem[type="2"] .themeButton, -richlistitem[type="8"] .themeButton, -richlistitem[type="4"] .optionsButton, -richlistitem[type="8"] .optionsButton, -richlistitem[type="4"] .disableShow, -richlistitem[type="4"] .disableHide { + +/*** search view ***/ + +#search-filter { + padding: 5px 20px; + -moz-box-align: center; + background-color: #FFFFFF; + font-size: 120%; +} + +#search-filter-label { + font-weight: bold; + color: #808080; +} + +.search-filter-radio { + -moz-appearance: none; + padding: 0px 6px; + margin: 0px 3px; + border-radius: 10000px; +} + +.search-filter-radio[selected] { + background-color: #3366699; + color: #000000; +} + +.search-filter-radio .radio-check-box1 { display: none; } -/* Selected Add-on status messages and images */ -richlistitem[compatible="true"] .incompatibleBox, -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 { +.search-filter-radio .radio-icon { display: none; } -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; +/*** detail view ***/ + +#detail-view[active="false"] .fade { + opacity: 0.5; } -.addonThrobber { - -moz-margin-start: 5px; - width: 16px; - height: 16px; +#detail-view .loading { + opacity: 0; +} + +#detail-view:not([loading]) .loading { + visibility: collapse; +} + +#detail-view[loading-extended] .loading { + -moz-box-align: center; + -moz-box-pack: center; + opacity: 1; + -moz-transition-property: opacity; + -moz-transition-duration: 1s; +} + +#detail-view .loading > image { list-style-image: url("chrome://global/skin/icons/loading.gif"); } -.selectedStatusMsgs hbox { - margin-top: 2px; - margin-bottom: 2px; +.detail-view-container { + overflow: auto; + padding: 2em; + font-size: 110%; } -.selectedStatusMsgs label { - font-weight: bold; +#detail-notifications { + margin-bottom: 2em; } -.selectedStatusMsgs label.text-link { - font-weight: normal; - border: none; +#detail-notifications .warning, +#detail-notifications .pending, +#detail-notifications .error, +#detail-notifications .info { + -moz-margin-start: 0; } -.needsInstall, .needsUninstall, .needsEnable, .needsDisable { - display: none; +#detail-icon { + -moz-margin-end: 10px; } -richlistitem[opType="needs-install"] .needsInstall, -richlistitem[opType="needs-uninstall"] .needsUninstall, -richlistitem[opType="needs-enable"] .needsEnable, -richlistitem[opType="needs-disable"] .needsDisable { - display: -moz-box; +#detail-summary { + margin-bottom: 2em; } -richlistitem[opType="needs-uninstall"] .notifyBadge { - display: none; +#detail-name-container { + font-size: 200%; +} + +#detail-screenshot { + -moz-margin-end: 2em; +} + +#detail-desc-container { + margin-bottom: 2em; + /* This is necessary to fix layout issues with multi-line descriptions, see + bug 592712*/ + outline: solid transparent; +} + +#detail-desc { + -moz-margin-start: 6px; + white-space: pre-wrap; +} + +#detail-contributions { + border-radius: 5px; + border: 1px solid #666699; + margin-bottom: 2em; + padding: 1em; + background: #FFFFCC; +} + +#detail-contrib-description { + font-style: italic; + margin-bottom: 1em; +} + +#detail-contrib-suggested { + color: grey; +} + +#detail-contrib-button { + list-style-image: url("chrome://mozapps/skin/extensions/heart.png"); } -#progressBox { - padding: 5px 5px 5px 5px; +#detail-contrib-button .button-icon { + -moz-margin-end: 3px; } -#progressBox > hbox { +#detail-grid { + margin-bottom: 2em; +} + +.detail-row, +.detail-row-complex { + border-bottom: 1px solid #808080; -moz-box-align: center; } -/* View buttons */ -.viewSelector { - border-bottom: 1px solid #9999CC; - margin: 0px; - -moz-padding-start: 10px; +.detail-row-value { + -moz-margin-start: 0; +} + + +/*** creator ***/ + +.creator > label { + -moz-margin-start: 0px; + -moz-margin-end: 0px; +} + +.creator > .text-link { + margin-top: 1px; + margin-bottom: 1px; +} + + +/*** rating ***/ + +.meta-rating { + -moz-margin-start: 0px; + -moz-margin-end: 0px; + vertical-align: text-top; +} + +.meta-rating[showrating="average"] > .star { + list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); + padding: 0px 1px; +} + +.meta-rating[showrating="user"] > .star { + list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png"); + padding: 2px 3px; +} + +.meta-rating > .star[on="true"], +.meta-rating[showrating="user"] > .star[hover] { + list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); + padding: 0px 1px; +} + + +/*** download progress ***/ + +.download-progress { background-color: #CCD0DD; - color: #000000; + border: 1px solid #808080; + width: 200px; + height: 24px; + margin: 0px 8px; } -#viewGroup radio { - margin: 0px 1px 0px 1px; - padding: 1px 3px 1px 3px; - min-width: 4.5em; - list-style-image: url("chrome://mozapps/skin/extensions/viewButtons.png"); - border: 1px solid transparent; +.download-progress .start-cap, +.download-progress[complete] .end-cap, +.download-progress .progress .progress-bar { + background-color: #336699; } -#viewGroup radio:hover { - border: 1px outset #CCD0DD; +.download-progress .progress { + background-color: transparent; } -#viewGroup radio[selected="true"] { - border: 1px inset #CCD0DD; +.download-progress .start-cap, .download-progress .end-cap { + width: 12px; } -.viewButtonIcon { - width: 32px; - height: 32px; +.download-progress .start-cap:-moz-locale-dir(ltr), +.download-progress .end-cap:-moz-locale-dir(rtl) { + border-radius: 10000px 0 0 10000px; +} + +.download-progress .end-cap:-moz-locale-dir(ltr), +.download-progress .start-cap:-moz-locale-dir(rtl) { + border-radius: 0 10000px 10000px 0; +} + +.download-progress .progress { + -moz-appearance: none; + padding: 0px; + margin: 0px; + border: none; +} + +.download-progress .pause, .download-progress .cancel { + -moz-appearance: none; + background-color: #CCD0DD; + border-width: 1px 0px 0px 1px; + padding-right: 1px; + border-style: solid; + -moz-border-top-colors: #FFFFFF; + -moz-border-left-colors: #FFFFFF; + min-width: 16px; + width: 16px; + height: 16px; + margin: 3px; } -radio#extensions-view { - -moz-image-region: rect(0px, 32px, 32px, 0px) +.download-progress .pause { + list-style-image: url('chrome://mozapps/skin/extensions/pause.png'); } -radio#themes-view { - -moz-image-region: rect(0px, 64px, 32px, 32px) +.download-progress .cancel { + list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); } -radio#locales-view { - -moz-image-region: rect(0px, 96px, 32px, 64px) +.download-progress .status-container { + -moz-box-align: center; } -radio#plugins-view { - -moz-image-region: rect(0px, 128px, 32px, 96px) + +/*** install status ***/ + +.install-status { + -moz-box-align: center; } -radio#updates-view { - -moz-image-region: rect(0px, 160px, 32px, 128px) + +/*** check for updates ***/ + +#updates-container { + -moz-box-align: center; } -radio#installs-view { - -moz-image-region: rect(0px, 192px, 32px, 160px) +#updates-installed, #updates-downloaded { + color: #00CC00; + font-weight: bold; } -/* Update view checkbox */ -.includeUpdate { - -moz-user-focus: none; +#update-selected { + margin: 12px; } -richlistitem[selected="true"] .includeUpdate { - -moz-user-focus: normal; +/*** buttons ***/ + +.button-link { + background: transparent; + border: none; + text-decoration: underline; + color: #CCCCFF; + cursor: pointer; + min-width: 0; + margin: 0 6px; }