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