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

/* ===== msgHdrViewOverlay.css ==========================================
  == Styles for the header toolbars of a mail message.
  ======================================================================= */

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

/* ::::: msg header toolbars ::::: */

#msgHeaderView {
  border-bottom: 1px solid #000000;
}

#msgHeaderView > toolbar > .toolbar-holder {
  border: none;
}

.header-part1 {
  background-color: #EEEEEE;
  color: #000000;
}

.header-part2 {
  background-color: #C2D0D0;
  color: #000000;
}

.header-part3 {
  background-color: #C2D0D0;
  color: #000000;
}

.headerValueBox {
  width: 7.7em;
  text-align: right;
}

/* ::::: msg header buttons ::::: */

#attachmentButton {
  margin: 0px;
  list-style-image: url("chrome://messenger/skin/icons/attach.gif");
}

/* ::::: msg header captions ::::: */

.headerBox {
  overflow: hidden;
  min-width: 50px;
}

html.headerValue {
  margin: 0px;
  min-width: 50px;
  white-space: normal;
}

text.headerValue {
  min-width: 50px;
  white-space: normal;
}

html.subjectvalue {
  font-weight: bold;
}

text.headerdisplayname {
  margin-right: .5em;
  margin-left: .5em;
  min-height: 18px;
  font-weight: bold;
}

/* ::::: msg header email addresses ::::: */

mail-emailaddress {
  -moz-binding: url("chrome://messenger/content/mailWidgets.xml#mail-emailaddress");
  display: -moz-xul-inline-box;
}

.emailDisplayButton {
  cursor: pointer;
  max-height: 15px;
  color: blue;
  text-decoration: underline;
}

.emailDisplayImage {
  text-align: right;
}

/* ::::: email address twisty ::::: */

.showMoreAddressesButton {
  list-style-image: url("chrome://messenger/skin/icons/twisty-more.gif");
}

.showFewerAddressesButton {
  list-style-image: url("chrome://messenger/skin/icons/twisty-less.gif");
}

/* ::::: miscellaneous ::::: */

[hide] {
  visibility: collapse;
}

.buttonTopSpacer {
  height: .3em;
}

.buttonSpacer {
  width: .5em;
}
