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