/* * 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): * */ /* ===== global.css ===================================================== == Styles that apply everywhere. ======================================================================= */ /* 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/buttonBindings.xml#button"); } button[type="menu"] { -moz-binding: url("chrome://global/skin/buttonBindings.xml#button-menu"); } button[type="menu-button"] { -moz-binding: url("chrome://global/content/bindings/button.xml#menu-button"); } checkbox { -moz-binding : url("chrome://global/skin/classicBindings.xml#checkbox"); } menulist { -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulist"); } menulist[editable="true"] { -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulist-editable") !important; } menulist > menupopup, .menulist-menupopup { -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulistpopup"); } .menulist-compact { -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulist-compact"); } radio { -moz-binding : url("chrome://global/skin/classicBindings.xml#radio"); } grippy, grippy[collapse="before"] { -moz-binding : url("chrome://global/skin/classicBindings.xml#grippy"); } splitter { -moz-binding : url("chrome://global/skin/classicBindings.xml#splitter"); } tabs { -moz-binding: url("chrome://global/skin/tabBindings.xml#tabs"); } toolbargrippy { -moz-binding : url("chrome://global/skin/classicBindings.xml#toolbargrippy"); } toolbargrippy[tbgrippy-collapsed="true"] { -moz-binding : url("chrome://global/skin/classicBindings.xml#toolbargrippy-collapsed"); } .treecell-popupcell-menu { -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-iconic") !important; } /** * XUL element **/ window, page, dialog, wizard { background-color : #CCD0DD; color : black; font : 3mm helvetica,arial,tahoma,sans-serif; } [wait-cursor] { cursor : wait !important; } /* deprecated */ window.dialog { background-color : #CCD0DD; padding : 8px 10px 10px 8px; } /** * XUL debugging **/ :-moz-horizontal-box-debug { border : 2px solid blue; border-top-width : 10px; padding : 2px; margin : 2px; color : white; } :-moz-vertical-box-debug { border : 2px solid red; border-left-width : 10px; padding : 2px; margin : 2px; color : white; } /** * Utility icons (used for alert dialogs, etc) **/ .message-icon { list-style-image : url("chrome://global/skin/message-icon.gif"); width:32px;height:32px; } .alert-icon { list-style-image : url("chrome://global/skin/alert-icon.gif"); width:32px;height:32px; } .error-icon { list-style-image : url("chrome://global/skin/error-icon.gif"); width:32px;height:32px; } .question-icon { list-style-image : url("chrome://global/skin/question-icon.gif"); width:32px;height:32px; } /** * status-bar */ statusbar { background-color : #666699; color : #CCD0DD; overflow : hidden; border-top : 1px solid #9999CC; /* min-height : 1.9em !important; */ /* DON'T DELETE. Removes disappearance of scrollbars * in content pane when window is made smaller. * Talk to evaughan@netscape.com for details. */ min-width : 1px; } statusbarpanel, .statusbar-panel { padding : 0px 1px 0px 1px; } .statusbarpanel-icononly { padding : 0px; } /** * iframe default sizing **/ iframe { min-width : 10px; min-height : 10px; width : 100px; height : 100px; border : none; } /* has to be in here since scoped stylesheets can't apply to explicit children yet */ caption { margin : 0px 6px 2px 6px; padding : 0px 3px 0px 3px; background-color : #CCD0DD; } .tooltip-label { margin : 0px; }