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