fix bug 107 - no sort up or down arow in (mail) tree views
[themes.git] / EarlyBlue / messenger / threadPane.css
CommitLineData
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 *
61af9d1c 16 * The Initial Developer of the Original Code is
128000f4 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
61af9d1c 27 * either the GNU General Public License Version 2 or later (the "GPL"), or
128000f4 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
a1f525f0 48treechildren::-moz-tree-cell-text(read) {
74d14f90 49 font-weight: normal;
f6e0a33f 50}
51
a1f525f0 52treechildren::-moz-tree-cell-text(unread) {
f6e0a33f 53 font-weight: bold;
54}
55
61af9d1c 56treechildren::-moz-tree-cell-text(imapdeleted) {
57 text-decoration: line-through;
58}
59
f6e0a33f 60/* on a collapsed thread, if the top level message is read, but the thread has
61af9d1c 61 * unread children, underline the text. 4.x mac did this, very slick
f6e0a33f 62 */
a1f525f0 63treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
f6e0a33f 64 text-decoration: underline;
65}
66
67/* ::::: priority colors ::::: */
74d14f90 68/****
69 **** Priority colors currently not being used at the moment. It has been
70 **** disabled so as to not conflict with the labels color feature.
71 ****
a1f525f0 72treechildren::-moz-tree-cell-text(priorityCol, priority-highest) {
f6e0a33f 73 color: red;
74}
75
a1f525f0 76treechildren::-moz-tree-cell-text(priorityCol, priority-high) {
f6e0a33f 77 color: rgb(128, 0, 0);
78}
79
a1f525f0 80treechildren::-moz-tree-cell-text(priorityCol, priority-lowest) {
f6e0a33f 81 color: rgb(170, 170, 170);
82}
83
a1f525f0 84treechildren::-moz-tree-cell-text(priorityCol, priority-low) {
f6e0a33f 85 color: rgb(85, 85, 85);
86}
87
a1f525f0 88treechildren::-moz-tree-cell-text(priorityCol, selected) {
f6e0a33f 89 color: -moz-DialogText;
90}
91
a1f525f0 92treechildren::-moz-tree-cell-text(priorityCol, selected, focus) {
f6e0a33f 93 color: HighlightText;
94}
74d14f90 95 ****/
f6e0a33f 96
97/* ::::: message icons ::::: */
98
99/* ::::: message column icons ::::: */
100
101/* ..... thread column ..... */
102
e1597424 103treecol.threadColumnHeader {
74d14f90 104 list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif");
f6e0a33f 105}
106
e1597424 107treecol.threadColumnHeader[sortDirection="ascending"] {
74d14f90 108 list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
f6e0a33f 109}
110
e1597424 111treecol.threadColumnHeader[sortDirection="descending"] {
74d14f90 112 list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
f6e0a33f 113}
114
a1f525f0 115treechildren::-moz-tree-image(threadCol, container) {
74d14f90 116 list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
f6e0a33f 117}
118
a1f525f0 119treechildren::-moz-tree-image(threadCol, container, offline) {
8da3cfd5 120 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline.gif");
121}
122
a1f525f0 123treechildren::-moz-tree-image(threadCol, container, open) {
74d14f90 124 list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
f6e0a33f 125}
126
a1f525f0 127treechildren::-moz-tree-image(threadCol, container, open, offline) {
8da3cfd5 128 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline.gif");
129}
130
a1f525f0 131treechildren::-moz-tree-image(threadCol, container, hasUnread) {
74d14f90 132 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
f6e0a33f 133}
134
a1f525f0 135treechildren::-moz-tree-image(threadCol, container, hasUnread, offline) {
8da3cfd5 136 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline.gif");
137}
138
a1f525f0 139treechildren::-moz-tree-image(threadCol, container, hasUnread, open) {
74d14f90 140 list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
f6e0a33f 141}
142
a1f525f0 143treechildren::-moz-tree-image(threadCol, container, hasUnread, open, offline) {
8da3cfd5 144 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline.gif");
145}
146
f6e0a33f 147/* ..... read column ..... */
148
e1597424 149treecol.readColumnHeader {
74d14f90 150 list-style-image: url("chrome://messenger/skin/icons/readcol.gif");
f6e0a33f 151}
152
a1f525f0 153treechildren::-moz-tree-image(unreadButtonColHeader) {
74d14f90 154 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
f6e0a33f 155}
156
a1f525f0 157treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
74d14f90 158 list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif");
f6e0a33f 159}
160
161/* ..... flag column ..... */
162
e1597424 163treecol.flagColumnHeader {
74d14f90 164 list-style-image: url("chrome://messenger/skin/icons/flagcol.gif");
f6e0a33f 165}
166
a1f525f0 167treechildren::-moz-tree-image(flaggedCol) {
74d14f90 168 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
f6e0a33f 169}
170
a1f525f0 171treechildren::-moz-tree-image(flaggedCol, flagged) {
74d14f90 172 list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif");
f6e0a33f 173}
174
1431bf9b 175/* ..... junkStatus column ..... */
176
177treecol.junkStatusHeader {
178 list-style-image: url("chrome://messenger/skin/icons/message-junk-other.gif");
179}
180
181/* "unknown" now looks like "not junk". see bug #182386 */
a1f525f0 182treechildren::-moz-tree-image(junkStatusCol) {
1431bf9b 183 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
184}
185
a1f525f0 186treechildren::-moz-tree-image(junkStatusCol, junk) {
1431bf9b 187 list-style-image: url("chrome://messenger/skin/icons/message-junk-other.gif");
188}
189
a1f525f0 190treechildren::-moz-tree-image(junkStatusCol, notjunk) {
1431bf9b 191 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
192}
193
f6e0a33f 194/* ..... subject column ..... */
195
a1f525f0 196treechildren::-moz-tree-image(subjectCol) {
e1597424 197 margin-right: 2px;
74d14f90 198 list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
199}
200
a1f525f0 201treechildren::-moz-tree-image(subjectCol, new) {
74d14f90 202 list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
f6e0a33f 203}
204
a1f525f0 205treechildren::-moz-tree-image(subjectCol, attach) {
74d14f90 206 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
f6e0a33f 207}
208
a1f525f0 209treechildren::-moz-tree-image(subjectCol, imapdeleted) {
74d14f90 210 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
f6e0a33f 211}
212
a1f525f0 213treechildren::-moz-tree-image(subjectCol, offline) {
74d14f90 214 list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif");
f6e0a33f 215}
216
a1f525f0 217treechildren::-moz-tree-image(subjectCol, new, offline) {
74d14f90 218 list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif");
f6e0a33f 219}
220
a1f525f0 221treechildren::-moz-tree-image(subjectCol, attach, offline) {
74d14f90 222 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif");
f6e0a33f 223}
224
a1f525f0 225treechildren::-moz-tree-image(subjectCol, imapdeleted, offline) {
74d14f90 226 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif");
f6e0a33f 227}
228
a1f525f0 229treechildren::-moz-tree-image(subjectCol, news) {
74d14f90 230 list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
231}
f6e0a33f 232
a1f525f0 233treechildren::-moz-tree-image(subjectCol, news, attach) {
85376731 234 list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
235}
236
a1f525f0 237treechildren::-moz-tree-image(subjectCol, news, attach, offline) {
85376731 238 list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offline.gif");
239}
240
a1f525f0 241treechildren::-moz-tree-image(subjectCol, news, new) {
74d14f90 242 list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
243}
cd130c22 244
a1f525f0 245treechildren::-moz-tree-image(subjectCol, news, new, attach) {
85376731 246 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach.gif");
247}
248
a1f525f0 249treechildren::-moz-tree-image(subjectCol, news, new, attach, offline) {
85376731 250 list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-offline.gif");
251}
252
a1f525f0 253treechildren::-moz-tree-image(subjectCol, news, new, offline) {
85376731 254 list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif");
255}
256
a1f525f0 257treechildren::-moz-tree-image(subjectCol, news, offline) {
85376731 258 list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif");
74d14f90 259}
128000f4 260
8da3cfd5 261/* ..... new thread icons for watch and ignore ..... */
262
a1f525f0 263treechildren::-moz-tree-image(news, threadCol, watch) {
8da3cfd5 264 list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
265}
266
a1f525f0 267treechildren::-moz-tree-image(news, threadCol, ignore) {
8da3cfd5 268 list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
269}
270
a1f525f0 271treechildren::-moz-tree-image(news, threadCol, watch, offline) {
8da3cfd5 272 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-eye.gif");
273}
274
a1f525f0 275treechildren::-moz-tree-image(news, threadCol, ignore, offline) {
8da3cfd5 276 list-style-image: url("chrome://messenger/skin/icons/thread-closed-offline-kill.gif");
277}
278
a1f525f0 279treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) {
8da3cfd5 280 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
281}
282
a1f525f0 283treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
8da3cfd5 284 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
285}
286
a1f525f0 287treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) {
8da3cfd5 288 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-eye.gif");
289}
290
a1f525f0 291treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) {
8da3cfd5 292 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offline-kill.gif");
293}
294
a1f525f0 295treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
8da3cfd5 296 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif");
297}
298
a1f525f0 299treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
8da3cfd5 300 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif");
301}
302
a1f525f0 303treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) {
8da3cfd5 304 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-eye.gif");
305}
306
a1f525f0 307treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) {
8da3cfd5 308 list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offline-kill.gif");
309}
310
a1f525f0 311treechildren::-moz-tree-image(news, threadCol, container, watch, open) {
8da3cfd5 312 list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
313}
314
a1f525f0 315treechildren::-moz-tree-image(news, threadCol, container, ignore, open) {
8da3cfd5 316 list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
317}
318
a1f525f0 319treechildren::-moz-tree-image(news, threadCol, container, watch, open, offline) {
8da3cfd5 320 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-eye.gif");
321}
322
a1f525f0 323treechildren::-moz-tree-image(news, threadCol, container, ignore, open, offline) {
8da3cfd5 324 list-style-image: url("chrome://messenger/skin/icons/thread-open-offline-kill.gif");
325}
326
74d14f90 327#sizeCol,
328#unreadCol,
329#totalCol {
330 text-align: right;
331}