gecko/mobile/chrome/content/browser.css
2009-06-25 14:15:09 -04:00

200 lines
4.9 KiB
CSS

#browser-container > * {
-moz-stack-sizing: ignore;
}
#browser-container > spacer {
width: 1px;
height: 1px;
}
#urlbar-edit {
-moz-binding: url("chrome://browser/content/bindings.xml#autocomplete-aligned");
}
#tabs {
-moz-binding: url("chrome://browser/content/tabs.xml#tablist");
}
richlistitem[type="documenttab"] {
-moz-binding: url("chrome://browser/content/tabs.xml#documenttab");
}
#prefs-container > scrollbox
{
overflow: auto;
}
richpref[type="bool"] {
-moz-binding: url("chrome://browser/content/preferences/richpref.xml#richpref-bool");
}
richpref[type="boolint"] {
-moz-binding: url("chrome://browser/content/preferences/richpref.xml#richpref-boolint");
}
richpref[type="button"] {
-moz-binding: url("chrome://browser/content/preferences/richpref.xml#richpref-button");
}
richpref[type="string"] {
-moz-binding: url("chrome://browser/content/preferences/richpref.xml#richpref-string");
}
notificationbox {
overflow: -moz-hidden-unscrollable;
}
notification {
-moz-binding: url("chrome://browser/content/notification.xml#notification");
}
notification[type="geo"] {
-moz-binding: url("chrome://browser/content/notification.xml#geo-notification");
}
#popup_autocomplete {
-moz-binding: url("chrome://browser/content/bindings.xml#popup_autocomplete");
}
placeitem {
-moz-binding: url("chrome://browser/content/bindings.xml#place-item");
}
placeitem[type="folder"] {
-moz-binding: url("chrome://browser/content/bindings.xml#place-folder");
}
placelist {
-moz-binding: url("chrome://browser/content/bindings.xml#place-list");
}
placetree {
-moz-binding: url("chrome://browser/content/bindings.xml#place-tree");
}
placelabel {
-moz-binding: url("chrome://browser/content/bindings.xml#place-label");
}
checkbox {
-moz-binding: url("chrome://browser/content/checkbox.xml#checkbox-radio");
}
richlistitem[typeName="local"] {
-moz-binding: url("chrome://browser/content/bindings/extensions.xml#extension-local");
}
richlistitem[typeName="search"] {
-moz-binding: url("chrome://browser/content/bindings/extensions.xml#extension-search");
}
richlistitem[typeName="message"] {
-moz-binding: url("chrome://browser/content/bindings/extensions.xml#extension-message");
}
#select-list > option {
-moz-binding: url("chrome://browser/content/bindings.xml#chrome-select-option");
}
/* richlist defaults ------------------------------------------------------- */
richlistitem {
padding: 5px;
border-bottom: 1px solid rgb(207,207,207);
}
richlistitem label.title,
richlistitem description.title {
font-size: 80% !important;
}
richlistitem label.normal,
richlistitem description.normal {
color: gray;
font-size: 60% !important;
white-space: pre-wrap;
}
richlistitem[selected="true"] {
background-color: -moz-Field;
color: -moz-FieldText;
}
richlistitem .show-on-select {
visibility: collapse;
}
richlistitem[selected="true"] .show-on-select {
visibility: visible;
}
richlistitem .hide-on-select {
visibility: visible;
}
richlistitem[selected="true"] .hide-on-select {
visibility: collapse;
}
richlistitem.section-header,
richlistitem[selected="true"].section-header {
font-weight: bold;
color: #000;
background-color: lightgray;
}
richlistitem[typeName="message"] {
border-bottom: 0px;
}
richlistitem[typeName="download"] {
-moz-binding: url("chrome://browser/content/bindings/downloads.xml#download-downloading");
}
richlistitem[typeName="download"][state="1"] {
-moz-binding: url("chrome://browser/content/bindings/downloads.xml#download-done");
}
richlistitem[typeName="download"][state="2"],
richlistitem[typeName="download"][state="3"] {
-moz-binding: url("chrome://browser/content/bindings/downloads.xml#download-retry");
}
richlistitem[typeName="download"][state="4"] {
-moz-binding: url("chrome://browser/content/bindings/downloads.xml#download-paused");
}
/* addons states ----------------------------------------------------------- */
.hide-on-enable,
.show-on-uninstall,
.show-on-install,
.show-on-restart,
richlistitem[isDisabled="true"] .hide-on-disable {
display: none;
}
richlistitem[opType="needs-restart"] .show-on-restart,
richlistitem[opType="needs-uninstall"] .show-on-uninstall,
richlistitem[opType="needs-install"] .show-on-install,
richlistitem[opType="needs-enable"] .show-on-enable,
richlistitem[opType="needs-disable"] .show-on-disable,
richlistitem[isDisabled="true"] .show-on-disable {
display: -moz-box;
}
richlistitem[opType="needs-restart"] .hide-on-restart,
richlistitem[opType="needs-uninstall"] .hide-on-uninstall,
richlistitem[opType="needs-install"] .hide-on-install,
richlistitem[opType="needs-enable"] .hide-on-enable,
richlistitem[opType="needs-disable"] .hide-on-disable {
display: none;
}
richlistitem[type="error"],
richlistitem[type="warning"] {
-moz-binding: url("chrome://browser/content/bindings/console.xml#error");
}
richlistitem[type="message"]{
-moz-binding: url("chrome://browser/content/bindings/console.xml#message");
}