1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* ===== threadPane.css ==============================================
6 == Styles for the thread pane in the Messenger 3-pane window.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
11 /* ::::: thread decoration ::::: */
13 treechildren::-moz-tree-cell-text(read) {
17 treechildren::-moz-tree-cell-text(unread) {
22 treechildren::-moz-tree-cell-text(imapdeleted) {
23 text-decoration: line-through;
26 /* on a collapsed thread, if the top level message is read, but the thread has
27 * unread children, underline the text. 4.x mac did this, very slick
29 treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
30 text-decoration: underline;
34 /* ::::: priority colors ::::: */
37 **** Priority colors currently not being used at the moment. It has been
38 **** disabled so as to not conflict with the labels color feature.
41 treechildren::-moz-tree-cell-text(priorityCol, priority-highest) {
45 treechildren::-moz-tree-cell-text(priorityCol, priority-high) {
46 color: rgb(128, 0, 0);
49 treechildren::-moz-tree-cell-text(priorityCol, priority-lowest) {
50 color: rgb(170, 170, 170);
53 treechildren::-moz-tree-cell-text(priorityCol, priority-low) {
54 color: rgb(85, 85, 85);
57 treechildren::-moz-tree-cell-text(priorityCol, selected) {
58 color: -moz-DialogText;
61 treechildren::-moz-tree-cell-text(priorityCol, selected, focus) {
66 /* ::::: message icons ::::: */
68 /* ::::: message column icons ::::: */
70 /* ..... thread column ..... */
73 list-style-image: url("chrome://messenger/skin/icons/column-thread-unthread.gif");
76 .threadColumnHeader[sortDirection="ascending"] {
77 list-style-image: url("chrome://messenger/skin/icons/column-thread.gif");
80 .threadColumnHeader[sortDirection="descending"] {
81 list-style-image: url("chrome://messenger/skin/icons/column-thread.gif");
84 treechildren::-moz-tree-image(threadCol, container) {
85 list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
88 treechildren::-moz-tree-image(threadCol, container, offline) {
89 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif");
92 treechildren::-moz-tree-image(threadCol, container, open) {
93 list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
96 treechildren::-moz-tree-image(threadCol, container, open, offline) {
97 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif");
100 treechildren::-moz-tree-image(threadCol, container, hasUnread) {
101 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
104 treechildren::-moz-tree-image(threadCol, container, hasUnread, offline) {
105 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif");
108 treechildren::-moz-tree-image(threadCol, container, hasUnread, open) {
109 list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
112 treechildren::-moz-tree-image(threadCol, container, hasUnread, open, offline) {
113 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif");
116 /* ..... read column ..... */
119 list-style-image: url("chrome://messenger/skin/icons/column-read-header.gif");
122 treechildren::-moz-tree-image(unreadButtonColHeader) {
123 list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif");
126 treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
127 list-style-image: url("chrome://messenger/skin/icons/column-read-unread.gif");
130 /* ..... attachment column ..... */
132 .attachmentColumnHeader {
133 list-style-image: url("chrome://messenger/skin/icons/attachment-col.gif");
136 treechildren::-moz-tree-image(attachmentCol, attach) {
137 list-style-image: url("chrome://messenger/skin/icons/attachment.gif");
140 /* ..... flag column ..... */
143 list-style-image: url("chrome://messenger/skin/icons/column-flag.gif");
146 treechildren::-moz-tree-image(flaggedCol) {
147 list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif");
150 treechildren::-moz-tree-image(flaggedCol, flagged) {
151 list-style-image: url("chrome://messenger/skin/icons/column-flag.gif");
154 /* ..... junkStatus column ..... */
157 list-style-image: url("chrome://messenger/skin/icons/column-junk.gif");
160 /* "unknown" now looks almost like "not junk", but not quite */
161 treechildren::-moz-tree-image(junkStatusCol) {
162 list-style-image: url("chrome://messenger/skin/icons/column-junk-unknown.gif");
165 treechildren::-moz-tree-image(junkStatusCol, junk) {
166 list-style-image: url("chrome://messenger/skin/icons/column-junk.gif");
169 treechildren::-moz-tree-image(junkStatusCol, notjunk) {
170 list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif");
173 /* ..... subject column and tab icons ..... */
175 .tabmail-tab[type="message"] .tab-icon {
176 /* the message icons are only 14px high */
181 .tabmail-tab[type="message"],
182 treechildren::-moz-tree-image(subjectCol) {
183 list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
186 treechildren::-moz-tree-image(subjectCol) {
187 -moz-margin-end: 2px;
190 treechildren::-moz-tree-image(subjectCol, new) {
191 list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
194 treechildren::-moz-tree-image(subjectCol, forwarded) {
195 list-style-image: url("chrome://messenger/skin/icons/message-mail-forward.gif");
198 treechildren::-moz-tree-image(subjectCol, replied) {
199 list-style-image: url("chrome://messenger/skin/icons/message-mail-reply.gif");
202 treechildren::-moz-tree-image(subjectCol, forwarded, replied) {
203 list-style-image: url("chrome://messenger/skin/icons/message-mail-forward-reply.gif");
206 .tabmail-tab[type="message"][Attachment="true"],
207 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach) {
208 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
211 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded) {
212 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward.gif");
215 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, replied) {
216 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-reply.gif");
219 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded, replied) {
220 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward-reply.gif");
223 .tabmail-tab[type="message"][IMAPDeleted="true"],
224 treechildren::-moz-tree-image(subjectCol, imapdeleted) {
225 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
228 .tabmail-tab[type="message"][Offline="true"],
229 treechildren::-moz-tree-image(subjectCol, offline) {
230 list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif");
233 treechildren::-moz-tree-image(subjectCol, new, offline) {
234 list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif");
237 treechildren::-moz-tree-image(subjectCol, forwarded, offline) {
238 list-style-image: url("chrome://messenger/skin/icons/message-mail-forward-offline.gif");
241 treechildren::-moz-tree-image(subjectCol, offline, replied) {
242 list-style-image: url("chrome://messenger/skin/icons/message-mail-offline-reply.gif");
245 treechildren::-moz-tree-image(subjectCol, forwarded, offline, replied) {
246 list-style-image: url("chrome://messenger/skin/icons/message-mail-forward-offline-reply.gif");
249 .tabmail-tab[type="message"][Attachment="true"][Offline="true"],
250 treechildren::-moz-tree-image(subjectCol, attach, offline) {
251 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif");
254 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded, offline) {
255 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward-offline.gif");
258 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, offline, replied) {
259 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline-reply.gif");
262 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded, offline, replied) {
263 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward-offline-reply.gif");
266 .tabmail-tab[type="message"][IMAPDeleted="true"][Offline="true"],
267 treechildren::-moz-tree-image(subjectCol, imapdeleted, offline) {
268 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif");
271 .tabmail-tab[type="message"][MessageType="rss"],
272 .tabmail-tab[type="message"][MessageType="nntp"],
273 treechildren::-moz-tree-image(subjectCol, rss),
274 treechildren::-moz-tree-image(subjectCol, news) {
275 list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
278 treechildren::-moz-tree-image(subjectCol, rss, ignoreSubthread),
279 treechildren::-moz-tree-image(subjectCol, news, ignoreSubthread) {
280 list-style-image: url("chrome://messenger/skin/icons/message-news-kill.gif");
283 .tabmail-tab[type="message"][MessageType="rss"][Attachment="true"],
284 .tabmail-tab[type="message"][MessageType="nntp"][Attachment="true"],
285 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach),
286 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach) {
287 list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
290 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, ignoreSubthread),
291 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, ignoreSubthread) {
292 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-kill.gif");
295 .tabmail-tab[type="message"][MessageType="rss"][Attachment="true"][Offline="true"],
296 .tabmail-tab[type="message"][MessageType="nntp"][Attachment="true"][Offline="true"],
297 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, offline),
298 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, offline) {
299 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif");
302 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, offline, ignoreSubthread),
303 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, offline, ignoreSubthread) {
304 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-kill-offline.gif");
307 treechildren::-moz-tree-image(subjectCol, rss, new),
308 treechildren::-moz-tree-image(subjectCol, news, new) {
309 list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
312 tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, new, attach, offline) {
313 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif");
316 treechildren::-moz-tree-image(subjectCol, news, new, offline) {
317 list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif");
320 .tabmail-tab[type="message"][MessageType="rss"][Offline="true"],
321 .tabmail-tab[type="message"][MessageType="nntp"][Offline="true"],
322 treechildren::-moz-tree-image(subjectCol, rss, offline),
323 treechildren::-moz-tree-image(subjectCol, news, offline) {
324 list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif");
327 treechildren::-moz-tree-image(subjectCol, rss, offline, ignoreSubthread),
328 treechildren::-moz-tree-image(subjectCol, news, offline, ignoreSubthread) {
329 list-style-image: url("chrome://messenger/skin/icons/message-news-kill-offline.gif");
332 /* ..... new thread icons for watch and ignore ..... */
334 treechildren::-moz-tree-image(news, threadCol, watch) {
335 list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
338 treechildren::-moz-tree-image(news, threadCol, ignore) {
339 list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
342 treechildren::-moz-tree-image(news, threadCol, watch, offline) {
343 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif");
346 treechildren::-moz-tree-image(news, threadCol, ignore, offline) {
347 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif");
350 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) {
351 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
354 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
355 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
358 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) {
359 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif");
362 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) {
363 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif");
366 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
367 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif");
370 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
371 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif");
374 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) {
375 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif");
378 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) {
379 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif");
382 treechildren::-moz-tree-image(news, threadCol, container, watch, open) {
383 list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
386 treechildren::-moz-tree-image(news, threadCol, container, ignore, open) {
387 list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
390 treechildren::-moz-tree-image(news, threadCol, container, watch, open, offline) {
391 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif");
394 treechildren::-moz-tree-image(news, threadCol, container, ignore, open, offline) {
395 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif");