-/* -*- Mode: C++; tab-width: 4; 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
+ * Copyright (C) 1998-2001 Netscape Communications Corporation. All
* Rights Reserved.
+ *
+ * Contributor(s):
+ * Scott MacGregor (mscott@netscape.com)
+ * Joe Hewitt (hewitt@netscape.com)
+ * Robert Kaiser (KaiRo@KaiRo.at)
*/
+/* ===== 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");
+
+/* ::::: outliner rows ::::: */
outliner:focus > outliner-bodybox
{
border: 1px solid transparent;
}
-outlinercol.threadColumnHeader {
- list-style-image: url("chrome://messenger/skin/unthreadcol.gif");
-}
-
-outlinercol.threadColumnHeader[sortDirection="ascending"] {
- list-style-image: url("chrome://messenger/skin/threadcol.gif");
-}
-
-outlinercol.threadColumnHeader[sortDirection="descending"] {
- list-style-image: url("chrome://messenger/skin/threadcol.gif");
-}
-
-outlinercol.readColumnHeader {
- list-style-image: url("chrome://messenger/skin/unreadmail.gif");
-}
-
-outlinercol.flagColumnHeader {
- list-style-image: url("chrome://messenger/skin/flaggedmail.gif");
-}
-
outlinerbody:-moz-outliner-cell-text(unread)
{
font-weight: bold;
font-style: italic;
}
+/* ::::: priority colors ::::: */
+
outlinerbody:-moz-outliner-cell-text(priority-highest)
{
color:red;
color: rgb(85, 85, 85);
}
+/* ::::: message icons ::::: */
+/* ::::: message column icons ::::: */
-/*
-
+/* ..... thread column ..... */
-.tree-thread-row.unread-true {
- font-weight: bold;
-}
-.prioritycol-highest
-{
- color:red;
-}
-.prioritycol-high
-{
- color: rgb(128, 0, 0);
+outlinercol.threadColumnHeader {
+ list-style-image: url("chrome://messenger/skin/unthreadcol.gif");
}
-.prioritycol-lowest
-{
- color: rgb(170, 170, 170);
+outlinercol.threadColumnHeader[sortDirection="ascending"] {
+ list-style-image: url("chrome://messenger/skin/threadcol.gif");
}
-.prioritycol-low
-{
- color: rgb(85, 85, 85);
+outlinercol.threadColumnHeader[sortDirection="descending"] {
+ list-style-image: url("chrome://messenger/skin/threadcol.gif");
}
-.tree-cell-threadpane-icon {
- list-style-image: url("chrome://messenger/skin/message-mail.gif");
- min-height: 14px;
+outlinerbody:-moz-outliner-image(threadCol, container) {
+ list-style-image: url("chrome://messenger/skin/thread-closed.gif");
}
-.tree-cell-threadpane-icon.status-new {
- list-style-image: url("chrome://messenger/skin/message-mail-new.gif");
+outlinerbody:-moz-outliner-image(threadCol, container, open) {
+ list-style-image: url("chrome://messenger/skin/thread-open.gif");
}
-.tree-cell-threadpane-icon.message-type-news {
- list-style-image: url("chrome://messenger/skin/message-news.gif");
+outlinerbody:-moz-outliner-image(threadCol, container, hasUnread) {
+ list-style-image: url("chrome://messenger/skin/thread-new-closed.gif");
}
-.tree-cell-threadpane-icon.message-type-news.status-new {
- list-style-image: url("chrome://messenger/skin/message-news-new.gif");
+outlinerbody:-moz-outliner-image(threadCol, container, hasUnread, open) {
+ list-style-image: url("chrome://messenger/skin/thread-new-open.gif");
}
-.tree-cell-threadpane-icon.message-type-mail.has-attachment-true {
- list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");
-}
+/* ..... read column ..... */
-.tree-cell-threadpane-icon.is-imap-deleted-true {
- list-style-image: url("chrome://messenger/skin/message-mail-imapdelete.gif");
+outlinercol.readColumnHeader {
+ list-style-image: url("chrome://messenger/skin/unreadmail.gif");
}
-.unreadcol-false {
+outlinerbody:-moz-outliner-image(unreadButtonColHeader) {
list-style-image: url("chrome://messenger/skin/readmail.gif");
- min-height: 14px;
}
-.unreadcol-true {
+outlinerbody:-moz-outliner-image(unreadButtonColHeader, unread) {
list-style-image: url("chrome://messenger/skin/unreadmail.gif");
}
-.flagcol-unflagged {
- list-style-image: url("chrome://messenger/skin/readmail.gif");
- min-height: 14px;
-}
+/* ..... flag column ..... */
-.flagcol-flagged {
+outlinercol.flagColumnHeader {
list-style-image: url("chrome://messenger/skin/flaggedmail.gif");
}
-treeitem > treerow > .threadcol-thread {
- list-style-image: url("chrome://messenger/skin/thread-closed.gif");
+outlinerbody:-moz-outliner-image(flaggedCol) {
+ list-style-image: url("chrome://messenger/skin/readmail.gif");
}
-treeitem[open="true"] > treerow > .threadcol-thread {
- list-style-image: url("chrome://messenger/skin/thread-open.gif");
+outlinerbody:-moz-outliner-image(flaggedCol, flagged) {
+ list-style-image: url("chrome://messenger/skin/flaggedmail.gif");
}
-treeitem > treerow > .threadcol-threadWithUnread {
- list-style-image: url("chrome://messenger/skin/thread-new-closed.gif");
-}
+/* ..... subject column ..... */
-treeitem[open="true"] > treerow > .threadcol-threadWithUnread {
- list-style-image: url("chrome://messenger/skin/thread-new-open.gif");
+outlinerbody:-moz-outliner-image(subjectCol) {
+ list-style-image: url("chrome://messenger/skin/message-mail.gif");
}
-.threadColumnHeader[currentView="threaded"]
- {
- list-style-image: url("chrome://messenger/skin/threadcol.gif");
- text-align: left;
- }
-
-.threadColumnHeader[currentView="unthreaded"]
- {
- list-style-image: url("chrome://messenger/skin/unthreadcol.gif");
- text-align: center;
- }
+outlinerbody:-moz-outliner-image(subjectCol, new) {
+ list-style-image: url("chrome://messenger/skin/message-mail-new.gif");
+}
-.readColumnHeader
- {
- list-style-image: url("chrome://messenger/skin/unreadmail.gif");
- text-align: center;
- }
+outlinerbody:-moz-outliner-image(subjectCol, attach) {
+ list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");
+}
-.flagColumnHeader
- {
- list-style-image: url("chrome://messenger/skin/flaggedmail.gif");
- text-align: center;
- }
+outlinerbody:-moz-outliner-image(subjectCol, imapdeleted) {
+ list-style-image: url("chrome://messenger/skin/message-mail-imapdelete.gif");
+}
-treeitem[empty="true"] > treerow > .tree-cell-threadpane-icon > .tree-cell-twisty
- {
- visibility : hidden;
- }
+outlinerbody:-moz-outliner-image(subjectCol, news) {
+ list-style-image: url("chrome://messenger/skin/message-news.gif");
+}
-#threadTree
- {
- border-top : none;
- }
+outlinerbody:-moz-outliner-image(subjectCol, news, new) {
+ list-style-image: url("chrome://messenger/skin/message-news-new.gif");
+}
-*/