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