/*
 * 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://communicator/skin/");

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

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

#button-send {
  list-style-image: url("chrome://messenger/skin/messengercompose/btn1/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/btn1/send-dis.gif");
}

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

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

#button-address {
  list-style-image: url("chrome://messenger/skin/messengercompose/btn1/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/btn1/address-dis.gif");
}

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

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

#button-attach {
  list-style-image: url("chrome://messenger/skin/messengercompose/btn1/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/btn1/attach-dis.gif");
}

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

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

#button-quote {
  list-style-image: url("chrome://messenger/skin/messengercompose/btn1/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/btn1/quote-dis.gif");
}

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

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

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

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

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

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

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

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

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

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

#button-stop {
  list-style-image: url("chrome://communicator/skin/btn1/stop.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");
}

#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");
}

/* ::::: header toolbar ::::: */

#attachmentBucket,
#msgSubject,
#msgIdentity {
  -moz-user-focus: normal;
}

/* ..... border adjustments to match toolbar colors ..... */

#attachmentBucket,
#addressingWidgetTree,
#msgSubject {
  border-top: 1px solid #536B86;
  border-right: 1px solid #94A6B9;
  border-bottom: 1px solid #94A6B9;
  border-left: 1px solid #536B86;
}

#msgSubject > .textfield-internal-box {
  border-color: #364556;
}

#msgSubject[focused="true"] {
  border: 1px solid #2D3B49;
}

#addressingWidgetTree > .tree-container-treerows {
  border-top: none;
  border-left: none;
}

#compose-toolbar-sizer {
  border-top: none;
}

/* ..... "From:" menulist menuitems ..... */

/* MOVE TO CONTENT */
.identity-popup-item {
  -moz-binding: url("chrome://messenger/content/messengercompose/mailComposeBindings.xml#fromMenuitem");
}

.composemenu-text-2 {
  color: gray;
  font-style: italic;
}

/* ::::: addressing widget ::::: */

#addressingWidgetTree {
  -moz-user-focus: none;
  border: 1px inset #5B7693;
  width: 0px;
  height: 80px;
}

#listcol-addressingWidget {
  border-right: 1px solid #D3D3E5;
  width: 9em;
}

#addressingWidgetTree > treechildren > treeitem > treerow,
#addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow {
  border: none;
  background-color: inherit;
  color: inherit;
}

.treecell-addressingWidget {
  border-bottom: 1px solid #D3D3E5;
  padding: 0px;
  vertical-align: middle;
}

.treecell-addressingWidget:first-child {
  border-top: none;
  border-bottom: none;
}

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

.aw-menulist {
  margin: 0px;
  border-top: none !important;
  border-left: none !important;
  border-color: #314152;
}

.person-icon {
  -moz-user-focus: ignore;
  margin: 2px 4px 2px 4px;
  border: none;
  list-style-image: url("chrome://messenger/skin/addressbook/icons/person.gif");
}

/* ::::: askSendFormat dialog ::::: */

#askSendFormat {
  width: 40em;
}

#askImageBox {
  vertical-align: top;
}

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

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

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

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

/* ::::: miscellany :::::: */

spring.spacer {
  width: 5px;
  height: 5px;
}

.label {
  color: #FFFFFF;
}

#navprintplus {
  display: none !important;
}

