1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is mozilla.org code.
16 * The Initial Developer of the Original Code is
17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998
19 * the Initial Developer. All Rights Reserved.
22 * Joe Hewitt (hewitt@netscape.com)
23 * Hakan Waara (hwaara@chello.se)
24 * Jan Varga (varga@nixcorp.com)
25 * Robert Kaiser <KaiRo@KaiRo.at>
27 * Alternatively, the contents of this file may be used under the terms of
28 * either the GNU General Public License Version 2 or later (the "GPL"), or
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.
39 * ***** END LICENSE BLOCK ***** */
41 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
43 /* ===== folderPane.css =================================================
44 == Styles for the Folder pane in the Messenger 3-pane window.
45 ======================================================================= */
47 /* ::::: mail folder ::::: */
49 treechildren::-moz-tree-image(folderNameCol) {
50 -moz-padding-end: 2px;
53 .tabmail-tab[type="folder"],
54 treechildren::-moz-tree-image(folderNameCol) {
55 list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif");
58 .tabmail-tab[type="folder"][NewMessages="true"],
59 treechildren::-moz-tree-image(folderNameCol, newMessages-true) {
60 list-style-image: url("chrome://messenger/skin/icons/folder-new-closed.gif");
63 /* ..... News and Feeds ..... */
65 .tabmail-tab[type="folder"][ServerType="nntp"],
66 .tabmail-tab[type="folder"][ServerType="rss"],
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");
72 .tabmail-tab[type="folder"][ServerType="nntp"][NewMessages="true"],
73 .tabmail-tab[type="folder"][ServerType="rss"][NewMessages="true"],
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");
79 /* ..... Inbox ..... */
81 .tabmail-tab[type="folder"][SpecialFolder="Inbox"],
82 treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) {
83 list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif");
86 .tabmail-tab[type="folder"][SpecialFolder="Inbox"][NewMessages="true"],
87 treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) {
88 list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.gif");
91 /* ..... Sent ..... */
93 .tabmail-tab[type="folder"][SpecialFolder="Sent"],
94 treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) {
95 list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif");
98 /* ..... Unsent ..... */
100 .tabmail-tab[type="folder"][SpecialFolder="Outbox"],
101 .tabmail-tab[type="folder"][SpecialFolder="Unsent Messages"],
102 treechildren::-moz-tree-image(folderNameCol, specialFolder-Outbox),
103 treechildren::-moz-tree-image(folderNameCol, specialFolder-Unsent Messages) {
104 list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif");
107 /* ..... Drafts ..... */
109 .tabmail-tab[type="folder"][SpecialFolder="Drafts"],
110 treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) {
111 list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif");
114 /* ..... Templates ..... */
116 .tabmail-tab[type="folder"][SpecialFolder="Templates"],
117 treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) {
118 list-style-image: url("chrome://messenger/skin/icons/folder-template.gif");
121 /* ..... Junk ..... */
123 .tabmail-tab[type="folder"][SpecialFolder="Junk"],
124 treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) {
125 list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
128 /* ..... Trash ..... */
130 .tabmail-tab[type="folder"][SpecialFolder="Trash"],
131 treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) {
132 list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif");
135 /* ..... Saved Searches ..... */
137 .tabmail-tab[type="folder"][SpecialFolder="Virtual"],
138 treechildren::-moz-tree-image(folderNameCol, specialFolder-Virtual) {
139 list-style-image: url("chrome://messenger/skin/icons/folder-search.gif");
142 .tabmail-tab[type="folder"][NewMessages="true"],
143 treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) {
147 .tabmail-tab[type="folder"][ImapShared="true"],
148 treechildren::-moz-tree-image(folderNameCol, imapShared-true) {
149 -moz-padding-end: 2px;
150 list-style-image: url("chrome://messenger/skin/icons/folder-share.gif");
153 /* ..... Server Folders ..... */
155 .tabmail-tab[type="folder"][IsServer="true"],
156 treechildren::-moz-tree-image(folderNameCol, isServer-true) {
157 list-style-image: url("chrome://messenger/skin/icons/server-mail.gif");
160 .tabmail-tab[type="folder"][BiffState="NewMail"][IsServer="true"],
161 treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true) {
162 list-style-image: url("chrome://messenger/skin/icons/server-mail-new.gif");
165 .tabmail-tab[type="folder"][IsServer="true"][ServerType="pop3"][IsSecure="true"],
166 treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) {
167 list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif");
170 .tabmail-tab[type="folder"][IsServer="true"][ServerType="imap"][IsSecure="true"],
171 treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) {
172 list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif");
175 .tabmail-tab[type="folder"][BiffState="NewMail"][IsServer="true"][ServerType="imap"][IsSecure="true"],
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");
180 .tabmail-tab[type="folder"][IsServer="true"][ServerType="none"],
181 treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-none) {
182 list-style-image: url("chrome://messenger/skin/icons/server-local.gif");
185 .tabmail-tab[type="folder"][IsServer="true"][ServerType="nntp"],
186 treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) {
187 list-style-image: url("chrome://messenger/skin/icons/server-news.gif");
190 .tabmail-tab[type="folder"][IsServer="true"][ServerType="nntp"][IsSecure="true"],
191 treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) {
192 list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif");
195 .tabmail-tab[type="folder"][IsServer="true"][ServerType="rss"],
196 treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-rss) {
197 list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png");
200 /* ::::: All Servers ::::: */
202 treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) {
206 .tabmail-tab[type="folder"][IsServer="true"],
207 treechildren::-moz-tree-cell-text(folderNameCol, isServer-true),
208 treechildren::-moz-tree-cell-text(hasUnreadMessages-true) {
212 treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) {
217 .tree-folder-checkbox {
218 list-style-image: none;
221 treechildren::-moz-tree-image(syncCol) {
222 list-style-image: url("chrome://messenger/skin/icons/dot.gif");
225 treechildren::-moz-tree-image(syncCol, synchronize-true) {
226 list-style-image: url("chrome://messenger/skin/icons/check.gif");
229 treechildren::-moz-tree-image(syncCol, isServer-true) {
230 list-style-image: none;
247 #folderNameCol [sortDirection="ascending"] {
248 list-style-image: none;
251 #folderNameCol [sortDirection="descending"] {
252 list-style-image: none;