14e53ec0007f2b5cebe18cd11f88f40f6acfc6f9
[themes.git] / EarlyBlue / messenger / threadPane.css
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
48 treechildren::-moz-tree-cell-text(read) {
49   font-weight: normal;
50 }
51
52 treechildren::-moz-tree-cell-text(unread) {
53   font-weight: bold;
54 }
55
56 treechildren::-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  */
63 treechildren::-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  ****
72 treechildren::-moz-tree-cell-text(priorityCol, priority-highest) {
73   color: red;
74 }
75
76 treechildren::-moz-tree-cell-text(priorityCol, priority-high) {
77   color: rgb(128, 0, 0);
78 }
79
80 treechildren::-moz-tree-cell-text(priorityCol, priority-lowest) {
81   color: rgb(170, 170, 170);
82 }
83
84 treechildren::-moz-tree-cell-text(priorityCol, priority-low) {
85   color: rgb(85, 85, 85);
86 }
87
88 treechildren::-moz-tree-cell-text(priorityCol, selected) {
89   color: -moz-DialogText;
90 }
91
92 treechildren::-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 treecol.threadColumnHeader {
104   list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif");
105 }
106
107 treecol.threadColumnHeader[sortDirection="ascending"]  {
108   list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
109 }
110
111 treecol.threadColumnHeader[sortDirection="descending"] {
112   list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
113 }
114
115 treechildren::-moz-tree-image(threadCol, container) {
116   list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
117 }
118
119 treechildren::-moz-tree-image(threadCol, container, offline) {
120   list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif");
121 }
122
123 treechildren::-moz-tree-image(threadCol, container, open) {
124   list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
125 }
126
127 treechildren::-moz-tree-image(threadCol, container, open, offline) {
128   list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif");
129 }
130
131 treechildren::-moz-tree-image(threadCol, container, hasUnread) {
132   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
133 }
134
135 treechildren::-moz-tree-image(threadCol, container, hasUnread, offline) {
136   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif");
137 }
138
139 treechildren::-moz-tree-image(threadCol, container, hasUnread, open) {
140   list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
141 }
142
143 treechildren::-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 treecol.readColumnHeader {
150   list-style-image: url("chrome://messenger/skin/icons/readcol.gif");
151 }
152
153 treechildren::-moz-tree-image(unreadButtonColHeader) {
154   list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
155 }
156
157 treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
158   list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif");
159 }
160
161 /* ..... flag column ..... */
162
163 treecol.flagColumnHeader {
164   list-style-image: url("chrome://messenger/skin/icons/flagcol.gif");
165 }
166
167 treechildren::-moz-tree-image(flaggedCol) {
168   list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
169 }
170
171 treechildren::-moz-tree-image(flaggedCol, flagged) {
172   list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif");
173 }
174
175 /* ..... junkStatus column ..... */
176
177 treecol.junkStatusHeader {
178   list-style-image: url("chrome://messenger/skin/icons/message-junk-other.gif");
179 }
180
181 /* "unknown" now looks like "not junk".  see bug #182386 */
182 treechildren::-moz-tree-image(junkStatusCol) {
183   list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
184 }
185
186 treechildren::-moz-tree-image(junkStatusCol, junk) {
187   list-style-image: url("chrome://messenger/skin/icons/message-junk-other.gif");
188 }
189
190 treechildren::-moz-tree-image(junkStatusCol, notjunk) {
191   list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
192 }
193
194 /* ..... subject column ..... */
195
196 treechildren::-moz-tree-image(subjectCol) {
197   margin-right: 2px;
198   list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
199 }
200
201 treechildren::-moz-tree-image(subjectCol, new) {
202   list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
203 }
204
205 treechildren::-moz-tree-image(subjectCol, attach) {
206   list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
207 }
208
209 treechildren::-moz-tree-image(subjectCol, imapdeleted) {
210   list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
211 }
212
213 treechildren::-moz-tree-image(subjectCol, offline) {
214   list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif");
215 }
216
217 treechildren::-moz-tree-image(subjectCol, new, offline) {
218   list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif");
219 }
220
221 treechildren::-moz-tree-image(subjectCol, attach, offline) {
222   list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif");
223 }
224
225 treechildren::-moz-tree-image(subjectCol, imapdeleted, offline) {
226   list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif");
227 }
228
229 treechildren::-moz-tree-image(subjectCol, news) {
230   list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
231 }
232
233 treechildren::-moz-tree-image(subjectCol, news, attach) {
234   list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
235 }
236
237 treechildren::-moz-tree-image(subjectCol, news, attach, offline) {
238   list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif");
239 }
240
241 treechildren::-moz-tree-image(subjectCol, news, new) {
242   list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
243 }
244
245 treechildren::-moz-tree-image(subjectCol, news, new, attach) {
246   list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach.gif");
247 }
248
249 treechildren::-moz-tree-image(subjectCol, news, new, attach, offline) {
250   list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif");
251 }
252
253 treechildren::-moz-tree-image(subjectCol, news, new, offline) {
254   list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif");
255 }
256
257 treechildren::-moz-tree-image(subjectCol, news, offline) {
258   list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif");
259 }
260
261 /* ..... new thread icons for watch and ignore ..... */
262
263 treechildren::-moz-tree-image(news, threadCol, watch) {
264   list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
265 }
266
267 treechildren::-moz-tree-image(news, threadCol, ignore) {
268   list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
269 }
270
271 treechildren::-moz-tree-image(news, threadCol, watch, offline) {
272   list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif");
273 }
274
275 treechildren::-moz-tree-image(news, threadCol, ignore, offline) {
276   list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif");
277 }
278
279 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) {
280   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
281 }
282
283 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
284   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
285 }
286
287 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) {
288   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif");
289 }
290
291 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) {
292   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif");
293 }
294
295 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
296   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif");
297 }
298
299 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
300   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif");
301 }
302
303 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) {
304   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif");
305 }
306
307 treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) {
308   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif");
309 }
310
311 treechildren::-moz-tree-image(news, threadCol, container, watch, open) {
312   list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
313 }
314
315 treechildren::-moz-tree-image(news, threadCol, container, ignore, open) {
316   list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
317 }
318
319 treechildren::-moz-tree-image(news, threadCol, container, watch, open, offline) {
320   list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif");
321 }
322
323 treechildren::-moz-tree-image(news, threadCol, container, ignore, open, offline) {
324   list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif");
325 }
326
327 #sizeCol,
328 #unreadCol,
329 #totalCol {
330   text-align: right;
331 }