X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fmozapps%2Fextensions%2Fextensions.css;h=534a8892bc3f7bdfccc2b9669d63b973f84b14a5;hp=50dc77db9c1260f356a93ed823c28f1363e4961f;hb=706c344c03f7c434b9407c67e1bd904eab88778d;hpb=e10e7addc389ca4e7c2b804cafa0d49525bfc116 diff --git a/LCARStrek/mozapps/extensions/extensions.css b/LCARStrek/mozapps/extensions/extensions.css index 50dc77db..534a8892 100644 --- a/LCARStrek/mozapps/extensions/extensions.css +++ b/LCARStrek/mozapps/extensions/extensions.css @@ -1,457 +1,672 @@ -#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; + margin: 20px; } -#extensionsView { - -moz-border-radius: 3px; +#view-port { border: 1px solid #9C9CFF; - margin: 0; - min-width: 245px; + -moz-border-radius: 5px; } -#resizerBox { - margin-top: -12px; - visibility: hidden; + +/*** category selector ***/ + +#categories { + -moz-appearance: none; + border: none; + -moz-margin-end: -1px; + background-color: transparent; + position: relative; } -#resizerBox > resizer { - height: 10px; - max-height: 10px; - visibility: visible; +.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; } -.notification-inner { - border: none; - border-bottom: 1px solid #9C9CFF; +.category:-moz-locale-dir(ltr) { + -moz-border-radius-topleft: 5px; + -moz-border-radius-bottomleft: 5px; } -/* Command Bar */ -#commandBarBottom { - margin: 5px 5px 10px 10px; - min-width: 1px; +.category:-moz-locale-dir(rtl) { + -moz-border-radius-topright: 5px; + -moz-border-radius-bottomright: 5px; } -#commandBarBottom button { - margin: 0; - -moz-margin-end: 5px; +.category[disabled] { + height: 0px; + opacity: 0; + -moz-transition-property: height, opacity; + -moz-transition-duration: 1s, 0.8s; } -/* 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:not([disabled]) { + height: 52px; + -moz-transition-property: height, opacity; + -moz-transition-duration: 1s, 0.8s; } -richlistitem[isDisabled="true"] .addonIcon { - opacity: 0.3; +.category[selected] { + color: FFCF00; + border-color: #9C9CFF; } -richlistitem[isDisabled="true"] { - color: #8050B0; +.category-name { + font-size: 150%; } -richlistitem[newAddon="true"] { - background-color: #000000; - color: #FFCF00; +.category-badge { + background-color: #E7ADE7; + padding: 2px 8px; + margin: 6px 0px; + -moz-border-radius: 100%; + color: #000000; + font-weight: bold; + text-align: center; } -richlistitem[selected="true"] { - background-color: #008484; +.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"); +} + + +/*** header ***/ + +#header { + margin-bottom: 20px; + height: 2em; +} + +#header-name, #header-link { color: #000000; } -richlistitem[selected="true"] .text-link { - color: inherit; +#header-name { + font-size: 180%; +} + +#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"); +} + +#header-link .button-icon { + -moz-margin-end: 6px; } -#extensionsView:focus > richlistitem[selected="true"] { +#header-searching { + list-style-image: url("chrome://global/skin/icons/loading.gif"); +} + +.view-header { + -moz-border-radius: 8px; + padding: 0px 4em; + margin: 3px; +} + + +/*** sorters ***/ + +.sort-controls { + -moz-appearance: none; +} + +.sorter { + -moz-appearance: none; + border: none; + border-left: 3px solid #000000; + border-right: 3px solid #000000; + background-color: transparent; + -moz-border-radius: 0; + padding: 0px 6px; + margin: 0px 6px; + min-width: 12px !important; + -moz-box-direction: reverse; +} + + +.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 { + -moz-margin-start: 4px; } -.addonName { - font-weight: bold; + +/*** empty list notification ***/ + +.empty-list-notice { + -moz-box-align: center; } -.previewText { - font-size: larger; - font-weight: bold; - color: #FF9F00; - text-align: center; +.empty-list-notice > button { + margin: 20px; } -#themePreviewArea { - -moz-border-radius: 3px; - border: 1px solid #9C9CFF; - background-color: #000000; - color: #FF9F00; - min-width: 65px; - overflow: auto; + +/*** list ***/ + +.list { + margin: 0px; + border: none; + background-color: transparent; } -#previewImageDeck { - min-width: 220px; +.addon { + border-bottom: 1px solid #9C9CFF; + padding: 5px; } -#themeSplitter { - border-width: 0; +.addon[status="installing"] { + -moz-box-align: center; } -.addonIcon { - -moz-margin-end: 2px; - width: 32px; - height: 32px; +.details { + cursor: pointer; + margin: 0; + -moz-margin-start: 10px; } -.addonIcon > image { - max-width: 32px; - max-height: 32px; +.icon-container { + width: 48px; + height: 48px; + margin: 7px; } -.updateBadge, -.notifyBadge { - width: 16px; - height: 16px; - margin-bottom: -3px; - list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); +.icon { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); + max-width: 48px; + max-height: 48px; } -richlistitem .updateBadge { - -moz-margin-end: -2px; +.addon[type="theme"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); } -richlistitem .notifyBadge { - -moz-margin-start: -2px; +.addon[type="locale"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); } -.updateBadge, -.updateAvailableBox, -.notifyBadge { - display: none; +.addon[type="plugin"] .icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + +.name, +.version, +.update-postfix { + font-size: 150%; + margin-bottom: 0px; } -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; +.disabled-postfix { + font-size: 130%; } +.description-container { + margin-top: 8px; + -moz-margin-start: 6px; +} -/* Selected Add-on buttons - See content/extensions.css to hide / display buttons */ -.selectedButtons { - margin-top: 4px; - min-height: 2.1em; +.description { + margin: 0; } -.selectedButtons > button { - margin-top: 0; - margin-bottom: 0; +.warning, .pending, .error, .info { + -moz-margin-start: 48px; } -.enableButton, -.disableButton, -.optionsButton, -.useThemeButton { - -moz-margin-end: 0; +.addon:not([selected]) .warning { + color: #FFCF00; } -.enableButton, .disableButton, -.uninstallButton, .cancelUninstallButton { - -moz-margin-start: 5px; +.addon:not([selected]) .error { + color: #FF0000; } -/* 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; +.addon:not([selected]) .pending { + color: #008484; } -richlistitem[loading="true"] .updateBadge { - display: -moz-box; +.addon .warning-icon { + list-style-image: url("chrome://global/skin/icons/warning-16.png"); 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; + margin: 0; } -.addonThrobber { - -moz-margin-start: 5px; +.addon .error-icon { + list-style-image: url("chrome://global/skin/icons/error-16.png"); width: 16px; height: 16px; - list-style-image: url("chrome://global/skin/icons/loading.gif"); + margin: 0; } -.selectedStatusMsgs > hbox { - margin-top: 2px; - margin-bottom: 2px; +.addon .pending-icon, +.addon .info-icon { + list-style-image: url("chrome://global/skin/icons/information-16.png"); + width: 16px; + height: 16px; + margin: 0; } -.selectedStatusMsgs label { - font-weight: bold; +.addon[notification="warning"] { + background-color : #FFCF00; + color: #000000; } -.selectedStatusMsgs label.text-link { - font-weight: normal; +.addon[notification="error"] { + background-color: #FF0000; + color: #000000; +} + +.addon[notification="info"] { + background-color: #9C9CFF; + color: #000000; +} + +.addon[pending="enable"], +.addon[pending="upgrade"], +.addon[pending="install"] { + background-color: #008484; +} + +.addon[pending="disable"], +.addon[pending="uninstall"] { + color: #8050B0; +} + + +.remove-container { + width: 16px; +} + +/*** item - uninstalled ***/ + +.addon[status="uninstalled"] { border: none; } -richlistitem[opType="needs-uninstall"] .notifyBadge { - display: none; +.addon[status="uninstalled"] > .container { + -moz-box-align: center; + padding: 4px 20px; + background-color: #8050B0; + -moz-border-radius: 8px; + font-size: 120%; } -.addon-search-details { - margin-top: 5px; - margin-bottom: 5px; - -moz-margin-start: 6px; - -moz-margin-end: 0; +.addon[status="uninstalled"][selected] { + background-color: transparent; } -.addonThumbnailContainer { + + +/*** search view ***/ + +#search-filter { + padding: 5px 20px; + -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%; } -.addonMissingThumbnail { - color: GrayText; - font-size: larger; +#search-filter-label { font-weight: bold; + color: #FFCF00; } -.addonFailure { - width: 16px; - height: 16px; - list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); +.search-filter-radio { + padding: 0px 6px; + margin: 0px 3px; + -moz-border-radius: 100%; +} + +.search-filter-radio[selected] { + background-color: #008484; + color: #000000; +} + +.search-filter-radio .radio-check-box1 { + display: none; } -.addonRating { +.search-filter-radio .radio-icon { display: none; } -.addonLearnMore { - margin-top: 4px; - margin-bottom: 4px; +/*** detail view ***/ + +#detail-view[active="false"] .fade { + opacity: 0.5; } -.addonRating[rating] { - display: -moz-box; - 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/extensions/extensionGeneric.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="locale"] #detail-icon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); } -vbox[typeName="status"][type="footer-recommended"], -vbox[typeName="status"][type="footer-search"] { - margin-top: 1em; +#detail-view[type="plugin"] #detail-icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); } -vbox[typeName="status"][type="header-recommended"] { - font-size: 150%; - background: #000000; +#detail-name { + font-size: 200%; } -#searchbox { - padding: 0; +#detail-screenshot { + width: 140px; + height: 140px; + background-color: #9C9CFF; + margin: 0px 10px 0px 0px; } -#progressBox { - padding: 5px 5px 5px 5px; +.detail-prefs { + -moz-box-align: start; } -#progressBox > hbox { +.meta-label { + font-weight: bold; +} + +#detail-notification { -moz-box-align: center; + -moz-box-pack: center; + margin: 0px 50px; + padding: 4px 20px; + background-color: #FFCF00; + -moz-border-radius: 8px; + font-size: 120%; } -/* View buttons */ -.viewSelector { - border-bottom: 1px solid #9C9CFF; - margin: 0px; - -moz-padding-start: 10px; - background-color: #000000; - color: #FF9F00; + +/*** creator ***/ + +.creator > label { + -moz-margin-start: 0px; + -moz-margin-end: 0px; } -#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; +.creator > .text-link { + margin-top: 1px; + margin-bottom: 1px; } -#viewGroup radio:hover { - background-color: #FFCF00; - color: #000000; + +/*** rating ***/ + +.meta-rating { + -moz-margin-start: 0px; + -moz-margin-end: 0px; + vertical-align: text-top; } -#viewGroup radio[selected="true"] { - background-color: #008484; - color: #000000; +.meta-rating[showrating="average"] > .star { + list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); + padding: 0px 1px; } -.viewButtonIcon { - width: 32px; - height: 32px; +.meta-rating[showrating="user"] > .star { + list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png"); + padding: 2px 3px; } -radio#extensions-view { - -moz-image-region: rect(0px, 32px, 32px, 0px) +.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#themes-view { - -moz-image-region: rect(0px, 64px, 32px, 32px) + +/*** download progress ***/ + +.download-progress { + background-color: #000000; + -moz-border-radius: 100%; + border: 1px solid #FF9F00; + width: 200px; + height: 24px; + margin: 0px 8px; } -radio#locales-view { - -moz-image-region: rect(0px, 96px, 32px, 64px) +.download-progress .start-cap, +.download-progress[complete] .end-cap, +.download-progress .progress .progress-bar { + background-color: #008484; } -radio#plugins-view { - -moz-image-region: rect(0px, 128px, 32px, 96px) +.download-progress .progress { + background-color: transparent; } -radio#updates-view { - -moz-image-region: rect(0px, 160px, 32px, 128px) +.download-progress .start-cap, .download-progress .end-cap { + width: 12px; } -radio#installs-view { - -moz-image-region: rect(0px, 192px, 32px, 160px) +.download-progress .start-cap:-moz-locale-dir(ltr), +.download-progress .end-cap:-moz-locale-dir(rtl) { + -moz-border-radius: 100% 0 0 100%; } -radio#search-view { - -moz-image-region: rect(0px, 224px, 32px, 192px) +.download-progress .end-cap:-moz-locale-dir(ltr), +.download-progress .start-cap:-moz-locale-dir(rtl) { + -moz-border-radius: 0 100% 100% 0; } -/* Update view checkbox */ -.includeUpdate { - -moz-user-focus: none; +.download-progress .progress { + -moz-appearance: none; + padding: 0px; + margin: 0px; + border: none; } -richlistitem[selected="true"] .includeUpdate { - -moz-user-focus: normal; +.download-progress .pause, .download-progress .cancel { + -moz-appearance: none; + background-color: #8050B0; + border-width: 1px 0px 0px 1px; + padding-right: 1px; + border-style: solid; + -moz-border-radius: 100%; + min-width: 16px; + width: 16px; + height: 16px; + margin: 3px; } -#infoDisplay { - overflow-y: auto; +.download-progress .pause { + list-style-image: url('chrome://mozapps/skin/extensions/pause.png'); } -#infoDisplay body { - padding: 5px; +.download-progress .cancel { + list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); } -#infoDisplay h1, -#infoDisplay h2, -#infoDisplay h3 { - text-align: left; - font-weight: bold; - margin: 0 0 0.7em 0; +.download-progress .status-container { + -moz-box-align: center; } -#infoDisplay h1 { - font-size: 150%; + +/*** install status ***/ + +.install-status { + -moz-box-align: center; +} + + +/*** check for updates ***/ + +#updates-container { + -moz-box-align: center; +} + +#updates-installed, #updates-downloaded { + color: #008484; + font-weight: bold; } -#infoDisplay h2 { - font-size: 125%; + +/*** buttons ***/ + +.remove-button { + padding: 0; + margin: 0; + list-style-image: url("chrome://global/skin/icons/delete.png"); + -moz-image-region: rect(0, 16px, 16px, 0px); } -#infoDisplay h3 { - font-size: 100%; +.remove-button:hover, .remove-button:active { + -moz-image-region: rect(0, 32px, 16px, 16px); } -#infoDisplay ol, -#infoDisplay ul { - margin: 0 0 0.7em 0; +.remove-button .button-text { + 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 0; +.button-link { + background: transparent; + border: none; + text-decoration: underline; + color: blue; + cursor: pointer; + min-width: 0; + margin: 0 6px; }