gecko-dev/themes/modern/global/global.css

192 lines
4.3 KiB
CSS

/*
* The contents of this file are subject to the Netscape 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/NPL/
*
* 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
*/
/* ===== formatting.css =================================================
== Styles for various formatting styles.
======================================================================= */
/* all localizable skin settings shall live here */
@import url("chrome://global/locale/intl.css");
@import url("chrome://global/skin/formatting.css");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: bindings ::::: */
button {
-moz-binding: url("chrome://global/skin/globalBindings.xml#button");
}
button.plain {
-moz-binding: url("chrome://global/content/bindings/button.xml#buttonleft");
}
menubutton {
-moz-binding: url("chrome://global/skin/globalBindings.xml#menubutton-single");
}
menulist {
-moz-binding: url("chrome://global/skin/globalBindings.xml#menulist");
}
menulist[editable="true"] {
-moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-editable") !important;
}
.menulist-compact {
-moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
}
toolbargrippy {
-moz-binding: url("chrome://global/skin/globalBindings.xml#toolbargrippy");
}
toolbargrippy[tbgrippy-collapsed="true"] {
-moz-binding: url("chrome://global/skin/globalBindings.xml#toolbargrippy-collapsed");
}
progressmeter {
-moz-binding: url("chrome://global/skin/globalBindings.xml#progressmeter");
}
tabs {
-moz-binding: url("chrome://global/skin/globalBindings.xml#tabs");
}
tab {
-moz-binding: url("chrome://global/skin/globalBindings.xml#tab");
}
splitter {
-moz-binding: url("chrome://global/skin/globalBindings.xml#splitter");
}
/* ::::: XUL <box> debugging ::::: */
:-moz-horizontal-box-debug {
margin: 2px;
border: 2px solid blue;
border-top-width: 10px;
padding: 2px;
color: white;
}
:-moz-vertical-box-debug {
margin: 2px;
border: 2px solid red;
border-left-width: 10px;
padding: 2px;
color: white;
}
/* ::::: window ::::: */
window {
padding: 0px;
background-color: #C7D0D9;
color: #000000;
font: message-box;
}
window[wait-cursor] {
cursor: wait !important;
}
window.dialog {
padding: 7px 5px 5px 5px;
}
/* ::::: alert icons :::::*/
.message-icon {
list-style-image: url("chrome://global/skin/icons/alert-message.gif");
width:32px;height:32px;
}
.alert-icon {
list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
width:32px;height:32px;
}
.error-icon {
list-style-image: url("chrome://global/skin/icons/alert-error.gif");
width:32px;height:32px;
}
.question-icon {
list-style-image: url("chrome://global/skin/icons/alert-question.gif");
width:32px;height:32px;
}
/* ::::: iframe ::::: */
iframe {
border: none;
width: 100px;
height: 100px;
min-width: 10px;
min-height: 10px;
}
/* ::::: status bar ::::: */
#status-bar {
-moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar");
-moz-user-focus: ignore;
margin: 0px;
border-top: 1px solid #CED6DD;
padding: 0px;
min-width: 1px; /* DON'T DELETE!
Removes disappearance of scrollbars in content pane when window
is made smaller. Talk to evaughan@netscape.com for details. */
background-color: #C7D0D9;
color: #22262F;
font-size: smaller;
overflow: hidden;
}
.statusbar-internal-box-1 {
border-top: 1px solid #EBF4FF;
padding: 1px 2px 1px 2px;
}
statusbarpanel {
padding: 0px 1px 0px 1px;
}
.statusbar-panel-icon {
margin: 0px 2px 0px 0px;
}
/* ::::: miscellaneous ::::: */
.tooltip-label {
margin: 0px;
}
.toolbar-focustarget {
-moz-user-focus: ignore !important;
}