X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fmessenger%2FthreadPane.css;h=9a84a1e1e3800e9a029523e15c189016e0971262;hp=4fbf1d32dfbd8d72d52e16137e51863189355b1d;hb=dc96f1d66a318c19bb8dc8d6d4420e2d268f2dd6;hpb=e20d243c9ffcc255a5eb40a0bae66bf492e561a7 diff --git a/LCARStrek/messenger/threadPane.css b/LCARStrek/messenger/threadPane.css index 4fbf1d32..9a84a1e1 100644 --- a/LCARStrek/messenger/threadPane.css +++ b/LCARStrek/messenger/threadPane.css @@ -1,41 +1,6 @@ -/* ***** 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): - * Scott MacGregor (mscott@netscape.com) - * Joe Hewitt (hewitt@netscape.com) - * 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 - * 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 ***** */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* ===== threadPane.css ============================================== == Styles for the thread pane in the Messenger 3-pane window. @@ -43,26 +8,27 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -#threadOutliner -{ - border: none; -} - /* ::::: thread decoration ::::: */ -outlinerchildren:-moz-outliner-cell-text(read) { +treechildren::-moz-tree-cell-text(read) { font-weight: normal; } -outlinerchildren:-moz-outliner-cell-text(unread) { +treechildren::-moz-tree-cell-text(unread) { font-weight: bold; + color: #FFCF00; +} + +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 */ -outlinerchildren:-moz-outliner-cell-text(container, closed, hasUnread, read) { +treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) { text-decoration: underline; + color: #FFCF00; } /* ::::: priority colors ::::: */ @@ -72,27 +38,27 @@ outlinerchildren:-moz-outliner-cell-text(container, closed, hasUnread, read) { **** disabled so as to not conflict with the labels color feature. **** -outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-highest) { +treechildren::-moz-tree-cell-text(priorityCol, priority-highest) { color: red; } -outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-high) { +treechildren::-moz-tree-cell-text(priorityCol, priority-high) { color: rgb(128, 0, 0); } -outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-lowest) { +treechildren::-moz-tree-cell-text(priorityCol, priority-lowest) { color: rgb(170, 170, 170); } -outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-low) { +treechildren::-moz-tree-cell-text(priorityCol, priority-low) { color: rgb(85, 85, 85); } -outlinerchildren:-moz-outliner-cell-text(priorityCol, selected) { +treechildren::-moz-tree-cell-text(priorityCol, selected) { color: -moz-DialogText; } -outlinerchildren:-moz-outliner-cell-text(priorityCol, selected, focus) { +treechildren::-moz-tree-cell-text(priorityCol, selected, focus) { color: HighlightText; } ****/ @@ -103,218 +69,329 @@ outlinerchildren:-moz-outliner-cell-text(priorityCol, selected, focus) { /* ..... thread column ..... */ -outlinercol.threadColumnHeader { - list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif"); +.threadColumnHeader { + list-style-image: url("chrome://messenger/skin/icons/column-thread-unthread.gif"); } -outlinercol.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"); } -outlinercol.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"); } -outlinerchildren:-moz-outliner-image(threadCol, container) { +treechildren::-moz-tree-image(threadCol, container) { list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif"); } -outlinerchildren:-moz-outliner-image(threadCol, container, offline) { +treechildren::-moz-tree-image(threadCol, container, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif"); } -outlinerchildren:-moz-outliner-image(threadCol, container, open) { +treechildren::-moz-tree-image(threadCol, container, open) { list-style-image: url("chrome://messenger/skin/icons/thread-open.gif"); } -outlinerchildren:-moz-outliner-image(threadCol, container, open, offline) { +treechildren::-moz-tree-image(threadCol, container, open, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif"); } -outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread) { +treechildren::-moz-tree-image(threadCol, container, hasUnread) { list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif"); } -outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread, offline) { +treechildren::-moz-tree-image(threadCol, container, hasUnread, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif"); } -outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread, open) { +treechildren::-moz-tree-image(threadCol, container, hasUnread, open) { list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif"); } -outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread, open, offline) { +treechildren::-moz-tree-image(threadCol, container, hasUnread, open, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif"); } /* ..... read column ..... */ -outlinercol.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/column-neutral.gif"); +} + +treechildren::-moz-tree-image(unreadButtonColHeader, unread) { + list-style-image: url("chrome://messenger/skin/icons/column-read-unread.gif"); } -outlinerchildren:-moz-outliner-image(unreadButtonColHeader) { - list-style-image: url("chrome://messenger/skin/icons/readmail.gif"); +/* ..... attachment column ..... */ + +.attachmentColumnHeader { + list-style-image: url("chrome://messenger/skin/icons/attachment-col.gif"); } -outlinerchildren:-moz-outliner-image(unreadButtonColHeader, unread) { - list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif"); +treechildren::-moz-tree-image(attachmentCol, attach) { + list-style-image: url("chrome://messenger/skin/icons/attachment.gif"); } /* ..... flag column ..... */ -outlinercol.flagColumnHeader { - list-style-image: url("chrome://messenger/skin/icons/flagcol.gif"); +.flagColumnHeader { + list-style-image: url("chrome://messenger/skin/icons/column-flag.gif"); } -outlinerchildren:-moz-outliner-image(flaggedCol) { - list-style-image: url("chrome://messenger/skin/icons/readmail.gif"); +treechildren::-moz-tree-image(flaggedCol) { + list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif"); } -outlinerchildren:-moz-outliner-image(flaggedCol, flagged) { - list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif"); +treechildren::-moz-tree-image(flaggedCol, flagged) { + list-style-image: url("chrome://messenger/skin/icons/column-flag.gif"); } -/* ..... subject column ..... */ +/* ..... junkStatus column ..... */ + +.junkStatusHeader { + list-style-image: url("chrome://messenger/skin/icons/column-junk.gif"); +} -outlinerchildren:-moz-outliner-image(subjectCol) { - padding-right: 2px; +/* "unknown" now looks almost like "not junk", but not quite */ +treechildren::-moz-tree-image(junkStatusCol) { + 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/column-junk.gif"); +} + +treechildren::-moz-tree-image(junkStatusCol, notjunk) { + list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif"); +} + +/* ..... subject column and tab icons ..... */ + +.tabmail-tab[type="message"] .tab-icon { + /* the message icons are only 14px high */ + height: 14px; + margin-bottom: 2px; +} + +.tabmail-tab[type="message"], +treechildren::-moz-tree-image(subjectCol) { list-style-image: url("chrome://messenger/skin/icons/message-mail.gif"); } -outlinerchildren:-moz-outliner-image(subjectCol, new) { - padding-right: 2px; +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"); } -outlinerchildren:-moz-outliner-image(subjectCol, attach) { - padding-right: 2px; +treechildren::-moz-tree-image(subjectCol, forwarded) { + list-style-image: url("chrome://messenger/skin/icons/message-mail-forward.gif"); +} + +treechildren::-moz-tree-image(subjectCol, replied) { + list-style-image: url("chrome://messenger/skin/icons/message-mail-reply.gif"); +} + +treechildren::-moz-tree-image(subjectCol, forwarded, replied) { + list-style-image: url("chrome://messenger/skin/icons/message-mail-forward-reply.gif"); +} + +.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"); } -outlinerchildren:-moz-outliner-image(subjectCol, imapdeleted) { - padding-right: 2px; +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded) { + list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward.gif"); +} + +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, replied) { + list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-reply.gif"); +} + +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded, replied) { + list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward-reply.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"); } -outlinerchildren:-moz-outliner-image(subjectCol, offline) { - padding-right: 2px; +.tabmail-tab[type="message"][Offline="true"], +treechildren::-moz-tree-image(subjectCol, offline) { list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif"); } -outlinerchildren:-moz-outliner-image(subjectCol, new, offline) { - padding-right: 2px; +treechildren::-moz-tree-image(subjectCol, new, offline) { list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif"); } -outlinerchildren:-moz-outliner-image(subjectCol, attach, offline) { - padding-right: 2px; +treechildren::-moz-tree-image(subjectCol, forwarded, offline) { + list-style-image: url("chrome://messenger/skin/icons/message-mail-forward-offline.gif"); +} + +treechildren::-moz-tree-image(subjectCol, offline, replied) { + list-style-image: url("chrome://messenger/skin/icons/message-mail-offline-reply.gif"); +} + +treechildren::-moz-tree-image(subjectCol, forwarded, offline, replied) { + list-style-image: url("chrome://messenger/skin/icons/message-mail-forward-offline-reply.gif"); +} + +.tabmail-tab[type="message"][Attachment="true"][Offline="true"], +treechildren::-moz-tree-image(subjectCol, attach, offline) { list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif"); } -outlinerchildren:-moz-outliner-image(subjectCol, imapdeleted, offline) { - padding-right: 2px; +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded, offline) { + list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward-offline.gif"); +} + +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, offline, replied) { + list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline-reply.gif"); +} + +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded, offline, replied) { + list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward-offline-reply.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"); } -outlinerchildren:-moz-outliner-image(subjectCol, news) { - padding-right: 2px; +.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"); } -outlinerchildren:-moz-outliner-image(subjectCol, news, attach) { - padding-right: 2px; +treechildren::-moz-tree-image(subjectCol, rss, ignoreSubthread), +treechildren::-moz-tree-image(subjectCol, news, ignoreSubthread) { + list-style-image: url("chrome://messenger/skin/icons/message-news-kill.gif"); +} + +.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"); } -outlinerchildren:-moz-outliner-image(subjectCol, news, attach, offline) { - padding-right: 2px; +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, ignoreSubthread), +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, ignoreSubthread) { + list-style-image: url("chrome://messenger/skin/icons/message-news-attach-kill.gif"); +} + +.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"); } -outlinerchildren:-moz-outliner-image(subjectCol, news, new) { - padding-right: 2px; +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, offline, ignoreSubthread), +tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, offline, ignoreSubthread) { + list-style-image: url("chrome://messenger/skin/icons/message-news-attach-kill-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"); } -outlinerchildren:-moz-outliner-image(subjectCol, news, new, attach, offline) { - padding-right: 2px; +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"); } -outlinerchildren:-moz-outliner-image(subjectCol, news, new, offline) { - padding-right: 2px; +treechildren::-moz-tree-image(subjectCol, news, new, offline) { list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif"); } -outlinerchildren:-moz-outliner-image(subjectCol, news, offline) { - padding-right: 2px; +.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"); } +treechildren::-moz-tree-image(subjectCol, rss, offline, ignoreSubthread), +treechildren::-moz-tree-image(subjectCol, news, offline, ignoreSubthread) { + list-style-image: url("chrome://messenger/skin/icons/message-news-kill-offline.gif"); +} + /* ..... new thread icons for watch and ignore ..... */ -outlinerchildren:-moz-outliner-image(news, threadCol, container, watch) { +treechildren::-moz-tree-image(news, threadCol, watch) { list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, ignore) { +treechildren::-moz-tree-image(news, threadCol, ignore) { list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, watch, offline) { +treechildren::-moz-tree-image(news, threadCol, watch, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, ignore, offline) { +treechildren::-moz-tree-image(news, threadCol, ignore, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, watch) { +treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) { list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, ignore) { +treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) { list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, watch, offline) { +treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, ignore, offline) { +treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, watch, open) { +treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) { list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, ignore, open) { +treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) { list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, watch, open, offline) { +treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, ignore, open, offline) { +treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, watch, open) { +treechildren::-moz-tree-image(news, threadCol, container, watch, open) { list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, ignore, open) { +treechildren::-moz-tree-image(news, threadCol, container, ignore, open) { list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, watch, open, offline) { +treechildren::-moz-tree-image(news, threadCol, container, watch, open, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif"); } -outlinerchildren:-moz-outliner-image(news, threadCol, container, ignore, open, offline) { +treechildren::-moz-tree-image(news, threadCol, container, ignore, open, offline) { list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif"); }