128000f4 |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
f6e0a33f |
3 | * |
128000f4 |
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/ |
f6e0a33f |
8 | * |
128000f4 |
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. |
f6e0a33f |
13 | * |
128000f4 |
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. |
f6e0a33f |
20 | * |
21 | * Contributor(s): |
22 | * Scott MacGregor (mscott@netscape.com) |
23 | * Joe Hewitt (hewitt@netscape.com) |
128000f4 |
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"); |
f6e0a33f |
41 | |
42 | /* ===== threadPane.css ============================================== |
43 | == Styles for the thread pane in the Messenger 3-pane window. |
44 | ======================================================================= */ |
45 | |
74d14f90 |
46 | /* ::::: thread decoration ::::: */ |
f6e0a33f |
47 | |
e1597424 |
48 | treechildren:-moz-tree-cell-text(read) { |
74d14f90 |
49 | font-weight: normal; |
f6e0a33f |
50 | } |
51 | |
e1597424 |
52 | treechildren:-moz-tree-cell-text(unread) { |
f6e0a33f |
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 | */ |
e1597424 |
59 | treechildren:-moz-tree-cell-text(container, closed, hasUnread, read) { |
f6e0a33f |
60 | text-decoration: underline; |
61 | } |
62 | |
63 | /* ::::: priority colors ::::: */ |
74d14f90 |
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 | **** |
e1597424 |
68 | treechildren:-moz-tree-cell-text(priorityCol, priority-highest) { |
f6e0a33f |
69 | color: red; |
70 | } |
71 | |
e1597424 |
72 | treechildren:-moz-tree-cell-text(priorityCol, priority-high) { |
f6e0a33f |
73 | color: rgb(128, 0, 0); |
74 | } |
75 | |
e1597424 |
76 | treechildren:-moz-tree-cell-text(priorityCol, priority-lowest) { |
f6e0a33f |
77 | color: rgb(170, 170, 170); |
78 | } |
79 | |
e1597424 |
80 | treechildren:-moz-tree-cell-text(priorityCol, priority-low) { |
f6e0a33f |
81 | color: rgb(85, 85, 85); |
82 | } |
83 | |
e1597424 |
84 | treechildren:-moz-tree-cell-text(priorityCol, selected) { |
f6e0a33f |
85 | color: -moz-DialogText; |
86 | } |
87 | |
e1597424 |
88 | treechildren:-moz-tree-cell-text(priorityCol, selected, focus) { |
f6e0a33f |
89 | color: HighlightText; |
90 | } |
74d14f90 |
91 | ****/ |
f6e0a33f |
92 | |
93 | /* ::::: message icons ::::: */ |
94 | |
95 | /* ::::: message column icons ::::: */ |
96 | |
97 | /* ..... thread column ..... */ |
98 | |
e1597424 |
99 | treecol.threadColumnHeader { |
74d14f90 |
100 | list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif"); |
f6e0a33f |
101 | } |
102 | |
e1597424 |
103 | treecol.threadColumnHeader[sortDirection="ascending"] { |
74d14f90 |
104 | list-style-image: url("chrome://messenger/skin/icons/threadcol.gif"); |
f6e0a33f |
105 | } |
106 | |
e1597424 |
107 | treecol.threadColumnHeader[sortDirection="descending"] { |
74d14f90 |
108 | list-style-image: url("chrome://messenger/skin/icons/threadcol.gif"); |
f6e0a33f |
109 | } |
110 | |
e1597424 |
111 | treechildren:-moz-tree-image(threadCol, container) { |
74d14f90 |
112 | list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif"); |
f6e0a33f |
113 | } |
114 | |
e1597424 |
115 | treechildren:-moz-tree-image(threadCol, container, offline) { |
8da3cfd5 |
116 | list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif"); |
117 | } |
118 | |
e1597424 |
119 | treechildren:-moz-tree-image(threadCol, container, open) { |
74d14f90 |
120 | list-style-image: url("chrome://messenger/skin/icons/thread-open.gif"); |
f6e0a33f |
121 | } |
122 | |
e1597424 |
123 | treechildren:-moz-tree-image(threadCol, container, open, offline) { |
8da3cfd5 |
124 | list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif"); |
125 | } |
126 | |
e1597424 |
127 | treechildren:-moz-tree-image(threadCol, container, hasUnread) { |
74d14f90 |
128 | list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif"); |
f6e0a33f |
129 | } |
130 | |
e1597424 |
131 | treechildren:-moz-tree-image(threadCol, container, hasUnread, offline) { |
8da3cfd5 |
132 | list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif"); |
133 | } |
134 | |
e1597424 |
135 | treechildren:-moz-tree-image(threadCol, container, hasUnread, open) { |
74d14f90 |
136 | list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif"); |
f6e0a33f |
137 | } |
138 | |
e1597424 |
139 | treechildren:-moz-tree-image(threadCol, container, hasUnread, open, offline) { |
8da3cfd5 |
140 | list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif"); |
141 | } |
142 | |
f6e0a33f |
143 | /* ..... read column ..... */ |
144 | |
e1597424 |
145 | treecol.readColumnHeader { |
74d14f90 |
146 | list-style-image: url("chrome://messenger/skin/icons/readcol.gif"); |
f6e0a33f |
147 | } |
148 | |
e1597424 |
149 | treechildren:-moz-tree-image(unreadButtonColHeader) { |
74d14f90 |
150 | list-style-image: url("chrome://messenger/skin/icons/readmail.gif"); |
f6e0a33f |
151 | } |
152 | |
e1597424 |
153 | treechildren:-moz-tree-image(unreadButtonColHeader, unread) { |
74d14f90 |
154 | list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif"); |
f6e0a33f |
155 | } |
156 | |
157 | /* ..... flag column ..... */ |
158 | |
e1597424 |
159 | treecol.flagColumnHeader { |
74d14f90 |
160 | list-style-image: url("chrome://messenger/skin/icons/flagcol.gif"); |
f6e0a33f |
161 | } |
162 | |
e1597424 |
163 | treechildren:-moz-tree-image(flaggedCol) { |
74d14f90 |
164 | list-style-image: url("chrome://messenger/skin/icons/readmail.gif"); |
f6e0a33f |
165 | } |
166 | |
e1597424 |
167 | treechildren:-moz-tree-image(flaggedCol, flagged) { |
74d14f90 |
168 | list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif"); |
f6e0a33f |
169 | } |
170 | |
171 | /* ..... subject column ..... */ |
172 | |
e1597424 |
173 | treechildren:-moz-tree-image(subjectCol) { |
174 | margin-right: 2px; |
74d14f90 |
175 | list-style-image: url("chrome://messenger/skin/icons/message-mail.gif"); |
176 | } |
177 | |
e1597424 |
178 | treechildren:-moz-tree-image(subjectCol, new) { |
74d14f90 |
179 | list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif"); |
f6e0a33f |
180 | } |
181 | |
e1597424 |
182 | treechildren:-moz-tree-image(subjectCol, attach) { |
74d14f90 |
183 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif"); |
f6e0a33f |
184 | } |
185 | |
e1597424 |
186 | treechildren:-moz-tree-image(subjectCol, imapdeleted) { |
74d14f90 |
187 | list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif"); |
f6e0a33f |
188 | } |
189 | |
e1597424 |
190 | treechildren:-moz-tree-image(subjectCol, offline) { |
74d14f90 |
191 | list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif"); |
f6e0a33f |
192 | } |
193 | |
e1597424 |
194 | treechildren:-moz-tree-image(subjectCol, new, offline) { |
74d14f90 |
195 | list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif"); |
f6e0a33f |
196 | } |
197 | |
e1597424 |
198 | treechildren:-moz-tree-image(subjectCol, attach, offline) { |
74d14f90 |
199 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif"); |
f6e0a33f |
200 | } |
201 | |
e1597424 |
202 | treechildren:-moz-tree-image(subjectCol, imapdeleted, offline) { |
74d14f90 |
203 | list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif"); |
f6e0a33f |
204 | } |
205 | |
e1597424 |
206 | treechildren:-moz-tree-image(subjectCol, news) { |
74d14f90 |
207 | list-style-image: url("chrome://messenger/skin/icons/message-news.gif"); |
208 | } |
f6e0a33f |
209 | |
e1597424 |
210 | treechildren:-moz-tree-image(subjectCol, news, attach) { |
85376731 |
211 | list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif"); |
212 | } |
213 | |
e1597424 |
214 | treechildren:-moz-tree-image(subjectCol, news, attach, offline) { |
85376731 |
215 | list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif"); |
216 | } |
217 | |
e1597424 |
218 | treechildren:-moz-tree-image(subjectCol, news, new) { |
74d14f90 |
219 | list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif"); |
220 | } |
cd130c22 |
221 | |
e1597424 |
222 | treechildren:-moz-tree-image(subjectCol, news, new, attach) { |
85376731 |
223 | list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach.gif"); |
224 | } |
225 | |
e1597424 |
226 | treechildren:-moz-tree-image(subjectCol, news, new, attach, offline) { |
85376731 |
227 | list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif"); |
228 | } |
229 | |
e1597424 |
230 | treechildren:-moz-tree-image(subjectCol, news, new, offline) { |
85376731 |
231 | list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif"); |
232 | } |
233 | |
e1597424 |
234 | treechildren:-moz-tree-image(subjectCol, news, offline) { |
85376731 |
235 | list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif"); |
74d14f90 |
236 | } |
128000f4 |
237 | |
8da3cfd5 |
238 | /* ..... new thread icons for watch and ignore ..... */ |
239 | |
e1597424 |
240 | treechildren:-moz-tree-image(news, threadCol, container, watch) { |
8da3cfd5 |
241 | list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif"); |
242 | } |
243 | |
e1597424 |
244 | treechildren:-moz-tree-image(news, threadCol, container, ignore) { |
8da3cfd5 |
245 | list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif"); |
246 | } |
247 | |
e1597424 |
248 | treechildren:-moz-tree-image(news, threadCol, container, watch, offline) { |
8da3cfd5 |
249 | list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif"); |
250 | } |
251 | |
e1597424 |
252 | treechildren:-moz-tree-image(news, threadCol, container, ignore, offline) { |
8da3cfd5 |
253 | list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif"); |
254 | } |
255 | |
e1597424 |
256 | treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch) { |
8da3cfd5 |
257 | list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif"); |
258 | } |
259 | |
e1597424 |
260 | treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore) { |
8da3cfd5 |
261 | list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif"); |
262 | } |
263 | |
e1597424 |
264 | treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) { |
8da3cfd5 |
265 | list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif"); |
266 | } |
267 | |
e1597424 |
268 | treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) { |
8da3cfd5 |
269 | list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif"); |
270 | } |
271 | |
e1597424 |
272 | treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch, open) { |
8da3cfd5 |
273 | list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif"); |
274 | } |
275 | |
e1597424 |
276 | treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) { |
8da3cfd5 |
277 | list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif"); |
278 | } |
279 | |
e1597424 |
280 | treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) { |
8da3cfd5 |
281 | list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif"); |
282 | } |
283 | |
e1597424 |
284 | treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) { |
8da3cfd5 |
285 | list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif"); |
286 | } |
287 | |
e1597424 |
288 | treechildren:-moz-tree-image(news, threadCol, container, watch, open) { |
8da3cfd5 |
289 | list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif"); |
290 | } |
291 | |
e1597424 |
292 | treechildren:-moz-tree-image(news, threadCol, container, ignore, open) { |
8da3cfd5 |
293 | list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif"); |
294 | } |
295 | |
e1597424 |
296 | treechildren:-moz-tree-image(news, threadCol, container, watch, open, offline) { |
8da3cfd5 |
297 | list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif"); |
298 | } |
299 | |
e1597424 |
300 | treechildren:-moz-tree-image(news, threadCol, container, ignore, open, offline) { |
8da3cfd5 |
301 | list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif"); |
302 | } |
303 | |
74d14f90 |
304 | #sizeCol, |
305 | #unreadCol, |
306 | #totalCol { |
307 | text-align: right; |
308 | } |