gecko/mobile/android/themes/core/aboutAddons.css
Sriram Ramasubramanian 1faba762df Bug 840346: Flat UI in about: pages. [r=mfinkle]
--HG--
extra : rebase_source : 147cbcc250e0a34055b6fd9520a0c8b377543b2d
2013-02-13 08:50:57 -08:00

347 lines
7.0 KiB
CSS

/* 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/. */
html {
font-family: Roboto,"Droid Sans",helvetica,arial,clean,sans-serif;
font-size: 18px;
background-color: #ced7de;
-moz-text-size-adjust: none;
}
body {
margin: 0;
}
#addons-header {
color: black;
padding: 8px;
-moz-padding-start: 25px;
font-size: 20px;
font-weight: bold;
border-bottom: 2px solid;
-moz-border-bottom-colors: #ff9100 #f27900;
}
#addons-header > div {
width: 100%;
height: 44px;
display: -moz-box;
-moz-box-align: center;
}
#addons-header > div > div {
-moz-box-flex: 1;
}
.addon-item {
color: black;
background-color: #e6e9eb;
border-bottom: 2px solid;
-moz-border-bottom-colors: #ffffff #bac2ac;
position: relative;
}
.addon-item[isDisabled="true"] {
color: #999999;
}
.inner {
background-color: #eef2f5;
min-height: 70px;
padding: 8px;
/* make room for the favicon */
-moz-margin-start: 82px;
}
.addon-item:active,
.addon-item:active > .inner {
background-image: none;
}
.details {
width: 100%;
}
.details > div {
display: inline;
}
.title {
font-size: 22px;
font-weight: bold;
}
.version {
/* title is not localized, so keep the margin on the left side */
margin-left: 12px;
}
.tag {
float: right;
margin-left: 12px;
/* compensate for the title baseline */
position: relative;
bottom: -3px;
}
.description {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.status {
background-color: #eef2f5;
border-top: 2px solid;
-moz-border-top-colors: #bac2ac #ffffff;
font-weight: bold;
padding: 8px;
width: 100%;
}
.buttons {
display: -moz-box;
-moz-box-orient: horizontal;
width: 100%;
}
.buttons > button {
-moz-appearance: none;
color: black;
font-size: 18px !important;
border: 1px solid transparent;
border-top-color: #bac2ac;
-moz-border-start-color: #bac2ac;
background-image: none;
background-color: #edf0f5;
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;
}
body[dir="ltr"] .favicon {
left: 25px;
}
body[dir="ltr"] .favicon {
right: 25px;
}
.favicon {
border: none;
top: 27px;
width: 32px;
height: 32px;
position: absolute;
}
.addon-item[isDisabled="true"] .favicon {
opacity: 0.3;
}
.options-header {
font-weight: bold;
padding: 18px 24px;
}
.options-box {
margin: 0 12px;
}
.addon-item[isDisabled="true"] .options-header,
.addon-item:not([optionsURL]) .options-header,
.addon-item[optionsURL=""] .options-header,
.addon-item[isDisabled="true"] .options-box,
.addon-item:not([optionsURL]) .options-box,
.addon-item[optionsURL=""] .options-box {
display: none;
}
setting {
padding: 18px 12px;
border-top: 2px solid;
-moz-border-top-colors: #bac2ac #ffffff;
-moz-box-align: center;
-moz-box-sizing: border-box;
width: 100%;
}
setting > vbox {
-moz-box-flex: 1;
}
.preferences-title {
font-weight: bold;
}
.preferences-description {
margin-top: 4px;
}
.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 {
margin: 12px 0 0 0;
font-size: 22px !important;
}
checkbox {
-moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing") !important;
}
checkbox[label=""] > .checkbox-label-box,
checkbox:not([label]) > .checkbox-label-box {
display: none;
}
.checkbox-check {
background: url("chrome://browser/skin/images/checkbox_unchecked.png") no-repeat 50% 50%;
border: 0 transparent;
width: 48px;
height: 48px;
}
setting:active checkbox > .checkbox-spacer-box > .checkbox-check {
background-image: url("chrome://browser/skin/images/checkbox_unchecked_pressed.png");
}
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");
}
/* 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;
}
/* 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");
}