sync both themes with suite classic changes in SeaMonkey 2.9 cycle
[themes.git] / EarlyBlue / messenger / threadPane.css
CommitLineData
128000f4 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
f6e0a33f 3 *
128000f4 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/
f6e0a33f 8 *
128000f4 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.
f6e0a33f 13 *
128000f4 14 * The Original Code is mozilla.org code.
15 *
61af9d1c 16 * The Initial Developer of the Original Code is
128000f4 17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998
19 * the Initial Developer. All Rights Reserved.
f6e0a33f 20 *
21 * Contributor(s):
22 * Scott MacGregor (mscott@netscape.com)
23 * Joe Hewitt (hewitt@netscape.com)
128000f4 24 * Robert Kaiser <KaiRo@KaiRo.at>
25 *
26 * Alternatively, the contents of this file may be used under the terms of
61af9d1c 27 * either the GNU General Public License Version 2 or later (the "GPL"), or
128000f4 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");
f6e0a33f 41
42/* ===== threadPane.css ==============================================
43 == Styles for the thread pane in the Messenger 3-pane window.
44 ======================================================================= */
45
74d14f90 46/* ::::: thread decoration ::::: */
f6e0a33f 47
a1f525f0 48treechildren::-moz-tree-cell-text(read) {
74d14f90 49 font-weight: normal;
f6e0a33f 50}
51
a1f525f0 52treechildren::-moz-tree-cell-text(unread) {
f6e0a33f 53 font-weight: bold;
54}
55
61af9d1c 56treechildren::-moz-tree-cell-text(imapdeleted) {
57 text-decoration: line-through;
58}
59
f6e0a33f 60/* on a collapsed thread, if the top level message is read, but the thread has
61af9d1c 61 * unread children, underline the text. 4.x mac did this, very slick
f6e0a33f 62 */
a1f525f0 63treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
f6e0a33f 64 text-decoration: underline;
65}
66
67/* ::::: priority colors ::::: */
74d14f90 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 ****
a1f525f0 72treechildren::-moz-tree-cell-text(priorityCol, priority-highest) {
f6e0a33f 73 color: red;
74}
75
a1f525f0 76treechildren::-moz-tree-cell-text(priorityCol, priority-high) {
f6e0a33f 77 color: rgb(128, 0, 0);
78}
79
a1f525f0 80treechildren::-moz-tree-cell-text(priorityCol, priority-lowest) {
f6e0a33f 81 color: rgb(170, 170, 170);
82}
83
a1f525f0 84treechildren::-moz-tree-cell-text(priorityCol, priority-low) {
f6e0a33f 85 color: rgb(85, 85, 85);
86}
87
a1f525f0 88treechildren::-moz-tree-cell-text(priorityCol, selected) {
f6e0a33f 89 color: -moz-DialogText;
90}
91
a1f525f0 92treechildren::-moz-tree-cell-text(priorityCol, selected, focus) {
f6e0a33f 93 color: HighlightText;
94}
74d14f90 95 ****/
f6e0a33f 96
97/* ::::: message icons ::::: */
98
99/* ::::: message column icons ::::: */
100
101/* ..... thread column ..... */
102
b70a3a73 103.threadColumnHeader {
6102b41b 104 list-style-image: url("chrome://messenger/skin/icons/column-thread-unthread.gif");
f6e0a33f 105}
106
b70a3a73 107.threadColumnHeader[sortDirection="ascending"] {
6102b41b 108 list-style-image: url("chrome://messenger/skin/icons/column-thread.gif");
f6e0a33f 109}
110
b70a3a73 111.threadColumnHeader[sortDirection="descending"] {
6102b41b 112 list-style-image: url("chrome://messenger/skin/icons/column-thread.gif");
f6e0a33f 113}
114
a1f525f0 115treechildren::-moz-tree-image(threadCol, container) {
74d14f90 116 list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
f6e0a33f 117}
118
a1f525f0 119treechildren::-moz-tree-image(threadCol, container, offline) {
8da3cfd5 120 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif");
121}
122
a1f525f0 123treechildren::-moz-tree-image(threadCol, container, open) {
74d14f90 124 list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
f6e0a33f 125}
126
a1f525f0 127treechildren::-moz-tree-image(threadCol, container, open, offline) {
8da3cfd5 128 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif");
129}
130
a1f525f0 131treechildren::-moz-tree-image(threadCol, container, hasUnread) {
74d14f90 132 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
f6e0a33f 133}
134
a1f525f0 135treechildren::-moz-tree-image(threadCol, container, hasUnread, offline) {
8da3cfd5 136 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif");
137}
138
a1f525f0 139treechildren::-moz-tree-image(threadCol, container, hasUnread, open) {
74d14f90 140 list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
f6e0a33f 141}
142
a1f525f0 143treechildren::-moz-tree-image(threadCol, container, hasUnread, open, offline) {
8da3cfd5 144 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif");
145}
146
f6e0a33f 147/* ..... read column ..... */
148
b70a3a73 149.readColumnHeader {
6102b41b 150 list-style-image: url("chrome://messenger/skin/icons/column-read-header.gif");
f6e0a33f 151}
152
a1f525f0 153treechildren::-moz-tree-image(unreadButtonColHeader) {
6102b41b 154 list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif");
f6e0a33f 155}
156
a1f525f0 157treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
6102b41b 158 list-style-image: url("chrome://messenger/skin/icons/column-read-unread.gif");
f6e0a33f 159}
160
b70a3a73 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
f6e0a33f 171/* ..... flag column ..... */
172
b70a3a73 173.flagColumnHeader {
6102b41b 174 list-style-image: url("chrome://messenger/skin/icons/column-flag.gif");
f6e0a33f 175}
176
a1f525f0 177treechildren::-moz-tree-image(flaggedCol) {
6102b41b 178 list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif");
f6e0a33f 179}
180
a1f525f0 181treechildren::-moz-tree-image(flaggedCol, flagged) {
6102b41b 182 list-style-image: url("chrome://messenger/skin/icons/column-flag.gif");
f6e0a33f 183}
184
1431bf9b 185/* ..... junkStatus column ..... */
186
b70a3a73 187.junkStatusHeader {
6102b41b 188 list-style-image: url("chrome://messenger/skin/icons/column-junk.gif");
1431bf9b 189}
190
6102b41b 191/* "unknown" now looks almost like "not junk", but not quite */
a1f525f0 192treechildren::-moz-tree-image(junkStatusCol) {
6102b41b 193 list-style-image: url("chrome://messenger/skin/icons/column-junk-unknown.gif");
1431bf9b 194}
195
a1f525f0 196treechildren::-moz-tree-image(junkStatusCol, junk) {
6102b41b 197 list-style-image: url("chrome://messenger/skin/icons/column-junk.gif");
1431bf9b 198}
199
a1f525f0 200treechildren::-moz-tree-image(junkStatusCol, notjunk) {
6102b41b 201 list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif");
1431bf9b 202}
203
1c10af87
RK
204/* ..... subject column and tab icons ..... */
205
206.tabmail-tab[type="message"] .tab-icon {
1c10af87
RK
207 /* the message icons are only 14px high */
208 height: 14px;
3fcc352e 209 margin-bottom: 2px;
1c10af87
RK
210}
211
212.tabmail-tab[type="message"],
213treechildren::-moz-tree-image(subjectCol) {
3d14c604 214 list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
1c10af87 215}
f6e0a33f 216
a1f525f0 217treechildren::-moz-tree-image(subjectCol) {
8caa872d 218 -moz-margin-end: 2px;
74d14f90 219}
220
a1f525f0 221treechildren::-moz-tree-image(subjectCol, new) {
74d14f90 222 list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
f6e0a33f 223}
224
dce90fef
RK
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
1c10af87
RK
237.tabmail-tab[type="message"][Attachment="true"],
238tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach) {
74d14f90 239 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
f6e0a33f 240}
241
dce90fef
RK
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
1c10af87 254.tabmail-tab[type="message"][IMAPDeleted="true"],
a1f525f0 255treechildren::-moz-tree-image(subjectCol, imapdeleted) {
74d14f90 256 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
f6e0a33f 257}
258
1c10af87 259.tabmail-tab[type="message"][Offline="true"],
a1f525f0 260treechildren::-moz-tree-image(subjectCol, offline) {
74d14f90 261 list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif");
f6e0a33f 262}
263
a1f525f0 264treechildren::-moz-tree-image(subjectCol, new, offline) {
74d14f90 265 list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif");
f6e0a33f 266}
267
dce90fef
RK
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
1c10af87
RK
280.tabmail-tab[type="message"][Attachment="true"][Offline="true"],
281tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, offline) {
74d14f90 282 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif");
f6e0a33f 283}
284
dce90fef
RK
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
1c10af87 297.tabmail-tab[type="message"][IMAPDeleted="true"][Offline="true"],
a1f525f0 298treechildren::-moz-tree-image(subjectCol, imapdeleted, offline) {
74d14f90 299 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif");
f6e0a33f 300}
301
1c10af87
RK
302.tabmail-tab[type="message"][MessageType="rss"],
303.tabmail-tab[type="message"][MessageType="nntp"],
d61a45b2 304treechildren::-moz-tree-image(subjectCol, rss),
a1f525f0 305treechildren::-moz-tree-image(subjectCol, news) {
74d14f90 306 list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
307}
f6e0a33f 308
c1f7cc84
RK
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
1c10af87
RK
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) {
85376731 318 list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
319}
320
c1f7cc84
RK
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
1c10af87
RK
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) {
85376731 330 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif");
331}
332
c1f7cc84
RK
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
d61a45b2 338treechildren::-moz-tree-image(subjectCol, rss, new),
a1f525f0 339treechildren::-moz-tree-image(subjectCol, news, new) {
74d14f90 340 list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
341}
cd130c22 342
1c10af87 343tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, new, attach) {
85376731 344 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach.gif");
345}
346
1c10af87 347tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, new, attach, offline) {
85376731 348 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif");
349}
350
a1f525f0 351treechildren::-moz-tree-image(subjectCol, news, new, offline) {
85376731 352 list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif");
353}
354
1c10af87
RK
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),
a1f525f0 358treechildren::-moz-tree-image(subjectCol, news, offline) {
85376731 359 list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif");
74d14f90 360}
128000f4 361
c1f7cc84
RK
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
8da3cfd5 367/* ..... new thread icons for watch and ignore ..... */
368
a1f525f0 369treechildren::-moz-tree-image(news, threadCol, watch) {
8da3cfd5 370 list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
371}
372
a1f525f0 373treechildren::-moz-tree-image(news, threadCol, ignore) {
8da3cfd5 374 list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
375}
376
a1f525f0 377treechildren::-moz-tree-image(news, threadCol, watch, offline) {
8da3cfd5 378 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif");
379}
380
a1f525f0 381treechildren::-moz-tree-image(news, threadCol, ignore, offline) {
8da3cfd5 382 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif");
383}
384
a1f525f0 385treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) {
8da3cfd5 386 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
387}
388
a1f525f0 389treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
8da3cfd5 390 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
391}
392
a1f525f0 393treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) {
8da3cfd5 394 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif");
395}
396
a1f525f0 397treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) {
8da3cfd5 398 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif");
399}
400
a1f525f0 401treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
8da3cfd5 402 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif");
403}
404
a1f525f0 405treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
8da3cfd5 406 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif");
407}
408
a1f525f0 409treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) {
8da3cfd5 410 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif");
411}
412
a1f525f0 413treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) {
8da3cfd5 414 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif");
415}
416
a1f525f0 417treechildren::-moz-tree-image(news, threadCol, container, watch, open) {
8da3cfd5 418 list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
419}
420
a1f525f0 421treechildren::-moz-tree-image(news, threadCol, container, ignore, open) {
8da3cfd5 422 list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
423}
424
a1f525f0 425treechildren::-moz-tree-image(news, threadCol, container, watch, open, offline) {
8da3cfd5 426 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif");
427}
428
a1f525f0 429treechildren::-moz-tree-image(news, threadCol, container, ignore, open, offline) {
8da3cfd5 430 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif");
431}
432
74d14f90 433#sizeCol,
434#unreadCol,
435#totalCol {
436 text-align: right;
437}