/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 * 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-1999 Netscape Communications Corporation. All
 * Rights Reserved.
 */

/* basic mail folders */
tree.mail-folders treeitem > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/Folder.gif");
}

tree.mail-folders treeitem[open="true"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/FolderO.gif");
}

tree.mail-folders treeitem[IsServer="true"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/Server.gif");
}

/* special folder */
tree.mail-folders treeitem[SpecialFolder="Inbox"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/FolderInbox.gif");
}

tree.mail-folders treeitem[SpecialFolder="Inbox"][open="true"] > treerow > treecell > .tree-icon
{
    list-style-image: url("chrome://messenger/skin/FolderInboxO.gif");
}

tree.mail-folders treeitem[SpecialFolder="Trash"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/FolderTrash.gif");
}

tree.mail-folders treeitem[SpecialFolder="Trash"][open="true"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/FolderTrashO.gif");
}

tree.mail-folders treeitem[SpecialFolder="Sent"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/FolderSent.gif");
}

tree.mail-folders treeitem[SpecialFolder="Sent"][open="true"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/FolderSentO.gif");
}

tree.mail-folders treeitem[SpecialFolder="Templates"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/FolderTemplate.gif");
}

tree.mail-folders treeitem[SpecialFolder="Templates"][open="true"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/FolderTemplateO.gif");
}

tree.mail-folders treeitem[SpecialFolder="Drafts"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/FolderDraft.gif");
}

tree.mail-folders treeitem[SpecialFolder="Drafts"][open="true"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/FolderDraftO.gif");
}

tree.mail-folders treeitem[SpecialFolder="Unsent Messages"] > treerow > treecell > .tree-icon 
{
 list-style-image: url("chrome://messenger/skin/FolderOutbox.gif");
}

tree.mail-folders treeitem[BiffState="NewMail"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/FolderNew.gif");
}

tree.mail-folders treeitem[SpecialFolder="Inbox"][BiffState="NewMail"] > treerow > treecell > .tree-icon
{
 list-style-image: url("chrome://messenger/skin/FolderInboxNew.gif");
}

/* IMAP folders */
tree.mail-folders treeitem[ServerType="imap"] > treerow > treecell > .tree-icon
{
    list-style-image: url("chrome://messenger/skin/FolderServer.gif");
}

tree.mail-folders treeitem[ServerType="imap"][open="true"] > treerow > treecell > .tree-icon
{
    list-style-image: url("chrome://messenger/skin/FolderServerO.gif");
}

tree.mail-folders treeitem[IsServer="true"][ServerType="imap"] > treerow > treecell > .tree-icon
{
    list-style-image: url("chrome://messenger/skin/ServerRemote.gif");
}


/* News folders */
tree.mail-folders treeitem[ServerType="nntp"] > treerow > treecell > .tree-icon
{
    list-style-image: url("chrome://messenger/skin/FolderNewsgroup.gif");
}

tree.mail-folders treeitem[IsServer="true"][ServerType="nntp"] > treerow > treecell > .tree-icon
{
    list-style-image: url("chrome://messenger/skin/ServerNews.gif");
}

