mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
1160 lines
27 KiB
CSS
1160 lines
27 KiB
CSS
/* ***** 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 ***** */
|
|
|
|
#addons-page {
|
|
-moz-appearance: none;
|
|
padding: 18px;
|
|
background-repeat: repeat;
|
|
color: -moz-dialogText;
|
|
background-color: -moz-dialog;
|
|
background-image: /* Fade-out texture at the top, and blend with browser tab */
|
|
-moz-linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0) 30%),
|
|
/* Texture */
|
|
url("chrome://mozapps/skin/extensions/background-texture.png");
|
|
}
|
|
|
|
%ifdef WINSTRIPE_AERO
|
|
@media all and (-moz-windows-default) {
|
|
#addons-page {
|
|
color: #000;
|
|
background-color: #CCD9EA;
|
|
background-image: /* Fade-out texture at the top */
|
|
-moz-linear-gradient(top, rgb(231,237,246), rgba(231,237,246,0) 156px),
|
|
/* Texture */
|
|
url("chrome://mozapps/skin/extensions/background-texture.png");
|
|
}
|
|
}
|
|
@media all and (-moz-windows-compositor) {
|
|
#addons-page {
|
|
border: 1px solid rgb(40%, 40%, 40%);
|
|
border-top: none;
|
|
color: #000;
|
|
/* Blame shorlander for this monstrosity. */
|
|
background-image: /* Fade-out texture and light beams at the top */
|
|
-moz-linear-gradient(top, rgb(231,237,246) 3px, rgba(231,237,246,0) 156px),
|
|
/* Side gradients */
|
|
-moz-linear-gradient(left,
|
|
rgba(255,255,255,0.2), rgba(255,255,255,0) 40%,
|
|
rgba(255,255,255,0) 60%, rgba(255,255,255,0.2)),
|
|
/* Aero-style light beams */
|
|
-moz-linear-gradient(left 32deg,
|
|
/* First light beam */
|
|
rgba(255,255,255,0) 19.5%, rgba(255,255,255,0.1) 20%,
|
|
rgba(255,255,255,0.1) 21.5%, rgba(255,255,255,0.2) 22%,
|
|
rgba(255,255,255,0.2) 25.5%, rgba(255,255,255,0.1) 26%,
|
|
rgba(255,255,255,0.1) 27.5%, rgba(255,255,255,0) 28%,
|
|
/* Second light beam */
|
|
rgba(255,255,255,0) 49.5%, rgba(255,255,255,0.1) 50%,
|
|
rgba(255,255,255,0.1) 52.5%, rgba(255,255,255,0.2) 53%,
|
|
rgba(255,255,255,0.2) 54.5%, rgba(255,255,255,0.1) 55%,
|
|
rgba(255,255,255,0.1) 57.5%, rgba(255,255,255,0) 58%,
|
|
/* Third light beam */
|
|
rgba(255,255,255,0) 87%, rgba(255,255,255,0.2) 90%),
|
|
/* Texture */
|
|
url("chrome://mozapps/skin/extensions/background-texture.png");
|
|
}
|
|
}
|
|
%endif
|
|
|
|
#view-port-container {
|
|
/* Needed to allow the radius to clip the inner content, see bug 595656 */
|
|
overflow: hidden;
|
|
background-color: rgba(255, 255, 255, 0.35);
|
|
background-image: -moz-linear-gradient(top,
|
|
rgba(255, 255, 255, 0),
|
|
rgba(255, 255, 255, 0.75));
|
|
border: 1px solid #C3CEDF;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.nav-button {
|
|
list-style-image: url(chrome://mozapps/skin/extensions/navigation.png);
|
|
min-width: 0;
|
|
}
|
|
|
|
#forward-btn {
|
|
-moz-border-start: none;
|
|
}
|
|
|
|
#back-btn:-moz-locale-dir(ltr),
|
|
#forward-btn:-moz-locale-dir(rtl) {
|
|
-moz-image-region: rect(0, 18px, 18px, 0);
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
#back-btn:-moz-locale-dir(rtl),
|
|
#forward-btn:-moz-locale-dir(ltr) {
|
|
-moz-image-region: rect(0, 36px, 18px, 18px);
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
|
|
/*** global warnings ***/
|
|
|
|
.global-warning-container {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.global-warning {
|
|
-moz-box-align: center;
|
|
padding: 0 8px;
|
|
color: #916D15;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.global-warning,
|
|
.global-warning .button-link {
|
|
text-shadow: #FFFFFF 1px 1px 1px;
|
|
}
|
|
|
|
#addons-page[warning] .global-warning-container {
|
|
background-color: rgba(255, 255, 0, 0.1);
|
|
background-image: url("chrome://mozapps/skin/extensions/stripes-warning.png");
|
|
background-repeat: repeat-x;
|
|
}
|
|
|
|
#detail-view .global-warning {
|
|
padding: 4px 12px;
|
|
border-bottom: 1px solid #CAD4E0;
|
|
}
|
|
|
|
@media all and (max-width: 600px) {
|
|
.global-warning-text {
|
|
display: none;
|
|
}
|
|
|
|
.global-warning .warning-icon {
|
|
background-color: #FFF;
|
|
box-shadow: 0px 0px 2px 5px #FFF;
|
|
border-radius: 10px;
|
|
}
|
|
}
|
|
|
|
/*** notification icons ***/
|
|
|
|
.warning-icon {
|
|
list-style-image: url("chrome://mozapps/skin/extensions/alerticon-warning.png");
|
|
width: 16px;
|
|
height: 15px;
|
|
margin: 3px 0;
|
|
}
|
|
|
|
.error-icon {
|
|
list-style-image: url("chrome://mozapps/skin/extensions/alerticon-error.png");
|
|
width: 16px;
|
|
height: 15px;
|
|
margin: 3px 0;
|
|
}
|
|
|
|
.pending-icon,
|
|
.info-icon {
|
|
list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-positive.png");
|
|
width: 16px;
|
|
height: 15px;
|
|
margin: 3px 0;
|
|
}
|
|
|
|
.addon-view[pending="disable"] .pending-icon,
|
|
.addon-view[pending="uninstall"] .pending-icon {
|
|
list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
|
|
width: 16px;
|
|
height: 15px;
|
|
margin: 3px 0;
|
|
}
|
|
|
|
|
|
/*** 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;
|
|
color: #373D48;
|
|
border: 1px solid #A8B8D1;
|
|
border-radius: 8px;
|
|
background-image: -moz-linear-gradient(top, #FFF, #ECF1F7);
|
|
box-shadow: 2px 2px 4px #999;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
|
|
/*** category selector ***/
|
|
|
|
#categories {
|
|
-moz-appearance: none;
|
|
border: none;
|
|
-moz-margin-end: -1px;
|
|
background-color: transparent;
|
|
position: relative;
|
|
margin-top: 31px;
|
|
}
|
|
|
|
.category {
|
|
-moz-appearance: none;
|
|
background-color: transparent;
|
|
color: #252F3B;
|
|
min-height: 0;
|
|
padding: 10px 4px;
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
border-color: transparent;
|
|
-moz-box-align: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.category:-moz-locale-dir(ltr) {
|
|
border-top-left-radius: 5px;
|
|
border-bottom-left-radius: 5px;
|
|
}
|
|
|
|
.category:-moz-locale-dir(rtl) {
|
|
border-top-right-radius: 5px;
|
|
border-bottom-right-radius: 5px;
|
|
}
|
|
|
|
.category[disabled] {
|
|
height: 0;
|
|
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: rgba(255, 255, 255, 0.4);
|
|
color: #252F3B;
|
|
font-weight: bold;
|
|
border-color: #C3CEDF;
|
|
-moz-border-end-color: #E2E9F2;
|
|
}
|
|
|
|
.category-name {
|
|
font-size: 150%;
|
|
}
|
|
|
|
/* Maximize the size of the viewport when the window is small */
|
|
@media all and (max-width: 800px) {
|
|
.category-name {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.category-badge {
|
|
background-color: #55D4FF;
|
|
padding: 2px 8px;
|
|
margin: 6px 0;
|
|
border-radius: 10000px;
|
|
color: #FFF;
|
|
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");
|
|
}
|
|
#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");
|
|
}
|
|
|
|
|
|
/*** header ***/
|
|
|
|
#header {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
#header-search {
|
|
-moz-appearance: none;
|
|
color: black;
|
|
border: 1px solid;
|
|
border-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.32) rgba(0, 0, 0, 0.37);
|
|
border-radius: 4px;
|
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1) inset,
|
|
0 1px 0 rgba(255, 255, 255, 0.4);
|
|
padding: 3px;
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
margin: 0;
|
|
}
|
|
|
|
#header-search .textbox-input:-moz-placeholder {
|
|
color: grey;
|
|
}
|
|
|
|
#header-search[focused="true"] {
|
|
background-color: white;
|
|
}
|
|
|
|
#header-utils-btn {
|
|
min-width: 4.5em;
|
|
list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
|
|
-moz-margin-end: 18px;
|
|
}
|
|
|
|
.view-header {
|
|
background-color: rgba(251, 252, 253, 0.25);
|
|
padding: 4px;
|
|
margin: 0;
|
|
min-height: 31px;
|
|
border-bottom: 1px solid #CAD4E0;
|
|
}
|
|
|
|
|
|
/*** sorters ***/
|
|
|
|
.sort-controls {
|
|
-moz-appearance: none;
|
|
}
|
|
|
|
.sorter {
|
|
-moz-appearance: none;
|
|
border: none;
|
|
background-color: transparent;
|
|
color: #536680;
|
|
border-radius: 10000px;
|
|
padding: 0 6px;
|
|
margin: 0 6px;
|
|
min-width: 12px !important;
|
|
-moz-box-direction: reverse;
|
|
}
|
|
|
|
.sorter .button-box {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.sorter[checkState="1"],
|
|
.sorter[checkState="2"] {
|
|
background-color: rgba(194, 200, 206, 0.4);
|
|
box-shadow: 1px 1px 2px #B6BBC4 inset;
|
|
}
|
|
|
|
.sorter[checkState="1"] {
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
|
}
|
|
|
|
.sorter[checkState="2"] {
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
|
|
}
|
|
|
|
.sorter .button-icon {
|
|
-moz-margin-start: 4px;
|
|
}
|
|
|
|
|
|
/*** list ***/
|
|
|
|
.list {
|
|
-moz-appearance: none;
|
|
margin: 0;
|
|
border: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.addon {
|
|
color: black;
|
|
border-top: 2px solid;
|
|
-moz-border-top-colors: rgba(0, 0, 0, 0.1) rgba(255, 255, 255, 0.1);
|
|
border-bottom: 1px solid;
|
|
-moz-border-bottom-colors: rgba(255, 255, 255, 0.1);
|
|
padding: 5px;
|
|
background-origin: border-box;
|
|
}
|
|
|
|
.view-pane:not(#search-view) .addon:first-of-type,
|
|
#search-view .addon[first] {
|
|
border-top-width: 1px;
|
|
-moz-border-top-colors: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.view-pane:not(#search-view) .addon:last-of-type,
|
|
#search-view .addon[last] {
|
|
border-bottom-width: 2px;
|
|
-moz-border-bottom-colors: rgba(0, 0, 0, 0.1) rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.addon[status="installing"] {
|
|
-moz-box-align: center;
|
|
}
|
|
|
|
.details {
|
|
cursor: pointer;
|
|
margin: 0;
|
|
-moz-margin-start: 10px;
|
|
}
|
|
|
|
.icon-container {
|
|
width: 48px;
|
|
height: 48px;
|
|
margin: 22px 7px 7px 7px;
|
|
}
|
|
|
|
.icon {
|
|
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
|
|
max-width: 48px;
|
|
max-height: 48px;
|
|
}
|
|
|
|
.addon[active="false"] .icon {
|
|
filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
|
|
}
|
|
|
|
|
|
.addon-view[type="theme"] .icon {
|
|
list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
|
|
}
|
|
|
|
.addon-view[type="locale"] .icon {
|
|
list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
|
|
}
|
|
|
|
.addon-view[type="plugin"] .icon {
|
|
list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
|
|
}
|
|
|
|
.name-container,
|
|
.addon[status="installing"] .name {
|
|
font-size: 150%;
|
|
font-weight: bold;
|
|
color: #3F3F3F;
|
|
margin-bottom: 0;
|
|
text-shadow: 1px 1px 1px #FFF;
|
|
}
|
|
|
|
.creator {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.creator .text-link {
|
|
color: #0066CC;
|
|
}
|
|
|
|
.description-container {
|
|
margin-top: 8px;
|
|
-moz-margin-start: 6px;
|
|
}
|
|
|
|
.description {
|
|
margin: 0;
|
|
}
|
|
|
|
.warning,
|
|
.pending,
|
|
.error {
|
|
-moz-margin-start: 48px;
|
|
font-weight: bold;
|
|
text-shadow: 1px 1px 1px #FFF;
|
|
}
|
|
|
|
.addon-view .warning {
|
|
color: #916D15;
|
|
}
|
|
|
|
.addon-view .error {
|
|
color: #864441;
|
|
}
|
|
|
|
.addon-view .pending {
|
|
color: #1B7123;
|
|
}
|
|
|
|
.addon-view[pending="disable"] .pending,
|
|
.addon-view[pending="uninstall"] .pending {
|
|
color: #62666E;
|
|
}
|
|
|
|
.addon .relnotes-container {
|
|
-moz-box-align: start;
|
|
-moz-margin-start: 6px;
|
|
height: 0;
|
|
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;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.addon .relnotes-toggle {
|
|
-moz-appearance: none;
|
|
border: none;
|
|
background: transparent;
|
|
font-weight: bold;
|
|
-moz-box-direction: reverse;
|
|
cursor: pointer;
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
|
}
|
|
|
|
.addon .relnotes-toggle > .button-box > .button-icon {
|
|
-moz-padding-start: 4px;
|
|
}
|
|
|
|
.addon[show-relnotes] .relnotes-toggle {
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
|
|
}
|
|
|
|
.addon[active="false"] {
|
|
background-color: rgba(135, 135, 135, 0.1);
|
|
background-image: -moz-linear-gradient(rgba(135, 135, 135, 0),
|
|
rgba(135, 135, 135, 0.1));
|
|
}
|
|
|
|
.addon-view[active="false"],
|
|
.addon-view[active="false"] .name-container {
|
|
color: #888A8B;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.addon-view[pending="enable"],
|
|
.addon-view[pending="upgrade"],
|
|
.addon-view[pending="install"] {
|
|
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;
|
|
}
|
|
|
|
.addon-view[pending="disable"],
|
|
.addon-view[pending="uninstall"] {
|
|
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;
|
|
}
|
|
|
|
.addon[selected] {
|
|
background-color: rgba(148, 172, 204, 0.39);
|
|
color: black;
|
|
}
|
|
|
|
.addon[selected] .name-container {
|
|
text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.addon[active="false"][selected] .name-container {
|
|
color: #3F3F3F;
|
|
}
|
|
|
|
|
|
/*** item - uninstalled ***/
|
|
|
|
.addon[status="uninstalled"] {
|
|
border: none;
|
|
}
|
|
|
|
.addon[status="uninstalled"] > .container {
|
|
-moz-box-align: center;
|
|
padding: 4px 20px;
|
|
background-color: #FDFFA8;
|
|
border-radius: 8px;
|
|
font-size: 120%;
|
|
}
|
|
|
|
.addon[status="uninstalled"][selected] {
|
|
background-color: transparent;
|
|
}
|
|
|
|
|
|
|
|
/*** search view ***/
|
|
|
|
#search-filter {
|
|
padding: 5px 20px;
|
|
font-size: 120%;
|
|
border-bottom: 1px solid #CAD4E0;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
#search-filter-label {
|
|
font-weight: bold;
|
|
color: grey;
|
|
}
|
|
|
|
.search-filter-radio {
|
|
-moz-appearance: none;
|
|
padding: 0 6px;
|
|
margin: 0 3px;
|
|
border-radius: 10000px;
|
|
}
|
|
|
|
.search-filter-radio[selected] {
|
|
background-color: grey;
|
|
color: white;
|
|
}
|
|
|
|
.search-filter-radio .radio-check-box1 {
|
|
display: none;
|
|
}
|
|
|
|
.search-filter-radio .radio-icon {
|
|
display: none;
|
|
}
|
|
|
|
#search-allresults-link {
|
|
margin-top: 1em;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
/*** detail view ***/
|
|
|
|
#detail-view .loading {
|
|
opacity: 0;
|
|
}
|
|
|
|
#detail-view:not([loading]) .alert-container {
|
|
visibility: collapse;
|
|
}
|
|
|
|
#detail-view[loading-extended] .loading {
|
|
opacity: 1;
|
|
-moz-transition-property: opacity;
|
|
-moz-transition-duration: 1s;
|
|
}
|
|
|
|
.detail-view-container {
|
|
padding: 0 2em 2em 2em;
|
|
font-size: 110%;
|
|
}
|
|
|
|
#detail-notifications {
|
|
margin-top: 1em;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
#detail-notifications .warning,
|
|
#detail-notifications .pending,
|
|
#detail-notifications .error {
|
|
-moz-margin-start: 0;
|
|
}
|
|
|
|
#detail-icon {
|
|
-moz-margin-end: 10px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
#detail-summary {
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
#detail-name-container {
|
|
font-size: 200%;
|
|
}
|
|
|
|
#detail-screenshot {
|
|
-moz-margin-end: 2em;
|
|
}
|
|
|
|
#detail-desc-container {
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
#detail-desc {
|
|
-moz-margin-start: 6px;
|
|
/* This is necessary to fix layout issues with multi-line descriptions, see
|
|
bug 592712*/
|
|
outline: solid transparent;
|
|
white-space: pre-wrap;
|
|
min-width: 8em;
|
|
}
|
|
|
|
#detail-contributions {
|
|
border-radius: 5px;
|
|
border: 1px solid #D2DBE8;
|
|
margin-bottom: 2em;
|
|
padding: 1em;
|
|
background-color: #F3F7FB;
|
|
}
|
|
|
|
#detail-contrib-description {
|
|
font-style: italic;
|
|
margin-bottom: 1em;
|
|
color: #373D48;
|
|
}
|
|
|
|
#detail-contrib-suggested {
|
|
color: grey;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#detail-contrib-btn {
|
|
-moz-appearance: none;
|
|
color: #FFF;
|
|
border: 1px solid #3A4EEE;
|
|
border-radius: 3px;
|
|
list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
|
|
background-color: #2F73EF;
|
|
background-image: -moz-linear-gradient(rgba(251, 252, 253, 0.70), rgba(246, 247, 248, 0.27) 49%,
|
|
rgba(231, 232, 233, 0.25) 51%, rgba(225, 226, 229, 0.1));
|
|
}
|
|
|
|
#detail-contrib-btn .button-box {
|
|
padding: 0 6px 1px 6px;
|
|
}
|
|
|
|
#detail-contrib-btn .button-icon {
|
|
-moz-margin-end: 3px;
|
|
}
|
|
|
|
#detail-contrib-btn:not(:active):hover {
|
|
border-color: #4271FF;
|
|
background-color: #0459F7;
|
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1),
|
|
0 0 3.5px hsl(190, 90%, 80%);
|
|
-moz-transition: background-color .4s ease-in,
|
|
border-color .3s ease-in,
|
|
box-shadow .3s ease-in
|
|
}
|
|
|
|
#detail-contrib-btn:active:hover {
|
|
background-color: #8FA1C1;
|
|
border-color: rgba(0, 0, 0, 0.65) rgba(0, 0, 0, 0.55) rgba(0, 0, 0, 0.5);
|
|
box-shadow: 0 0 6.5px rgba(0, 0, 0, 0.4) inset,
|
|
0 0 2px rgba(0, 0, 0, 0.4) inset,
|
|
0 1px 0 rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
#detail-grid {
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
.detail-row[first-row="true"],
|
|
.detail-row-complex[first-row="true"] {
|
|
border-top: none;
|
|
}
|
|
|
|
.detail-row,
|
|
.detail-row-complex {
|
|
border-top: 2px solid;
|
|
-moz-border-top-colors: rgba(28, 31, 37, 0.1) rgba(255, 255, 255, 0.1);
|
|
-moz-box-align: center;
|
|
}
|
|
|
|
.detail-row-value {
|
|
-moz-margin-start: 0;
|
|
}
|
|
|
|
#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));
|
|
}
|
|
|
|
/*** creator ***/
|
|
|
|
.creator > label {
|
|
-moz-margin-start: 0;
|
|
-moz-margin-end: 0;
|
|
}
|
|
|
|
.creator > .text-link {
|
|
margin-top: 1px;
|
|
margin-bottom: 1px;
|
|
}
|
|
|
|
|
|
/*** rating ***/
|
|
|
|
.meta-rating {
|
|
-moz-margin-start: 0;
|
|
-moz-margin-end: 0;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.meta-rating > .star {
|
|
list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
|
|
padding: 0 1px;
|
|
}
|
|
|
|
.meta-rating > .star[on="true"] {
|
|
list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
|
|
}
|
|
|
|
|
|
/*** download progress ***/
|
|
|
|
.download-progress {
|
|
background-color: rgba(151,152,153,.05);
|
|
background-image: -moz-linear-gradient(rgba(251, 252, 253, 0.95), rgba(246, 247, 248, 0.47) 49%,
|
|
rgba(231, 232, 233, 0.45) 51%, rgba(225, 226, 229, 0.3));
|
|
background-clip: padding-box;
|
|
border-radius: 3px;
|
|
border: 1px solid;
|
|
border-color: rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.19) rgba(0, 0, 0, 0.38);
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset,
|
|
0 0 0 2px rgba(255, 255, 255, 0.1) inset;
|
|
width: 200px;
|
|
height: 21px;
|
|
margin: 0 8px;
|
|
}
|
|
|
|
|
|
|
|
.download-progress .start-cap,
|
|
.download-progress[complete] .end-cap,
|
|
.download-progress .progress .progress-bar {
|
|
-moz-appearance: none;
|
|
background-image: -moz-linear-gradient(#71CA83, #54B06C 49%, #43A05D 51%, #60BB76);
|
|
margin-top: -1px;
|
|
margin-bottom: -1px;
|
|
border: 1px solid;
|
|
border-color: #358942 #317F3D #2E773A;
|
|
}
|
|
|
|
.download-progress .start-cap {
|
|
-moz-margin-start: -1px;
|
|
-moz-border-end-width: 0;
|
|
}
|
|
|
|
.download-progress .end-cap {
|
|
-moz-margin-end: -1px;
|
|
-moz-border-start-width: 0px !important;
|
|
}
|
|
|
|
.download-progress .progress .progress-bar {
|
|
border-left-width: 0;
|
|
border-right-width: 0;
|
|
}
|
|
|
|
.download-progress .progress {
|
|
-moz-appearance: none;
|
|
background-color: transparent;
|
|
padding: 0;
|
|
margin: 0;
|
|
border: none;
|
|
}
|
|
|
|
.download-progress .start-cap,
|
|
.download-progress .end-cap {
|
|
width: 4px;
|
|
}
|
|
|
|
.download-progress .start-cap:-moz-locale-dir(ltr),
|
|
.download-progress .end-cap:-moz-locale-dir(rtl) {
|
|
border-radius: 3px 0 0 3px;
|
|
}
|
|
|
|
.download-progress .end-cap:-moz-locale-dir(ltr),
|
|
.download-progress .start-cap:-moz-locale-dir(rtl) {
|
|
border-radius: 0 3px 3px 0;
|
|
}
|
|
|
|
.download-progress .pause,
|
|
.download-progress .cancel {
|
|
-moz-appearance: none;
|
|
background-color: rgba(255, 255, 255, 0.4);
|
|
border: 1px solid rgba(0, 0, 0, 0.4);
|
|
padding: 3px;
|
|
border-radius: 3px;
|
|
min-width: 0;
|
|
margin: 3px;
|
|
}
|
|
|
|
.download-progress .pause:hover,
|
|
.download-progress .cancel:hover {
|
|
background-color: rgba(255, 255, 255, 0.6);
|
|
border: 1px solid rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.download-progress .pause:active:hover,
|
|
.download-progress .cancel:active:hover {
|
|
box-shadow: inset rgba(0, 0, 0, 0.5) 1px 1px 2px;
|
|
}
|
|
|
|
.download-progress .pause .button-box,
|
|
.download-progress .cancel .button-box {
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
|
|
.download-progress .pause .button-text,
|
|
.download-progress .cancel .button-text {
|
|
display: none;
|
|
}
|
|
|
|
.download-progress .pause .button-icon,
|
|
.download-progress .cancel .button-icon {
|
|
-moz-margin-start: 0;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.download-progress .status {
|
|
text-shadow: #FFF 0 0 2px;
|
|
}
|
|
|
|
/*** install status ***/
|
|
|
|
.install-status {
|
|
-moz-box-align: center;
|
|
}
|
|
|
|
|
|
/*** check for updates ***/
|
|
|
|
#updates-container {
|
|
-moz-box-align: center;
|
|
text-shadow: 0 0 3px white;
|
|
}
|
|
|
|
#updates-container .button-link {
|
|
text-shadow: 0 0 3px white;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#updates-installed,
|
|
#updates-downloaded {
|
|
color: #00BB00;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#update-selected {
|
|
margin: 12px;
|
|
}
|
|
|
|
|
|
/*** buttons ***/
|
|
|
|
.addon-control {
|
|
-moz-appearance: none;
|
|
color: black;
|
|
padding: 0 5px;
|
|
background-color: rgba(151,152,153,.05);
|
|
background-image: -moz-linear-gradient(rgba(251, 252, 253, 0.95), rgba(246, 247, 248, 0.47) 49%,
|
|
rgba(231, 232, 233, 0.45) 51%, rgba(225, 226, 229, 0.3));
|
|
background-clip: padding-box;
|
|
border-radius: 3px;
|
|
border: 1px solid;
|
|
border-color: rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.19) rgba(0, 0, 0, 0.38);
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset,
|
|
0 0 0 2px rgba(255, 255, 255, 0.1) inset;
|
|
}
|
|
|
|
.addon-control:not(:active):hover {
|
|
background-color: hsla(190, 60%, 70%, 0.5);
|
|
border-color: hsla(190, 50%, 65%, 0.8) hsla(190, 50%, 50%, 0.8) hsla(190, 50%, 40%, 0.8);
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset,
|
|
0 0 0 1.5px rgba(255, 255, 255, 0.1) inset,
|
|
0 1px 0 rgba(0, 0, 0, 0.1),
|
|
0 0 3.5px hsl(190, 90%, 80%);
|
|
-moz-transition: background-color .4s ease-in,
|
|
border-color .3s ease-in,
|
|
box-shadow .3s ease-in
|
|
}
|
|
|
|
.addon-control:active:hover {
|
|
background-color: transparent;
|
|
border-color: rgba(0, 0, 0, 0.65) rgba(0, 0, 0, 0.55) rgba(0, 0, 0, 0.5);
|
|
box-shadow: 0 0 6.5px rgba(0, 0, 0, 0.4) inset,
|
|
0 0 2px rgba(0, 0, 0, 0.4) inset,
|
|
0 1px 0 rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.addon-control .button-box {
|
|
padding: 1px;
|
|
}
|
|
|
|
.addon-control[disabled="true"] {
|
|
display: none;
|
|
}
|
|
|
|
.button-link {
|
|
-moz-appearance: none;
|
|
background: transparent;
|
|
border: none;
|
|
text-decoration: underline;
|
|
color: #0066CC;
|
|
cursor: pointer;
|
|
min-width: 0;
|
|
margin: 0 6px;
|
|
}
|
|
|
|
.text-link {
|
|
color: #3386D5;
|
|
}
|
|
|
|
.button-link:hover,
|
|
.text-link:hover {
|
|
color: #3DA1FF;
|
|
}
|
|
|
|
.header-button {
|
|
-moz-appearance: none;
|
|
margin: 0;
|
|
background: rgba(151,152,153,.05)
|
|
-moz-linear-gradient(rgba(251, 252, 253, 0.95), rgba(246, 247, 248, 0.47) 49%,
|
|
rgba(231, 232, 233, 0.45) 51%, rgba(225, 226, 229, 0.3));
|
|
background-clip: padding-box;
|
|
border-radius: 4.5px;
|
|
border: 1px solid;
|
|
border-color: rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.19) rgba(0, 0, 0, 0.38);
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset,
|
|
0 0 0 2px rgba(255, 255, 255, 0.1) inset;
|
|
}
|
|
|
|
.header-button[disabled="true"] {
|
|
-moz-border-top-colors: rgba(0, 0, 0, 0.12) !important;
|
|
-moz-border-left-colors: rgba(0, 0, 0, 0.19) !important;
|
|
-moz-border-right-colors: rgba(0, 0, 0, 0.19) !important;
|
|
-moz-border-bottom-colors: rgba(0, 0, 0, 0.38) !important;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.nav-button[disabled="true"] .toolbarbutton-icon {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.header-button:not([open="true"]):not([disabled="true"]):not(:active):hover {
|
|
background-color: hsla(190, 60%, 70%, 0.5);
|
|
border-color: hsla(190, 50%, 65%, 0.8) hsla(190, 50%, 50%, 0.8) hsla(190, 50%, 40%, 0.8);
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset,
|
|
0 0 0 1.5px rgba(255, 255, 255, 0.1) inset,
|
|
0 1px 0 rgba(0, 0, 0, 0.1),
|
|
0 0 3.5px hsl(190, 90%, 80%);
|
|
-moz-transition: background-color .4s ease-in,
|
|
border-color .3s ease-in,
|
|
box-shadow .3s ease-in
|
|
}
|
|
|
|
.header-button:not([disabled="true"]):active:hover,
|
|
.header-button[open="true"] {
|
|
background-color: transparent;
|
|
border-color: rgba(0, 0, 0, 0.65) rgba(0, 0, 0, 0.55) rgba(0, 0, 0, 0.5);
|
|
box-shadow: 0 0 6.5px rgba(0, 0, 0, 0.4) inset,
|
|
0 0 2px rgba(0, 0, 0, 0.4) inset;
|
|
}
|
|
|
|
.header-button .toolbarbutton-text {
|
|
display: none;
|
|
}
|