/* ***** 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; } #view-port { background-color: #FFFFFF; border: 1px solid #666699; } /*** category selector ***/ #categories { -moz-appearance: none; border: none; -moz-margin-end: -1px; background-color: transparent; position: relative; } .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; } .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: #FFFFFF; color: #000000; border-color: #666699; } .category-name { font-size: 150%; } .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; } .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: #FFFFFF; } #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; } #header-searching { list-style-image: url("chrome://global/skin/icons/loading.gif"); } .view-header { padding: 4px; margin: 0px; border-bottom: 1px solid #666699; } /*** sorters ***/ .sort-controls { -moz-appearance: none; } .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; } .sorter[checkState="1"], .sorter[checkState="2"] { background-color: #666699; } .sorter[checkState="1"] { list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); } .sorter[checkState="2"] { list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); } .sorter .button-icon { -moz-margin-start: 4px; } /*** empty list notification ***/ .empty-list-notice { -moz-box-align: center; } .empty-list-notice > button { margin: 20px; } /*** list ***/ .list { margin: 0px; border: none; background-color: transparent; } .addon { border-bottom: 1px solid #9999CC; padding: 5px; } .addon[status="installing"] { -moz-box-align: center; } .details { cursor: pointer; margin: 0; -moz-margin-start: 10px; } .icon-container { width: 48px; height: 48px; margin: 7px; } .icon { list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); max-width: 48px; max-height: 48px; } .addon[type="theme"] .icon { list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); } .addon[type="locale"] .icon { list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); } .addon[type="plugin"] .icon { list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); } .name, .version, .update-postfix { font-size: 150%; margin-bottom: 0px; } .disabled-postfix { font-size: 130%; } .description-container { margin-top: 8px; -moz-margin-start: 6px; } .description { margin: 0; } .warning, .pending, .error, .info { -moz-margin-start: 48px; } .addon:not([selected]) .warning { color: #808000; } .addon:not([selected]) .error { color: #FF0000; } .addon:not([selected]) .pending { color: #33FF33; } .addon .warning-icon { opacity: 0.7; list-style-image: url("chrome://global/skin/icons/warning-16.png"); width: 16px; height: 16px; margin: 0; } .addon .error-icon { list-style-image: url("chrome://global/skin/icons/error-16.png"); width: 16px; height: 16px; margin: 0; } .addon .pending-icon, .addon .info-icon { list-style-image: url("chrome://global/skin/icons/information-16.png"); width: 16px; height: 16px; margin: 0; } .addon[notification="warning"] { background-color : #FFFFCC; } .addon[notification="error"] { background-color: #FFD0DD; } .addon[notification="info"] { background-color: #9999CC; } .addon[pending="enable"], .addon[pending="upgrade"], .addon[pending="install"] { background-color: #CCFFDD; } .addon[pending="disable"], .addon[pending="uninstall"] { background-color: #808080; } .remove-container { width: 16px; } /*** item - uninstalled ***/ .addon[status="uninstalled"] { border: none; } .addon[status="uninstalled"] > .container { -moz-box-align: center; padding: 4px 20px; background-color: #808080; -moz-border-radius: 8px; font-size: 120%; } .addon[status="uninstalled"][selected] { background-color: transparent; } /*** 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; -moz-border-radius: 100%; } .search-filter-radio[selected] { background-color: #3366699; color: #000000; } .search-filter-radio .radio-check-box1 { display: none; } .search-filter-radio .radio-icon { display: none; } /*** detail view ***/ #detail-view[active="false"] .fade { opacity: 0.5; } #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"); } .detail-view-container { overflow: auto; padding: 10px 20px; } .detail-basicinfo { padding: 10px 0px; -moz-box-align: center; } .detail-extra { margin-top: 20px; } #detail-desc { min-height: 40px; margin-bottom: 20px; } #detail-icon { width: 32px; height: 32px; -moz-margin-end: 10px; list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); } #detail-view[type="theme"] #detail-icon { list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); } #detail-view[type="locale"] #detail-icon { list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); } #detail-view[type="plugin"] #detail-icon { list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); } #detail-name { font-size: 200%; } #detail-screenshot { width: 140px; height: 140px; background-color: blue; margin: 0px 10px 0px 0px; } .detail-prefs { -moz-box-align: start; } .meta-label { font-weight: bold; } #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; } /*** 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; /* -moz-border-radius: 100%; */ border: 1px solid #808080; width: 200px; height: 24px; margin: 0px 8px; } .download-progress .start-cap, .download-progress[complete] .end-cap, .download-progress .progress .progress-bar { background-color: #336699; } .download-progress .progress { background-color: transparent; } .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) { -moz-border-radius: 100% 0 0 100%; } .download-progress .end-cap:-moz-locale-dir(ltr), .download-progress .start-cap:-moz-locale-dir(rtl) { -moz-border-radius: 0 100% 100% 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; /* -moz-border-radius: 100%; */ min-width: 16px; width: 16px; height: 16px; margin: 3px; } .download-progress .pause { list-style-image: url('chrome://mozapps/skin/extensions/pause.png'); } .download-progress .cancel { list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); } .download-progress .status-container { -moz-box-align: center; } /*** install status ***/ .install-status { -moz-box-align: center; } /*** check for updates ***/ #updates-container { -moz-box-align: center; } #updates-installed, #updates-downloaded { color: #00CC00; font-weight: bold; } /*** buttons ***/ .remove-button { background: transparent; padding: 0; margin: 0; list-style-image: url("chrome://global/skin/icons/delete.png"); border: 1px solid transparent; } .remove-button .button-box { padding: 0; } .remove-button:hover { border: 1px outset #CCD0DD; } .remove-button:active { border: 1px inset #CCD0DD; } .remove-button .button-text { display: none; } .contribute { -moz-padding-start: 20px; -moz-padding-end: 4px; } .button-link { background: transparent; border: none; text-decoration: underline; color: #CCCCFF; cursor: pointer; min-width: 0; margin: 0 6px; }