/*
 * 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)
 */

/* ===== box.css ========================================================
  == Styles used by the XUL box element.
  ======================================================================= */

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

/* ::::: box formatting ::::: */

box[autostretch="never"] {
  vertical-align: middle;
}

box[autostretch="never"][valign="top"] {
  vertical-align: top;
}

box[autostretch="never"][valign="bottom"] {
  vertical-align: bottom;
}

box[autostretch="never"][halign="center"] {
  text-align: center;
}

box[autostretch="never"][halign="right"] {
  text-align: right;
}

/* ::::: grid ::::: */

row {
  vertical-align: middle;
}

/* ::::: titledbox ::::: */

titledbox {
  margin: 5px;
  border: 2px groove #D7E8FD;
  padding: 7px;
}

.titledbox-body {
  padding: inherit;
}

label {
  margin: 0px 6px 2px 6px;
  padding: 0px 3px 0px 3px;
  background-color: #B4C3D4;
}

tabpanels title {
  background-color: #C2D0D0;
}

