update diff script for rapid release and update both themes to the state of SeaMonkey...
[themes.git] / LCARStrek / messenger / threadPane.css
CommitLineData
351107c9 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 *
242fc635 16 * The Initial Developer of the Original Code is
351107c9 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
242fc635 27 * either the GNU General Public License Version 2 or later (the "GPL"), or
351107c9 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/* ===== threadPane.css ==============================================
41 == Styles for the thread pane in the Messenger 3-pane window.
42 ======================================================================= */
43
44@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
45
b1eaa419 46/* ::::: thread decoration ::::: */
351107c9 47
01fc5c11 48treechildren::-moz-tree-cell-text(read) {
b1eaa419 49 font-weight: normal;
351107c9 50}
51
01fc5c11 52treechildren::-moz-tree-cell-text(unread) {
351107c9 53 font-weight: bold;
f1d07a65 54 color: #FFCF00;
351107c9 55}
56
242fc635 57treechildren::-moz-tree-cell-text(imapdeleted) {
58 text-decoration: line-through;
59}
60
351107c9 61/* on a collapsed thread, if the top level message is read, but the thread has
242fc635 62 * unread children, underline the text. 4.x mac did this, very slick
351107c9 63 */
01fc5c11 64treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
351107c9 65 text-decoration: underline;
f1d07a65 66 color: #FFCF00;
351107c9 67}
68
69/* ::::: priority colors ::::: */
70
b1eaa419 71/****
72 **** Priority colors currently not being used at the moment. It has been
73 **** disabled so as to not conflict with the labels color feature.
74 ****
75
01fc5c11 76treechildren::-moz-tree-cell-text(priorityCol, priority-highest) {
351107c9 77 color: red;
78}
79
01fc5c11 80treechildren::-moz-tree-cell-text(priorityCol, priority-high) {
351107c9 81 color: rgb(128, 0, 0);
82}
83
01fc5c11 84treechildren::-moz-tree-cell-text(priorityCol, priority-lowest) {
351107c9 85 color: rgb(170, 170, 170);
86}
87
01fc5c11 88treechildren::-moz-tree-cell-text(priorityCol, priority-low) {
351107c9 89 color: rgb(85, 85, 85);
90}
91
01fc5c11 92treechildren::-moz-tree-cell-text(priorityCol, selected) {
351107c9 93 color: -moz-DialogText;
94}
95
01fc5c11 96treechildren::-moz-tree-cell-text(priorityCol, selected, focus) {
351107c9 97 color: HighlightText;
98}
b1eaa419 99 ****/
351107c9 100
101/* ::::: message icons ::::: */
102
103/* ::::: message column icons ::::: */
104
105/* ..... thread column ..... */
106
57d23eae 107.threadColumnHeader {
ee6cb01c 108 list-style-image: url("chrome://messenger/skin/icons/column-thread-unthread.gif");
351107c9 109}
110
57d23eae 111.threadColumnHeader[sortDirection="ascending"] {
ee6cb01c 112 list-style-image: url("chrome://messenger/skin/icons/column-thread.gif");
351107c9 113}
114
57d23eae 115.threadColumnHeader[sortDirection="descending"] {
ee6cb01c 116 list-style-image: url("chrome://messenger/skin/icons/column-thread.gif");
b1eaa419 117}
118
01fc5c11 119treechildren::-moz-tree-image(threadCol, container) {
b1eaa419 120 list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
121}
122
01fc5c11 123treechildren::-moz-tree-image(threadCol, container, offline) {
b1eaa419 124 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif");
351107c9 125}
126
01fc5c11 127treechildren::-moz-tree-image(threadCol, container, open) {
b1eaa419 128 list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
351107c9 129}
130
01fc5c11 131treechildren::-moz-tree-image(threadCol, container, open, offline) {
b1eaa419 132 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif");
351107c9 133}
134
01fc5c11 135treechildren::-moz-tree-image(threadCol, container, hasUnread) {
b1eaa419 136 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
351107c9 137}
138
01fc5c11 139treechildren::-moz-tree-image(threadCol, container, hasUnread, offline) {
b1eaa419 140 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif");
141}
142
01fc5c11 143treechildren::-moz-tree-image(threadCol, container, hasUnread, open) {
b1eaa419 144 list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
145}
146
01fc5c11 147treechildren::-moz-tree-image(threadCol, container, hasUnread, open, offline) {
b1eaa419 148 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif");
351107c9 149}
150
151/* ..... read column ..... */
152
57d23eae 153.readColumnHeader {
ee6cb01c 154 list-style-image: url("chrome://messenger/skin/icons/column-read-header.gif");
351107c9 155}
156
01fc5c11 157treechildren::-moz-tree-image(unreadButtonColHeader) {
ee6cb01c 158 list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif");
351107c9 159}
160
01fc5c11 161treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
ee6cb01c 162 list-style-image: url("chrome://messenger/skin/icons/column-read-unread.gif");
351107c9 163}
164
57d23eae 165/* ..... attachment column ..... */
166
167.attachmentColumnHeader {
168 list-style-image: url("chrome://messenger/skin/icons/attachment-col.gif");
169}
170
171treechildren::-moz-tree-image(attachmentCol, attach) {
172 list-style-image: url("chrome://messenger/skin/icons/attachment.gif");
173}
174
351107c9 175/* ..... flag column ..... */
176
57d23eae 177.flagColumnHeader {
ee6cb01c 178 list-style-image: url("chrome://messenger/skin/icons/column-flag.gif");
351107c9 179}
180
01fc5c11 181treechildren::-moz-tree-image(flaggedCol) {
ee6cb01c 182 list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif");
351107c9 183}
184
01fc5c11 185treechildren::-moz-tree-image(flaggedCol, flagged) {
ee6cb01c 186 list-style-image: url("chrome://messenger/skin/icons/column-flag.gif");
351107c9 187}
188
a3b3d4d6 189/* ..... junkStatus column ..... */
190
57d23eae 191.junkStatusHeader {
ee6cb01c 192 list-style-image: url("chrome://messenger/skin/icons/column-junk.gif");
a3b3d4d6 193}
194
ee6cb01c 195/* "unknown" now looks almost like "not junk", but not quite */
01fc5c11 196treechildren::-moz-tree-image(junkStatusCol) {
ee6cb01c 197 list-style-image: url("chrome://messenger/skin/icons/column-junk-unknown.gif");
a3b3d4d6 198}
199
01fc5c11 200treechildren::-moz-tree-image(junkStatusCol, junk) {
ee6cb01c 201 list-style-image: url("chrome://messenger/skin/icons/column-junk.gif");
a3b3d4d6 202}
203
01fc5c11 204treechildren::-moz-tree-image(junkStatusCol, notjunk) {
ee6cb01c 205 list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif");
a3b3d4d6 206}
207
1c10af87
RK
208/* ..... subject column and tab icons ..... */
209
210.tabmail-tab[type="message"] .tab-icon {
1c10af87
RK
211 /* the message icons are only 14px high */
212 height: 14px;
e7c6f7bf 213 margin-bottom: 2px;
1c10af87
RK
214}
215
216.tabmail-tab[type="message"],
217treechildren::-moz-tree-image(subjectCol) {
3d14c604 218 list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
1c10af87 219}
351107c9 220
01fc5c11 221treechildren::-moz-tree-image(subjectCol) {
8caa872d 222 -moz-margin-end: 2px;
b1eaa419 223}
224
01fc5c11 225treechildren::-moz-tree-image(subjectCol, new) {
b1eaa419 226 list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
227}
228
1c10af87
RK
229.tabmail-tab[type="message"][Attachment="true"],
230tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach) {
b1eaa419 231 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
232}
233
1c10af87 234.tabmail-tab[type="message"][IMAPDeleted="true"],
01fc5c11 235treechildren::-moz-tree-image(subjectCol, imapdeleted) {
b1eaa419 236 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
237}
238
1c10af87 239.tabmail-tab[type="message"][Offline="true"],
01fc5c11 240treechildren::-moz-tree-image(subjectCol, offline) {
b1eaa419 241 list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif");
242}
243
01fc5c11 244treechildren::-moz-tree-image(subjectCol, new, offline) {
b1eaa419 245 list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif");
246}
247
1c10af87 248.tabmail-tab[type="message"][Attachment="true"][Offline="true"],
01fc5c11 249treechildren::-moz-tree-image(subjectCol, attach, offline) {
b1eaa419 250 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif");
251}
252
1c10af87 253.tabmail-tab[type="message"][IMAPDeleted="true"][Offline="true"],
01fc5c11 254treechildren::-moz-tree-image(subjectCol, imapdeleted, offline) {
b1eaa419 255 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif");
256}
257
1c10af87
RK
258.tabmail-tab[type="message"][MessageType="rss"],
259.tabmail-tab[type="message"][MessageType="nntp"],
c710949d 260treechildren::-moz-tree-image(subjectCol, rss),
01fc5c11 261treechildren::-moz-tree-image(subjectCol, news) {
b1eaa419 262 list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
351107c9 263}
264
c1f7cc84
RK
265treechildren::-moz-tree-image(subjectCol, rss, ignoreSubthread),
266treechildren::-moz-tree-image(subjectCol, news, ignoreSubthread) {
267 list-style-image: url("chrome://messenger/skin/icons/message-news-kill.gif");
268}
269
1c10af87
RK
270.tabmail-tab[type="message"][MessageType="rss"][Attachment="true"],
271.tabmail-tab[type="message"][MessageType="nntp"][Attachment="true"],
272tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach),
273tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach) {
b1eaa419 274 list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
351107c9 275}
276
c1f7cc84
RK
277tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, ignoreSubthread),
278tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, ignoreSubthread) {
279 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-kill.gif");
280}
281
1c10af87
RK
282.tabmail-tab[type="message"][MessageType="rss"][Attachment="true"][Offline="true"],
283.tabmail-tab[type="message"][MessageType="nntp"][Attachment="true"][Offline="true"],
284tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, offline),
285tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, offline) {
b1eaa419 286 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif");
351107c9 287}
288
c1f7cc84
RK
289tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, offline, ignoreSubthread),
290tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, offline, ignoreSubthread) {
291 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-kill-offline.gif");
292}
293
c710949d 294treechildren::-moz-tree-image(subjectCol, rss, new),
01fc5c11 295treechildren::-moz-tree-image(subjectCol, news, new) {
b1eaa419 296 list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
351107c9 297}
298
1c10af87 299tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, new, attach, offline) {
b1eaa419 300 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif");
351107c9 301}
302
01fc5c11 303treechildren::-moz-tree-image(subjectCol, news, new, offline) {
b1eaa419 304 list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif");
351107c9 305}
306
1c10af87
RK
307.tabmail-tab[type="message"][MessageType="rss"][Offline="true"],
308.tabmail-tab[type="message"][MessageType="nntp"][Offline="true"],
309treechildren::-moz-tree-image(subjectCol, rss, offline),
01fc5c11 310treechildren::-moz-tree-image(subjectCol, news, offline) {
b1eaa419 311 list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif");
312}
313
c1f7cc84
RK
314treechildren::-moz-tree-image(subjectCol, rss, offline, ignoreSubthread),
315treechildren::-moz-tree-image(subjectCol, news, offline, ignoreSubthread) {
316 list-style-image: url("chrome://messenger/skin/icons/message-news-kill-offline.gif");
317}
318
b1eaa419 319/* ..... new thread icons for watch and ignore ..... */
320
01fc5c11 321treechildren::-moz-tree-image(news, threadCol, watch) {
b1eaa419 322 list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
323}
324
01fc5c11 325treechildren::-moz-tree-image(news, threadCol, ignore) {
b1eaa419 326 list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
327}
328
01fc5c11 329treechildren::-moz-tree-image(news, threadCol, watch, offline) {
b1eaa419 330 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif");
331}
332
01fc5c11 333treechildren::-moz-tree-image(news, threadCol, ignore, offline) {
b1eaa419 334 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif");
335}
336
01fc5c11 337treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) {
b1eaa419 338 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
339}
340
01fc5c11 341treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
b1eaa419 342 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
343}
344
01fc5c11 345treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) {
b1eaa419 346 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif");
347}
348
01fc5c11 349treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) {
b1eaa419 350 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif");
351}
352
01fc5c11 353treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
b1eaa419 354 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif");
355}
356
01fc5c11 357treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
b1eaa419 358 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif");
359}
360
01fc5c11 361treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) {
b1eaa419 362 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif");
363}
364
01fc5c11 365treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) {
b1eaa419 366 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif");
367}
368
01fc5c11 369treechildren::-moz-tree-image(news, threadCol, container, watch, open) {
b1eaa419 370 list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
371}
372
01fc5c11 373treechildren::-moz-tree-image(news, threadCol, container, ignore, open) {
b1eaa419 374 list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
375}
376
01fc5c11 377treechildren::-moz-tree-image(news, threadCol, container, watch, open, offline) {
b1eaa419 378 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif");
379}
380
01fc5c11 381treechildren::-moz-tree-image(news, threadCol, container, ignore, open, offline) {
b1eaa419 382 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif");
383}
384
385#sizeCol,
386#unreadCol,
387#totalCol {
388 text-align: right;
351107c9 389}