/*
 * 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 for toolbars that are used throughout the Communicator suite.
   ====================================================================== */

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

/* ::::: toolbar-primary ::::: */

.toolbar-primary {
  -moz-binding: url("chrome://communicator/skin/toolbar/toolbarBindings.xml#toolbar-primary");
  background-color: transparent;
  background-image: none;
}

.toolbar-primary > .toolbar-holder {
  border-top: 1px solid #DCEEFF;
  border-left: none;
}

.toolbar-primary-image-left,
.toolbar-primary-image-mid,
.toolbar-primary-image-right {
  border-top: 1px solid #DCEEFF;
}

.toolbar-primary-image-left {
  width: 10px;
}

.toolbar-primary-image-left-top {
  height: 27px;
  background: url("chrome://communicator/skin/toolbar/prtb-lft-top.gif") no-repeat;
}

.toolbar-primary-image-left-mid {
  background: url("chrome://communicator/skin/toolbar/prtb-lft-mid.gif") repeat-y;
}

.toolbar-primary-image-left-btm {
  height: 5px;
  background: url("chrome://communicator/skin/toolbar/prtb-lft-btm.gif") no-repeat;
}

.toolbar-primary-image-mid-mid {
  background: url("chrome://communicator/skin/toolbar/prtb-mid-mid.gif") repeat-x;
  background-color: #5E789B;
  vertical-align: top !important;
}

.toolbar-primary-image-mid-btm {
  height: 3px;
  background: url("chrome://communicator/skin/toolbar/prtb-mid-btm.gif") repeat-x;
}

.toolbar-primary-image-right {
  width: 21px;
}

.toolbar-primary-image-right-top {
  height: 27px;
  background: url("chrome://communicator/skin/toolbar/prtb-rit-top.gif") no-repeat;
}

.toolbar-primary-image-right-mid {
  background: url("chrome://communicator/skin/toolbar/prtb-rit-mid.gif") repeat-y;
}

.toolbar-primary-image-right-btm {
  height: 8px;
  background: url("chrome://communicator/skin/toolbar/prtb-rit-btm.gif") no-repeat;
}

/* ..... the grippy inside of the .toolbar-primary ..... */

.toolbar-primary-grippy {
  background: url("chrome://communicator/skin/toolbar/grip-prtb-mid.gif") repeat-y;
}

.toolbar-primary-grippy > .toolbargrippy-top {
  height: 5px;
  background: url("chrome://communicator/skin/toolbar/grip-prtb-top.gif") top no-repeat;
}

.toolbar-primary-grippy > .toolbargrippy-btm {
  height: 38px;
  background: url("chrome://communicator/skin/toolbar/grip-prtb-btm.gif") bottom no-repeat;
}

.toolbar-primary-grippy:hover:active {
  background-image: url("chrome://communicator/skin/toolbar/grip-prtb-mid-act.gif");
}

.toolbar-primary-grippy:hover:active > .toolbargrippy-top {
  background-image: url("chrome://communicator/skin/toolbar/grip-prtb-top-act.gif");
}

.toolbar-primary-grippy:hover:active > .toolbargrippy-btm {
  background-image: url("chrome://communicator/skin/toolbar/grip-prtb-btm-act.gif");
}

/* ::::: toolbar-primary separator ::::: */

.toolbarseparator-primary {
  margin: 9px 0px 0px 0px;
  border: none;
  width: 4px;
  height: 29px;
  background: url("chrome://communicator/skin/toolbar/separator-prtb.gif") no-repeat;
}

