/*
 * 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):
 *  Joe Hewitt <hewitt@netscape.com>
 *
 */

/* ===== sidebar.css ====================================================
  == Styles used by the Sidebar panel and Sidebar tabs.
  ======================================================================= */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  
#sidebar-box {
  border-left: 1px solid ThreeDShadow;
  border-right: 1px solid ThreeDHighlight;
  background-color: AppWorkspace;
}

/* ::::: sidebar header ::::: */

.sidebarheader-main {
  -moz-appearance: toolbar;
  border: 1px outset InactiveCaption;
  background-color: InactiveCaption;
  color: CaptionText;
  padding: 1px 2px 1px 6px;
}

#sidebar-panel-picker {
  color: inherit;
  /** bugzilla 89144 - must be able to access tabs dropdown **/
  -moz-user-focus:normal !important;
}

#sidebar-panel-picker > .toolbarbutton-dropmarker {
  padding-left: 2px;
  padding-right: 2px;
  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
}

.sidebar-header-text {
  font-weight: bold;
}

/* ..... close button ..... */

#sidebar-close-button {
  -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image");
  padding: 1px 3px 1px 4px;
  list-style-image: url("chrome://global/skin/icons/close-button.gif");
}

/* ::::: sidebar panel ::::: */

.sidebar-iframe-no-panels,
.loadarea {
  background-color: -moz-Field;
  color: -moz-FieldText;
}

.iframe-panel, .browser-sidebar {
  border-left: 1px solid ThreeDHighlight;
  border-bottom: 1px solid ThreeDShadow;
  border-right: 1px solid ThreeDShadow;
}  

/* ::::: loading info ::::: */

.text-panel-loading {
  margin: 5px 0px;
}

.text-panel-loading[loading="false"] {
  margin-left: 11px;
}

.image-panel-loading {
  margin: 5px;
  list-style-image: url("chrome://communicator/skin/icons/loading.gif");
}

/* ::::: sidebar tabs ::::: */

.box-texttab {
  -moz-binding: url("chrome://communicator/skin/sidebar/sidebarBindings.xml#sbtab");
  -moz-box-align: center;
  cursor: pointer;
  background-color: -moz-Dialog;
  color: -moz-DialogText;
}

.box-texttab,
.box-texttab[selected="true"],
.box-texttab[selected="true"]:hover,
.box-texttab[selected="true"]:hover:active {
  border: 2px solid;
  -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
  -moz-border-right-colors: ThreeDShadow ThreeDLightShadow;
  -moz-border-bottom-colors: ThreeDShadow  ThreeDLightShadow;
  -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
  padding: 2px 1px 2px 0px;
}

.box-texttab:hover {
  -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
  -moz-border-bottom-colors: ThreeDDarkShadow  ThreeDShadow;
}

.box-texttab:hover:active {
  -moz-border-top-colors: ThreeDShadow ThreeDLightShadow;
  -moz-border-right-colors: ThreeDShadow ThreeDLightShadow;
  -moz-border-bottom-colors: ThreeDShadow  ThreeDLightShadow;
  -moz-border-left-colors: ThreeDShadow ThreeDLightShadow;
}

.sbtab-label {
  margin: 0px 0px 0px 0px !important;
}

.sbtab-twisty {
  margin: 0px 7px;
  list-style-image: url("chrome://communicator/skin/sidebar/sbtab-twisty.gif");
}

.sbtab-texture {
  margin: 2px 0px;
  background: url("chrome://global/skin/toolbar/tbgrip-texture.gif") repeat-y;
  width: 12px;
  height: 12px;
}

.box-texttab[selected="true"] {
  font-weight: bold;
  cursor: default;
}

.sbtab-twisty[selected="true"] {
  list-style-image: url("chrome://communicator/skin/sidebar/sbtab-twisty-open.gif");
}

/* ::::: sidebar navigation buttons ::::: */

.sidebar-nav-button {
  -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image");
  padding: 5px 0px 5px 0px;
}

.tab-fwd {
  list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
}

.tab-back {
  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
}
