1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is mozilla.org code.
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.
22 * Scott MacGregor (mscott@netscape.com)
23 * Joe Hewitt (hewitt@netscape.com)
24 * Robert Kaiser <KaiRo@KaiRo.at>
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.
38 * ***** END LICENSE BLOCK ***** */
40 /* ===== threadPane.css ==============================================
41 == Styles for the thread pane in the Messenger 3-pane window.
42 ======================================================================= */
44 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
51 /* ::::: thread decoration ::::: */
53 outlinerchildren:-moz-outliner-cell-text(read) {
57 outlinerchildren:-moz-outliner-cell-text(unread) {
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
64 outlinerchildren:-moz-outliner-cell-text(container, closed, hasUnread, read) {
65 text-decoration: underline;
68 /* ::::: priority colors ::::: */
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.
75 outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-highest) {
79 outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-high) {
80 color: rgb(128, 0, 0);
83 outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-lowest) {
84 color: rgb(170, 170, 170);
87 outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-low) {
88 color: rgb(85, 85, 85);
91 outlinerchildren:-moz-outliner-cell-text(priorityCol, selected) {
92 color: -moz-DialogText;
95 outlinerchildren:-moz-outliner-cell-text(priorityCol, selected, focus) {
100 /* ::::: message icons ::::: */
102 /* ::::: message column icons ::::: */
104 /* ..... thread column ..... */
106 outlinercol.threadColumnHeader {
107 list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif");
110 outlinercol.threadColumnHeader[sortDirection="ascending"] {
111 list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
114 outlinercol.threadColumnHeader[sortDirection="descending"] {
115 list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
118 outlinerchildren:-moz-outliner-image(threadCol, container) {
119 list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
122 outlinerchildren:-moz-outliner-image(threadCol, container, offline) {
123 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif");
126 outlinerchildren:-moz-outliner-image(threadCol, container, open) {
127 list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
130 outlinerchildren:-moz-outliner-image(threadCol, container, open, offline) {
131 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif");
134 outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread) {
135 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
138 outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread, offline) {
139 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif");
142 outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread, open) {
143 list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
146 outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread, open, offline) {
147 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif");
150 /* ..... read column ..... */
152 outlinercol.readColumnHeader {
153 list-style-image: url("chrome://messenger/skin/icons/readcol.gif");
156 outlinerchildren:-moz-outliner-image(unreadButtonColHeader) {
157 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
160 outlinerchildren:-moz-outliner-image(unreadButtonColHeader, unread) {
161 list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif");
164 /* ..... flag column ..... */
166 outlinercol.flagColumnHeader {
167 list-style-image: url("chrome://messenger/skin/icons/flagcol.gif");
170 outlinerchildren:-moz-outliner-image(flaggedCol) {
171 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
174 outlinerchildren:-moz-outliner-image(flaggedCol, flagged) {
175 list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif");
178 /* ..... subject column ..... */
180 outlinerchildren:-moz-outliner-image(subjectCol) {
182 list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
185 outlinerchildren:-moz-outliner-image(subjectCol, new) {
187 list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
190 outlinerchildren:-moz-outliner-image(subjectCol, attach) {
192 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
195 outlinerchildren:-moz-outliner-image(subjectCol, imapdeleted) {
197 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
200 outlinerchildren:-moz-outliner-image(subjectCol, offline) {
202 list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif");
205 outlinerchildren:-moz-outliner-image(subjectCol, new, offline) {
207 list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif");
210 outlinerchildren:-moz-outliner-image(subjectCol, attach, offline) {
212 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif");
215 outlinerchildren:-moz-outliner-image(subjectCol, imapdeleted, offline) {
217 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif");
220 outlinerchildren:-moz-outliner-image(subjectCol, news) {
222 list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
225 outlinerchildren:-moz-outliner-image(subjectCol, news, attach) {
227 list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
230 outlinerchildren:-moz-outliner-image(subjectCol, news, attach, offline) {
232 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif");
235 outlinerchildren:-moz-outliner-image(subjectCol, news, new) {
237 list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
240 outlinerchildren:-moz-outliner-image(subjectCol, news, new, attach, offline) {
242 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif");
245 outlinerchildren:-moz-outliner-image(subjectCol, news, new, offline) {
247 list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif");
250 outlinerchildren:-moz-outliner-image(subjectCol, news, offline) {
252 list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif");
255 /* ..... new thread icons for watch and ignore ..... */
257 outlinerchildren:-moz-outliner-image(news, threadCol, container, watch) {
258 list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
261 outlinerchildren:-moz-outliner-image(news, threadCol, container, ignore) {
262 list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
265 outlinerchildren:-moz-outliner-image(news, threadCol, container, watch, offline) {
266 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif");
269 outlinerchildren:-moz-outliner-image(news, threadCol, container, ignore, offline) {
270 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif");
273 outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, watch) {
274 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
277 outlinerchildren:-moz-outliner-image(news, threadCol, container, hasUnread, ignore) {
278 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
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");
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");
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");
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");
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");
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");
305 outlinerchildren:-moz-outliner-image(news, threadCol, container, watch, open) {
306 list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
309 outlinerchildren:-moz-outliner-image(news, threadCol, container, ignore, open) {
310 list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
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");
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");