2010-04-29 13:11:29 -07:00
|
|
|
/* ***** 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 <bmcbride@mozilla.com>
|
|
|
|
*
|
|
|
|
* 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 ***** */
|
|
|
|
|
2010-08-23 10:46:30 -07:00
|
|
|
#addons-page {
|
2010-10-06 17:20:06 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
padding: 18px;
|
|
|
|
background-color: Window;
|
|
|
|
background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 160px),
|
|
|
|
-moz-linear-gradient(-moz-dialog, Window 160px);
|
|
|
|
color: WindowText;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-08 10:12:09 -07:00
|
|
|
#view-port-container {
|
|
|
|
/* Needed to allow the radius to clip the inner content, see bug 595656 */
|
|
|
|
overflow: hidden;
|
2010-10-06 17:20:06 -07:00
|
|
|
background-color: -moz-Field;
|
|
|
|
color: -moz-FieldText;
|
|
|
|
border: 1px solid ThreeDShadow;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 5px;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-09-01 16:40:20 -07:00
|
|
|
/*** global warnings ***/
|
|
|
|
|
2010-11-16 11:30:26 -08:00
|
|
|
.global-warning-container {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
2010-09-01 16:40:20 -07:00
|
|
|
.global-warning {
|
|
|
|
-moz-box-align: center;
|
2010-10-06 17:20:06 -07:00
|
|
|
padding: 0 8px;
|
2010-09-01 16:40:20 -07:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#addons-page[warning] .global-warning-container {
|
|
|
|
background-color: rgba(255, 255, 0, 0.1);
|
2010-10-06 17:20:06 -07:00
|
|
|
background-image: url("chrome://mozapps/skin/extensions/stripes-warning.png");
|
2010-09-01 16:40:20 -07:00
|
|
|
background-repeat: repeat-x;
|
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#detail-view .global-warning {
|
|
|
|
padding: 4px 12px;
|
|
|
|
border-bottom: 1px solid ThreeDShadow;
|
|
|
|
min-height: 41px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media all and (max-width: 600px) {
|
2010-11-16 11:30:26 -08:00
|
|
|
.global-warning-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-09-01 16:40:20 -07:00
|
|
|
/*** notification icons ***/
|
|
|
|
|
|
|
|
.warning-icon {
|
2010-09-09 12:14:43 -07:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu");
|
2010-09-01 16:40:20 -07:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: 3px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-icon {
|
2010-09-09 12:14:43 -07:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu");
|
2010-09-01 16:40:20 -07:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: 3px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pending-icon,
|
|
|
|
.info-icon {
|
2010-09-09 12:14:43 -07:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu");
|
2010-09-01 16:40:20 -07:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: 3px 0;
|
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
/*** view alert boxes ***/
|
|
|
|
|
|
|
|
.alert-container {
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-spacer-before {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-spacer-after {
|
|
|
|
-moz-box-flex: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert {
|
|
|
|
-moz-box-align: center;
|
|
|
|
padding: 10px;
|
|
|
|
font-size: 12px;
|
|
|
|
border: 1px solid ThreeDShadow;
|
|
|
|
border-radius: 8px;
|
|
|
|
color: WindowText;
|
|
|
|
background-color: Window;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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_16.png");
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
/*** category selector ***/
|
|
|
|
|
|
|
|
#categories {
|
|
|
|
-moz-appearance: none;
|
|
|
|
border: none;
|
2010-08-23 10:46:30 -07:00
|
|
|
-moz-margin-end: -1px;
|
|
|
|
background-color: transparent;
|
|
|
|
position: relative;
|
2010-10-06 17:20:06 -07:00
|
|
|
margin-top: 41px;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.category {
|
|
|
|
-moz-appearance: none;
|
2010-08-23 10:46:30 -07:00
|
|
|
border-width: 1px;
|
|
|
|
-moz-border-end-width: 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: transparent;
|
2010-04-29 13:11:29 -07:00
|
|
|
padding: 10px 4px;
|
|
|
|
-moz-box-align: center;
|
|
|
|
overflow: hidden;
|
2010-10-06 17:20:06 -07:00
|
|
|
min-height: 0;
|
|
|
|
color: WindowText;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-08-23 10:46:30 -07:00
|
|
|
.category:-moz-locale-dir(ltr) {
|
2010-09-09 08:21:47 -07:00
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-bottom-left-radius: 5px;
|
2010-08-23 10:46:30 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.category:-moz-locale-dir(rtl) {
|
2010-09-09 08:21:47 -07:00
|
|
|
border-top-right-radius: 5px;
|
|
|
|
border-bottom-right-radius: 5px;
|
2010-08-23 10:46:30 -07:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.category[disabled] {
|
2010-10-06 17:20:06 -07:00
|
|
|
height: 0;
|
2010-04-29 13:11:29 -07:00
|
|
|
opacity: 0;
|
|
|
|
-moz-transition-property: height, opacity;
|
|
|
|
-moz-transition-duration: 1s, 0.8s;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
2010-04-29 13:11:29 -07:00
|
|
|
|
|
|
|
.category:not([disabled]) {
|
|
|
|
height: 52px;
|
|
|
|
-moz-transition-property: height, opacity;
|
|
|
|
-moz-transition-duration: 1s, 0.8s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category[selected] {
|
2010-10-06 17:20:06 -07:00
|
|
|
background-color: -moz-Field;
|
|
|
|
color: -moz-FieldText;
|
|
|
|
border-color: ThreeDShadow;
|
|
|
|
font-weight: bold;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-name {
|
|
|
|
font-size: 150%;
|
2008-03-11 01:12:06 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
/* Maximize the size of the viewport when the window is small */
|
|
|
|
@media all and (max-width: 800px) {
|
|
|
|
.category-name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.category-badge {
|
2010-10-06 17:20:06 -07:00
|
|
|
background-color: Highlight;
|
2010-04-29 13:11:29 -07:00
|
|
|
padding: 2px 8px;
|
2010-10-06 17:20:06 -07:00
|
|
|
margin: 6px 0;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 10000px;
|
2010-10-06 17:20:06 -07:00
|
|
|
color: HighlightText;
|
2010-04-29 13:11:29 -07:00
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.category-badge[value="0"] {
|
2007-12-21 03:17:01 -08:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.category-icon {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
-moz-margin-start: 6px;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
#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");
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
2010-06-02 02:13:03 -07:00
|
|
|
#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");
|
|
|
|
}
|
2007-12-21 03:17:01 -08:00
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
|
|
|
|
/*** header ***/
|
|
|
|
|
|
|
|
#header {
|
2010-10-06 17:20:06 -07:00
|
|
|
margin-bottom: 18px;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.nav-button {
|
|
|
|
min-width: 0;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#back-btn:-moz-locale-dir(ltr) {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar");
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#forward-btn:-moz-locale-dir(ltr) {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar");
|
2008-09-05 03:36:22 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#back-btn:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar");
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#forward-btn:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar");
|
2010-07-19 16:01:23 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#back-btn[disabled="true"]:-moz-locale-dir(ltr) {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar&state=disabled");
|
2010-06-02 02:13:03 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar&state=disabled");
|
2010-06-02 02:13:03 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#back-btn[disabled="true"]:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar&state=disabled");
|
2010-06-02 02:13:03 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar&state=disabled");
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#header-utils-btn {
|
|
|
|
min-width: 4.5em;
|
2008-03-20 14:43:46 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#header-utils-btn .toolbarbutton-icon {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-preferences?size=toolbar");
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#header-utils-btn:-moz-focusring > .button-box {
|
|
|
|
border: none;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#header-search {
|
|
|
|
margin: 0;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.view-header {
|
|
|
|
padding: 4px;
|
|
|
|
margin: 0;
|
|
|
|
min-height: 41px;
|
|
|
|
background-color: ThreeDHighlight;
|
|
|
|
border-bottom: 1px solid ThreeDShadow;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
/*** sorters ***/
|
2010-04-29 13:11:29 -07:00
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.sort-controls {
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
2010-04-29 13:11:29 -07:00
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.sorter[checkState="1"] .button-icon {
|
|
|
|
display: -moz-box;
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-sort-descending?size=16");
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.sorter[checkState="2"] .button-icon {
|
|
|
|
display: -moz-box;
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-sort-ascending?size=16");
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
|
|
|
|
/*** list ***/
|
|
|
|
|
|
|
|
.list {
|
|
|
|
-moz-appearance: none;
|
2010-10-06 17:20:06 -07:00
|
|
|
margin: 0;
|
2010-04-29 13:11:29 -07:00
|
|
|
border: none;
|
2010-08-23 10:46:30 -07:00
|
|
|
background-color: transparent;
|
2009-09-02 06:10:11 -07:00
|
|
|
}
|
|
|
|
|
2010-08-23 10:46:05 -07:00
|
|
|
.addon {
|
2010-10-06 17:20:06 -07:00
|
|
|
border-bottom: 1px solid ThreeDLightShadow;
|
2010-08-23 10:46:05 -07:00
|
|
|
padding: 5px;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.addon[status="installing"] {
|
|
|
|
-moz-box-align: center;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.addon[selected] .text-link,
|
|
|
|
.addon[selected] .button-link {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2010-08-23 10:46:05 -07:00
|
|
|
.details {
|
2010-04-29 13:11:29 -07:00
|
|
|
cursor: pointer;
|
2010-08-23 10:46:05 -07:00
|
|
|
margin: 0;
|
|
|
|
-moz-margin-start: 10px;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-08-23 10:46:05 -07:00
|
|
|
.icon-container {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2010-10-06 17:20:06 -07:00
|
|
|
margin: 22px 7px 7px 7px;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-08-23 10:46:05 -07:00
|
|
|
.icon {
|
2010-06-18 14:10:13 -07:00
|
|
|
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
|
2010-08-23 10:46:05 -07:00
|
|
|
max-width: 48px;
|
|
|
|
max-height: 48px;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.addon[active="false"] .icon {
|
|
|
|
filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
|
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
.addon-view[type="theme"] .icon {
|
2010-05-01 11:04:44 -07:00
|
|
|
list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
.addon-view[type="locale"] .icon {
|
2010-06-18 14:10:13 -07:00
|
|
|
list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
|
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
.addon-view[type="plugin"] .icon {
|
2010-04-29 13:11:29 -07:00
|
|
|
list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.name-container,
|
|
|
|
.addon[status="installing"] .name {
|
2010-04-29 13:11:29 -07:00
|
|
|
font-size: 150%;
|
2010-10-06 17:20:06 -07:00
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.creator {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addon-view[active="false"]:not([selected]) {
|
|
|
|
color: GrayText;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-08-23 10:46:05 -07:00
|
|
|
.description-container {
|
2010-04-29 13:11:29 -07:00
|
|
|
margin-top: 8px;
|
|
|
|
-moz-margin-start: 6px;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-08-23 10:46:05 -07:00
|
|
|
.description {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.warning,
|
|
|
|
.pending,
|
|
|
|
.error {
|
2010-08-23 10:46:05 -07:00
|
|
|
-moz-margin-start: 48px;
|
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
.addon-view:not([selected]) .warning {
|
2010-08-23 10:46:05 -07:00
|
|
|
color: #90792E;
|
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
.addon-view:not([selected]) .error {
|
2010-08-23 10:46:05 -07:00
|
|
|
color: #7C322B;
|
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
.addon-view:not([selected]) .pending {
|
2010-08-23 10:46:05 -07:00
|
|
|
color: #4F7939;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.addon[active="false"] {
|
|
|
|
background-image: -moz-linear-gradient(rgba(135, 135, 135, 0.2),
|
|
|
|
rgba(135, 135, 135, 0.1));
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.addon-view[notification="warning"] {
|
|
|
|
background-image: url("chrome://mozapps/skin/extensions/stripes-warning.png"),
|
|
|
|
-moz-linear-gradient(rgba(255, 255, 0, 0.04),
|
|
|
|
rgba(255, 255, 0, 0));
|
|
|
|
background-repeat: repeat-x;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.addon-view[notification="error"] {
|
|
|
|
background-image: url("chrome://mozapps/skin/extensions/stripes-error.png"),
|
|
|
|
-moz-linear-gradient(rgba(255, 0, 0, 0.04),
|
|
|
|
rgba(255, 0, 0, 0));
|
|
|
|
background-repeat: repeat-x;
|
2010-08-23 10:46:05 -07:00
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
.addon-view[pending="enable"],
|
|
|
|
.addon-view[pending="upgrade"],
|
|
|
|
.addon-view[pending="install"] {
|
2010-10-06 17:20:06 -07:00
|
|
|
background-image: url("chrome://mozapps/skin/extensions/stripes-info-positive.png"),
|
|
|
|
-moz-linear-gradient(rgba(0, 255, 0, 0.04),
|
|
|
|
rgba(0, 255, 0, 0));
|
|
|
|
background-repeat: repeat-x;
|
2010-08-23 10:46:05 -07:00
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
.addon-view[pending="disable"],
|
|
|
|
.addon-view[pending="uninstall"] {
|
2010-10-06 17:20:06 -07:00
|
|
|
background-image: url("chrome://mozapps/skin/extensions/stripes-info-negative.png"),
|
|
|
|
-moz-linear-gradient(rgba(128, 128, 128, 0.04),
|
|
|
|
rgba(128, 128, 128, 0));
|
|
|
|
background-repeat: repeat-x;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-06-02 02:13:03 -07:00
|
|
|
.addon .relnotes-container {
|
|
|
|
-moz-box-align: start;
|
2010-10-06 17:20:06 -07:00
|
|
|
height: 0;
|
2010-06-02 02:13:03 -07:00
|
|
|
overflow: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
-moz-transition-property: height, opacity;
|
|
|
|
-moz-transition-duration: 0.5s, 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addon[show-relnotes] .relnotes-container {
|
|
|
|
opacity: 1;
|
|
|
|
-moz-transition-property: height, opacity;
|
|
|
|
-moz-transition-duration: 0.5s, 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addon .relnotes-header {
|
|
|
|
font-weight: bold;
|
2010-10-06 17:20:06 -07:00
|
|
|
margin: 10px 0;
|
2010-06-02 02:13:03 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.addon .relnotes-toggle {
|
|
|
|
-moz-appearance: none;
|
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
2010-10-06 17:20:06 -07:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-down?size=16");
|
2010-06-02 02:13:03 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.addon .relnotes-toggle > .button-box > .button-icon {
|
2010-10-06 17:20:06 -07:00
|
|
|
display: -moz-box;
|
2010-06-02 02:13:03 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.addon[show-relnotes] .relnotes-toggle {
|
2010-10-06 17:20:06 -07:00
|
|
|
list-style-image: url("moz-icon://stock/gtk-go-up?size=16");
|
2010-06-02 02:13:03 -07:00
|
|
|
}
|
|
|
|
|
2010-09-10 01:20:12 -07:00
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
/*** search view ***/
|
|
|
|
|
2010-08-24 11:23:46 -07:00
|
|
|
#search-filter {
|
|
|
|
padding: 5px 20px;
|
2010-04-29 13:11:29 -07:00
|
|
|
font-size: 120%;
|
2010-11-16 11:30:26 -08:00
|
|
|
overflow-x: hidden;
|
2010-10-06 17:20:06 -07:00
|
|
|
border-bottom: 1px solid ThreeDShadow;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-08-24 11:23:46 -07:00
|
|
|
#search-filter-label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2010-04-29 13:11:29 -07:00
|
|
|
|
2010-08-27 19:45:11 -07:00
|
|
|
#search-allresults-link {
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
/*** detail view ***/
|
|
|
|
|
|
|
|
#detail-view[active="false"] .fade {
|
|
|
|
opacity: 0.6;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-09-01 16:40:20 -07:00
|
|
|
#detail-view .loading {
|
2010-04-29 13:11:29 -07:00
|
|
|
opacity: 0;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-09-01 16:40:20 -07:00
|
|
|
#detail-view:not([loading]) .loading {
|
2010-04-29 13:11:29 -07:00
|
|
|
visibility: collapse;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-09-01 16:40:20 -07:00
|
|
|
#detail-view[loading-extended] .loading {
|
2010-04-29 13:11:29 -07:00
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
opacity: 1;
|
|
|
|
-moz-transition-property: opacity;
|
|
|
|
-moz-transition-duration: 1s;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.detail-view-container {
|
2010-10-06 17:20:06 -07:00
|
|
|
padding: 0 2em 2em 2em;
|
2010-09-01 09:57:48 -07:00
|
|
|
font-size: 110%;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
#detail-notifications {
|
2010-10-06 17:20:06 -07:00
|
|
|
margin-top: 1em;
|
2010-09-01 09:57:48 -07:00
|
|
|
margin-bottom: 2em;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
#detail-notifications .warning,
|
|
|
|
#detail-notifications .pending,
|
2010-10-06 17:20:06 -07:00
|
|
|
#detail-notifications .error {
|
2010-09-01 09:57:48 -07:00
|
|
|
-moz-margin-start: 0;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
#detail-icon {
|
|
|
|
-moz-margin-end: 10px;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
#detail-summary {
|
|
|
|
margin-bottom: 2em;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
#detail-name-container {
|
|
|
|
font-size: 200%;
|
2010-06-18 14:10:13 -07:00
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
#detail-screenshot {
|
|
|
|
-moz-margin-end: 2em;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
#detail-desc-container {
|
|
|
|
margin-bottom: 2em;
|
2008-01-28 09:11:48 -08:00
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
#detail-desc {
|
|
|
|
-moz-margin-start: 6px;
|
2010-10-06 14:58:17 -07:00
|
|
|
/* This is necessary to fix layout issues with multi-line descriptions, see
|
|
|
|
bug 592712*/
|
|
|
|
outline: solid transparent;
|
2010-09-14 16:56:38 -07:00
|
|
|
white-space: pre-wrap;
|
2010-10-06 17:20:06 -07:00
|
|
|
min-width: 8em;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
#detail-contributions {
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 5px;
|
2010-10-06 17:20:06 -07:00
|
|
|
border: 1px solid ThreeDShadow;
|
2010-09-01 09:57:48 -07:00
|
|
|
margin-bottom: 2em;
|
|
|
|
padding: 1em;
|
2010-10-06 17:20:06 -07:00
|
|
|
background: ThreeDHighlight;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
#detail-contrib-description {
|
|
|
|
font-style: italic;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#detail-contrib-suggested {
|
2010-10-06 17:20:06 -07:00
|
|
|
color: GrayText;
|
2010-09-01 09:57:48 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#detail-grid {
|
|
|
|
margin-bottom: 2em;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-07 10:28:04 -07:00
|
|
|
.detail-row[first-row="true"],
|
|
|
|
.detail-row-complex[first-row="true"] {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
2010-09-01 09:57:48 -07:00
|
|
|
.detail-row,
|
|
|
|
.detail-row-complex {
|
2010-10-06 17:20:06 -07:00
|
|
|
border-top: 1px solid ThreeDHighlight;
|
2010-05-01 11:04:44 -07:00
|
|
|
-moz-box-align: center;
|
2010-09-01 09:57:48 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.detail-row-value {
|
|
|
|
-moz-margin-start: 0;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#detail-controls {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#detail-view[active="false"]:not([pending]):not([notification]) {
|
|
|
|
background-image: -moz-linear-gradient(rgba(135, 135, 135, 0.1),
|
|
|
|
rgba(135, 135, 135, 0));
|
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
|
|
|
|
/*** creator ***/
|
|
|
|
|
|
|
|
.creator > label {
|
2010-10-06 17:20:06 -07:00
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-margin-end: 0;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.creator > .text-link {
|
|
|
|
margin-top: 1px;
|
|
|
|
margin-bottom: 1px;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
|
|
|
|
/*** rating ***/
|
|
|
|
|
|
|
|
.meta-rating {
|
2010-10-06 17:20:06 -07:00
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-margin-end: 0;
|
2010-04-29 13:11:29 -07:00
|
|
|
vertical-align: text-top;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.meta-rating[showrating="average"] > .star {
|
|
|
|
list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
|
2010-10-06 17:20:06 -07:00
|
|
|
padding: 0 1px;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.meta-rating[showrating="user"] > .star {
|
|
|
|
list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
|
|
|
|
padding: 2px 3px;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.meta-rating > .star[on="true"],
|
|
|
|
.meta-rating[showrating="user"] > .star[hover] {
|
|
|
|
list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
|
2010-10-06 17:20:06 -07:00
|
|
|
padding: 0 1px;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
|
|
|
|
/*** download progress ***/
|
|
|
|
|
|
|
|
.download-progress {
|
|
|
|
width: 200px;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.download-progress .start-cap,
|
2010-10-06 17:20:06 -07:00
|
|
|
.download-progress .end-cap {
|
|
|
|
display: none;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.download-progress .progress {
|
2010-10-06 17:20:06 -07:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2010-04-29 13:11:29 -07:00
|
|
|
border: none;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.download-progress .pause,
|
|
|
|
.download-progress .cancel {
|
2010-04-29 13:11:29 -07:00
|
|
|
-moz-appearance: none;
|
2010-10-06 17:20:06 -07:00
|
|
|
background-color: ButtonFace;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
-moz-padding-start: 2px;
|
|
|
|
border-width: 1px;
|
2010-04-29 13:11:29 -07:00
|
|
|
border-style: solid;
|
2010-10-06 17:20:06 -07:00
|
|
|
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 10000px;
|
2010-04-29 13:11:29 -07:00
|
|
|
min-width: 16px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: 3px;
|
2010-10-06 17:20:06 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.download-progress .pause:hover,
|
|
|
|
.download-progress .cancel:hover {
|
|
|
|
background-color: -moz-ButtonHoverFace;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-05-30 20:50:00 -07:00
|
|
|
.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');
|
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.download-progress .status-container {
|
|
|
|
-moz-box-align: center;
|
2010-04-29 13:11:29 -07:00
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
|
|
|
|
/*** install status ***/
|
|
|
|
|
|
|
|
.install-status {
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*** check for updates ***/
|
|
|
|
|
|
|
|
#updates-container {
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
#updates-installed,
|
|
|
|
#updates-downloaded {
|
2007-12-21 03:17:01 -08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2010-09-10 01:20:12 -07:00
|
|
|
#update-selected {
|
|
|
|
margin: 12px;
|
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
|
|
|
|
/*** buttons ***/
|
|
|
|
|
|
|
|
.addon-control[disabled="true"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-10-06 17:20:06 -07:00
|
|
|
.addon-control.enable {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-yes?size=button");
|
|
|
|
}
|
|
|
|
|
|
|
|
.addon-control.disable {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-no?size=button");
|
|
|
|
}
|
|
|
|
|
|
|
|
.addon-control.remove {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-remove?size=button");
|
|
|
|
}
|
|
|
|
|
|
|
|
.addon-control.preferences {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-preferences?size=button");
|
|
|
|
}
|
|
|
|
|
|
|
|
.addon-control.install,
|
|
|
|
.addon-control.update {
|
|
|
|
list-style-image: url("moz-icon://stock/gtk-save?size=button");
|
|
|
|
}
|
|
|
|
|
2010-04-29 13:11:29 -07:00
|
|
|
.button-link {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
text-decoration: underline;
|
|
|
|
color: -moz-nativehyperlinktext;
|
|
|
|
cursor: pointer;
|
|
|
|
min-width: 0;
|
2010-08-23 10:46:05 -07:00
|
|
|
margin: 0 6px;
|
2007-12-21 03:17:01 -08:00
|
|
|
}
|
2010-10-06 17:20:06 -07:00
|
|
|
|
|
|
|
.button-link:active {
|
|
|
|
color: -moz-activehyperlinktext;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-button .toolbarbutton-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|