sync both themes with suite classic changes in SeaMonkey 2.9 cycle
[themes.git] / EarlyBlue / messenger / threadPane.css
... / ...
CommitLineData
1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
3 *
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/
8 *
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
12 * License.
13 *
14 * The Original Code is mozilla.org code.
15 *
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.
20 *
21 * Contributor(s):
22 * Scott MacGregor (mscott@netscape.com)
23 * Joe Hewitt (hewitt@netscape.com)
24 * Robert Kaiser <KaiRo@KaiRo.at>
25 *
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.
37 *
38 * ***** END LICENSE BLOCK ***** */
39
40@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
41
42/* ===== threadPane.css ==============================================
43 == Styles for the thread pane in the Messenger 3-pane window.
44 ======================================================================= */
45
46/* ::::: thread decoration ::::: */
47
48treechildren::-moz-tree-cell-text(read) {
49 font-weight: normal;
50}
51
52treechildren::-moz-tree-cell-text(unread) {
53 font-weight: bold;
54}
55
56treechildren::-moz-tree-cell-text(imapdeleted) {
57 text-decoration: line-through;
58}
59
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
62 */
63treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
64 text-decoration: underline;
65}
66
67/* ::::: priority colors ::::: */
68/****
69 **** Priority colors currently not being used at the moment. It has been
70 **** disabled so as to not conflict with the labels color feature.
71 ****
72treechildren::-moz-tree-cell-text(priorityCol, priority-highest) {
73 color: red;
74}
75
76treechildren::-moz-tree-cell-text(priorityCol, priority-high) {
77 color: rgb(128, 0, 0);
78}
79
80treechildren::-moz-tree-cell-text(priorityCol, priority-lowest) {
81 color: rgb(170, 170, 170);
82}
83
84treechildren::-moz-tree-cell-text(priorityCol, priority-low) {
85 color: rgb(85, 85, 85);
86}
87
88treechildren::-moz-tree-cell-text(priorityCol, selected) {
89 color: -moz-DialogText;
90}
91
92treechildren::-moz-tree-cell-text(priorityCol, selected, focus) {
93 color: HighlightText;
94}
95 ****/
96
97/* ::::: message icons ::::: */
98
99/* ::::: message column icons ::::: */
100
101/* ..... thread column ..... */
102
103.threadColumnHeader {
104 list-style-image: url("chrome://messenger/skin/icons/column-thread-unthread.gif");
105}
106
107.threadColumnHeader[sortDirection="ascending"] {
108 list-style-image: url("chrome://messenger/skin/icons/column-thread.gif");
109}
110
111.threadColumnHeader[sortDirection="descending"] {
112 list-style-image: url("chrome://messenger/skin/icons/column-thread.gif");
113}
114
115treechildren::-moz-tree-image(threadCol, container) {
116 list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
117}
118
119treechildren::-moz-tree-image(threadCol, container, offline) {
120 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif");
121}
122
123treechildren::-moz-tree-image(threadCol, container, open) {
124 list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
125}
126
127treechildren::-moz-tree-image(threadCol, container, open, offline) {
128 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif");
129}
130
131treechildren::-moz-tree-image(threadCol, container, hasUnread) {
132 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
133}
134
135treechildren::-moz-tree-image(threadCol, container, hasUnread, offline) {
136 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif");
137}
138
139treechildren::-moz-tree-image(threadCol, container, hasUnread, open) {
140 list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
141}
142
143treechildren::-moz-tree-image(threadCol, container, hasUnread, open, offline) {
144 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif");
145}
146
147/* ..... read column ..... */
148
149.readColumnHeader {
150 list-style-image: url("chrome://messenger/skin/icons/column-read-header.gif");
151}
152
153treechildren::-moz-tree-image(unreadButtonColHeader) {
154 list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif");
155}
156
157treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
158 list-style-image: url("chrome://messenger/skin/icons/column-read-unread.gif");
159}
160
161/* ..... attachment column ..... */
162
163.attachmentColumnHeader {
164 list-style-image: url("chrome://messenger/skin/icons/attachment-col.gif");
165}
166
167treechildren::-moz-tree-image(attachmentCol, attach) {
168 list-style-image: url("chrome://messenger/skin/icons/attachment.gif");
169}
170
171/* ..... flag column ..... */
172
173.flagColumnHeader {
174 list-style-image: url("chrome://messenger/skin/icons/column-flag.gif");
175}
176
177treechildren::-moz-tree-image(flaggedCol) {
178 list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif");
179}
180
181treechildren::-moz-tree-image(flaggedCol, flagged) {
182 list-style-image: url("chrome://messenger/skin/icons/column-flag.gif");
183}
184
185/* ..... junkStatus column ..... */
186
187.junkStatusHeader {
188 list-style-image: url("chrome://messenger/skin/icons/column-junk.gif");
189}
190
191/* "unknown" now looks almost like "not junk", but not quite */
192treechildren::-moz-tree-image(junkStatusCol) {
193 list-style-image: url("chrome://messenger/skin/icons/column-junk-unknown.gif");
194}
195
196treechildren::-moz-tree-image(junkStatusCol, junk) {
197 list-style-image: url("chrome://messenger/skin/icons/column-junk.gif");
198}
199
200treechildren::-moz-tree-image(junkStatusCol, notjunk) {
201 list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif");
202}
203
204/* ..... subject column and tab icons ..... */
205
206.tabmail-tab[type="message"] .tab-icon {
207 /* the message icons are only 14px high */
208 height: 14px;
209 margin-bottom: 2px;
210}
211
212.tabmail-tab[type="message"],
213treechildren::-moz-tree-image(subjectCol) {
214 list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
215}
216
217treechildren::-moz-tree-image(subjectCol) {
218 -moz-margin-end: 2px;
219}
220
221treechildren::-moz-tree-image(subjectCol, new) {
222 list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
223}
224
225treechildren::-moz-tree-image(subjectCol, forwarded) {
226 list-style-image: url("chrome://messenger/skin/icons/message-mail-forward.gif");
227}
228
229treechildren::-moz-tree-image(subjectCol, replied) {
230 list-style-image: url("chrome://messenger/skin/icons/message-mail-reply.gif");
231}
232
233treechildren::-moz-tree-image(subjectCol, forwarded, replied) {
234 list-style-image: url("chrome://messenger/skin/icons/message-mail-forward-reply.gif");
235}
236
237.tabmail-tab[type="message"][Attachment="true"],
238tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach) {
239 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
240}
241
242tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded) {
243 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward.gif");
244}
245
246tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, replied) {
247 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-reply.gif");
248}
249
250tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded, replied) {
251 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward-reply.gif");
252}
253
254.tabmail-tab[type="message"][IMAPDeleted="true"],
255treechildren::-moz-tree-image(subjectCol, imapdeleted) {
256 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
257}
258
259.tabmail-tab[type="message"][Offline="true"],
260treechildren::-moz-tree-image(subjectCol, offline) {
261 list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif");
262}
263
264treechildren::-moz-tree-image(subjectCol, new, offline) {
265 list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif");
266}
267
268treechildren::-moz-tree-image(subjectCol, forwarded, offline) {
269 list-style-image: url("chrome://messenger/skin/icons/message-mail-forward-offline.gif");
270}
271
272treechildren::-moz-tree-image(subjectCol, offline, replied) {
273 list-style-image: url("chrome://messenger/skin/icons/message-mail-offline-reply.gif");
274}
275
276treechildren::-moz-tree-image(subjectCol, forwarded, offline, replied) {
277 list-style-image: url("chrome://messenger/skin/icons/message-mail-forward-offline-reply.gif");
278}
279
280.tabmail-tab[type="message"][Attachment="true"][Offline="true"],
281tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, offline) {
282 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif");
283}
284
285tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded, offline) {
286 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward-offline.gif");
287}
288
289tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, offline, replied) {
290 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline-reply.gif");
291}
292
293tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded, offline, replied) {
294 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward-offline-reply.gif");
295}
296
297.tabmail-tab[type="message"][IMAPDeleted="true"][Offline="true"],
298treechildren::-moz-tree-image(subjectCol, imapdeleted, offline) {
299 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif");
300}
301
302.tabmail-tab[type="message"][MessageType="rss"],
303.tabmail-tab[type="message"][MessageType="nntp"],
304treechildren::-moz-tree-image(subjectCol, rss),
305treechildren::-moz-tree-image(subjectCol, news) {
306 list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
307}
308
309treechildren::-moz-tree-image(subjectCol, rss, ignoreSubthread),
310treechildren::-moz-tree-image(subjectCol, news, ignoreSubthread) {
311 list-style-image: url("chrome://messenger/skin/icons/message-news-kill.gif");
312}
313
314.tabmail-tab[type="message"][MessageType="rss"][Attachment="true"],
315.tabmail-tab[type="message"][MessageType="nntp"][Attachment="true"],
316tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach),
317tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach) {
318 list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
319}
320
321tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, ignoreSubthread),
322tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, ignoreSubthread) {
323 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-kill.gif");
324}
325
326.tabmail-tab[type="message"][MessageType="rss"][Attachment="true"][Offline="true"],
327.tabmail-tab[type="message"][MessageType="nntp"][Attachment="true"][Offline="true"],
328tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, offline),
329tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, offline) {
330 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif");
331}
332
333tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, offline, ignoreSubthread),
334tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, offline, ignoreSubthread) {
335 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-kill-offline.gif");
336}
337
338treechildren::-moz-tree-image(subjectCol, rss, new),
339treechildren::-moz-tree-image(subjectCol, news, new) {
340 list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
341}
342
343tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, new, attach) {
344 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach.gif");
345}
346
347tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, new, attach, offline) {
348 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif");
349}
350
351treechildren::-moz-tree-image(subjectCol, news, new, offline) {
352 list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif");
353}
354
355.tabmail-tab[type="message"][MessageType="rss"][Offline="true"],
356.tabmail-tab[type="message"][MessageType="nntp"][Offline="true"],
357treechildren::-moz-tree-image(subjectCol, rss, offline),
358treechildren::-moz-tree-image(subjectCol, news, offline) {
359 list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif");
360}
361
362treechildren::-moz-tree-image(subjectCol, rss, offline, ignoreSubthread),
363treechildren::-moz-tree-image(subjectCol, news, offline, ignoreSubthread) {
364 list-style-image: url("chrome://messenger/skin/icons/message-news-kill-offline.gif");
365}
366
367/* ..... new thread icons for watch and ignore ..... */
368
369treechildren::-moz-tree-image(news, threadCol, watch) {
370 list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
371}
372
373treechildren::-moz-tree-image(news, threadCol, ignore) {
374 list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
375}
376
377treechildren::-moz-tree-image(news, threadCol, watch, offline) {
378 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif");
379}
380
381treechildren::-moz-tree-image(news, threadCol, ignore, offline) {
382 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif");
383}
384
385treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) {
386 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
387}
388
389treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
390 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
391}
392
393treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) {
394 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif");
395}
396
397treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) {
398 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif");
399}
400
401treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
402 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif");
403}
404
405treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
406 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif");
407}
408
409treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) {
410 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif");
411}
412
413treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) {
414 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif");
415}
416
417treechildren::-moz-tree-image(news, threadCol, container, watch, open) {
418 list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
419}
420
421treechildren::-moz-tree-image(news, threadCol, container, ignore, open) {
422 list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
423}
424
425treechildren::-moz-tree-image(news, threadCol, container, watch, open, offline) {
426 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif");
427}
428
429treechildren::-moz-tree-image(news, threadCol, container, ignore, open, offline) {
430 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif");
431}
432
433#sizeCol,
434#unreadCol,
435#totalCol {
436 text-align: right;
437}