b200f773 |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
3c30e09e |
3 | * |
b200f773 |
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/ |
3c30e09e |
8 | * |
b200f773 |
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. |
3c30e09e |
13 | * |
b200f773 |
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. |
3c30e09e |
20 | * |
21 | * Contributor(s): |
22 | * Scott MacGregor (mscott@netscape.com) |
23 | * Joe Hewitt (hewitt@netscape.com) |
b200f773 |
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 ***** */ |
3c30e09e |
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 | |
46 | #threadOutliner |
47 | { |
48 | border: none; |
49 | } |
50 | |
51 | /* ::::: connecting lines ::::: */ |
52 | |
53 | outlinerbody:-moz-outliner-line |
54 | { |
41a65dd6 |
55 | visibility: hidden; |
3c30e09e |
56 | } |
57 | |
58 | /* ::::: thread decoration ::::: */ |
59 | |
60 | outlinerbody:-moz-outliner-cell-text(unread) { |
61 | font-weight: bold; |
62 | } |
63 | |
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 |
66 | */ |
67 | outlinerbody:-moz-outliner-cell-text(container, closed, hasUnread, read) { |
68 | text-decoration: underline; |
69 | } |
70 | |
71 | /* ::::: priority colors ::::: */ |
72 | |
73 | outlinerbody:-moz-outliner-cell-text(priorityCol, priority-highest) { |
74 | color: red; |
75 | } |
76 | |
77 | outlinerbody:-moz-outliner-cell-text(priorityCol, priority-high) { |
78 | color: rgb(128, 0, 0); |
79 | } |
80 | |
81 | outlinerbody:-moz-outliner-cell-text(priorityCol, priority-lowest) { |
82 | color: rgb(170, 170, 170); |
83 | } |
84 | |
85 | outlinerbody:-moz-outliner-cell-text(priorityCol, priority-low) { |
86 | color: rgb(85, 85, 85); |
87 | } |
88 | |
89 | outlinerbody:-moz-outliner-cell-text(priorityCol, selected) { |
90 | color: -moz-DialogText; |
91 | } |
92 | |
93 | outlinerbody:-moz-outliner-cell-text(priorityCol, selected, focus) { |
94 | color: HighlightText; |
95 | } |
96 | |
97 | /* ::::: message icons ::::: */ |
98 | |
99 | /* ::::: message column icons ::::: */ |
100 | |
101 | /* ..... thread column ..... */ |
102 | |
103 | outlinercol.threadColumnHeader { |
104 | list-style-image: url("chrome://messenger/skin/unthreadcol.gif"); |
105 | } |
106 | |
107 | outlinercol.threadColumnHeader[sortDirection="ascending"] { |
108 | list-style-image: url("chrome://messenger/skin/threadcol.gif"); |
109 | } |
110 | |
111 | outlinercol.threadColumnHeader[sortDirection="descending"] { |
112 | list-style-image: url("chrome://messenger/skin/threadcol.gif"); |
113 | } |
114 | |
115 | outlinerbody:-moz-outliner-image(threadCol, container) { |
116 | list-style-image: url("chrome://messenger/skin/thread-closed.gif"); |
117 | } |
118 | |
119 | outlinerbody:-moz-outliner-image(threadCol, container, open) { |
120 | list-style-image: url("chrome://messenger/skin/thread-open.gif"); |
121 | } |
122 | |
123 | outlinerbody:-moz-outliner-image(threadCol, container, hasUnread) { |
124 | list-style-image: url("chrome://messenger/skin/thread-new-closed.gif"); |
125 | } |
126 | |
127 | outlinerbody:-moz-outliner-image(threadCol, container, hasUnread, open) { |
128 | list-style-image: url("chrome://messenger/skin/thread-new-open.gif"); |
129 | } |
130 | |
131 | /* ..... read column ..... */ |
132 | |
133 | outlinercol.readColumnHeader { |
134 | list-style-image: url("chrome://messenger/skin/readcol.gif"); |
135 | } |
136 | |
137 | outlinerbody:-moz-outliner-image(unreadButtonColHeader) { |
138 | list-style-image: url("chrome://messenger/skin/readmail.gif"); |
139 | } |
140 | |
141 | outlinerbody:-moz-outliner-image(unreadButtonColHeader, unread) { |
142 | list-style-image: url("chrome://messenger/skin/unreadmail.gif"); |
143 | } |
144 | |
145 | /* ..... flag column ..... */ |
146 | |
147 | outlinercol.flagColumnHeader { |
148 | list-style-image: url("chrome://messenger/skin/flagcol.gif"); |
149 | } |
150 | |
151 | outlinerbody:-moz-outliner-image(flaggedCol) { |
152 | list-style-image: url("chrome://messenger/skin/readmail.gif"); |
153 | } |
154 | |
155 | outlinerbody:-moz-outliner-image(flaggedCol, flagged) { |
156 | list-style-image: url("chrome://messenger/skin/flaggedmail.gif"); |
157 | } |
158 | |
159 | /* ..... subject column ..... */ |
160 | |
161 | outlinerbody:-moz-outliner-image(subjectCol) { |
162 | padding-right: 2px; |
163 | list-style-image: url("chrome://messenger/skin/message-mail.gif"); |
164 | } |
165 | |
166 | outlinerbody:-moz-outliner-image(subjectCol, new) { |
167 | padding-right: 2px; |
168 | list-style-image: url("chrome://messenger/skin/message-mail-new.gif"); |
169 | } |
170 | |
171 | outlinerbody:-moz-outliner-image(subjectCol, attach) { |
172 | padding-right: 2px; |
173 | list-style-image: url("chrome://messenger/skin/message-mail-attach.gif"); |
174 | } |
175 | |
176 | outlinerbody:-moz-outliner-image(subjectCol, imapdeleted) { |
177 | padding-right: 2px; |
178 | list-style-image: url("chrome://messenger/skin/message-mail-imapdelete.gif"); |
179 | } |
180 | |
181 | outlinerbody:-moz-outliner-image(subjectCol, news) { |
182 | padding-right: 2px; |
183 | list-style-image: url("chrome://messenger/skin/message-news.gif"); |
184 | } |
185 | |
186 | outlinerbody:-moz-outliner-image(subjectCol, news, new) { |
187 | padding-right: 2px; |
188 | list-style-image: url("chrome://messenger/skin/message-news-new.gif"); |
189 | } |
190 | |
191 | outlinerbody:-moz-outliner-image(subjectCol, news, attach) { |
192 | padding-right: 2px; |
193 | list-style-image: url("chrome://messenger/skin/message-news-attach.gif"); |
194 | } |