/* ***** BEGIN LICENSE BLOCK *****
 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
 *
 * 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.org code.
 *
 * The Initial Developer of the Original Code is 
 * Netscape Communications Corporation.
 * Portions created by the Initial Developer are Copyright (C) 1998
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *  Joe Hewitt <hewitt@netscape.com>
 *  Scott MacGregor (mscott@netscape.com)
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or 
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the NPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the NPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */
 
/* ===== threadPane.css ==============================================
  == Styles for the thread pane in the Messenger 3-pane window.
  ======================================================================= */

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

/* ::::: thread decoration ::::: */

outlinerchildren:-moz-outliner-cell-text(read) {
  font-weight: normal;
}

outlinerchildren:-moz-outliner-cell-text(unread) {
  font-weight: bold;
}

/* on a collapsed thread, if the top level message is read, but the thread has
 * unread children, underline the text.  4.x mac did this, very slick 
 */
outlinerchildren:-moz-outliner-cell-text(container, closed, hasUnread, read) {
  text-decoration: underline;
}

/* ::::: priority colors ::::: */
/****
 ****  Priority colors currently not being used at the moment.  It has been
 ****  disabled so as to not conflict with the labels color feature.
 ****
outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-highest) {
  color: red;
}

outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-high) {
  color: rgb(128, 0, 0);
}

outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-lowest) {
  color: rgb(170, 170, 170);
}

outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-low) {
  color: rgb(85, 85, 85);
}

outlinerchildren:-moz-outliner-cell-text(priorityCol, selected, focus) {
  color: #000000;
}

outlinerchildren:-moz-outliner-cell-text(priorityCol, selected, focus) {
  color: #FFFFFF;
}
 ****/

/* ::::: message icons ::::: */

/* ::::: message column icons ::::: */

/* ..... thread column ..... */

outlinercol.threadColumnHeader {
  list-style-image: url("chrome://messenger/skin/icons/threadcol-unthreaded.gif");
}

outlinercol.threadColumnHeader[sortDirection="ascending"]  {
  list-style-image: url("chrome://messenger/skin/icons/threadcol-threaded.gif");
}

outlinercol.threadColumnHeader[sortDirection="descending"] {
  list-style-image: url("chrome://messenger/skin/icons/threadcol-threaded.gif");
}

outlinerchildren:-moz-outliner-image(threadCol, container) {
  list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
}

outlinerchildren:-moz-outliner-image(threadCol, container, open) {
  list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
}

outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread) {
  list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
}

outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread, open) {
  list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
}

/* ..... read column ..... */

outlinercol.readColumnHeader {
  list-style-image: url("chrome://messenger/skin/icons/readcol-unread.gif");
}

outlinerchildren:-moz-outliner-image(unreadButtonColHeader) {
  list-style-image: url("chrome://messenger/skin/icons/readcol-read.gif");
  padding-left: 0px;
  padding-right: 4px;
}

outlinerchildren:-moz-outliner-image(unreadButtonColHeader, unread) {
  list-style-image: url("chrome://messenger/skin/icons/readcol-unread.gif");
}

/* ..... flag column ..... */

outlinercol.flagColumnHeader {
  list-style-image: url("chrome://messenger/skin/icons/flagcol-flagged.gif");
}

outlinerchildren:-moz-outliner-image(flaggedCol) {
  list-style-image: url("chrome://messenger/skin/icons/readcol-read.gif");
  padding-left: 0px;
  padding-right: 4px;
}

outlinerchildren:-moz-outliner-image(flaggedCol, flagged) {
  list-style-image: url("chrome://messenger/skin/icons/flagcol-flagged.gif");
}

/* ..... subject column ..... */

outlinerchildren:-moz-outliner-image(subjectCol) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, new) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, attach) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, imapdeleted) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, offline) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-mail-offl.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, new, offline) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offl.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, attach, offline) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offl.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, imapdeleted, offline) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-mail-delete-offl.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, news) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, news, new) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, news, attach) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, news, offline) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-news-offl.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, news, new, offline) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-news-new-offl.gif");
}

outlinerchildren:-moz-outliner-image(subjectCol, news, attach, offline) {
  padding-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offl.gif");
}

#sizeCol,
#unreadCol,
#totalCol {
  text-align: right;
}
