Commit | Line | Data |
---|---|---|
351107c9 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 | |
3 | * | |
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/ | |
8 | * | |
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. | |
13 | * | |
14 | * The Original Code is mozilla.org code. | |
15 | * | |
3d6dd546 | 16 | * The Initial Developer of the Original Code is |
351107c9 | 17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998 | |
19 | * the Initial Developer. All Rights Reserved. | |
20 | * | |
21 | * Contributor(s): | |
22 | * Joe Hewitt (hewitt@netscape.com) | |
23 | * Hakan Waara (hwaara@chello.se) | |
03f6f39c | 24 | * Jan Varga (varga@nixcorp.com) |
351107c9 | 25 | * Robert Kaiser <KaiRo@KaiRo.at> |
26 | * | |
27 | * Alternatively, the contents of this file may be used under the terms of | |
3d6dd546 | 28 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
351107c9 | 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 | /* ===== folderPane.css ================================================= | |
42 | == Styles for the Folder pane in the Messenger 3-pane window. | |
43 | ======================================================================= */ | |
44 | ||
45 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
46 | ||
351107c9 | 47 | /* ::::: mail folder ::::: */ |
48 | ||
01fc5c11 | 49 | treechildren::-moz-tree-image(folderNameCol) { |
8caa872d | 50 | -moz-padding-end: 2px; |
b1eaa419 | 51 | list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif"); |
351107c9 | 52 | } |
53 | ||
01fc5c11 | 54 | treechildren::-moz-tree-image(folderNameCol, newMessages-true) { |
8caa872d | 55 | -moz-padding-end: 2px; |
b1eaa419 | 56 | list-style-image: url("chrome://messenger/skin/icons/folder-new-closed.gif"); |
351107c9 | 57 | } |
58 | ||
c710949d 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 | ||
351107c9 | 71 | /* ..... Inbox ..... */ |
72 | ||
01fc5c11 | 73 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) { |
8caa872d | 74 | -moz-padding-end: 2px; |
b1eaa419 | 75 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif"); |
351107c9 | 76 | } |
77 | ||
01fc5c11 | 78 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) { |
8caa872d | 79 | -moz-padding-end: 2px; |
b1eaa419 | 80 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.gif"); |
351107c9 | 81 | } |
82 | ||
83 | /* ..... Sent ..... */ | |
84 | ||
01fc5c11 | 85 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) { |
8caa872d | 86 | -moz-padding-end: 2px; |
b1eaa419 | 87 | list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif"); |
351107c9 | 88 | } |
89 | ||
90 | /* ..... Unsent ..... */ | |
91 | ||
52d93d6e | 92 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Outbox), |
01fc5c11 | 93 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Unsent Messages) { |
8caa872d | 94 | -moz-padding-end: 2px; |
b1eaa419 | 95 | list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif"); |
351107c9 | 96 | } |
97 | ||
98 | /* ..... Drafts ..... */ | |
99 | ||
01fc5c11 | 100 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) { |
8caa872d | 101 | -moz-padding-end: 2px; |
b1eaa419 | 102 | list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif"); |
351107c9 | 103 | } |
104 | ||
105 | /* ..... Templates ..... */ | |
106 | ||
01fc5c11 | 107 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) { |
8caa872d | 108 | -moz-padding-end: 2px; |
b1eaa419 | 109 | list-style-image: url("chrome://messenger/skin/icons/folder-template.gif"); |
351107c9 | 110 | } |
111 | ||
a3b3d4d6 | 112 | /* ..... Junk ..... */ |
113 | ||
01fc5c11 | 114 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) { |
8caa872d | 115 | -moz-padding-end: 2px; |
a3b3d4d6 | 116 | list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif"); |
117 | } | |
118 | ||
351107c9 | 119 | /* ..... Trash ..... */ |
120 | ||
01fc5c11 | 121 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) { |
8caa872d | 122 | -moz-padding-end: 2px; |
b1eaa419 | 123 | list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif"); |
351107c9 | 124 | } |
125 | ||
57d23eae | 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 | ||
01fc5c11 | 132 | treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true), |
133 | treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) { | |
351107c9 | 134 | font-weight: bold; |
135 | } | |
136 | ||
01fc5c11 | 137 | treechildren::-moz-tree-image(folderNameCol, imapShared-true) { |
8caa872d | 138 | -moz-padding-end: 2px; |
b1eaa419 | 139 | list-style-image: url("chrome://messenger/skin/icons/folder-share.gif"); |
140 | } | |
141 | ||
351107c9 | 142 | /* ..... Server Folders ..... */ |
143 | ||
c710949d | 144 | treechildren::-moz-tree-image(folderNameCol, isServer-true) { |
8caa872d | 145 | -moz-padding-end: 2px; |
c710949d 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; |
c710949d RK |
151 | list-style-image: url("chrome://messenger/skin/icons/server-mail-new.gif"); |
152 | } | |
153 | ||
01fc5c11 | 154 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) { |
8caa872d | 155 | -moz-padding-end: 2px; |
b1eaa419 | 156 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
351107c9 | 157 | } |
158 | ||
01fc5c11 | 159 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) { |
8caa872d | 160 | -moz-padding-end: 2px; |
b1eaa419 | 161 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
351107c9 | 162 | } |
163 | ||
3d6dd546 | 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 | ||
01fc5c11 | 168 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-none) { |
8caa872d | 169 | -moz-padding-end: 2px; |
b1eaa419 | 170 | list-style-image: url("chrome://messenger/skin/icons/server-local.gif"); |
351107c9 | 171 | } |
172 | ||
01fc5c11 | 173 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) { |
8caa872d | 174 | -moz-padding-end: 2px; |
b1eaa419 | 175 | list-style-image: url("chrome://messenger/skin/icons/server-news.gif"); |
351107c9 | 176 | } |
177 | ||
01fc5c11 | 178 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) { |
8caa872d | 179 | -moz-padding-end: 2px; |
b1eaa419 | 180 | list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif"); |
351107c9 | 181 | } |
182 | ||
c710949d RK |
183 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-rss) { |
184 | list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png"); | |
185 | } | |
186 | ||
351107c9 | 187 | /* ::::: All Servers ::::: */ |
188 | ||
01fc5c11 | 189 | treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) { |
351107c9 | 190 | font-weight: bold; |
f1d07a65 | 191 | color: #FFCF00; |
351107c9 | 192 | } |
193 | ||
01fc5c11 | 194 | treechildren::-moz-tree-cell-text(folderNameCol, isServer-true), |
195 | treechildren::-moz-tree-cell-text(hasUnreadMessages-true) { | |
351107c9 | 196 | font-weight: bold; |
f1d07a65 | 197 | color: #FFCF00; |
351107c9 | 198 | } |
199 | ||
01fc5c11 | 200 | treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) { |
351107c9 | 201 | color: #8050B0; |
202 | font-style: italic; | |
203 | } | |
204 | ||
b1eaa419 | 205 | .tree-folder-checkbox { |
206 | list-style-image: none; | |
351107c9 | 207 | } |
208 | ||
01fc5c11 | 209 | treechildren::-moz-tree-image(syncCol) { |
b1eaa419 | 210 | list-style-image: url("chrome://messenger/skin/icons/dot.gif"); |
351107c9 | 211 | } |
b1eaa419 | 212 | |
01fc5c11 | 213 | treechildren::-moz-tree-image(syncCol, synchronize-true) { |
b1eaa419 | 214 | list-style-image: url("chrome://messenger/skin/icons/check.gif"); |
215 | } | |
216 | ||
01fc5c11 | 217 | treechildren::-moz-tree-image(syncCol, isServer-true) { |
351107c9 | 218 | list-style-image: none; |
219 | } | |
220 | ||
b1eaa419 | 221 | #folder-panel { |
222 | min-width: 10px; | |
351107c9 | 223 | } |
224 | ||
b1eaa419 | 225 | #folderTree { |
226 | border: none; | |
351107c9 | 227 | } |
228 | ||
a3b3d4d6 | 229 | #folderTotalCol, |
230 | #folderSizeCol { | |
b1eaa419 | 231 | text-align: right; |
351107c9 | 232 | } |
ac1cdf20 | 233 | |
234 | #folderNameCol [sortDirection="ascending"] { | |
235 | list-style-image: none; | |
236 | } | |
237 | ||
238 | #folderNameCol [sortDirection="descending"] { | |
239 | list-style-image: none; | |
240 | } |