X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fmessenger%2FthreadPane.css;h=903f9ee031ffff8e9e0d5c13a132653d98f31960;hp=bf3e58f099dcd135ef51bb5ea451420007d6f274;hb=3d14c604c18343711c85c7c567a07a17f98c6b07;hpb=a1f525f0c2c8526761b87b460de74e463e4f263f diff --git a/EarlyBlue/messenger/threadPane.css b/EarlyBlue/messenger/threadPane.css index bf3e58f0..903f9ee0 100644 --- a/EarlyBlue/messenger/threadPane.css +++ b/EarlyBlue/messenger/threadPane.css @@ -13,7 +13,7 @@ * * The Original Code is mozilla.org code. * - * The Initial Developer of the Original Code is + * 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. @@ -24,7 +24,7 @@ * Robert Kaiser * * 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 + * 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 @@ -53,8 +53,12 @@ treechildren::-moz-tree-cell-text(unread) { font-weight: bold; } +treechildren::-moz-tree-cell-text(imapdeleted) { + text-decoration: line-through; +} + /* 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 + * unread children, underline the text. 4.x mac did this, very slick */ treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) { text-decoration: underline; @@ -96,16 +100,16 @@ treechildren::-moz-tree-cell-text(priorityCol, selected, focus) { /* ..... thread column ..... */ -treecol.threadColumnHeader { - list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif"); +.threadColumnHeader { + list-style-image: url("chrome://messenger/skin/icons/column-thread-unthread.gif"); } -treecol.threadColumnHeader[sortDirection="ascending"] { - list-style-image: url("chrome://messenger/skin/icons/threadcol.gif"); +.threadColumnHeader[sortDirection="ascending"] { + list-style-image: url("chrome://messenger/skin/icons/column-thread.gif"); } -treecol.threadColumnHeader[sortDirection="descending"] { - list-style-image: url("chrome://messenger/skin/icons/threadcol.gif"); +.threadColumnHeader[sortDirection="descending"] { + list-style-image: url("chrome://messenger/skin/icons/column-thread.gif"); } treechildren::-moz-tree-image(threadCol, container) { @@ -142,70 +146,93 @@ treechildren::-moz-tree-image(threadCol, container, hasUnread, open, offline) { /* ..... read column ..... */ -treecol.readColumnHeader { - list-style-image: url("chrome://messenger/skin/icons/readcol.gif"); +.readColumnHeader { + list-style-image: url("chrome://messenger/skin/icons/column-read-header.gif"); } treechildren::-moz-tree-image(unreadButtonColHeader) { - list-style-image: url("chrome://messenger/skin/icons/readmail.gif"); + list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif"); } treechildren::-moz-tree-image(unreadButtonColHeader, unread) { - list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif"); + list-style-image: url("chrome://messenger/skin/icons/column-read-unread.gif"); +} + +/* ..... attachment column ..... */ + +.attachmentColumnHeader { + list-style-image: url("chrome://messenger/skin/icons/attachment-col.gif"); +} + +treechildren::-moz-tree-image(attachmentCol, attach) { + list-style-image: url("chrome://messenger/skin/icons/attachment.gif"); } /* ..... flag column ..... */ -treecol.flagColumnHeader { - list-style-image: url("chrome://messenger/skin/icons/flagcol.gif"); +.flagColumnHeader { + list-style-image: url("chrome://messenger/skin/icons/column-flag.gif"); } treechildren::-moz-tree-image(flaggedCol) { - list-style-image: url("chrome://messenger/skin/icons/readmail.gif"); + list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif"); } treechildren::-moz-tree-image(flaggedCol, flagged) { - list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif"); + list-style-image: url("chrome://messenger/skin/icons/column-flag.gif"); } /* ..... junkStatus column ..... */ -treecol.junkStatusHeader { - list-style-image: url("chrome://messenger/skin/icons/message-junk-other.gif"); +.junkStatusHeader { + list-style-image: url("chrome://messenger/skin/icons/column-junk.gif"); } -/* "unknown" now looks like "not junk". see bug #182386 */ +/* "unknown" now looks almost like "not junk", but not quite */ treechildren::-moz-tree-image(junkStatusCol) { - list-style-image: url("chrome://messenger/skin/icons/readmail.gif"); + list-style-image: url("chrome://messenger/skin/icons/column-junk-unknown.gif"); } treechildren::-moz-tree-image(junkStatusCol, junk) { - list-style-image: url("chrome://messenger/skin/icons/message-junk-other.gif"); + list-style-image: url("chrome://messenger/skin/icons/column-junk.gif"); } treechildren::-moz-tree-image(junkStatusCol, notjunk) { - list-style-image: url("chrome://messenger/skin/icons/readmail.gif"); + list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif"); } -/* ..... subject column ..... */ +/* ..... subject column and tab icons ..... */ + +.tabmail-tab[type="message"] .tab-icon { + margin-top: -4px; + /* the message icons are only 14px high */ + height: 14px; +} +.tabmail-tab[type="message"], treechildren::-moz-tree-image(subjectCol) { - margin-right: 2px; list-style-image: url("chrome://messenger/skin/icons/message-mail.gif"); } +treechildren::-moz-tree-image(subjectCol) { + -moz-margin-end: 2px; +} + treechildren::-moz-tree-image(subjectCol, new) { list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif"); } -treechildren::-moz-tree-image(subjectCol, attach) { +.tabmail-tab[type="message"][Attachment="true"], +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach) { list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif"); } +.tabmail-tab[type="message"][IMAPDeleted="true"], treechildren::-moz-tree-image(subjectCol, imapdeleted) { list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif"); } +.tabmail-tab[type="message"][Offline="true"], treechildren::-moz-tree-image(subjectCol, offline) { list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif"); } @@ -214,35 +241,47 @@ treechildren::-moz-tree-image(subjectCol, new, offline) { list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif"); } -treechildren::-moz-tree-image(subjectCol, attach, offline) { +.tabmail-tab[type="message"][Attachment="true"][Offline="true"], +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, offline) { list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif"); } +.tabmail-tab[type="message"][IMAPDeleted="true"][Offline="true"], treechildren::-moz-tree-image(subjectCol, imapdeleted, offline) { list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif"); } +.tabmail-tab[type="message"][MessageType="rss"], +.tabmail-tab[type="message"][MessageType="nntp"], +treechildren::-moz-tree-image(subjectCol, rss), treechildren::-moz-tree-image(subjectCol, news) { list-style-image: url("chrome://messenger/skin/icons/message-news.gif"); } -treechildren::-moz-tree-image(subjectCol, news, attach) { +.tabmail-tab[type="message"][MessageType="rss"][Attachment="true"], +.tabmail-tab[type="message"][MessageType="nntp"][Attachment="true"], +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach), +tree[noattachcol="true"] > 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) { +.tabmail-tab[type="message"][MessageType="rss"][Attachment="true"][Offline="true"], +.tabmail-tab[type="message"][MessageType="nntp"][Attachment="true"][Offline="true"], +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, offline), +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, offline) { list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif"); } +treechildren::-moz-tree-image(subjectCol, rss, new), 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) { +tree[noattachcol="true"] > 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) { +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, new, attach, offline) { list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif"); } @@ -250,6 +289,9 @@ treechildren::-moz-tree-image(subjectCol, news, new, offline) { list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif"); } +.tabmail-tab[type="message"][MessageType="rss"][Offline="true"], +.tabmail-tab[type="message"][MessageType="nntp"][Offline="true"], +treechildren::-moz-tree-image(subjectCol, rss, offline), treechildren::-moz-tree-image(subjectCol, news, offline) { list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif"); }