2 * The contents of this file are subject to the Netscape Public
3 * License Version 1.1 (the "License"); you may not use this file
4 * except in compliance with the License. You may obtain a copy of
5 * the License at http://www.mozilla.org/NPL/
7 * Software distributed under the License is distributed on an "AS
8 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9 * implied. See the License for the specific language governing
10 * rights and limitations under the License.
12 * The Original Code is Mozilla Communicator client code, released
15 * The Initial Developer of the Original Code is Netscape
16 * Communications Corporation. Portions created by Netscape are
17 * Copyright (C) 1998-2001 Netscape Communications Corporation. All
21 * Scott MacGregor (mscott@netscape.com)
22 * Joe Hewitt (hewitt@netscape.com)
25 /* ===== threadPane.css ==============================================
26 == Styles for the thread pane in the Messenger 3-pane window.
27 ======================================================================= */
29 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
31 /* ::::: connecting lines ::::: */
33 outlinerbody:-moz-outliner-line
35 border: 1px solid red;
38 /* ::::: thread decoration ::::: */
40 outlinerbody:-moz-outliner-cell-text(unread) {
44 /* on a collapsed thread, if the top level message is read, but the thread has
45 * unread children, underline the text. 4.x mac did this, very slick
47 outlinerbody:-moz-outliner-cell-text(container, closed, hasUnread, read) {
48 text-decoration: underline;
51 /* ::::: priority colors ::::: */
53 outlinerbody:-moz-outliner-cell-text(priorityCol, priority-highest) {
57 outlinerbody:-moz-outliner-cell-text(priorityCol, priority-high) {
58 color: rgb(128, 0, 0);
61 outlinerbody:-moz-outliner-cell-text(priorityCol, priority-lowest) {
62 color: rgb(170, 170, 170);
65 outlinerbody:-moz-outliner-cell-text(priorityCol, priority-low) {
66 color: rgb(85, 85, 85);
69 outlinerbody:-moz-outliner-cell-text(priorityCol, selected) {
70 color: -moz-DialogText;
73 outlinerbody:-moz-outliner-cell-text(priorityCol, selected, focus) {
77 /* ::::: message icons ::::: */
79 /* ::::: message column icons ::::: */
81 /* ..... thread column ..... */
83 outlinercol.threadColumnHeader {
84 list-style-image: url("chrome://messenger/skin/unthreadcol.gif");
87 outlinercol.threadColumnHeader[sortDirection="ascending"] {
88 list-style-image: url("chrome://messenger/skin/threadcol.gif");
91 outlinercol.threadColumnHeader[sortDirection="descending"] {
92 list-style-image: url("chrome://messenger/skin/threadcol.gif");
95 outlinerbody:-moz-outliner-image(threadCol, container) {
96 list-style-image: url("chrome://messenger/skin/thread-closed.gif");
99 outlinerbody:-moz-outliner-image(threadCol, container, open) {
100 list-style-image: url("chrome://messenger/skin/thread-open.gif");
103 outlinerbody:-moz-outliner-image(threadCol, container, hasUnread) {
104 list-style-image: url("chrome://messenger/skin/thread-new-closed.gif");
107 outlinerbody:-moz-outliner-image(threadCol, container, hasUnread, open) {
108 list-style-image: url("chrome://messenger/skin/thread-new-open.gif");
111 /* ..... read column ..... */
113 outlinercol.readColumnHeader {
114 list-style-image: url("chrome://messenger/skin/readcol.gif");
117 outlinerbody:-moz-outliner-image(unreadButtonColHeader) {
118 list-style-image: url("chrome://messenger/skin/readmail.gif");
121 outlinerbody:-moz-outliner-image(unreadButtonColHeader, unread) {
122 list-style-image: url("chrome://messenger/skin/unreadmail.gif");
125 /* ..... flag column ..... */
127 outlinercol.flagColumnHeader {
128 list-style-image: url("chrome://messenger/skin/flagcol.gif");
131 outlinerbody:-moz-outliner-image(flaggedCol) {
132 list-style-image: url("chrome://messenger/skin/readmail.gif");
135 outlinerbody:-moz-outliner-image(flaggedCol, flagged) {
136 list-style-image: url("chrome://messenger/skin/flaggedmail.gif");
139 /* ..... subject column ..... */
141 outlinerbody:-moz-outliner-image(subjectCol) {
143 list-style-image: url("chrome://messenger/skin/message-mail.gif");
146 outlinerbody:-moz-outliner-image(subjectCol, new) {
148 list-style-image: url("chrome://messenger/skin/message-mail-new.gif");
151 outlinerbody:-moz-outliner-image(subjectCol, attach) {
153 list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");
156 outlinerbody:-moz-outliner-image(subjectCol, imapdeleted) {
158 list-style-image: url("chrome://messenger/skin/message-mail-imapdelete.gif");
161 outlinerbody:-moz-outliner-image(subjectCol, news) {
163 list-style-image: url("chrome://messenger/skin/message-news.gif");
166 outlinerbody:-moz-outliner-image(subjectCol, news, new) {
168 list-style-image: url("chrome://messenger/skin/message-news-new.gif");
171 outlinerbody:-moz-outliner-image(subjectCol, news, attach) {
173 list-style-image: url("chrome://messenger/skin/message-news-attach.gif");