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

/* ===== messengercompose.css ===========================================
  == Styles for the main Messenger Compose window.
  ======================================================================= */

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

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

/* ::::: image precaching ::::: */
 
#resource_bundle_messengercompose {
  -moz-binding: url("chrome://messenger/skin/resources.xml#resource_bundle_messengercompose");
}

/* ::::: primary toolbar buttons ::::: */
 
#button-send 
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/send.gif");
  }

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

#button-send:hover
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/send-hover.gif");
  } 

#button-send:hover:active
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/send-hover-active.gif");
  } 

#button-send[offline="true"]
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/sendlater.gif");
  }

#button-send[offline="true"][disabled="true"],
#button-send[offline="true"][disabled="true"]:hover,
#button-send[offline="true"][disabled="true"]:hover:active
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif");
  }

#button-send[offline="true"]:hover
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/sendlater-hover.gif");
  }

#button-send[offline="true"]:hover:active
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/sendlater-hover-active.gif");
  }

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

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

#button-address:hover
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/address-hover.gif");
  } 

#button-address:hover:active
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/address-hover-active.gif");
  } 

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

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

#button-attach:hover
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/attach-hover.gif");
  } 

#button-attach:hover:active
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/attach-hover-active.gif");
  } 

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

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

#button-quote:hover
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/quote-hover.gif");
  } 

#button-quote:hover:active
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/quote-hover-active.gif");
  } 

#spellingButton
  {
    list-style-image  : url("chrome://editor/skin/images/spell.gif");
  }

#spellingButton[disabled="true"],
#spellingButton[disabled="true"]:hover,
#spellingButton[disabled="true"]:hover:active
  {
    list-style-image   : url("chrome://editor/skin/images/spell-disabled.gif");
  }

#spellingButton:hover
  {
    list-style-image   : url("chrome://editor/skin/images/spell-hover.gif");
  }

#spellingButton:hover:active
  {
    list-style-image   : url("chrome://editor/skin/images/spell-hover-active.gif");
  }

#button-save 
  {
          list-style-image      : url("chrome://messenger/skin/messengercompose/savemsg.gif");
  }

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

#button-save:hover
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/savemsg-hover.gif");
  } 

#button-save:hover:active
  {
    list-style-image      : url("chrome://messenger/skin/messengercompose/savemsg-hover-active.gif");
  }

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

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

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

#button-stop:hover:active
  {
    list-style-image      : url("chrome://global/skin/stop-hover-active.gif");
  }
 
/* addressing widget */
  
#addressingWidgetTree
  {
    height                : 80px;
    width                 : 0px;
    -moz-user-focus       : none;
    background-color      : -moz-field;
  }  
  
#listcol-addressingWidget 
  {
    width                 : 9em;
    border-right          : 1px solid #CACAFF;
  }
  
#addressingWidgetTree > treechildren > treeitem > treerow,
#addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow {
  border                  : none;
  background-color        : inherit;
  color                   : inherit;
}

.treecell-addressingWidget
  {
    border-bottom         : 1px solid #CACAFF;
    padding               : 0px !important;
  }
  
.treecell-addressingWidget:first-child 
  {
    border-bottom         : none;
  }

.dummy-row-cell:first-child
  {
    border-bottom         : 1px solid #CACAFF;
  }

.person-icon 
  {
    list-style-image      : url("chrome://messenger/skin/abcard.gif");
    margin                : 0px 3px 0px 3px;
  }

outlinerbody:-moz-outliner-cell-text(default-match)
  {
    margin: 2px -3px 2px 15px;
    border: none;
  }

outlinerbody:-moz-outliner-image(local-abook) 
  {
    margin: 2px -1px 2px 4px;
    border: none;
    list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif");
  }

outlinerbody:-moz-outliner-image(remote-abook) 
  {
    margin: 2px -3px 2px 2px;
    border: none;
    list-style-image: url("chrome://messenger/skin/addressbook/remote-abook.gif");
  }

#msgheaderstoolbar-box
  {
    margin-top            : 2px;
  }  
  
#compose-toolbar-sizer
  {
    height                : 3px;
    border-top            : 1px solid ThreeDHighlight;
  }    
  
#content-frame
  {
    border-left           : 1px solid ThreeDDarkShadow;
    border-top            : 1px solid ThreeDDarkShadow;
    border-right          : 1px solid ThreeDFace;
    border-bottom         : 1px solid ThreeDFace;
  }

#appcontent
  {
    border-left           : 1px solid ThreeDShadow;
    border-right          : 1px solid ThreeDHighlight;
    border-top            : 1px solid ThreeDShadow;
  }  

#attachmentbucket-sizer
  {
    width                 : 5px;
  }
  
#msgIdentity, #addressingWidgetTree, #msgSubject
  {
    margin-right          : 0px;
  }  

#attachmentBucket
  {
    margin-left           : 0px;
    -moz-user-focus       : normal !important;
  }

#attachmentBucketText
  {
    margin-left           : 0px;
    -moz-user-focus       : none;
  }


/* askSendFormat dialog */

#askSendFormat {
	width: 40em;
}

#askImageBox {
 -moz-box-align: start;
}

#convertYes {
	list-style-image:url("chrome://global/skin/question-icon.gif");
}

#convertAltering {
	list-style-image:url("chrome://global/skin/question-icon.gif");
}

#convertNo {
	list-style-image:url("chrome://global/skin/alert-icon.gif");
}

#convertDefault {
	list-style-image:url("chrome://global/skin/question-icon.gif");
} /* Workaround for bug 50217. Please remove this rule, when this bug is fixed. */


