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

/* ===== toolbar.css ====================================================
  == Styles used by XUL toolbar-related elements.
  ======================================================================= */

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

/* ::::: toolbox ::::: */

toolbox {
  border-bottom: 1px solid #3B414F;
}
 
/* ::::: toolbar ::::: */

toolbar {
  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: url("chrome://global/skin/toolbar/tb-mid.gif") #C7D0D9 repeat-x top;
  color: #000000;
}

toolbar > .toolbar-holder {
  border-top: 1px solid #CED6DD;
  border-right: 1px solid #86929E;
  border-bottom: 1px solid #86929E;
  border-left: 1px solid #CFD7DE;
}

/* ::::: menubar ::::: */

menubar {
  cursor: default;
  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: #DDE3EB;
  color: #000000;
}
  
menubar > .toolbar-holder {
  border-top: 1px solid #EBF4FF;
  border-right: 1px solid #B9BFC7;
  border-bottom: 1px solid #B9BFC7;
  border-left: 1px solid #EEF4FC;
}  

/* ::::: toolbargrippy ::::: */
 
toolbargrippy {
  -moz-box-orient: vertical;
  width: 12px;
  background-image: url("chrome://global/skin/toolbar/tbgrip-mid.gif");
}

.toolbargrippy-top {
  height: 1px;
  background-image: url("chrome://global/skin/toolbar/tbgrip-top.gif");
}

.toolbargrippy-btm {
  height: 9px;
  background-image: url("chrome://global/skin/toolbar/tbgrip-btm.gif");
}
  
toolbargrippy:hover:active {
  background-image: url("chrome://global/skin/toolbar/tbgrip-mid-act.gif");
}

toolbargrippy:hover:active > .toolbargrippy-top {
  background-image: url("chrome://global/skin/toolbar/tbgrip-top-act.gif");
}

toolbargrippy:hover:active > .toolbargrippy-btm {
  background-image: url("chrome://global/skin/toolbar/tbgrip-btm-act.gif");
}

/* ::::: menubar grippy ::::: */

menubar > toolbargrippy { 
  background-image: url("chrome://global/skin/menu/mbgrip-mid.gif");
} 

menubar > toolbargrippy > .toolbargrippy-top {
  height: 2px;
  background-image: url("chrome://global/skin/menu/mbgrip-top.gif");
}

menubar > toolbargrippy > .toolbargrippy-btm {
  height: 9px;
  background-image: url("chrome://global/skin/menu/mbgrip-btm.gif");
}
  
menubar > toolbargrippy:hover:active {
  background-image: url("chrome://global/skin/menu/mbgrip-mid-act.gif");
}

menubar > toolbargrippy:hover:active > .toolbargrippy-top {
  background-image: url("chrome://global/skin/menu/mbgrip-top-act.gif");
}

menubar > toolbargrippy:hover:active > .toolbargrippy-btm {
  background-image: url("chrome://global/skin/menu/mbgrip-btm-act.gif");
}

/* ::::: collapsed tray and grippies ::::: */
  
.collapsed-tray-holder {
  background-color: #C7D0D9;
  height: 11px;
}

toolbargrippy[tbgrippy-collapsed="true"] {
  -moz-box-orient: horizontal;
  background-image: none;
  width: 200px;
}

toolbargrippy[tbgrippy-collapsed="true"] > .toolbargrippy-collapsed-left {
  background-image: url("chrome://global/skin/toolbar/tbgrip-clps.gif");
  width: 12px;
}

toolbargrippy[tbgrippy-collapsed="true"] > .toolbargrippy-collapsed-right {
  background-color: #B5C0CC;
  border: 1px outset #B5C0CC;
}

toolbargrippy[tbgrippy-collapsed="true"]:hover:active > .toolbargrippy-collapsed-left {
  background-image: url("chrome://global/skin/toolbar/tbgrip-clps-act.gif");
}

toolbargrippy[tbgrippy-collapsed="true"]:hover:active > .toolbargrippy-collapsed-right {
  border-style: inset;
}

/* ::::: toolbarseparator ::::: */

toolbarseparator { 
  margin: 0px 0.2em;
  border-right: 1px solid #E2E7EB;
  border-left: 1px solid #95A0AD;
  width: 0px;
}


