/* * 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) */ /* ===== 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 ::::: */ treechildren:-moz-tree-cell-text(read) { font-weight: normal; } treechildren:-moz-tree-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 */ treechildren:-moz-tree-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. **** treechildren:-moz-tree-cell-text(priorityCol, priority-highest) { color: red; } treechildren:-moz-tree-cell-text(priorityCol, priority-high) { color: rgb(128, 0, 0); } treechildren:-moz-tree-cell-text(priorityCol, priority-lowest) { color: rgb(170, 170, 170); } treechildren:-moz-tree-cell-text(priorityCol, priority-low) { color: rgb(85, 85, 85); } treechildren:-moz-tree-cell-text(priorityCol, selected) { color: -moz-DialogText; } treechildren:-moz-tree-cell-text(priorityCol, selected, focus) { color: HighlightText; } ****/ /* ::::: message icons ::::: */ /* ::::: message column icons ::::: */ /* ..... thread column ..... */ treecol.threadColumnHeader { list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif"); } treecol.threadColumnHeader[sortDirection="ascending"] { list-style-image: url("chrome://messenger/skin/icons/threadcol.gif"); } treecol.threadColumnHeader[sortDirection="descending"] { list-style-image: url("chrome://messenger/skin/icons/threadcol.gif"); } treechildren:-moz-tree-image(threadCol, container) { list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif"); } treechildren:-moz-tree-image(threadCol, container, open) { list-style-image: url("chrome://messenger/skin/icons/thread-open.gif"); } treechildren:-moz-tree-image(threadCol, container, hasUnread) { list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif"); } treechildren:-moz-tree-image(threadCol, container, hasUnread, open) { list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif"); } /* ..... read column ..... */ treecol.readColumnHeader { list-style-image: url("chrome://messenger/skin/icons/readcol.gif"); } treechildren:-moz-tree-image(unreadButtonColHeader) { list-style-image: url("chrome://messenger/skin/icons/readmail.gif"); } treechildren:-moz-tree-image(unreadButtonColHeader, unread) { list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif"); } /* ..... flag column ..... */ treecol.flagColumnHeader { list-style-image: url("chrome://messenger/skin/icons/flagcol.gif"); } treechildren:-moz-tree-image(flaggedCol) { list-style-image: url("chrome://messenger/skin/icons/readmail.gif"); } treechildren:-moz-tree-image(flaggedCol, flagged) { list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif"); } /* ..... subject column ..... */ treechildren:-moz-tree-image(subjectCol) { margin-right: 2px; list-style-image: url("chrome://messenger/skin/icons/message-mail.gif"); } treechildren:-moz-tree-image(subjectCol, new) { list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif"); } treechildren:-moz-tree-image(subjectCol, attach) { list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif"); } treechildren:-moz-tree-image(subjectCol, imapdeleted) { list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif"); } treechildren:-moz-tree-image(subjectCol, offline) { list-style-image: url("chrome://messenger/skin/icons/message-mail-offl.gif"); } treechildren:-moz-tree-image(subjectCol, new, offline) { list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offl.gif"); } treechildren:-moz-tree-image(subjectCol, attach, offline) { list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offl.gif"); } treechildren:-moz-tree-image(subjectCol, imapdeleted, offline) { list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offl.gif"); } treechildren:-moz-tree-image(subjectCol, news) { list-style-image: url("chrome://messenger/skin/icons/message-news.gif"); } treechildren:-moz-tree-image(subjectCol, news, attach) { list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif"); } treechildren:-moz-tree-image(subjectCol, news, attach, offline) { list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offl.gif"); } treechildren:-moz-tree-image(subjectCol, news, new) { list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif"); } treechildren:-moz-tree-image(subjectCol, news, new, attach) { list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach.gif"); } treechildren:-moz-tree-image(subjectCol, news, new, attach, offline) { list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-off.gif"); } treechildren:-moz-tree-image(subjectCol, news, new, offline) { list-style-image: url("chrome://messenger/skin/icons/message-news-new-offl.gif"); } treechildren:-moz-tree-image(subjectCol, news, offline) { list-style-image: url("chrome://messenger/skin/icons/message-news-offl.gif"); } /* ..... new thread icons for watch and ignore ..... */ treechildren:-moz-tree-image(news, threadCol, watch) { list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif"); } treechildren:-moz-tree-image(news, threadCol, ignore) { list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif"); } treechildren:-moz-tree-image(news, threadCol, watch, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-closed-offl-eye.gif"); } treechildren:-moz-tree-image(news, threadCol, ignore, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-closed-offl-kill.gif"); } treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch) { list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif"); } treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore) { list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif"); } treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offl-eye.gif"); } treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offl-kill.gif"); } treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch, open) { list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif"); } treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) { list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif"); } treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offl-eye.gif"); } treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offl-kill.gif"); } treechildren:-moz-tree-image(news, threadCol, container, watch, open) { list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif"); } treechildren:-moz-tree-image(news, threadCol, container, ignore, open) { list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif"); } treechildren:-moz-tree-image(news, threadCol, container, watch, open, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-open-offl-eye.gif"); } treechildren:-moz-tree-image(news, threadCol, container, ignore, open, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-open-offl-kill.gif"); } #sizeCol, #unreadCol, #totalCol { text-align: right; }