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 /* ::::: connecting lines ::::: */
53 outlinerbody:-moz-outliner-line
58 /* ::::: thread decoration ::::: */
60 outlinerbody:-moz-outliner-cell-text(unread) {
64 /* on a collapsed thread, if the top level message is read, but the thread has
65 * unread children, underline the text. 4.x mac did this, very slick
67 outlinerbody:-moz-outliner-cell-text(container, closed, hasUnread, read) {
68 text-decoration: underline;
71 /* ::::: priority colors ::::: */
73 outlinerbody:-moz-outliner-cell-text(priorityCol, priority-highest) {
77 outlinerbody:-moz-outliner-cell-text(priorityCol, priority-high) {
78 color: rgb(128, 0, 0);
81 outlinerbody:-moz-outliner-cell-text(priorityCol, priority-lowest) {
82 color: rgb(170, 170, 170);
85 outlinerbody:-moz-outliner-cell-text(priorityCol, priority-low) {
86 color: rgb(85, 85, 85);
89 outlinerbody:-moz-outliner-cell-text(priorityCol, selected) {
90 color: -moz-DialogText;
93 outlinerbody:-moz-outliner-cell-text(priorityCol, selected, focus) {
97 /* ::::: message icons ::::: */
99 /* ::::: message column icons ::::: */
101 /* ..... thread column ..... */
103 outlinercol.threadColumnHeader {
104 list-style-image: url("chrome://messenger/skin/unthreadcol.gif");
107 outlinercol.threadColumnHeader[sortDirection="ascending"] {
108 list-style-image: url("chrome://messenger/skin/threadcol.gif");
111 outlinercol.threadColumnHeader[sortDirection="descending"] {
112 list-style-image: url("chrome://messenger/skin/threadcol.gif");
115 outlinerbody:-moz-outliner-image(threadCol, container) {
116 list-style-image: url("chrome://messenger/skin/thread-closed.gif");
119 outlinerbody:-moz-outliner-image(threadCol, container, open) {
120 list-style-image: url("chrome://messenger/skin/thread-open.gif");
123 outlinerbody:-moz-outliner-image(threadCol, container, hasUnread) {
124 list-style-image: url("chrome://messenger/skin/thread-new-closed.gif");
127 outlinerbody:-moz-outliner-image(threadCol, container, hasUnread, open) {
128 list-style-image: url("chrome://messenger/skin/thread-new-open.gif");
131 /* ..... read column ..... */
133 outlinercol.readColumnHeader {
134 list-style-image: url("chrome://messenger/skin/readcol.gif");
137 outlinerbody:-moz-outliner-image(unreadButtonColHeader) {
138 list-style-image: url("chrome://messenger/skin/readmail.gif");
141 outlinerbody:-moz-outliner-image(unreadButtonColHeader, unread) {
142 list-style-image: url("chrome://messenger/skin/unreadmail.gif");
145 /* ..... flag column ..... */
147 outlinercol.flagColumnHeader {
148 list-style-image: url("chrome://messenger/skin/flagcol.gif");
151 outlinerbody:-moz-outliner-image(flaggedCol) {
152 list-style-image: url("chrome://messenger/skin/readmail.gif");
155 outlinerbody:-moz-outliner-image(flaggedCol, flagged) {
156 list-style-image: url("chrome://messenger/skin/flaggedmail.gif");
159 /* ..... subject column ..... */
161 outlinerbody:-moz-outliner-image(subjectCol) {
163 list-style-image: url("chrome://messenger/skin/message-mail.gif");
166 outlinerbody:-moz-outliner-image(subjectCol, new) {
168 list-style-image: url("chrome://messenger/skin/message-mail-new.gif");
171 outlinerbody:-moz-outliner-image(subjectCol, attach) {
173 list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");
176 outlinerbody:-moz-outliner-image(subjectCol, imapdeleted) {
178 list-style-image: url("chrome://messenger/skin/message-mail-imapdelete.gif");
181 outlinerbody:-moz-outliner-image(subjectCol, news) {
183 list-style-image: url("chrome://messenger/skin/message-news.gif");
186 outlinerbody:-moz-outliner-image(subjectCol, news, new) {
188 list-style-image: url("chrome://messenger/skin/message-news-new.gif");
191 outlinerbody:-moz-outliner-image(subjectCol, news, attach) {
193 list-style-image: url("chrome://messenger/skin/message-news-attach.gif");