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 | * |
76983f4c |
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 | * Joe Hewitt (hewitt@netscape.com) |
cd130c22 |
23 | * Hakan Waara (hwaara@chello.se) |
32fb9cf9 |
24 | * Jan Varga (varga@nixcorp.com) |
128000f4 |
25 | * Robert Kaiser <KaiRo@KaiRo.at> |
26 | * |
27 | * Alternatively, the contents of this file may be used under the terms of |
76983f4c |
28 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
128000f4 |
29 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
30 | * in which case the provisions of the GPL or the LGPL are applicable instead |
31 | * of those above. If you wish to allow use of your version of this file only |
32 | * under the terms of either the GPL or the LGPL, and not to allow others to |
33 | * use your version of this file under the terms of the NPL, indicate your |
34 | * decision by deleting the provisions above and replace them with the notice |
35 | * and other provisions required by the GPL or the LGPL. If you do not delete |
36 | * the provisions above, a recipient may use your version of this file under |
37 | * the terms of any one of the NPL, the GPL or the LGPL. |
38 | * |
39 | * ***** END LICENSE BLOCK ***** */ |
40 | |
41 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
f6e0a33f |
42 | |
43 | /* ===== folderPane.css ================================================= |
44 | == Styles for the Folder pane in the Messenger 3-pane window. |
45 | ======================================================================= */ |
46 | |
f6e0a33f |
47 | /* ::::: mail folder ::::: */ |
48 | |
a1f525f0 |
49 | treechildren::-moz-tree-image(folderNameCol) { |
f6e0a33f |
50 | padding-right: 2px; |
74d14f90 |
51 | list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif"); |
f6e0a33f |
52 | } |
53 | |
a1f525f0 |
54 | treechildren::-moz-tree-image(folderNameCol, newMessages-true) { |
f6e0a33f |
55 | padding-right: 2px; |
74d14f90 |
56 | list-style-image: url("chrome://messenger/skin/icons/folder-new-closed.gif"); |
f6e0a33f |
57 | } |
58 | |
59 | /* ..... Inbox ..... */ |
60 | |
a1f525f0 |
61 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) { |
f6e0a33f |
62 | padding-right: 2px; |
74d14f90 |
63 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif"); |
f6e0a33f |
64 | } |
65 | |
a1f525f0 |
66 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) { |
f6e0a33f |
67 | padding-right: 2px; |
74d14f90 |
68 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.gif"); |
f6e0a33f |
69 | } |
70 | |
71 | /* ..... Sent ..... */ |
72 | |
a1f525f0 |
73 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) { |
f6e0a33f |
74 | padding-right: 2px; |
74d14f90 |
75 | list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif"); |
f6e0a33f |
76 | } |
77 | |
78 | /* ..... Unsent ..... */ |
79 | |
a1f525f0 |
80 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Unsent Messages) { |
f6e0a33f |
81 | padding-right: 2px; |
74d14f90 |
82 | list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif"); |
f6e0a33f |
83 | } |
84 | |
85 | /* ..... Drafts ..... */ |
86 | |
a1f525f0 |
87 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) { |
f6e0a33f |
88 | padding-right: 2px; |
74d14f90 |
89 | list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif"); |
f6e0a33f |
90 | } |
91 | |
92 | /* ..... Templates ..... */ |
93 | |
a1f525f0 |
94 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) { |
f6e0a33f |
95 | padding-right: 2px; |
74d14f90 |
96 | list-style-image: url("chrome://messenger/skin/icons/folder-template.gif"); |
f6e0a33f |
97 | } |
98 | |
4c66fa00 |
99 | /* ..... Junk ..... */ |
100 | |
a1f525f0 |
101 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) { |
4c66fa00 |
102 | padding-right: 2px; |
103 | list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif"); |
104 | } |
105 | |
f6e0a33f |
106 | /* ..... Trash ..... */ |
107 | |
a1f525f0 |
108 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) { |
f6e0a33f |
109 | padding-right: 2px; |
74d14f90 |
110 | list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif"); |
f6e0a33f |
111 | } |
112 | |
b70a3a73 |
113 | /* ..... Saved Searches ..... */ |
114 | |
115 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Virtual) { |
116 | list-style-image: url("chrome://messenger/skin/icons/folder-search.gif"); |
117 | } |
118 | |
a1f525f0 |
119 | treechildren::-moz-tree-image(folderNameCol, isServer-true) { |
f6e0a33f |
120 | padding-right: 2px; |
74d14f90 |
121 | list-style-image: url("chrome://messenger/skin/icons/server-mail.gif"); |
f6e0a33f |
122 | } |
123 | |
a1f525f0 |
124 | treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true) { |
f6e0a33f |
125 | padding-right: 2px; |
74d14f90 |
126 | list-style-image: url("chrome://messenger/skin/icons/server-mail-new.gif"); |
f6e0a33f |
127 | } |
128 | |
a1f525f0 |
129 | treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true), |
130 | treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) { |
f6e0a33f |
131 | font-weight: bold; |
132 | } |
133 | |
a1f525f0 |
134 | treechildren::-moz-tree-image(folderNameCol, imapShared-true) { |
d81fcf59 |
135 | padding-right: 2px; |
136 | list-style-image: url("chrome://messenger/skin/icons/folder-share.gif"); |
137 | } |
138 | |
f6e0a33f |
139 | /* ..... Server Folders ..... */ |
140 | |
a1f525f0 |
141 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) { |
f6e0a33f |
142 | padding-right: 2px; |
74d14f90 |
143 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
f6e0a33f |
144 | } |
145 | |
a1f525f0 |
146 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) { |
f6e0a33f |
147 | padding-right: 2px; |
74d14f90 |
148 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
f6e0a33f |
149 | } |
150 | |
76983f4c |
151 | treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true, isSecure-true) { |
152 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock-new.gif"); |
153 | } |
154 | |
a1f525f0 |
155 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-none) { |
f6e0a33f |
156 | padding-right: 2px; |
74d14f90 |
157 | list-style-image: url("chrome://messenger/skin/icons/server-local.gif"); |
f6e0a33f |
158 | } |
159 | |
160 | /* ..... News Folders ..... */ |
161 | |
a1f525f0 |
162 | treechildren::-moz-tree-image(folderNameCol, serverType-nntp) { |
f6e0a33f |
163 | padding-right: 2px; |
74d14f90 |
164 | list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.gif"); |
f6e0a33f |
165 | } |
166 | |
a1f525f0 |
167 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) { |
f6e0a33f |
168 | padding-right: 2px; |
74d14f90 |
169 | list-style-image: url("chrome://messenger/skin/icons/server-news.gif"); |
f6e0a33f |
170 | } |
171 | |
a1f525f0 |
172 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) { |
f6e0a33f |
173 | padding-right: 2px; |
74d14f90 |
174 | list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif"); |
f6e0a33f |
175 | } |
176 | |
177 | /* ::::: All Servers ::::: */ |
178 | |
a1f525f0 |
179 | treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) { |
f6e0a33f |
180 | font-weight: bold; |
181 | } |
182 | |
a1f525f0 |
183 | treechildren::-moz-tree-cell-text(folderNameCol, isServer-true), |
184 | treechildren::-moz-tree-cell-text(hasUnreadMessages-true) { |
f6e0a33f |
185 | font-weight: bold; |
186 | } |
187 | |
a1f525f0 |
188 | treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) { |
74d14f90 |
189 | color: #808080; |
f6e0a33f |
190 | font-style: italic; |
191 | } |
192 | |
f6e0a33f |
193 | .tree-folder-checkbox { |
194 | list-style-image: none; |
195 | } |
196 | |
a1f525f0 |
197 | treechildren::-moz-tree-image(syncCol) { |
74d14f90 |
198 | list-style-image: url("chrome://messenger/skin/icons/dot.gif"); |
f6e0a33f |
199 | } |
200 | |
a1f525f0 |
201 | treechildren::-moz-tree-image(syncCol, synchronize-true) { |
74d14f90 |
202 | list-style-image: url("chrome://messenger/skin/icons/check.gif"); |
f6e0a33f |
203 | } |
204 | |
a1f525f0 |
205 | treechildren::-moz-tree-image(syncCol, isServer-true) { |
f6e0a33f |
206 | list-style-image: none; |
207 | } |
128000f4 |
208 | |
74d14f90 |
209 | #folder-panel { |
210 | min-width: 10px; |
211 | } |
212 | |
213 | #folderTree { |
214 | border: none; |
215 | } |
216 | |
217 | #folderUnreadCol, |
1431bf9b |
218 | #folderTotalCol, |
219 | #folderSizeCol { |
74d14f90 |
220 | text-align: right; |
221 | } |
b618d1fd |
222 | |
223 | #folderNameCol [sortDirection="ascending"] { |
224 | list-style-image: none; |
225 | } |
226 | |
227 | #folderNameCol [sortDirection="descending"] { |
228 | list-style-image: none; |
229 | } |