/*
 * 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):
 *   Scott MacGregor (mscott@netscape.com)
 *   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"); /* set default namespace to HTML */
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */

#collapsedHeaderView,
#expandedHeaderView
  {
    min-width             : 1px;
  }

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

.buttonTopSpacer     
  { 
    height                : 0.3em; 
  }

.buttonSpacer        
  { 
    width                 : 0.5em; 
  }

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

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

#addToAddressBookButton 
  {
	  list-style-image      : url("chrome://messenger/skin/addtoab.gif");
    min-height            : 20px;
    margin                : 0px;
  }

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

.emailDisplayImage
  {
    text-align: right;
  }

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

.showMoreAddressesButton 
{
  list-style-image      : url("chrome://global/skin/twisty-closed.gif");
}

.showFewerAddressesButton 
{
  list-style-image      : url("chrome://global/skin/twisty-open.gif");
}

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

html.subjectvalue  
  { 
    font-weight           : bold; 
  }

text.subjectvalue
 {
  font-weight: bold;
 }

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

text.headerValue 
  { 
    white-space           : normal; 
    min-width             : 50px; 
  }
  
#msgHeaderView
  {
    border-left           : none;
    border-right          : none;
  }
       
.expandHeaderViewButton {
  list-style-image: url("chrome://global/skin/twisty-open.gif");
  margin-left: .5em;
  margin-right: .5em;
}

.collapsedHeaderViewButton 
{
  list-style-image: url("chrome://global/skin/twisty-closed.gif");
  margin-left: .5em;
}


/* ::::: collapsed view styles ::::: */
.collapsedToggleHdrBox
{
  vertical-align: middle;
}

#collapsedAttachmentBox {
  text-align: center;
}

#collapseddateValue
{
  margin-left: .7em;
}

#collapsedfromBox
{
  width: 18em;
}

#collapseddateBox
{
  width: 12em;
}

text.collapsedHeaderDisplayName 
{ 
  font-weight: bold; 
  margin-left: .7em;
  min-height: 16px;
}

.collapsedAttachmentButton
{
  list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");
  margin-right: .5em;
  margin-left: 1em;
}

[hide] {
  visibility: hidden;
}
