2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2011-11-21 22:12:59 -08:00
|
|
|
|
|
|
|
html {
|
2012-06-12 18:24:55 -07:00
|
|
|
font-family: Roboto,"Droid Sans",helvetica,arial,clean,sans-serif;
|
2011-12-13 10:42:51 -08:00
|
|
|
font-size: 18px;
|
2013-02-13 08:50:57 -08:00
|
|
|
background-color: #ced7de;
|
2012-01-17 20:09:09 -08:00
|
|
|
-moz-text-size-adjust: none;
|
2011-11-21 22:12:59 -08:00
|
|
|
}
|
|
|
|
|
2011-12-13 10:42:51 -08:00
|
|
|
body {
|
|
|
|
margin: 0;
|
2011-11-21 22:12:59 -08:00
|
|
|
}
|
|
|
|
|
2011-12-13 10:42:51 -08:00
|
|
|
#addons-header {
|
2012-01-17 20:09:09 -08:00
|
|
|
color: black;
|
2011-11-21 22:12:59 -08:00
|
|
|
padding: 8px;
|
2012-01-17 20:09:09 -08:00
|
|
|
-moz-padding-start: 25px;
|
2011-12-13 10:42:51 -08:00
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
2012-01-17 20:09:09 -08:00
|
|
|
border-bottom: 2px solid;
|
|
|
|
-moz-border-bottom-colors: #ff9100 #f27900;
|
|
|
|
}
|
|
|
|
|
|
|
|
#addons-header > div {
|
2011-12-13 10:42:51 -08:00
|
|
|
width: 100%;
|
2012-01-17 20:09:09 -08:00
|
|
|
height: 44px;
|
2011-12-13 10:42:51 -08:00
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2012-01-17 20:09:09 -08:00
|
|
|
#addons-header > div > div {
|
|
|
|
-moz-box-flex: 1;
|
2011-12-13 10:42:51 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.addon-item {
|
2012-01-17 20:09:09 -08:00
|
|
|
color: black;
|
2013-02-13 08:50:57 -08:00
|
|
|
background-color: #e6e9eb;
|
2012-01-17 20:09:09 -08:00
|
|
|
border-bottom: 2px solid;
|
|
|
|
-moz-border-bottom-colors: #ffffff #bac2ac;
|
2011-11-21 22:12:59 -08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2012-01-17 20:09:09 -08:00
|
|
|
.addon-item[isDisabled="true"] {
|
|
|
|
color: #999999;
|
2011-11-21 22:12:59 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.inner {
|
2013-02-13 08:50:57 -08:00
|
|
|
background-color: #eef2f5;
|
2012-02-29 09:36:00 -08:00
|
|
|
min-height: 70px;
|
|
|
|
padding: 8px;
|
2012-01-17 20:09:09 -08:00
|
|
|
|
|
|
|
/* make room for the favicon */
|
|
|
|
-moz-margin-start: 82px;
|
2011-12-13 10:42:51 -08:00
|
|
|
}
|
|
|
|
|
2013-01-09 11:28:38 -08:00
|
|
|
.addon-item:active,
|
|
|
|
.addon-item:active > .inner {
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
|
2011-12-13 10:42:51 -08:00
|
|
|
.details {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.details > div {
|
2012-02-23 16:31:27 -08:00
|
|
|
display: inline;
|
2011-11-21 22:12:59 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
2011-12-13 10:42:51 -08:00
|
|
|
font-size: 22px;
|
|
|
|
font-weight: bold;
|
2011-11-21 22:12:59 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.version {
|
2012-01-17 20:09:09 -08:00
|
|
|
/* title is not localized, so keep the margin on the left side */
|
2011-11-21 22:12:59 -08:00
|
|
|
margin-left: 12px;
|
2011-12-13 10:42:51 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tag {
|
2012-02-23 16:31:27 -08:00
|
|
|
float: right;
|
|
|
|
margin-left: 12px;
|
2012-01-17 20:09:09 -08:00
|
|
|
|
|
|
|
/* compensate for the title baseline */
|
2012-02-23 16:31:27 -08:00
|
|
|
position: relative;
|
|
|
|
bottom: -3px;
|
2011-11-21 22:12:59 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2012-07-12 22:16:28 -07:00
|
|
|
.status {
|
2013-02-13 08:50:57 -08:00
|
|
|
background-color: #eef2f5;
|
2012-07-12 22:16:28 -07:00
|
|
|
border-top: 2px solid;
|
|
|
|
-moz-border-top-colors: #bac2ac #ffffff;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 8px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2011-11-21 22:12:59 -08:00
|
|
|
.buttons {
|
2011-12-13 10:42:51 -08:00
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.buttons > button {
|
|
|
|
-moz-appearance: none;
|
2012-01-17 20:09:09 -08:00
|
|
|
color: black;
|
2011-12-13 10:42:51 -08:00
|
|
|
font-size: 18px !important;
|
2012-01-17 20:09:09 -08:00
|
|
|
border: 1px solid transparent;
|
|
|
|
border-top-color: #bac2ac;
|
|
|
|
-moz-border-start-color: #bac2ac;
|
2011-12-13 10:42:51 -08:00
|
|
|
background-image: none;
|
2012-01-17 20:09:09 -08:00
|
|
|
background-color: #edf0f5;
|
2011-12-13 10:42:51 -08:00
|
|
|
border-radius: 0px !important;
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
padding: 20px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.buttons > button[disabled="true"] {
|
|
|
|
color: #b5b5b5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.buttons:first-child {
|
|
|
|
-moz-border-start-color: transparent;
|
2011-11-21 22:12:59 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
body[dir="ltr"] .favicon {
|
2012-01-17 20:09:09 -08:00
|
|
|
left: 25px;
|
2011-11-21 22:12:59 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
body[dir="ltr"] .favicon {
|
2012-01-17 20:09:09 -08:00
|
|
|
right: 25px;
|
2011-11-21 22:12:59 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.favicon {
|
|
|
|
border: none;
|
2012-01-17 20:09:09 -08:00
|
|
|
top: 27px;
|
2011-11-21 22:12:59 -08:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
2012-01-17 20:09:09 -08:00
|
|
|
|
|
|
|
.addon-item[isDisabled="true"] .favicon {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
2012-03-13 22:18:29 -07:00
|
|
|
|
|
|
|
.options-header {
|
|
|
|
font-weight: bold;
|
2012-03-13 22:19:02 -07:00
|
|
|
padding: 18px 24px;
|
2012-03-13 22:18:29 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.options-box {
|
|
|
|
margin: 0 12px;
|
|
|
|
}
|
|
|
|
|
2012-03-14 15:31:21 -07:00
|
|
|
.addon-item[isDisabled="true"] .options-header,
|
2012-03-13 22:18:29 -07:00
|
|
|
.addon-item:not([optionsURL]) .options-header,
|
|
|
|
.addon-item[optionsURL=""] .options-header,
|
2012-03-14 15:31:21 -07:00
|
|
|
.addon-item[isDisabled="true"] .options-box,
|
2012-03-13 22:18:29 -07:00
|
|
|
.addon-item:not([optionsURL]) .options-box,
|
|
|
|
.addon-item[optionsURL=""] .options-box {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
setting {
|
2012-03-13 22:19:02 -07:00
|
|
|
padding: 18px 12px;
|
2012-03-13 22:18:29 -07:00
|
|
|
border-top: 2px solid;
|
|
|
|
-moz-border-top-colors: #bac2ac #ffffff;
|
2012-03-13 22:19:02 -07:00
|
|
|
-moz-box-align: center;
|
2012-03-13 22:18:29 -07:00
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
setting > vbox {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preferences-title {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2012-03-22 13:01:34 -07:00
|
|
|
.preferences-description {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
2012-03-13 22:18:29 -07:00
|
|
|
.preferences-description:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Put setting textboxes on a separate row */
|
|
|
|
setting[type="integer"],
|
|
|
|
setting[type="string"] {
|
|
|
|
-moz-box-align: stretch;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preferences-alignment > textbox {
|
2012-03-22 13:01:34 -07:00
|
|
|
margin: 12px 0 0 0;
|
2012-03-13 22:18:29 -07:00
|
|
|
font-size: 22px !important;
|
|
|
|
}
|
|
|
|
|
2012-03-13 22:19:02 -07:00
|
|
|
checkbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing") !important;
|
|
|
|
}
|
|
|
|
|
2012-03-22 13:01:34 -07:00
|
|
|
checkbox[label=""] > .checkbox-label-box,
|
|
|
|
checkbox:not([label]) > .checkbox-label-box {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-03-13 22:19:02 -07:00
|
|
|
.checkbox-check {
|
2012-03-22 13:01:34 -07:00
|
|
|
background: url("chrome://browser/skin/images/checkbox_unchecked.png") no-repeat 50% 50%;
|
|
|
|
border: 0 transparent;
|
2012-03-13 22:19:02 -07:00
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
setting:active checkbox > .checkbox-spacer-box > .checkbox-check {
|
|
|
|
background-image: url("chrome://browser/skin/images/checkbox_unchecked_pressed.png");
|
2012-03-13 22:18:29 -07:00
|
|
|
}
|
|
|
|
|
2012-03-13 22:19:02 -07:00
|
|
|
checkbox[disabled="true"] > .checkbox-spacer-box > .checkbox-check {
|
|
|
|
background-image: url("chrome://browser/skin/images/checkbox_unchecked_disabled.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox[checked="true"] > .checkbox-spacer-box > .checkbox-check {
|
|
|
|
background-image: url("chrome://browser/skin/images/checkbox_checked.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
setting:active checkbox[checked="true"] > .checkbox-spacer-box > .checkbox-check {
|
|
|
|
background-image: url("chrome://browser/skin/images/checkbox_checked_pressed.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
checkbox[checked="true"][disabled="true"] > .checkbox-spacer-box > .checkbox-check {
|
|
|
|
background-image: url("chrome://browser/skin/images/checkbox_checked_disabled.png");
|
|
|
|
}
|
|
|
|
|
2012-03-22 13:01:34 -07:00
|
|
|
/* Textbox */
|
|
|
|
|
|
|
|
textbox[type="number"] > spinbuttons {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
textbox {
|
|
|
|
background: white -moz-linear-gradient(top, rgba(27,113,177,0.5) 0, rgba(198,225,246,0.2) 3px, rgba(255,255,255,0.2) 16px);
|
|
|
|
border-radius: 3px;
|
|
|
|
border-color: rgb(94,128,153);
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.textbox-input-box {
|
|
|
|
padding: 8px 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Menulist */
|
|
|
|
|
|
|
|
menulist {
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
-moz-user-focus: ignore;
|
|
|
|
/* min-width: 200px !important; */
|
|
|
|
color: #000 !important;
|
|
|
|
border-radius: 5px;
|
|
|
|
border-color: rgb(94,128,153);
|
|
|
|
border-style: solid;
|
|
|
|
padding: 8px 12px;
|
|
|
|
background: white;
|
|
|
|
border: 1px solid #cacdd5;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: rgb(94,128,153);
|
|
|
|
min-width: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menulist-label {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
menulist > menupopup > menuitem > label{
|
|
|
|
-moz-padding-start:3px !important;
|
|
|
|
-moz-padding-end:7px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
menulist > dropmarker {
|
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
margin-left: @margin_snormal@;
|
|
|
|
background-color: transparent; /* for windows */
|
|
|
|
border: none; /* for windows */
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
list-style-image: url("chrome://browser/skin/images/dropmarker.svg") !important;
|
|
|
|
-moz-image-region: auto;
|
|
|
|
display: block;
|
|
|
|
}
|
2012-03-13 22:19:02 -07:00
|
|
|
|
2012-03-13 22:18:29 -07:00
|
|
|
/* XBL bindings */
|
|
|
|
|
|
|
|
settings {
|
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#settings");
|
|
|
|
}
|
|
|
|
|
|
|
|
setting {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
setting[type="bool"] {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-binding: url("chrome://browser/content/bindings/settings.xml#setting-fulltoggle-bool");
|
|
|
|
}
|
|
|
|
|
|
|
|
setting[type="bool"][localized="true"] {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-binding: url("chrome://browser/content/bindings/settings.xml#setting-fulltoggle-localized-bool");
|
|
|
|
}
|
|
|
|
|
|
|
|
setting[type="boolint"] {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-binding: url("chrome://browser/content/bindings/settings.xml#setting-fulltoggle-boolint");
|
|
|
|
}
|
|
|
|
|
|
|
|
setting[type="integer"] {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-integer");
|
|
|
|
}
|
|
|
|
|
|
|
|
setting[type="control"] {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-control");
|
|
|
|
}
|
|
|
|
|
|
|
|
setting[type="string"] {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-string");
|
|
|
|
}
|
|
|
|
|
|
|
|
setting[type="radio"],
|
|
|
|
setting[type="menulist"] {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-multi");
|
|
|
|
}
|