From: Robert Kaiser Date: Sun, 16 May 2010 21:29:43 +0000 (+0200) Subject: EarlyBlue: remove obsoleted icons from extensions, update to new CSS for the new... X-Git-Tag: LCARStrek-2.1a2~13 X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=commitdiff_plain;h=600bfec4b221a7bfc837f4adae6347618c39c517 EarlyBlue: remove obsoleted icons from extensions, update to new CSS for the new addons manager - icons still TBD --- diff --git a/EarlyBlue/mozapps/extensions/extensionIcons.png b/EarlyBlue/mozapps/extensions/extensionIcons.png deleted file mode 100644 index 9ab11db2..00000000 Binary files a/EarlyBlue/mozapps/extensions/extensionIcons.png and /dev/null differ diff --git a/EarlyBlue/mozapps/extensions/extensions.css b/EarlyBlue/mozapps/extensions/extensions.css index fb5994c1..4a00db42 100644 --- a/EarlyBlue/mozapps/extensions/extensions.css +++ b/EarlyBlue/mozapps/extensions/extensions.css @@ -1,428 +1,637 @@ -#extensionsBox { - margin: 10px 10px 0px; +/* ***** 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 ***** */ + + +.pane-splitter { + -moz-appearance: none; + border: none; + -moz-border-start: 1px solid #666699; + background-color: transparent; + background-image: none; min-width: 1px; } -#extensionsView { +.view-pane { + background-color: #FFFFFF; +} + + +/*** category selector ***/ + +#categories { + -moz-appearance: none; + border: none; + margin: 0px; +} + +.category { + border: none; -moz-appearance: none; - border: 1px inset #CCD0DD; - margin: 0; - min-width: 245px; + padding: 10px 4px; + -moz-box-align: center; + overflow: hidden; + min-height: 0px; +} + +.category[disabled] { + height: 0px; + 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: #9999CC; + color: #000000; +} + +.category-name { + font-size: 150%; } -#resizerBox { - margin-top: -12px; +.category-badge { + background-color: #666699; + padding: 2px 8px; + margin: 6px 0px; + border: 1px outset #666699; + /* -moz-border-radius: 100%; */ + color: #FFFFFF; + font-weight: bold; + text-align: center; +} + +.category-badge[value="0"] { visibility: hidden; } -#resizerBox > resizer { - height: 10px; - max-height: 10px; - visibility: visible; +.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"); +} + + +/*** header ***/ + +#header { + background-color: #666699; + border: 1px inset #666699; + padding: 8px; + margin: 0px; + -moz-box-align: center; + height: 4.5em; +} + +#header-name, #header-link { + color: #FFFFFF; +} + +#header-name { + font-size: 180%; } -.notification-inner { +#header-link { + -moz-appearance: none; border: none; - border-bottom: 1px solid #9999CC; + background: transparent; + font-size: 120%; + cursor: pointer; + list-style-image: url("chrome://mozapps/skin/extensions/go-back.png"); } -#searchfield { - -moz-margin-start: 0; +#header-link .button-icon { + -moz-margin-end: 6px; } -/* Command Bar */ -#commandBarBottom { - margin-top: 5px; - margin-bottom: 10px; - -moz-margin-start: 10px; - -moz-margin-end: 5px; - min-width: 1px; +.view-header { + background: #9999CC; + padding: 4px; + margin: 0px; + border-bottom: 1px solid #666699; +} + + +/*** sorters ***/ + +.sort-controls { + -moz-appearance: none; } -#commandBarBottom button { - margin: 0; - -moz-margin-end: 5px; +.sorter { + -moz-appearance: none; + border: none; + background-color: transparent; + /* -moz-border-radius: 100%; */ + padding: 0px 6px; + margin: 0px 6px; + min-width: 12px !important; + -moz-box-direction: reverse; } -/* 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; +.sorter[checkState="1"], +.sorter[checkState="2"] { + background-color: #666699; } -richlistitem[isDisabled="true"] .addonIcon { - opacity: 0.3; +.sorter[checkState="1"] { + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); } -richlistitem[isDisabled="true"] { - color: #808080; +.sorter[checkState="2"] { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); } -richlistitem[newAddon="true"] { - background-color: #FFFFCC; - color: #000000; +.sorter .button-icon { + -moz-margin-start: 4px; +} + + +/*** empty list notification ***/ + +.empty-list-notice { + -moz-box-align: center; } -richlistitem[selected="true"] { +.empty-list-notice > button { + margin: 20px; +} + + +/*** list ***/ + +.list { + -moz-appearance: none; + margin: 0px; + border: none; +} + +.addon[status="installed"], .addon[status="installing"] { background-color: #CCD0DD; - color: #000000; + /* -moz-border-radius: 10px; */ + border: 1px solid #9999CC; + padding: 6px 7px; + margin: 3px 8px; } -richlistitem[selected="true"] .text-link { +.addon[status="installing"] { + -moz-box-align: center; + border-color: #336699; +} + +.addon[selected]:not([status="uninstalled"]) { + background: #DDDDDD; + border-style: inset; color: inherit; } -#extensionsView:focus > richlistitem[selected="true"] { - background-color: #336699; - color: #FFFFFF; +.addon[status="installed"][selected]:not([pending="true"]) { + border: none; + padding: 8px 9px; } -#extensionsView:focus > richlistitem[selected="true"][isDisabled="true"] { - background-color: #666699; - color: #FFFFFF; +.addon[status="installed"][active="false"] .fade { + opacity: 0.5; } -.descriptionWrap { - margin-bottom: 2px; +.addon[status="installed"][pending="true"] { + border-color: red; } -.addonName { - font-weight: bold; +.addon[selected] { + /* color: -moz-dialogtext; */ } -.previewText { - font-size: larger; - font-weight: bold; - color: #000000; - text-align: center; +.addon[selected] .text-link { + /* color: -moz-nativehyperlinktext; */ } -#themePreviewArea { - border: 1px inset #CCD0DD; - background-color: #FFFFFF; - color: #000000; - min-width: 65px; - overflow: auto; +.addon .toggle-more { + /* -moz-border-radius: 100%; */ + padding: 0px 6px; + margin: 0px 6px; + min-width: 12px !important; + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); + -moz-box-direction: reverse; + border: 1px solid transparent; + background: transparent; + cursor: pointer; } -#previewImageDeck { - min-width: 220px; +.addon .toggle-more > .button-box > .button-icon { + -moz-padding-start: 4px; } -#themeSplitter { - border-width: 0; +.addon[show-extra] .toggle-more { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); } -.addonIcon { - -moz-margin-end: 2px; - width: 32px; - height: 32px; +.addon .toggle-more:hover { + background-color: #CCD0DD; + border: 1px outset #CCD0DD; } -.addonIcon > image { - max-width: 32px; - max-height: 32px; +.addon[selected] .toggle-more:hover { + background-color: #CCD0DD; + border: 1px outset #CCD0DD; } -richlistitem[plugin] .addonIcon > image { - list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +.addon .extra-details { + height: 0px; + overflow: hidden; + opacity: 0; + text-align: end; + -moz-transition-property: height, opacity; + -moz-transition-duration: 0.5s, 0.5s; +} + +.addon[show-extra] .extra-details { + opacity: 1; + -moz-transition-property: height, opacity; + -moz-transition-duration: 0.5s, 0.5s; +} + +.addon .icon { + margin: 7px 5px; + width: 32px; + height: 32px; + list-style-image: url("chrome://mozapps/skin/xpinstall/xpinstallItemGeneric.png"); } -richlistitem[lwtheme] .addonIcon > image { +.addon[type="theme"] .icon { list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); } -.updateBadge, -.notifyBadge { - width: 16px; - height: 16px; - margin-bottom: -3px; - list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); +.addon[type="plugin"] .icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); } -richlistitem .updateBadge { - -moz-margin-end: -2px; +.addon .name-container { + -moz-box-align: end; } -richlistitem .notifyBadge { - -moz-margin-start: -2px; +.addon .name { + font-size: 150%; + margin-bottom: 0px; } -/* Selected Add-on buttons - See content/extensions.css to hide / display buttons */ -.selectedButtons { - margin-top: 4px; - min-height: 2.1em; +.addon .disabled-postfix { + font-size: 130%; } -.selectedButtons > button { - margin-top: 0; - margin-bottom: 0; +.addon .description { + margin-top: 8px; + -moz-margin-start: 6px; } -.enableButton, -.disableButton, -.optionsButton, -.useThemeButton { - -moz-margin-end: 0; +.addon .warning { + color: #FF0000; + -moz-box-align: start; } -.enableButton, .disableButton, -.uninstallButton, .cancelUninstallButton { - -moz-margin-start: 5px; +.addon .warning-icon { + opacity: 0.7; + list-style-image: url("chrome://global/skin/icons/warning-16.png"); } -richlistitem[loading="true"] .updateBadge { - 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; +.addon[selected] .warning-icon { + opacity: 1; } -.addonThrobber { - -moz-margin-start: 5px; - width: 16px; - height: 16px; - list-style-image: url("chrome://global/skin/icons/loading.gif"); +.addon .details-container { + -moz-box-align: end; + -moz-margin-start: 20px; } -.selectedStatusMsgs > hbox { - margin-top: 2px; - margin-bottom: 2px; +.addon .control-container { + -moz-box-align: center; + -moz-box-pack: end; + margin-top: 6px; } -.selectedStatusMsgs label { - font-weight: bold; +.addon[selected] .details-container { + border-color: #AAA; } -.selectedStatusMsgs label.text-link { - font-weight: normal; + +/*** item - uninstalled ***/ + +.addon[status="uninstalled"] { border: none; } -.addon-search-details { - margin-top: 5px; - margin-bottom: 5px; - -moz-margin-start: 6px; - -moz-margin-end: 0; +.addon[status="uninstalled"] > .container { + -moz-box-align: center; + padding: 4px 20px; + background-color: #808080; + -moz-border-radius: 8px; + font-size: 120%; } -.addonThumbnailContainer { - background-color: #CCD0DD; - padding: 5px; - border: 1px solid #9999CC; - width: 135px; - min-height: 104px; - -moz-margin-end: 5px; +.addon[status="uninstalled"][selected] { + background-color: transparent; } -.addonMissingThumbnail { - color: GrayText; - font-size: larger; - font-weight: bold; -} -.addonFailure { - width: 16px; - height: 16px; - list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); + +/*** search view ***/ + +.search-filter { + padding: 20px; + -moz-box-align: center; + background-color: #FFFFFF; + font-size: 120%; } -.addonLearnMore { - margin-top: 4px; - margin-bottom: 4px; + +/*** detail view ***/ + +#detail-view[active="false"] .fade { + opacity: 0.5; } -.addonRating[rating] { - width: 68px; - height: 12px; - list-style-image: url("chrome://mozapps/skin/extensions/ratings.png"); +#detail-view > .loading { + opacity: 0; } -.addonRating[rating="0"] { - -moz-image-region: rect(0px 68px 12px 0px); +#detail-view:not([loading]) > .loading { + visibility: collapse; } -.addonRating[rating="1"] { - -moz-image-region: rect(12px 68px 24px 0px); +#detail-view[loading-extended] > .loading { + -moz-box-align: center; + -moz-box-pack: center; + opacity: 1; + -moz-transition-property: opacity; + -moz-transition-duration: 1s; } -.addonRating[rating="2"] { - -moz-image-region: rect(24px 68px 36px 0px); +#detail-view > .loading > image { + list-style-image: url("chrome://global/skin/icons/loading.gif"); } -.addonRating[rating="3"] { - -moz-image-region: rect(36px 68px 48px 0px); +.detail-view-container { + overflow: auto; + padding: 10px 20px; } -.addonRating[rating="4"] { - -moz-image-region: rect(48px 68px 60px 0px); +.detail-basicinfo { + padding: 10px 0px; + -moz-box-align: center; } -.addonRating[rating="5"] { - -moz-image-region: rect(60px 68px 72px 0px); +.detail-extra { + margin-top: 20px; } -.addonType image { - -moz-margin-start: 6px; - list-style-image: url("chrome://mozapps/skin/extensions/extensionIcons.png"); - width: 16px; - height: 16px; +#detail-desc { + min-height: 40px; + margin-bottom: 20px; } -.addonTypeExtension image { - -moz-image-region: rect(0px 16px 16px 0px); +#detail-icon { + width: 32px; + height: 32px; + -moz-margin-end: 10px; + list-style-image: url("chrome://mozapps/skin/xpinstall/xpinstallItemGeneric.png"); } -.addonTypeTheme image { - -moz-image-region: rect(0px 32px 16px 16px); +#detail-view[type="theme"] #detail-icon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); } -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; +#detail-view[type="plugin"] #detail-icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); } -vbox[typeName="status"][type="footer-recommended"], -vbox[typeName="status"][type="footer-search"] { - margin-top: 1em; +#detail-name { + font-size: 200%; } -vbox[typeName="status"][type="header-recommended"] { - font-size: 150%; - background: #CCD0DD; +#detail-screenshot { + width: 140px; + height: 140px; + background-color: blue; + margin: 0px 10px 0px 0px; } -#searchbox { - padding: 0; +.detail-prefs { + -moz-box-align: start; } -#progressBox { - padding: 5px; +.meta-label { + font-weight: bold; } -#progressBox > hbox { +#detail-notification { -moz-box-align: center; + -moz-box-pack: center; + margin: 0px 50px; + padding: 4px 20px; + background-color: #FFFFCC; + /* -moz-border-radius: 8px; */ + font-size: 120%; + border: 1px solid #666699; } -/* View buttons resp. Progress box */ -#topBar { - border-bottom: 1px solid #9999CC; - background-color: #CCD0DD; - color: #000000; + +/*** creator ***/ + +.creator > label { + -moz-margin-start: 0px; + -moz-margin-end: 0px; } -#viewGroup { - -moz-padding-start: 10px; +.creator > .text-link { + margin-top: 1px; + margin-bottom: 1px; } -#viewGroup > radio { - margin: 0px; - padding: 1px 3px; - min-width: 4.5em; - list-style-image: url("chrome://mozapps/skin/extensions/viewButtons.png"); - border: 1px solid transparent; + +/*** rating ***/ + +.meta-rating { + -moz-margin-start: 0px; + -moz-margin-end: 0px; + vertical-align: text-top; } -#viewGroup > radio:hover { - border: 1px outset #CCD0DD; +.meta-rating[showrating="average"] > .star { + list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); + padding: 0px 1px; } -#viewGroup > radio[selected="true"] { - border: 1px inset #CCD0DD; - background-color: #DDDDDD; +.meta-rating[showrating="user"] > .star { + list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png"); + padding: 2px 3px; } -.viewButtonIcon { - width: 32px; - height: 32px; +.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; } -radio#extensions-view { - -moz-image-region: rect(0px, 32px, 32px, 0px) + +/*** download progress ***/ + +.download-progress { + background-color: #CCD0DD; + /* -moz-border-radius: 100%; */ + border: 1px solid #808080; + width: 200px; + height: 24px; + margin: 0px 8px; } -radio#themes-view { - -moz-image-region: rect(0px, 64px, 32px, 32px) +.download-progress .start-cap, +.download-progress[complete] .end-cap, +.download-progress .progress .progress-bar { + background-color: #336699; } -radio#locales-view { - -moz-image-region: rect(0px, 96px, 32px, 64px) +.download-progress .progress { + background-color: transparent; } -radio#plugins-view { - -moz-image-region: rect(0px, 128px, 32px, 96px) +.download-progress .start-cap, .download-progress .end-cap { + width: 12px; } -radio#updates-view { - -moz-image-region: rect(0px, 160px, 32px, 128px) +.download-progress .start-cap { + -moz-border-radius: 100% 0 0 100%; } -radio#installs-view { - -moz-image-region: rect(0px, 192px, 32px, 160px) +.download-progress .end-cap { + -moz-border-radius: 0 100% 100% 0; } -radio#search-view { - -moz-image-region: rect(0px, 224px, 32px, 192px) +.download-progress .progress { + -moz-appearance: none; + padding: 0px; + margin: 0px; + border: none; } -/* Update view checkbox */ -.includeUpdate { - -moz-user-focus: none; +.download-progress .pause, .download-progress .cancel { + -moz-appearance: none; + background-color: #CCD0DD; + border-width: 1px 0px 0px 1px; + border-style: solid; + -moz-border-top-colors: #FFFFF; + -moz-border-left-colors: #FFFFF; + /* -moz-border-radius: 100%; */ + min-width: 16px; + width: 16px; + height: 16px; + margin: 3px; } -richlistitem[selected="true"] .includeUpdate { - -moz-user-focus: normal; +.download-progress .status-container { + -moz-box-align: center; } -#infoDisplay { - overflow-y: auto; + +/*** install status ***/ + +.install-status { + -moz-box-align: center; } -#infoDisplay body { - padding: 5px; + +/*** check for updates ***/ + +#updates-container { + -moz-box-align: center; } -#infoDisplay h1, -#infoDisplay h2, -#infoDisplay h3 { - text-align: left; +#updates-installed, #updates-downloaded { + color: #00CC00; font-weight: bold; - margin: 0 0 0.7em; } -#infoDisplay h1 { - font-size: 150%; -} -#infoDisplay h2 { - font-size: 125%; -} +/*** buttons ***/ -#infoDisplay h3 { - font-size: 100%; +.addon-control { + padding: 0px 5px; } -#infoDisplay ol, -#infoDisplay ul { - margin: 0 0 0.7em; +.addon-control[disabled="true"] { + display: none; } -#infoDisplay li { - text-align: left; +.contribute { + -moz-padding-start: 20px; + -moz-padding-end: 4px; } -#infoDisplay p { - text-align: justify; - margin: 0 0 0.7em; +.button-link { + background: transparent; + border: none; + text-decoration: underline; + color: blue; + cursor: pointer; + min-width: 0; } diff --git a/EarlyBlue/mozapps/extensions/itemDisabledFader.png b/EarlyBlue/mozapps/extensions/itemDisabledFader.png deleted file mode 100644 index 1b6caef5..00000000 Binary files a/EarlyBlue/mozapps/extensions/itemDisabledFader.png and /dev/null differ diff --git a/EarlyBlue/mozapps/extensions/itemEnabledFader.png b/EarlyBlue/mozapps/extensions/itemEnabledFader.png deleted file mode 100644 index ff9fbe83..00000000 Binary files a/EarlyBlue/mozapps/extensions/itemEnabledFader.png and /dev/null differ diff --git a/EarlyBlue/mozapps/extensions/notifyBadges.png b/EarlyBlue/mozapps/extensions/notifyBadges.png deleted file mode 100644 index a78029c1..00000000 Binary files a/EarlyBlue/mozapps/extensions/notifyBadges.png and /dev/null differ diff --git a/EarlyBlue/mozapps/extensions/question.png b/EarlyBlue/mozapps/extensions/question.png deleted file mode 100644 index 6d35a558..00000000 Binary files a/EarlyBlue/mozapps/extensions/question.png and /dev/null differ diff --git a/EarlyBlue/mozapps/extensions/ratings.png b/EarlyBlue/mozapps/extensions/ratings.png deleted file mode 100644 index 1d8222a6..00000000 Binary files a/EarlyBlue/mozapps/extensions/ratings.png and /dev/null differ diff --git a/EarlyBlue/mozapps/extensions/viewButtons.png b/EarlyBlue/mozapps/extensions/viewButtons.png deleted file mode 100644 index b8585ba2..00000000 Binary files a/EarlyBlue/mozapps/extensions/viewButtons.png and /dev/null differ