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 /* on a collapsed thread, if the top level message is read, but the thread has
57 * unread children, underline the text. 4.x mac did this, very slick
59 treechildren:-moz-tree-cell-text(container, closed, hasUnread, read) {
60 text-decoration: underline;
63 /* ::::: priority colors ::::: */
66 **** Priority colors currently not being used at the moment. It has been
67 **** disabled so as to not conflict with the labels color feature.
70 treechildren:-moz-tree-cell-text(priorityCol, priority-highest) {
74 treechildren:-moz-tree-cell-text(priorityCol, priority-high) {
75 color: rgb(128, 0, 0);
78 treechildren:-moz-tree-cell-text(priorityCol, priority-lowest) {
79 color: rgb(170, 170, 170);
82 treechildren:-moz-tree-cell-text(priorityCol, priority-low) {
83 color: rgb(85, 85, 85);
86 treechildren:-moz-tree-cell-text(priorityCol, selected) {
87 color: -moz-DialogText;
90 treechildren:-moz-tree-cell-text(priorityCol, selected, focus) {
95 /* ::::: message icons ::::: */
97 /* ::::: message column icons ::::: */
99 /* ..... thread column ..... */
101 treecol.threadColumnHeader {
102 list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif");
105 treecol.threadColumnHeader[sortDirection="ascending"] {
106 list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
109 treecol.threadColumnHeader[sortDirection="descending"] {
110 list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
113 treechildren:-moz-tree-image(threadCol, container) {
114 list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
117 treechildren:-moz-tree-image(threadCol, container, offline) {
118 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif");
121 treechildren:-moz-tree-image(threadCol, container, open) {
122 list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
125 treechildren:-moz-tree-image(threadCol, container, open, offline) {
126 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif");
129 treechildren:-moz-tree-image(threadCol, container, hasUnread) {
130 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
133 treechildren:-moz-tree-image(threadCol, container, hasUnread, offline) {
134 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif");
137 treechildren:-moz-tree-image(threadCol, container, hasUnread, open) {
138 list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
141 treechildren:-moz-tree-image(threadCol, container, hasUnread, open, offline) {
142 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif");
145 /* ..... read column ..... */
147 treecol.readColumnHeader {
148 list-style-image: url("chrome://messenger/skin/icons/readcol.gif");
151 treechildren:-moz-tree-image(unreadButtonColHeader) {
152 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
155 treechildren:-moz-tree-image(unreadButtonColHeader, unread) {
156 list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif");
159 /* ..... flag column ..... */
161 treecol.flagColumnHeader {
162 list-style-image: url("chrome://messenger/skin/icons/flagcol.gif");
165 treechildren:-moz-tree-image(flaggedCol) {
166 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
169 treechildren:-moz-tree-image(flaggedCol, flagged) {
170 list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif");
173 /* ..... subject column ..... */
175 treechildren:-moz-tree-image(subjectCol) {
176 list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
179 treechildren:-moz-tree-image(subjectCol, new) {
180 list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
183 treechildren:-moz-tree-image(subjectCol, attach) {
184 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
187 treechildren:-moz-tree-image(subjectCol, imapdeleted) {
188 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
191 treechildren:-moz-tree-image(subjectCol, offline) {
192 list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif");
195 treechildren:-moz-tree-image(subjectCol, new, offline) {
196 list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif");
199 treechildren:-moz-tree-image(subjectCol, attach, offline) {
200 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif");
203 treechildren:-moz-tree-image(subjectCol, imapdeleted, offline) {
204 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif");
207 treechildren:-moz-tree-image(subjectCol, news) {
208 list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
211 treechildren:-moz-tree-image(subjectCol, news, attach) {
212 list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
215 treechildren:-moz-tree-image(subjectCol, news, attach, offline) {
216 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif");
219 treechildren:-moz-tree-image(subjectCol, news, new) {
220 list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
223 treechildren:-moz-tree-image(subjectCol, news, new, attach, offline) {
224 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif");
227 treechildren:-moz-tree-image(subjectCol, news, new, offline) {
228 list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif");
231 treechildren:-moz-tree-image(subjectCol, news, offline) {
232 list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif");
235 /* ..... new thread icons for watch and ignore ..... */
237 treechildren:-moz-tree-image(news, threadCol, container, watch) {
238 list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
241 treechildren:-moz-tree-image(news, threadCol, container, ignore) {
242 list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
245 treechildren:-moz-tree-image(news, threadCol, container, watch, offline) {
246 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif");
249 treechildren:-moz-tree-image(news, threadCol, container, ignore, offline) {
250 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif");
253 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch) {
254 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
257 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
258 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
261 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) {
262 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif");
265 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) {
266 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif");
269 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
270 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif");
273 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
274 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif");
277 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) {
278 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif");
281 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) {
282 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif");
285 treechildren:-moz-tree-image(news, threadCol, container, watch, open) {
286 list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
289 treechildren:-moz-tree-image(news, threadCol, container, ignore, open) {
290 list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
293 treechildren:-moz-tree-image(news, threadCol, container, watch, open, offline) {
294 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif");
297 treechildren:-moz-tree-image(news, threadCol, container, ignore, open, offline) {
298 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif");