some updates from the last month
[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 outlinerchildren:-moz-outliner-cell-text(read) {
49   font-weight: normal;
50 }
51
52 outlinerchildren:-moz-outliner-cell-text(unread) {
53   font-weight: bold;
54 }
55
56 /* on a collapsed thread, if the top level message is read, but the thread has
57  * unread children, underline the text.  4.x mac did this, very slick 
58  */
59 outlinerchildren:-moz-outliner-cell-text(container, closed, hasUnread, read) {
60   text-decoration: underline;
61 }
62
63 /* ::::: priority colors ::::: */
64 /****
65  ****  Priority colors currently not being used at the moment.  It has been
66  ****  disabled so as to not conflict with the labels color feature.
67  ****
68 outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-highest) {
69   color: red;
70 }
71
72 outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-high) {
73   color: rgb(128, 0, 0);
74 }
75
76 outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-lowest) {
77   color: rgb(170, 170, 170);
78 }
79
80 outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-low) {
81   color: rgb(85, 85, 85);
82 }
83
84 outlinerchildren:-moz-outliner-cell-text(priorityCol, selected) {
85   color: -moz-DialogText;
86 }
87
88 outlinerchildren:-moz-outliner-cell-text(priorityCol, selected, focus) {
89   color: HighlightText;
90 }
91  ****/
92
93 /* ::::: message icons ::::: */
94
95 /* ::::: message column icons ::::: */
96
97 /* ..... thread column ..... */
98
99 outlinercol.threadColumnHeader {
100   list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif");
101 }
102
103 outlinercol.threadColumnHeader[sortDirection="ascending"]  {
104   list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
105 }
106
107 outlinercol.threadColumnHeader[sortDirection="descending"] {
108   list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
109 }
110
111 outlinerchildren:-moz-outliner-image(threadCol, container) {
112   list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
113 }
114
115 outlinerchildren:-moz-outliner-image(threadCol, container, offline) {
116   list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif");
117 }
118
119 outlinerchildren:-moz-outliner-image(threadCol, container, open) {
120   list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
121 }
122
123 outlinerchildren:-moz-outliner-image(threadCol, container, open, offline) {
124   list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif");
125 }
126
127 outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread) {
128   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
129 }
130
131 outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread, offline) {
132   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif");
133 }
134
135 outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread, open) {
136   list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
137 }
138
139 outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread, open, offline) {
140   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif");
141 }
142
143 /* ..... read column ..... */
144
145 outlinercol.readColumnHeader {
146   list-style-image: url("chrome://messenger/skin/icons/readcol.gif");
147 }
148
149 outlinerchildren:-moz-outliner-image(unreadButtonColHeader) {
150   list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
151 }
152
153 outlinerchildren:-moz-outliner-image(unreadButtonColHeader, unread) {
154   list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif");
155 }
156
157 /* ..... flag column ..... */
158
159 outlinercol.flagColumnHeader {
160   list-style-image: url("chrome://messenger/skin/icons/flagcol.gif");
161 }
162
163 outlinerchildren:-moz-outliner-image(flaggedCol) {
164   list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
165 }
166
167 outlinerchildren:-moz-outliner-image(flaggedCol, flagged) {
168   list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif");
169 }
170
171 /* ..... subject column ..... */
172
173 outlinerchildren:-moz-outliner-image(subjectCol) {
174   padding-right: 2px;
175   list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
176 }
177
178 outlinerchildren:-moz-outliner-image(subjectCol, new) {
179   padding-right: 2px;
180   list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
181 }
182
183 outlinerchildren:-moz-outliner-image(subjectCol, attach) {
184   padding-right: 2px;
185   list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
186 }
187
188 outlinerchildren:-moz-outliner-image(subjectCol, imapdeleted) {
189   padding-right: 2px;
190   list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
191 }
192
193 outlinerchildren:-moz-outliner-image(subjectCol, offline) {
194   padding-right: 2px;
195   list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif");
196 }
197
198 outlinerchildren:-moz-outliner-image(subjectCol, new, offline) {
199   padding-right: 2px;
200   list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif");
201 }
202
203 outlinerchildren:-moz-outliner-image(subjectCol, attach, offline) {
204   padding-right: 2px;
205   list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif");
206 }
207
208 outlinerchildren:-moz-outliner-image(subjectCol, imapdeleted, offline) {
209   padding-right: 2px;
210   list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif");
211 }
212
213 outlinerchildren:-moz-outliner-image(subjectCol, news) {
214   padding-right: 2px;
215   list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
216 }
217
218 outlinerchildren:-moz-outliner-image(subjectCol, news, attach) {
219   padding-right: 2px;
220   list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
221 }
222
223 outlinerchildren:-moz-outliner-image(subjectCol, news, attach, offline) {
224   padding-right: 2px;
225   list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif");
226 }
227
228 outlinerchildren:-moz-outliner-image(subjectCol, news, new) {
229   padding-right: 2px;
230   list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
231 }
232
233 outlinerchildren:-moz-outliner-image(subjectCol, news, new, attach) {
234   padding-right: 2px;
235   list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach.gif");
236 }
237
238 outlinerchildren:-moz-outliner-image(subjectCol, news, new, attach, offline) {
239   padding-right: 2px;
240   list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif");
241 }
242
243 outlinerchildren:-moz-outliner-image(subjectCol, news, new, offline) {
244   padding-right: 2px;
245   list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif");
246 }
247
248 outlinerchildren:-moz-outliner-image(subjectCol, news, offl) {
249   padding-right: 2px;
250   list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif");
251 }
252
253 /* ..... new thread icons for watch and ignore ..... */
254
255 outlinerchildren:-moz-outliner-image(news, threadCol, container, watch) {
256   list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
257 }
258
259 outlinerchildren:-moz-outliner-image(news, threadCol, container, ignore) {
260   list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
261 }
262
263 outlinerchildren:-moz-outliner-image(news, threadCol, container, watch, offline) {
264   list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif");
265 }
266
267 outlinerchildren:-moz-outliner-image(news, threadCol, container, ignore, offline) {
268   list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif");
269 }
270
271 outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, watch) {
272   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
273 }
274
275 outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, ignore) {
276   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
277 }
278
279 outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, watch, offline) {
280   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif");
281 }
282
283 outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, ignore, offline) {
284   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif");
285 }
286
287 outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, watch, open) {
288   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif");
289 }
290
291 outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, ignore, open) {
292   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif");
293 }
294
295 outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, watch, open, offline) {
296   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif");
297 }
298
299 outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, ignore, open, offline) {
300   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif");
301 }
302
303 outlinerchildren:-moz-outliner-image(news, threadCol, container, watch, open) {
304   list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
305 }
306
307 outlinerchildren:-moz-outliner-image(news, threadCol, container, ignore, open) {
308   list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
309 }
310
311 outlinerchildren:-moz-outliner-image(news, threadCol, container, watch, open, offline) {
312   list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif");
313 }
314
315 outlinerchildren:-moz-outliner-image(news, threadCol, container, ignore, open, offline) {
316   list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif");
317 }
318
319 #sizeCol,
320 #unreadCol,
321 #totalCol {
322   text-align: right;
323 }