another small cleanup change
[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 *
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.
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
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@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
74d14f90 48outlinerchildren:-moz-outliner-cell-text(read) {
49 font-weight: normal;
f6e0a33f 50}
51
74d14f90 52outlinerchildren:-moz-outliner-cell-text(unread) {
f6e0a33f 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 */
74d14f90 59outlinerchildren:-moz-outliner-cell-text(container, closed, hasUnread, read) {
f6e0a33f 60 text-decoration: underline;
61}
62
63/* ::::: priority colors ::::: */
74d14f90 64/****
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.
67 ****
68outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-highest) {
f6e0a33f 69 color: red;
70}
71
74d14f90 72outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-high) {
f6e0a33f 73 color: rgb(128, 0, 0);
74}
75
74d14f90 76outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-lowest) {
f6e0a33f 77 color: rgb(170, 170, 170);
78}
79
74d14f90 80outlinerchildren:-moz-outliner-cell-text(priorityCol, priority-low) {
f6e0a33f 81 color: rgb(85, 85, 85);
82}
83
74d14f90 84outlinerchildren:-moz-outliner-cell-text(priorityCol, selected) {
f6e0a33f 85 color: -moz-DialogText;
86}
87
74d14f90 88outlinerchildren:-moz-outliner-cell-text(priorityCol, selected, focus) {
f6e0a33f 89 color: HighlightText;
90}
74d14f90 91 ****/
f6e0a33f 92
93/* ::::: message icons ::::: */
94
95/* ::::: message column icons ::::: */
96
97/* ..... thread column ..... */
98
99outlinercol.threadColumnHeader {
74d14f90 100 list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif");
f6e0a33f 101}
102
103outlinercol.threadColumnHeader[sortDirection="ascending"] {
74d14f90 104 list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
f6e0a33f 105}
106
107outlinercol.threadColumnHeader[sortDirection="descending"] {
74d14f90 108 list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
f6e0a33f 109}
110
74d14f90 111outlinerchildren:-moz-outliner-image(threadCol, container) {
112 list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
f6e0a33f 113}
114
74d14f90 115outlinerchildren:-moz-outliner-image(threadCol, container, open) {
116 list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
f6e0a33f 117}
118
74d14f90 119outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread) {
120 list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
f6e0a33f 121}
122
74d14f90 123outlinerchildren:-moz-outliner-image(threadCol, container, hasUnread, open) {
124 list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
f6e0a33f 125}
126
127/* ..... read column ..... */
128
129outlinercol.readColumnHeader {
74d14f90 130 list-style-image: url("chrome://messenger/skin/icons/readcol.gif");
f6e0a33f 131}
132
74d14f90 133outlinerchildren:-moz-outliner-image(unreadButtonColHeader) {
134 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
f6e0a33f 135}
136
74d14f90 137outlinerchildren:-moz-outliner-image(unreadButtonColHeader, unread) {
138 list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif");
f6e0a33f 139}
140
141/* ..... flag column ..... */
142
143outlinercol.flagColumnHeader {
74d14f90 144 list-style-image: url("chrome://messenger/skin/icons/flagcol.gif");
f6e0a33f 145}
146
74d14f90 147outlinerchildren:-moz-outliner-image(flaggedCol) {
148 list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
f6e0a33f 149}
150
74d14f90 151outlinerchildren:-moz-outliner-image(flaggedCol, flagged) {
152 list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif");
f6e0a33f 153}
154
155/* ..... subject column ..... */
156
74d14f90 157outlinerchildren:-moz-outliner-image(subjectCol) {
158 padding-right: 2px;
159 list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
160}
161
162outlinerchildren:-moz-outliner-image(subjectCol, new) {
f6e0a33f 163 padding-right: 2px;
74d14f90 164 list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
f6e0a33f 165}
166
74d14f90 167outlinerchildren:-moz-outliner-image(subjectCol, attach) {
f6e0a33f 168 padding-right: 2px;
74d14f90 169 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
f6e0a33f 170}
171
74d14f90 172outlinerchildren:-moz-outliner-image(subjectCol, imapdeleted) {
f6e0a33f 173 padding-right: 2px;
74d14f90 174 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
f6e0a33f 175}
176
74d14f90 177outlinerchildren:-moz-outliner-image(subjectCol, offline) {
f6e0a33f 178 padding-right: 2px;
74d14f90 179 list-style-image: url("chrome://messenger/skin/icons/message-mail-offline.gif");
f6e0a33f 180}
181
74d14f90 182outlinerchildren:-moz-outliner-image(subjectCol, new, offline) {
f6e0a33f 183 padding-right: 2px;
74d14f90 184 list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offline.gif");
f6e0a33f 185}
186
74d14f90 187outlinerchildren:-moz-outliner-image(subjectCol, attach, offline) {
f6e0a33f 188 padding-right: 2px;
74d14f90 189 list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offline.gif");
f6e0a33f 190}
191
74d14f90 192outlinerchildren:-moz-outliner-image(subjectCol, imapdeleted, offline) {
f6e0a33f 193 padding-right: 2px;
74d14f90 194 list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offline.gif");
f6e0a33f 195}
196
74d14f90 197outlinerchildren:-moz-outliner-image(subjectCol, news) {
198 padding-right: 2px;
199 list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
200}
f6e0a33f 201
74d14f90 202outlinerchildren:-moz-outliner-image(subjectCol, news, new) {
203 padding-right: 2px;
204 list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
205}
cd130c22 206
74d14f90 207outlinerchildren:-moz-outliner-image(subjectCol, news, attach) {
208 padding-right: 2px;
209 list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
210}
128000f4 211
74d14f90 212#sizeCol,
213#unreadCol,
214#totalCol {
215 text-align: right;
216}