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