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