/*
 * 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-2001 Netscape Communications Corporation. All
 * Rights Reserved.
 *
 * Contributor(s):
 *   Joe Hewitt (hewitt@netscape.com)
 */

/* ===== global.css =====================================================
  == Styles that apply just about everywhere.
  ======================================================================= */

/* all localizable skin settings shall live here */
@import url("chrome://global/locale/intl.css");

@import url("chrome://global/skin/box.css");
@import url("chrome://global/skin/formatting.css");
@import url("chrome://global/skin/button.css");
@import url("chrome://global/skin/checkbox.css");
@import url("chrome://global/skin/radio.css");
@import url("chrome://global/skin/splitter.css");
@import url("chrome://global/skin/menu.css");
@import url("chrome://global/skin/menubutton.css");
@import url("chrome://global/skin/menulist.css");
@import url("chrome://global/skin/progressmeter.css");
@import url("chrome://global/skin/textfield.css");
@import url("chrome://global/skin/tabcontrol.css");
@import url("chrome://global/skin/toolbar.css");
@import url("chrome://global/skin/tree.css");
@import url("chrome://global/skin/colorpicker.css");

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* ::::: 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: #B4C3D4;
  color: #000000;
  font: message-box;
}

window.dialog {
  padding: 7px 5px 5px 5px;
}

window[wait-cursor] {
  cursor: wait !important;
}

/* ::::: alert icons :::::*/

.message-icon {
  list-style-image: url("chrome://global/skin/icon/alert-message.gif");
}

.alert-icon {
  list-style-image: url("chrome://global/skin/icon/alert-exclam.gif");
}

.error-icon {
  list-style-image: url("chrome://global/skin/icon/alert-error.gif");
}

.question-icon {
  list-style-image: url("chrome://global/skin/icon/alert-question.gif");
}

/* ::::: status bar ::::: */

#status-bar {
  -moz-user-focus: ignore;
  margin: 0px;
  border-top: 1px solid #000000;
  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: #6E89AB;
  color: #ffffff;
  font-size: smaller;
  overflow: hidden;
}

statusbarpanel {
  padding: 0px 1px 0px 1px;
}

.statusbar-panel-icon {
  margin: 0px 2px 0px 0px;
}

.progressmeter-statusbar {
  margin: 0px 4px 0px 4px;
}

/* ::::: iframe ::::: */

iframe {
  border: none;
  width: 100px;
  height: 100px;
  min-width: 10px;
  min-height: 10px;
}

