1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Netscape Public License
5 * Version 1.1 (the "License"); you may not use this file except in
6 * compliance with the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/NPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
14 * The Original Code is mozilla.org code.
16 * The Initial Developer of the Original Code is
17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998
19 * the Initial Developer. All Rights Reserved.
22 * Scott MacGregor (mscott@netscape.com)
23 * Joe Hewitt (hewitt@netscape.com)
24 * Robert Kaiser <KaiRo@KaiRo.at>
26 * Alternatively, the contents of this file may be used under the terms of
27 * either the GNU General Public License Version 2 or later (the "GPL"), or
28 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 * in which case the provisions of the GPL or the LGPL are applicable instead
30 * of those above. If you wish to allow use of your version of this file only
31 * under the terms of either the GPL or the LGPL, and not to allow others to
32 * use your version of this file under the terms of the NPL, indicate your
33 * decision by deleting the provisions above and replace them with the notice
34 * and other provisions required by the GPL or the LGPL. If you do not delete
35 * the provisions above, a recipient may use your version of this file under
36 * the terms of any one of the NPL, the GPL or the LGPL.
38 * ***** END LICENSE BLOCK ***** */
40 /* ===== threadPane.css ==============================================
41 == Styles for the thread pane in the Messenger 3-pane window.
42 ======================================================================= */
44 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
46 /* ::::: thread decoration ::::: */
48 treechildren::-moz-tree-cell-text(read) {
52 treechildren::-moz-tree-cell-text(unread) {
56 treechildren::-moz-tree-cell-text(imapdeleted) {
57 text-decoration: line-through;
60 /* on a collapsed thread, if the top level message is read, but the thread has
61 * unread children, underline the text. 4.x mac did this, very slick
63 treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
64 text-decoration: underline;
67 /* ::::: priority colors ::::: */
70 **** Priority colors currently not being used at the moment. It has been
71 **** disabled so as to not conflict with the labels color feature.
74 treechildren::-moz-tree-cell-text(priorityCol, priority-highest) {
78 treechildren::-moz-tree-cell-text(priorityCol, priority-high) {
79 color: rgb(128, 0, 0);
82 treechildren::-moz-tree-cell-text(priorityCol, priority-lowest) {
83 color: rgb(170, 170, 170);
86 treechildren::-moz-tree-cell-text(priorityCol, priority-low) {
87 color: rgb(85, 85, 85);
90 treechildren::-moz-tree-cell-text(priorityCol, selected) {
91 color: -moz-DialogText;
94 treechildren::-moz-tree-cell-text(priorityCol, selected, focus) {
99 /* ::::: message icons ::::: */
101 /* ::::: message column icons ::::: */
103 /* ..... thread column ..... */
105 .threadColumnHeader {
106 list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif");
109 .threadColumnHeader[sortDirection="ascending"] {
110 list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
113 .threadColumnHeader[sortDirection="descending"] {
114 list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
117 treechildren::-moz-tree-image(threadCol, container) {
118 list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
121 treechildren::-moz-tree-image(threadCol, container, offline) {
122 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif");
125 treechildren::-moz-tree-image(threadCol, container, open) {
126 list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
129 treechildren::-moz-tree-image(threadCol, container, open, offline) {
130 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif");
133 treechildren::-moz-tree-image(threadCol, container, hasUnread) {
134 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
137 treechildren::-moz-tree-image(threadCol, container, hasUnread, offline) {
138 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif");
141 treechildren::-moz-tree-image(threadCol, container, hasUnread, open) {
142 list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
145 treechildren::-moz-tree-image(threadCol, container, hasUnread, open, offline) {
146 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif");
149 /* ..... read column ..... */
152 list-style-image: url("chrome://messenger/skin/icons/readcol.gif");
155 treechildren::-moz-tree-image(unreadButtonColHeader) {
156 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
159 treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
160 list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif");
163 /* ..... attachment column ..... */
165 .attachmentColumnHeader {
166 list-style-image: url("chrome://messenger/skin/icons/attachment-col.gif");
169 treechildren::-moz-tree-image(attachmentCol, attach) {
170 list-style-image: url("chrome://messenger/skin/icons/attachment.gif");
173 /* ..... flag column ..... */
176 list-style-image: url("chrome://messenger/skin/icons/flagcol.gif");
179 treechildren::-moz-tree-image(flaggedCol) {
180 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
183 treechildren::-moz-tree-image(flaggedCol, flagged) {
184 list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif");
187 /* ..... junkStatus column ..... */
190 list-style-image: url("chrome://messenger/skin/icons/message-junk-other.gif");
193 /* "unknown" now looks like "not junk". see bug #182386 */
194 treechildren::-moz-tree-image(junkStatusCol) {
195 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
198 treechildren::-moz-tree-image(junkStatusCol, junk) {
199 list-style-image: url("chrome://messenger/skin/icons/message-junk-other.gif");
202 treechildren::-moz-tree-image(junkStatusCol, notjunk) {
203 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
206 /* ..... subject column ..... */
208 treechildren::-moz-tree-image(subjectCol) {
209 list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
212 treechildren::-moz-tree-image(subjectCol, new) {
213 list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
216 treechildren::-moz-tree-image(subjectCol, attach) {
217 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
220 treechildren::-moz-tree-image(subjectCol, imapdeleted) {
221 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
224 treechildren::-moz-tree-image(subjectCol, offline) {
225 list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif");
228 treechildren::-moz-tree-image(subjectCol, new, offline) {
229 list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif");
232 treechildren::-moz-tree-image(subjectCol, attach, offline) {
233 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif");
236 treechildren::-moz-tree-image(subjectCol, imapdeleted, offline) {
237 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif");
240 treechildren::-moz-tree-image(subjectCol, news) {
241 list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
244 treechildren::-moz-tree-image(subjectCol, news, attach) {
245 list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
248 treechildren::-moz-tree-image(subjectCol, news, attach, offline) {
249 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif");
252 treechildren::-moz-tree-image(subjectCol, news, new) {
253 list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
256 treechildren::-moz-tree-image(subjectCol, news, new, attach, offline) {
257 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif");
260 treechildren::-moz-tree-image(subjectCol, news, new, offline) {
261 list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif");
264 treechildren::-moz-tree-image(subjectCol, news, offline) {
265 list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif");
268 /* ..... new thread icons for watch and ignore ..... */
270 treechildren::-moz-tree-image(news, threadCol, watch) {
271 list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
274 treechildren::-moz-tree-image(news, threadCol, ignore) {
275 list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
278 treechildren::-moz-tree-image(news, threadCol, watch, offline) {
279 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif");
282 treechildren::-moz-tree-image(news, threadCol, ignore, offline) {
283 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif");
286 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) {
287 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
290 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
291 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
294 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) {
295 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif");
298 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) {
299 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif");
302 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
303 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif");
306 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
307 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif");
310 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) {
311 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif");
314 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) {
315 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif");
318 treechildren::-moz-tree-image(news, threadCol, container, watch, open) {
319 list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
322 treechildren::-moz-tree-image(news, threadCol, container, ignore, open) {
323 list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
326 treechildren::-moz-tree-image(news, threadCol, container, watch, open, offline) {
327 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif");
330 treechildren::-moz-tree-image(news, threadCol, container, ignore, open, offline) {
331 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif");