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 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
42 /* ===== threadPane.css ==============================================
43 == Styles for the thread pane in the Messenger 3-pane window.
44 ======================================================================= */
46 /* ::::: thread decoration ::::: */
48 treechildren:-moz-tree-cell-text(read) {
52 treechildren:-moz-tree-cell-text(unread) {
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
59 treechildren:-moz-tree-cell-text(container, closed, hasUnread, read) {
60 text-decoration: underline;
63 /* ::::: priority colors ::::: */
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.
68 treechildren:-moz-tree-cell-text(priorityCol, priority-highest) {
72 treechildren:-moz-tree-cell-text(priorityCol, priority-high) {
73 color: rgb(128, 0, 0);
76 treechildren:-moz-tree-cell-text(priorityCol, priority-lowest) {
77 color: rgb(170, 170, 170);
80 treechildren:-moz-tree-cell-text(priorityCol, priority-low) {
81 color: rgb(85, 85, 85);
84 treechildren:-moz-tree-cell-text(priorityCol, selected) {
85 color: -moz-DialogText;
88 treechildren:-moz-tree-cell-text(priorityCol, selected, focus) {
93 /* ::::: message icons ::::: */
95 /* ::::: message column icons ::::: */
97 /* ..... thread column ..... */
99 treecol.threadColumnHeader {
100 list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif");
103 treecol.threadColumnHeader[sortDirection="ascending"] {
104 list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
107 treecol.threadColumnHeader[sortDirection="descending"] {
108 list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
111 treechildren:-moz-tree-image(threadCol, container) {
112 list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
115 treechildren:-moz-tree-image(threadCol, container, offline) {
116 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif");
119 treechildren:-moz-tree-image(threadCol, container, open) {
120 list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
123 treechildren:-moz-tree-image(threadCol, container, open, offline) {
124 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif");
127 treechildren:-moz-tree-image(threadCol, container, hasUnread) {
128 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
131 treechildren:-moz-tree-image(threadCol, container, hasUnread, offline) {
132 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif");
135 treechildren:-moz-tree-image(threadCol, container, hasUnread, open) {
136 list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
139 treechildren:-moz-tree-image(threadCol, container, hasUnread, open, offline) {
140 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif");
143 /* ..... read column ..... */
145 treecol.readColumnHeader {
146 list-style-image: url("chrome://messenger/skin/icons/readcol.gif");
149 treechildren:-moz-tree-image(unreadButtonColHeader) {
150 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
153 treechildren:-moz-tree-image(unreadButtonColHeader, unread) {
154 list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif");
157 /* ..... flag column ..... */
159 treecol.flagColumnHeader {
160 list-style-image: url("chrome://messenger/skin/icons/flagcol.gif");
163 treechildren:-moz-tree-image(flaggedCol) {
164 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
167 treechildren:-moz-tree-image(flaggedCol, flagged) {
168 list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif");
171 /* ..... subject column ..... */
173 treechildren:-moz-tree-image(subjectCol) {
175 list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
178 treechildren:-moz-tree-image(subjectCol, new) {
179 list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
182 treechildren:-moz-tree-image(subjectCol, attach) {
183 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
186 treechildren:-moz-tree-image(subjectCol, imapdeleted) {
187 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
190 treechildren:-moz-tree-image(subjectCol, offline) {
191 list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif");
194 treechildren:-moz-tree-image(subjectCol, new, offline) {
195 list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif");
198 treechildren:-moz-tree-image(subjectCol, attach, offline) {
199 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif");
202 treechildren:-moz-tree-image(subjectCol, imapdeleted, offline) {
203 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif");
206 treechildren:-moz-tree-image(subjectCol, news) {
207 list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
210 treechildren:-moz-tree-image(subjectCol, news, attach) {
211 list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
214 treechildren:-moz-tree-image(subjectCol, news, attach, offline) {
215 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif");
218 treechildren:-moz-tree-image(subjectCol, news, new) {
219 list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
222 treechildren:-moz-tree-image(subjectCol, news, new, attach) {
223 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach.gif");
226 treechildren:-moz-tree-image(subjectCol, news, new, attach, offline) {
227 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif");
230 treechildren:-moz-tree-image(subjectCol, news, new, offline) {
231 list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif");
234 treechildren:-moz-tree-image(subjectCol, news, offline) {
235 list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif");
238 /* ..... new thread icons for watch and ignore ..... */
240 treechildren:-moz-tree-image(news, threadCol, watch) {
241 list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
244 treechildren:-moz-tree-image(news, threadCol, ignore) {
245 list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
248 treechildren:-moz-tree-image(news, threadCol, watch, offline) {
249 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif");
252 treechildren:-moz-tree-image(news, threadCol, ignore, offline) {
253 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif");
256 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch) {
257 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
260 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
261 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
264 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) {
265 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif");
268 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) {
269 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif");
272 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
273 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif");
276 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
277 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif");
280 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) {
281 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif");
284 treechildren:-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) {
285 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif");
288 treechildren:-moz-tree-image(news, threadCol, container, watch, open) {
289 list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
292 treechildren:-moz-tree-image(news, threadCol, container, ignore, open) {
293 list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
296 treechildren:-moz-tree-image(news, threadCol, container, watch, open, offline) {
297 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif");
300 treechildren:-moz-tree-image(news, threadCol, container, ignore, open, offline) {
301 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif");