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