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

/* ===== addressbook.css ================================================
  == Styles for the main Address Book window.
  ======================================================================= */

@import url("chrome://communicator/skin/");

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

/* ::::: primary toolbar buttons ::::: */

#button-newcard {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/newcard.gif");
}

#button-newcard:hover {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/newcard-hov.gif");
}

#button-newcard:hover:active {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/newcard-act.gif");
}

#button-newcard[disabled="true"],
#button-newcard[disabled="true"]:hover,
#button-newcard[disabled="true"]:hover:active {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/newcard-dis.gif");
}

#button-newlist {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/newlist.gif");
}

#button-newlist:hover {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/newlist-hov.gif");
}

#button-newlist:hover:active {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/newlist-act.gif");
}

#button-newlist[disabled="true"],
#button-newlist[disabled="true"]:hover,
#button-newlist[disabled="true"]:hover:active {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/newlist-dis.gif");
}

#button-editcard {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/edit.gif");
}

#button-editcard:hover {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/edit-hov.gif");
}

#button-editcard:hover:active {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/edit-act.gif");
}

#button-editcard[disabled="true"],
#button-editcard[disabled="true"]:hover,
#button-editcard[disabled="true"]:hover:active {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/edit-dis.gif");
}

#button-newmessage {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/newmsgab.gif");
}

#button-newmessage:hover {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/newmsgab-hov.gif");
}

#button-newmessage:hover:active {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/newmsgab-act.gif");
}

#button-newmessage[disabled="true"],
#button-newmessage[disabled="true"]:hover,
#button-newmessage[disabled="true"]:hover:active {
  list-style-image: url("chrome://messenger/skin/addressbook/btn1/newmsgab-dis.gif");
}

#button-delete {
  list-style-image: url("chrome://messenger/skin/btn1/trash.gif");
}

#button-delete:hover {
  list-style-image: url("chrome://messenger/skin/btn1/trash-hov.gif");
}

#button-delete:hover:active {
  list-style-image: url("chrome://messenger/skin/btn1/trash-act.gif");
}

#button-delete[disabled="true"],
#button-delete[disabled="true"]:hover,
#button-delete[disabled="true"]:hover:active {
  list-style-image: url("chrome://messenger/skin/btn1/trash-dis.gif");
}

#button-stop {
  list-style-image: url("chrome://communicator/skin/btn1/stop.gif");
}

#button-stop:hover {
  list-style-image: url("chrome://communicator/skin/btn1/stop-hov.gif");
}

#button-stop:hover:active {
  list-style-image: url("chrome://communicator/skin/btn1/stop-act.gif");
}

#button-stop[disabled="true"],
#button-stop[disabled="true"]:hover,
#button-stop[disabled="true"]:hover:active {
  list-style-image: url("chrome://communicator/skin/btn1/stop-dis.gif");
}

/* ::::: AB Directory tree ::::: */

tree.abDirectory treeitem > treerow > treecell > .tree-cell-primary-icon {
  list-style-image: url("chrome://messenger/skin/addressbook/icons/myaddrbk.gif");
}

tree.abDirectory treeitem > treerow > treecell[IsMailList="true"] > .tree-cell-primary-icon {
  list-style-image: url("chrome://messenger/skin/addressbook/icons/list.gif");
}

tree.abResults treeitem > treerow > treecell.cardicon {
  list-style-image: url("chrome://messenger/skin/addressbook/icons/person.gif");
}

/* ::::: Card View pane ::::: */

#CardViewOuterBox {
  border-left: 1px solid #63717B;
}

#CardViewBox {
  overflow: auto;
  background-color: #EFEFEF;
  border-left: 1px solid #000000;
  min-width: 150px;
  -moz-user-focus: ignore;
}

#CardViewInnerBox {
  margin-top: 2px;
  margin-bottom: 2px;
  padding-left: 8px;
  padding-right: 8px;
}

#CardTitle {
  font-size: 150%;
  font-weight: bold;
  border-bottom: 2px solid #000000;
  min-width: 120px;
  margin: 0px;
}

.cardViewGroup {
  margin-top: 8px;
  padding-bottom: 5px;
  min-width: 50px;
}

.CardViewHeading {
  padding: 1px;
  padding-left: 5px;
  margin: 0px 0px 1px 0px;
  background-color: #C2D0D0;
  color: black;
  font-weight: bold;
  min-width: 30px;
}

.CardViewText {
  padding-left: 20px;
  padding-right: 2px;
  min-width: 30px;
  margin: 0px;
}

html|a {
  padding-left: 0px;
  padding-right: 2px;
  border: none !important;
}

html|p {
  border: none !important;
}

/* ::::: border adjustments ::::: */

tree {
  border-left: 1px solid transparent;
}

#sidebar-splitter {
  border: none;
}

#sidebar-splitter > .splitter-internal-box {
  border-right: none;
}

#results-splitter {
  border-top: 1px solid #7B969C;
}

#results-splitter > .splitter-internal-box {
  border-left: none;
}

#results-splitter[state="collapsed"] {
  border-bottom: none;
}

/* ::::: Card Edit dialog ::::: */

.CardEditWidth {
  width: 25em;
}

.CardEditLabel {
  padding: 0px;
  margin-top: 3px;
}

.alignBoxWithFieldset {
  margin-left: 6px;
  margin-right: 5px;
}

.stateZipSpacer {
  width: 3em;
}

/* ::::: Select Addresses dialog ::::: */

#3PaneBox {
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  border-left: 1px solid #000000;
}

#dirTreeBox {
  width: 180px;
  height: 100%;
  background-color: #FFFFFF;
}

#dirTree {
  height: 100px;
  min-width: 10px;
}

#vertical-splitter,
#vertical-splitter > box {
  border-right: none;
}

#results-bucket-tree-box {
  border-right: 1px solid #000000;
}

#resultsTreeBox {
  background-color: #FFFFFF;
  border-bottom: 1px solid #000000;
}

#resultsTree {
  height: 100px;
  min-width: 10px;
  border-left: 1px solid #63717B;
  border-top: 1px solid #63717B;
}

#resultsTree > treerows {
  border-left: 1px solid #000000;
}

#bucket-splitter > box {
  border-left: none;
}

#addToBucketButtonBox {
  border-left: 1px solid #000000;
  padding: 0.3em;
  min-width: 10px;
}

#bucketBox {
  height: 170px;
}

#addressBucket {
  border-left: 1px solid #63717B;
  height: 100px;
  min-width: 10px;
}

#addressBucket > treerows {
  border-left: 1px solid #000000;
}

#rightColumnButtonBox {
  padding: .5em;
  padding-right: 0px;
}

.3rd-column-spring {
  height: 10px;
}

.middle-button-spring {
  width: 10px;
}

[hide] {
  visibility: collapse;
}

