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