2
* The contents of this file are subject to the Netscape Public
3
* License Version 1.1 (the "License"); you may not use this file
4
* except in compliance with the License. You may obtain a copy of
5
* the License at http://www.mozilla.org/NPL/
7
* Software distributed under the License is distributed on an "AS
8
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
* implied. See the License for the specific language governing
10
* rights and limitations under the License.
12
* The Original Code is Mozilla Communicator client code, released
15
* The Initial Developer of the Original Code is Netscape
16
* Communications Corporation. Portions created by Netscape are
17
* Copyright (C) 1998-2001 Netscape Communications Corporation. All
21
* Scott MacGregor (mscott@netscape.com)
22
* Joe Hewitt (hewitt@netscape.com)
25
/* ===== threadPane.css ==============================================
26
== Styles for the thread pane in the Messenger 3-pane window.
27
======================================================================= */
29
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
31
/* ::::: thread decoration ::::: */
33
treechildren::-moz-tree-cell-text(read) {
37
treechildren::-moz-tree-cell-text(unread) {
41
/* on a collapsed thread, if the top level message is read, but the thread has
42
* unread children, underline the text. 4.x mac did this, very slick
44
treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
45
text-decoration: underline;
48
/* ::::: priority colors ::::: */
50
**** Priority colors currently not being used at the moment. It has been
51
**** disabled so as to not conflict with the labels color feature.
53
treechildren::-moz-tree-cell-text(priorityCol, priority-highest) {
57
treechildren::-moz-tree-cell-text(priorityCol, priority-high) {
58
color: rgb(128, 0, 0);
61
treechildren::-moz-tree-cell-text(priorityCol, priority-lowest) {
62
color: rgb(170, 170, 170);
65
treechildren::-moz-tree-cell-text(priorityCol, priority-low) {
66
color: rgb(85, 85, 85);
69
treechildren::-moz-tree-cell-text(priorityCol, selected) {
70
color: -moz-DialogText;
73
treechildren::-moz-tree-cell-text(priorityCol, selected, focus) {
78
/* ::::: message icons ::::: */
80
/* ::::: message column icons ::::: */
82
/* ..... thread column ..... */
84
treecol.threadColumnHeader {
85
list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif");
88
treecol.threadColumnHeader[sortDirection="ascending"] {
89
list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
92
treecol.threadColumnHeader[sortDirection="descending"] {
93
list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
96
treechildren::-moz-tree-image(threadCol, container) {
97
list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
100
treechildren::-moz-tree-image(threadCol, container, open) {
101
list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
104
treechildren::-moz-tree-image(threadCol, container, hasUnread) {
105
list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
108
treechildren::-moz-tree-image(threadCol, container, hasUnread, open) {
109
list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
112
/* ..... read column ..... */
114
treecol.readColumnHeader {
115
list-style-image: url("chrome://messenger/skin/icons/readcol.gif");
118
treechildren::-moz-tree-image(unreadButtonColHeader) {
119
list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
122
treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
123
list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif");
126
/* ..... flag column ..... */
128
treecol.flagColumnHeader {
129
list-style-image: url("chrome://messenger/skin/icons/flagcol.gif");
132
treechildren::-moz-tree-image(flaggedCol) {
133
list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
136
treechildren::-moz-tree-image(flaggedCol, flagged) {
137
list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif");
140
/* ..... junkStatus column ..... */
142
treecol.junkStatusHeader {
143
list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
144
padding: 0px 4px 0px 0px;
147
/* "unknown" now looks like "not junk". see bug #182386 */
148
treechildren::-moz-tree-image(junkStatusCol) {
149
list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
154
treechildren::-moz-tree-image(junkStatusCol, junk) {
155
list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
159
treechildren::-moz-tree-image(junkStatusCol, notjunk) {
160
list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
165
/* ..... subject column ..... */
167
treechildren::-moz-tree-image(subjectCol) {
169
list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
172
treechildren::-moz-tree-image(subjectCol, new) {
173
list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
176
treechildren::-moz-tree-image(subjectCol, attach) {
177
list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
180
treechildren::-moz-tree-image(subjectCol, imapdeleted) {
181
list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
184
treechildren::-moz-tree-image(subjectCol, offline) {
185
list-style-image: url("chrome://messenger/skin/icons/message-mail-offl.gif");
188
treechildren::-moz-tree-image(subjectCol, new, offline) {
189
list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offl.gif");
192
treechildren::-moz-tree-image(subjectCol, attach, offline) {
193
list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offl.gif");
196
treechildren::-moz-tree-image(subjectCol, imapdeleted, offline) {
197
list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offl.gif");
200
treechildren::-moz-tree-image(subjectCol, news) {
201
list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
204
treechildren::-moz-tree-image(subjectCol, news, attach) {
205
list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
208
treechildren::-moz-tree-image(subjectCol, news, attach, offline) {
209
list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offl.gif");
212
treechildren::-moz-tree-image(subjectCol, news, new) {
213
list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
216
treechildren::-moz-tree-image(subjectCol, news, new, attach) {
217
list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach.gif");
220
treechildren::-moz-tree-image(subjectCol, news, new, attach, offline) {
221
list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-off.gif");
224
treechildren::-moz-tree-image(subjectCol, news, new, offline) {
225
list-style-image: url("chrome://messenger/skin/icons/message-news-new-offl.gif");
228
treechildren::-moz-tree-image(subjectCol, news, offline) {
229
list-style-image: url("chrome://messenger/skin/icons/message-news-offl.gif");
232
/* ..... new thread icons for watch and ignore ..... */
234
treechildren::-moz-tree-image(news, threadCol, watch) {
235
list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
238
treechildren::-moz-tree-image(news, threadCol, ignore) {
239
list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
242
treechildren::-moz-tree-image(news, threadCol, watch, offline) {
243
list-style-image: url("chrome://messenger/skin/icons/thread-closed-offl-eye.gif");
246
treechildren::-moz-tree-image(news, threadCol, ignore, offline) {
247
list-style-image: url("chrome://messenger/skin/icons/thread-closed-offl-kill.gif");
250
treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) {
251
list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
254
treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
255
list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
258
treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) {
259
list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offl-eye.gif");
262
treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) {
263
list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offl-kill.gif");
266
treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
267
list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif");
270
treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
271
list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif");
274
treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) {
275
list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offl-eye.gif");
278
treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) {
279
list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offl-kill.gif");
282
treechildren::-moz-tree-image(news, threadCol, container, watch, open) {
283
list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
286
treechildren::-moz-tree-image(news, threadCol, container, ignore, open) {
287
list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
290
treechildren::-moz-tree-image(news, threadCol, container, watch, open, offline) {
291
list-style-image: url("chrome://messenger/skin/icons/thread-open-offl-eye.gif");
294
treechildren::-moz-tree-image(news, threadCol, container, ignore, open, offline) {
295
list-style-image: url("chrome://messenger/skin/icons/thread-open-offl-kill.gif");