Commit | Line | Data |
---|---|---|
9099c61d RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
351107c9 | 4 | |
5 | /* ===== threadPane.css ============================================== | |
6 | == Styles for the thread pane in the Messenger 3-pane window. | |
7 | ======================================================================= */ | |
8 | ||
9 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
10 | ||
b1eaa419 | 11 | /* ::::: thread decoration ::::: */ |
351107c9 | 12 | |
01fc5c11 | 13 | treechildren::-moz-tree-cell-text(read) { |
b1eaa419 | 14 | font-weight: normal; |
351107c9 | 15 | } |
16 | ||
01fc5c11 | 17 | treechildren::-moz-tree-cell-text(unread) { |
351107c9 | 18 | font-weight: bold; |
f1d07a65 | 19 | color: #FFCF00; |
351107c9 | 20 | } |
21 | ||
242fc635 | 22 | treechildren::-moz-tree-cell-text(imapdeleted) { |
23 | text-decoration: line-through; | |
24 | } | |
25 | ||
351107c9 | 26 | /* on a collapsed thread, if the top level message is read, but the thread has |
242fc635 | 27 | * unread children, underline the text. 4.x mac did this, very slick |
351107c9 | 28 | */ |
01fc5c11 | 29 | treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) { |
351107c9 | 30 | text-decoration: underline; |
f1d07a65 | 31 | color: #FFCF00; |
351107c9 | 32 | } |
33 | ||
34 | /* ::::: priority colors ::::: */ | |
35 | ||
b1eaa419 | 36 | /**** |
37 | **** Priority colors currently not being used at the moment. It has been | |
38 | **** disabled so as to not conflict with the labels color feature. | |
39 | **** | |
40 | ||
01fc5c11 | 41 | treechildren::-moz-tree-cell-text(priorityCol, priority-highest) { |
351107c9 | 42 | color: red; |
43 | } | |
44 | ||
01fc5c11 | 45 | treechildren::-moz-tree-cell-text(priorityCol, priority-high) { |
351107c9 | 46 | color: rgb(128, 0, 0); |
47 | } | |
48 | ||
01fc5c11 | 49 | treechildren::-moz-tree-cell-text(priorityCol, priority-lowest) { |
351107c9 | 50 | color: rgb(170, 170, 170); |
51 | } | |
52 | ||
01fc5c11 | 53 | treechildren::-moz-tree-cell-text(priorityCol, priority-low) { |
351107c9 | 54 | color: rgb(85, 85, 85); |
55 | } | |
56 | ||
01fc5c11 | 57 | treechildren::-moz-tree-cell-text(priorityCol, selected) { |
351107c9 | 58 | color: -moz-DialogText; |
59 | } | |
60 | ||
01fc5c11 | 61 | treechildren::-moz-tree-cell-text(priorityCol, selected, focus) { |
351107c9 | 62 | color: HighlightText; |
63 | } | |
b1eaa419 | 64 | ****/ |
351107c9 | 65 | |
66 | /* ::::: message icons ::::: */ | |
67 | ||
68 | /* ::::: message column icons ::::: */ | |
69 | ||
70 | /* ..... thread column ..... */ | |
71 | ||
57d23eae | 72 | .threadColumnHeader { |
ee6cb01c | 73 | list-style-image: url("chrome://messenger/skin/icons/column-thread-unthread.gif"); |
351107c9 | 74 | } |
75 | ||
57d23eae | 76 | .threadColumnHeader[sortDirection="ascending"] { |
ee6cb01c | 77 | list-style-image: url("chrome://messenger/skin/icons/column-thread.gif"); |
351107c9 | 78 | } |
79 | ||
57d23eae | 80 | .threadColumnHeader[sortDirection="descending"] { |
ee6cb01c | 81 | list-style-image: url("chrome://messenger/skin/icons/column-thread.gif"); |
b1eaa419 | 82 | } |
83 | ||
01fc5c11 | 84 | treechildren::-moz-tree-image(threadCol, container) { |
b1eaa419 | 85 | list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif"); |
86 | } | |
87 | ||
01fc5c11 | 88 | treechildren::-moz-tree-image(threadCol, container, offline) { |
b1eaa419 | 89 | list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif"); |
351107c9 | 90 | } |
91 | ||
01fc5c11 | 92 | treechildren::-moz-tree-image(threadCol, container, open) { |
b1eaa419 | 93 | list-style-image: url("chrome://messenger/skin/icons/thread-open.gif"); |
351107c9 | 94 | } |
95 | ||
01fc5c11 | 96 | treechildren::-moz-tree-image(threadCol, container, open, offline) { |
b1eaa419 | 97 | list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif"); |
351107c9 | 98 | } |
99 | ||
01fc5c11 | 100 | treechildren::-moz-tree-image(threadCol, container, hasUnread) { |
b1eaa419 | 101 | list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif"); |
351107c9 | 102 | } |
103 | ||
01fc5c11 | 104 | treechildren::-moz-tree-image(threadCol, container, hasUnread, offline) { |
b1eaa419 | 105 | list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif"); |
106 | } | |
107 | ||
01fc5c11 | 108 | treechildren::-moz-tree-image(threadCol, container, hasUnread, open) { |
b1eaa419 | 109 | list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif"); |
110 | } | |
111 | ||
01fc5c11 | 112 | treechildren::-moz-tree-image(threadCol, container, hasUnread, open, offline) { |
b1eaa419 | 113 | list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif"); |
351107c9 | 114 | } |
115 | ||
116 | /* ..... read column ..... */ | |
117 | ||
57d23eae | 118 | .readColumnHeader { |
ee6cb01c | 119 | list-style-image: url("chrome://messenger/skin/icons/column-read-header.gif"); |
351107c9 | 120 | } |
121 | ||
01fc5c11 | 122 | treechildren::-moz-tree-image(unreadButtonColHeader) { |
ee6cb01c | 123 | list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif"); |
351107c9 | 124 | } |
125 | ||
01fc5c11 | 126 | treechildren::-moz-tree-image(unreadButtonColHeader, unread) { |
ee6cb01c | 127 | list-style-image: url("chrome://messenger/skin/icons/column-read-unread.gif"); |
351107c9 | 128 | } |
129 | ||
57d23eae | 130 | /* ..... attachment column ..... */ |
131 | ||
132 | .attachmentColumnHeader { | |
133 | list-style-image: url("chrome://messenger/skin/icons/attachment-col.gif"); | |
134 | } | |
135 | ||
136 | treechildren::-moz-tree-image(attachmentCol, attach) { | |
137 | list-style-image: url("chrome://messenger/skin/icons/attachment.gif"); | |
138 | } | |
139 | ||
351107c9 | 140 | /* ..... flag column ..... */ |
141 | ||
57d23eae | 142 | .flagColumnHeader { |
ee6cb01c | 143 | list-style-image: url("chrome://messenger/skin/icons/column-flag.gif"); |
351107c9 | 144 | } |
145 | ||
01fc5c11 | 146 | treechildren::-moz-tree-image(flaggedCol) { |
ee6cb01c | 147 | list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif"); |
351107c9 | 148 | } |
149 | ||
01fc5c11 | 150 | treechildren::-moz-tree-image(flaggedCol, flagged) { |
ee6cb01c | 151 | list-style-image: url("chrome://messenger/skin/icons/column-flag.gif"); |
351107c9 | 152 | } |
153 | ||
a3b3d4d6 | 154 | /* ..... junkStatus column ..... */ |
155 | ||
57d23eae | 156 | .junkStatusHeader { |
ee6cb01c | 157 | list-style-image: url("chrome://messenger/skin/icons/column-junk.gif"); |
a3b3d4d6 | 158 | } |
159 | ||
ee6cb01c | 160 | /* "unknown" now looks almost like "not junk", but not quite */ |
01fc5c11 | 161 | treechildren::-moz-tree-image(junkStatusCol) { |
ee6cb01c | 162 | list-style-image: url("chrome://messenger/skin/icons/column-junk-unknown.gif"); |
a3b3d4d6 | 163 | } |
164 | ||
01fc5c11 | 165 | treechildren::-moz-tree-image(junkStatusCol, junk) { |
ee6cb01c | 166 | list-style-image: url("chrome://messenger/skin/icons/column-junk.gif"); |
a3b3d4d6 | 167 | } |
168 | ||
01fc5c11 | 169 | treechildren::-moz-tree-image(junkStatusCol, notjunk) { |
ee6cb01c | 170 | list-style-image: url("chrome://messenger/skin/icons/column-neutral.gif"); |
a3b3d4d6 | 171 | } |
172 | ||
1c10af87 RK |
173 | /* ..... subject column and tab icons ..... */ |
174 | ||
175 | .tabmail-tab[type="message"] .tab-icon { | |
1c10af87 RK |
176 | /* the message icons are only 14px high */ |
177 | height: 14px; | |
e7c6f7bf | 178 | margin-bottom: 2px; |
1c10af87 RK |
179 | } |
180 | ||
181 | .tabmail-tab[type="message"], | |
182 | treechildren::-moz-tree-image(subjectCol) { | |
3d14c604 | 183 | list-style-image: url("chrome://messenger/skin/icons/message-mail.gif"); |
1c10af87 | 184 | } |
351107c9 | 185 | |
01fc5c11 | 186 | treechildren::-moz-tree-image(subjectCol) { |
8caa872d | 187 | -moz-margin-end: 2px; |
b1eaa419 | 188 | } |
189 | ||
01fc5c11 | 190 | treechildren::-moz-tree-image(subjectCol, new) { |
b1eaa419 | 191 | list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif"); |
192 | } | |
193 | ||
dce90fef RK |
194 | treechildren::-moz-tree-image(subjectCol, forwarded) { |
195 | list-style-image: url("chrome://messenger/skin/icons/message-mail-forward.gif"); | |
196 | } | |
197 | ||
198 | treechildren::-moz-tree-image(subjectCol, replied) { | |
199 | list-style-image: url("chrome://messenger/skin/icons/message-mail-reply.gif"); | |
200 | } | |
201 | ||
202 | treechildren::-moz-tree-image(subjectCol, forwarded, replied) { | |
203 | list-style-image: url("chrome://messenger/skin/icons/message-mail-forward-reply.gif"); | |
204 | } | |
205 | ||
1c10af87 RK |
206 | .tabmail-tab[type="message"][Attachment="true"], |
207 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach) { | |
b1eaa419 | 208 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif"); |
209 | } | |
210 | ||
dce90fef RK |
211 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded) { |
212 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward.gif"); | |
213 | } | |
214 | ||
215 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, replied) { | |
216 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-reply.gif"); | |
217 | } | |
218 | ||
219 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded, replied) { | |
220 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward-reply.gif"); | |
221 | } | |
222 | ||
1c10af87 | 223 | .tabmail-tab[type="message"][IMAPDeleted="true"], |
01fc5c11 | 224 | treechildren::-moz-tree-image(subjectCol, imapdeleted) { |
b1eaa419 | 225 | list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif"); |
226 | } | |
227 | ||
1c10af87 | 228 | .tabmail-tab[type="message"][Offline="true"], |
01fc5c11 | 229 | treechildren::-moz-tree-image(subjectCol, offline) { |
b1eaa419 | 230 | list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif"); |
231 | } | |
232 | ||
01fc5c11 | 233 | treechildren::-moz-tree-image(subjectCol, new, offline) { |
b1eaa419 | 234 | list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif"); |
235 | } | |
236 | ||
dce90fef RK |
237 | treechildren::-moz-tree-image(subjectCol, forwarded, offline) { |
238 | list-style-image: url("chrome://messenger/skin/icons/message-mail-forward-offline.gif"); | |
239 | } | |
240 | ||
241 | treechildren::-moz-tree-image(subjectCol, offline, replied) { | |
242 | list-style-image: url("chrome://messenger/skin/icons/message-mail-offline-reply.gif"); | |
243 | } | |
244 | ||
245 | treechildren::-moz-tree-image(subjectCol, forwarded, offline, replied) { | |
246 | list-style-image: url("chrome://messenger/skin/icons/message-mail-forward-offline-reply.gif"); | |
247 | } | |
248 | ||
1c10af87 | 249 | .tabmail-tab[type="message"][Attachment="true"][Offline="true"], |
01fc5c11 | 250 | treechildren::-moz-tree-image(subjectCol, attach, offline) { |
b1eaa419 | 251 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif"); |
252 | } | |
253 | ||
dce90fef RK |
254 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded, offline) { |
255 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward-offline.gif"); | |
256 | } | |
257 | ||
258 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, offline, replied) { | |
259 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline-reply.gif"); | |
260 | } | |
261 | ||
262 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, attach, forwarded, offline, replied) { | |
263 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-forward-offline-reply.gif"); | |
264 | } | |
265 | ||
1c10af87 | 266 | .tabmail-tab[type="message"][IMAPDeleted="true"][Offline="true"], |
01fc5c11 | 267 | treechildren::-moz-tree-image(subjectCol, imapdeleted, offline) { |
b1eaa419 | 268 | list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif"); |
269 | } | |
270 | ||
1c10af87 RK |
271 | .tabmail-tab[type="message"][MessageType="rss"], |
272 | .tabmail-tab[type="message"][MessageType="nntp"], | |
c710949d | 273 | treechildren::-moz-tree-image(subjectCol, rss), |
01fc5c11 | 274 | treechildren::-moz-tree-image(subjectCol, news) { |
b1eaa419 | 275 | list-style-image: url("chrome://messenger/skin/icons/message-news.gif"); |
351107c9 | 276 | } |
277 | ||
c1f7cc84 RK |
278 | treechildren::-moz-tree-image(subjectCol, rss, ignoreSubthread), |
279 | treechildren::-moz-tree-image(subjectCol, news, ignoreSubthread) { | |
280 | list-style-image: url("chrome://messenger/skin/icons/message-news-kill.gif"); | |
281 | } | |
282 | ||
1c10af87 RK |
283 | .tabmail-tab[type="message"][MessageType="rss"][Attachment="true"], |
284 | .tabmail-tab[type="message"][MessageType="nntp"][Attachment="true"], | |
285 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach), | |
286 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach) { | |
b1eaa419 | 287 | list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif"); |
351107c9 | 288 | } |
289 | ||
c1f7cc84 RK |
290 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, ignoreSubthread), |
291 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, ignoreSubthread) { | |
292 | list-style-image: url("chrome://messenger/skin/icons/message-news-attach-kill.gif"); | |
293 | } | |
294 | ||
1c10af87 RK |
295 | .tabmail-tab[type="message"][MessageType="rss"][Attachment="true"][Offline="true"], |
296 | .tabmail-tab[type="message"][MessageType="nntp"][Attachment="true"][Offline="true"], | |
297 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, offline), | |
298 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, offline) { | |
b1eaa419 | 299 | list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif"); |
351107c9 | 300 | } |
301 | ||
c1f7cc84 RK |
302 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, rss, attach, offline, ignoreSubthread), |
303 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, attach, offline, ignoreSubthread) { | |
304 | list-style-image: url("chrome://messenger/skin/icons/message-news-attach-kill-offline.gif"); | |
305 | } | |
306 | ||
c710949d | 307 | treechildren::-moz-tree-image(subjectCol, rss, new), |
01fc5c11 | 308 | treechildren::-moz-tree-image(subjectCol, news, new) { |
b1eaa419 | 309 | list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif"); |
351107c9 | 310 | } |
311 | ||
1c10af87 | 312 | tree[noattachcol="true"] > treechildren::-moz-tree-image(subjectCol, news, new, attach, offline) { |
b1eaa419 | 313 | list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif"); |
351107c9 | 314 | } |
315 | ||
01fc5c11 | 316 | treechildren::-moz-tree-image(subjectCol, news, new, offline) { |
b1eaa419 | 317 | list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif"); |
351107c9 | 318 | } |
319 | ||
1c10af87 RK |
320 | .tabmail-tab[type="message"][MessageType="rss"][Offline="true"], |
321 | .tabmail-tab[type="message"][MessageType="nntp"][Offline="true"], | |
322 | treechildren::-moz-tree-image(subjectCol, rss, offline), | |
01fc5c11 | 323 | treechildren::-moz-tree-image(subjectCol, news, offline) { |
b1eaa419 | 324 | list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif"); |
325 | } | |
326 | ||
c1f7cc84 RK |
327 | treechildren::-moz-tree-image(subjectCol, rss, offline, ignoreSubthread), |
328 | treechildren::-moz-tree-image(subjectCol, news, offline, ignoreSubthread) { | |
329 | list-style-image: url("chrome://messenger/skin/icons/message-news-kill-offline.gif"); | |
330 | } | |
331 | ||
b1eaa419 | 332 | /* ..... new thread icons for watch and ignore ..... */ |
333 | ||
01fc5c11 | 334 | treechildren::-moz-tree-image(news, threadCol, watch) { |
b1eaa419 | 335 | list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif"); |
336 | } | |
337 | ||
01fc5c11 | 338 | treechildren::-moz-tree-image(news, threadCol, ignore) { |
b1eaa419 | 339 | list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif"); |
340 | } | |
341 | ||
01fc5c11 | 342 | treechildren::-moz-tree-image(news, threadCol, watch, offline) { |
b1eaa419 | 343 | list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif"); |
344 | } | |
345 | ||
01fc5c11 | 346 | treechildren::-moz-tree-image(news, threadCol, ignore, offline) { |
b1eaa419 | 347 | list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif"); |
348 | } | |
349 | ||
01fc5c11 | 350 | treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) { |
b1eaa419 | 351 | list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif"); |
352 | } | |
353 | ||
01fc5c11 | 354 | treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) { |
b1eaa419 | 355 | list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif"); |
356 | } | |
357 | ||
01fc5c11 | 358 | treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) { |
b1eaa419 | 359 | list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif"); |
360 | } | |
361 | ||
01fc5c11 | 362 | treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) { |
b1eaa419 | 363 | list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif"); |
364 | } | |
365 | ||
01fc5c11 | 366 | treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) { |
b1eaa419 | 367 | list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif"); |
368 | } | |
369 | ||
01fc5c11 | 370 | treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) { |
b1eaa419 | 371 | list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif"); |
372 | } | |
373 | ||
01fc5c11 | 374 | treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) { |
b1eaa419 | 375 | list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif"); |
376 | } | |
377 | ||
01fc5c11 | 378 | treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) { |
b1eaa419 | 379 | list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif"); |
380 | } | |
381 | ||
01fc5c11 | 382 | treechildren::-moz-tree-image(news, threadCol, container, watch, open) { |
b1eaa419 | 383 | list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif"); |
384 | } | |
385 | ||
01fc5c11 | 386 | treechildren::-moz-tree-image(news, threadCol, container, ignore, open) { |
b1eaa419 | 387 | list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif"); |
388 | } | |
389 | ||
01fc5c11 | 390 | treechildren::-moz-tree-image(news, threadCol, container, watch, open, offline) { |
b1eaa419 | 391 | list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif"); |
392 | } | |
393 | ||
01fc5c11 | 394 | treechildren::-moz-tree-image(news, threadCol, container, ignore, open, offline) { |
b1eaa419 | 395 | list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif"); |
396 | } | |
397 | ||
398 | #sizeCol, | |
399 | #unreadCol, | |
400 | #totalCol { | |
401 | text-align: right; | |
351107c9 | 402 | } |