Commit | Line | Data |
---|---|---|
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 | ||
d61a45b2 RK |
59 | /* ..... News and Feeds ..... */ |
60 | ||
61 | treechildren::-moz-tree-image(folderNameCol, serverType-nntp), | |
62 | treechildren::-moz-tree-image(folderNameCol, serverType-rss) { | |
63 | list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.gif"); | |
64 | } | |
65 | ||
66 | treechildren::-moz-tree-image(folderNameCol, serverType-nntp, newMessages-true), | |
67 | treechildren::-moz-tree-image(folderNameCol, serverType-rss, newMessages-true) { | |
68 | list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup-new.gif"); | |
69 | } | |
70 | ||
f6e0a33f | 71 | /* ..... Inbox ..... */ |
72 | ||
a1f525f0 | 73 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) { |
f6e0a33f | 74 | padding-right: 2px; |
74d14f90 | 75 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif"); |
f6e0a33f | 76 | } |
77 | ||
a1f525f0 | 78 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) { |
f6e0a33f | 79 | padding-right: 2px; |
74d14f90 | 80 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.gif"); |
f6e0a33f | 81 | } |
82 | ||
83 | /* ..... Sent ..... */ | |
84 | ||
a1f525f0 | 85 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) { |
f6e0a33f | 86 | padding-right: 2px; |
74d14f90 | 87 | list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif"); |
f6e0a33f | 88 | } |
89 | ||
90 | /* ..... Unsent ..... */ | |
91 | ||
a1f525f0 | 92 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Unsent Messages) { |
f6e0a33f | 93 | padding-right: 2px; |
74d14f90 | 94 | list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif"); |
f6e0a33f | 95 | } |
96 | ||
97 | /* ..... Drafts ..... */ | |
98 | ||
a1f525f0 | 99 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) { |
f6e0a33f | 100 | padding-right: 2px; |
74d14f90 | 101 | list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif"); |
f6e0a33f | 102 | } |
103 | ||
104 | /* ..... Templates ..... */ | |
105 | ||
a1f525f0 | 106 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) { |
f6e0a33f | 107 | padding-right: 2px; |
74d14f90 | 108 | list-style-image: url("chrome://messenger/skin/icons/folder-template.gif"); |
f6e0a33f | 109 | } |
110 | ||
4c66fa00 | 111 | /* ..... Junk ..... */ |
112 | ||
a1f525f0 | 113 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) { |
4c66fa00 | 114 | padding-right: 2px; |
115 | list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif"); | |
116 | } | |
117 | ||
f6e0a33f | 118 | /* ..... Trash ..... */ |
119 | ||
a1f525f0 | 120 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) { |
f6e0a33f | 121 | padding-right: 2px; |
74d14f90 | 122 | list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif"); |
f6e0a33f | 123 | } |
124 | ||
b70a3a73 | 125 | /* ..... Saved Searches ..... */ |
126 | ||
127 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Virtual) { | |
128 | list-style-image: url("chrome://messenger/skin/icons/folder-search.gif"); | |
129 | } | |
130 | ||
a1f525f0 | 131 | treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true), |
132 | treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) { | |
f6e0a33f | 133 | font-weight: bold; |
134 | } | |
135 | ||
a1f525f0 | 136 | treechildren::-moz-tree-image(folderNameCol, imapShared-true) { |
d81fcf59 | 137 | padding-right: 2px; |
138 | list-style-image: url("chrome://messenger/skin/icons/folder-share.gif"); | |
139 | } | |
140 | ||
f6e0a33f | 141 | /* ..... Server Folders ..... */ |
142 | ||
d61a45b2 RK |
143 | treechildren::-moz-tree-image(folderNameCol, isServer-true) { |
144 | padding-right: 2px; | |
145 | list-style-image: url("chrome://messenger/skin/icons/server-mail.gif"); | |
146 | } | |
147 | ||
148 | treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true) { | |
149 | padding-right: 2px; | |
150 | list-style-image: url("chrome://messenger/skin/icons/server-mail-new.gif"); | |
151 | } | |
152 | ||
a1f525f0 | 153 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) { |
f6e0a33f | 154 | padding-right: 2px; |
74d14f90 | 155 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
f6e0a33f | 156 | } |
157 | ||
a1f525f0 | 158 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) { |
f6e0a33f | 159 | padding-right: 2px; |
74d14f90 | 160 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
f6e0a33f | 161 | } |
162 | ||
76983f4c | 163 | treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true, isSecure-true) { |
164 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock-new.gif"); | |
165 | } | |
166 | ||
a1f525f0 | 167 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-none) { |
f6e0a33f | 168 | padding-right: 2px; |
74d14f90 | 169 | list-style-image: url("chrome://messenger/skin/icons/server-local.gif"); |
f6e0a33f | 170 | } |
171 | ||
a1f525f0 | 172 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) { |
f6e0a33f | 173 | padding-right: 2px; |
74d14f90 | 174 | list-style-image: url("chrome://messenger/skin/icons/server-news.gif"); |
f6e0a33f | 175 | } |
176 | ||
a1f525f0 | 177 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) { |
f6e0a33f | 178 | padding-right: 2px; |
74d14f90 | 179 | list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif"); |
f6e0a33f | 180 | } |
181 | ||
d61a45b2 RK |
182 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-rss) { |
183 | list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png"); | |
184 | } | |
185 | ||
f6e0a33f | 186 | /* ::::: All Servers ::::: */ |
187 | ||
a1f525f0 | 188 | treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) { |
f6e0a33f | 189 | font-weight: bold; |
190 | } | |
191 | ||
a1f525f0 | 192 | treechildren::-moz-tree-cell-text(folderNameCol, isServer-true), |
193 | treechildren::-moz-tree-cell-text(hasUnreadMessages-true) { | |
f6e0a33f | 194 | font-weight: bold; |
195 | } | |
196 | ||
a1f525f0 | 197 | treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) { |
74d14f90 | 198 | color: #808080; |
f6e0a33f | 199 | font-style: italic; |
200 | } | |
201 | ||
f6e0a33f | 202 | .tree-folder-checkbox { |
203 | list-style-image: none; | |
204 | } | |
205 | ||
a1f525f0 | 206 | treechildren::-moz-tree-image(syncCol) { |
74d14f90 | 207 | list-style-image: url("chrome://messenger/skin/icons/dot.gif"); |
f6e0a33f | 208 | } |
209 | ||
a1f525f0 | 210 | treechildren::-moz-tree-image(syncCol, synchronize-true) { |
74d14f90 | 211 | list-style-image: url("chrome://messenger/skin/icons/check.gif"); |
f6e0a33f | 212 | } |
213 | ||
a1f525f0 | 214 | treechildren::-moz-tree-image(syncCol, isServer-true) { |
f6e0a33f | 215 | list-style-image: none; |
216 | } | |
128000f4 | 217 | |
74d14f90 | 218 | #folder-panel { |
219 | min-width: 10px; | |
220 | } | |
221 | ||
222 | #folderTree { | |
223 | border: none; | |
224 | } | |
225 | ||
226 | #folderUnreadCol, | |
1431bf9b | 227 | #folderTotalCol, |
228 | #folderSizeCol { | |
74d14f90 | 229 | text-align: right; |
230 | } | |
b618d1fd | 231 | |
232 | #folderNameCol [sortDirection="ascending"] { | |
233 | list-style-image: none; | |
234 | } | |
235 | ||
236 | #folderNameCol [sortDirection="descending"] { | |
237 | list-style-image: none; | |
238 | } |