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 | * |
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. |
20 | * |
21 | * Contributor(s): |
22 | * Joe Hewitt (hewitt@netscape.com) |
23 | * Hakan Waara (hwaara@chello.se) |
24 | * Jan Varga (varga@utcru.sk) |
25 | * Robert Kaiser <KaiRo@KaiRo.at> |
26 | * |
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. |
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 | |
7aa65558 |
49 | treechildren:-moz-tree-image(folderNameCol) { |
351107c9 |
50 | padding-right: 2px; |
b1eaa419 |
51 | list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif"); |
351107c9 |
52 | } |
53 | |
7aa65558 |
54 | treechildren:-moz-tree-image(folderNameCol, newMessages-true) { |
351107c9 |
55 | padding-right: 2px; |
b1eaa419 |
56 | list-style-image: url("chrome://messenger/skin/icons/folder-new-closed.gif"); |
351107c9 |
57 | } |
58 | |
59 | /* ..... Inbox ..... */ |
60 | |
7aa65558 |
61 | treechildren:-moz-tree-image(folderNameCol, specialFolder-Inbox) { |
351107c9 |
62 | padding-right: 2px; |
b1eaa419 |
63 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif"); |
351107c9 |
64 | } |
65 | |
7aa65558 |
66 | treechildren:-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) { |
351107c9 |
67 | padding-right: 2px; |
b1eaa419 |
68 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.gif"); |
351107c9 |
69 | } |
70 | |
71 | /* ..... Sent ..... */ |
72 | |
7aa65558 |
73 | treechildren:-moz-tree-image(folderNameCol, specialFolder-Sent) { |
351107c9 |
74 | padding-right: 2px; |
b1eaa419 |
75 | list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif"); |
351107c9 |
76 | } |
77 | |
78 | /* ..... Unsent ..... */ |
79 | |
7aa65558 |
80 | treechildren:-moz-tree-image(folderNameCol, specialFolder-Unsent Messages) { |
351107c9 |
81 | padding-right: 2px; |
b1eaa419 |
82 | list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif"); |
351107c9 |
83 | } |
84 | |
85 | /* ..... Drafts ..... */ |
86 | |
7aa65558 |
87 | treechildren:-moz-tree-image(folderNameCol, specialFolder-Drafts) { |
351107c9 |
88 | padding-right: 2px; |
b1eaa419 |
89 | list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif"); |
351107c9 |
90 | } |
91 | |
92 | /* ..... Templates ..... */ |
93 | |
7aa65558 |
94 | treechildren:-moz-tree-image(folderNameCol, specialFolder-Templates) { |
351107c9 |
95 | padding-right: 2px; |
b1eaa419 |
96 | list-style-image: url("chrome://messenger/skin/icons/folder-template.gif"); |
351107c9 |
97 | } |
98 | |
99 | /* ..... Trash ..... */ |
100 | |
7aa65558 |
101 | treechildren:-moz-tree-image(folderNameCol, specialFolder-Trash) { |
351107c9 |
102 | padding-right: 2px; |
b1eaa419 |
103 | list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif"); |
351107c9 |
104 | } |
105 | |
7aa65558 |
106 | treechildren:-moz-tree-image(folderNameCol, isServer-true) { |
351107c9 |
107 | padding-right: 2px; |
b1eaa419 |
108 | list-style-image: url("chrome://messenger/skin/icons/server-mail.gif"); |
351107c9 |
109 | } |
110 | |
7aa65558 |
111 | treechildren:-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true) { |
351107c9 |
112 | padding-right: 2px; |
b1eaa419 |
113 | list-style-image: url("chrome://messenger/skin/icons/server-mail-new.gif"); |
351107c9 |
114 | } |
115 | |
7aa65558 |
116 | treechildren:-moz-tree-cell-text(folderNameCol, newMessages-true), |
117 | treechildren:-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) { |
351107c9 |
118 | font-weight: bold; |
119 | } |
120 | |
7aa65558 |
121 | treechildren:-moz-tree-image(folderNameCol, imapShared-true) { |
b1eaa419 |
122 | padding-right: 2px; |
123 | list-style-image: url("chrome://messenger/skin/icons/folder-share.gif"); |
124 | } |
125 | |
351107c9 |
126 | /* ..... Server Folders ..... */ |
127 | |
7aa65558 |
128 | treechildren:-moz-tree-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) { |
351107c9 |
129 | padding-right: 2px; |
b1eaa419 |
130 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
351107c9 |
131 | } |
132 | |
7aa65558 |
133 | treechildren:-moz-tree-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) { |
351107c9 |
134 | padding-right: 2px; |
b1eaa419 |
135 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
351107c9 |
136 | } |
137 | |
7aa65558 |
138 | treechildren:-moz-tree-image(folderNameCol, isServer-true, serverType-none) { |
351107c9 |
139 | padding-right: 2px; |
b1eaa419 |
140 | list-style-image: url("chrome://messenger/skin/icons/server-local.gif"); |
351107c9 |
141 | } |
142 | |
143 | /* ..... News Folders ..... */ |
144 | |
7aa65558 |
145 | treechildren:-moz-tree-image(folderNameCol, serverType-nntp) { |
351107c9 |
146 | padding-right: 2px; |
b1eaa419 |
147 | list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.gif"); |
351107c9 |
148 | } |
149 | |
7aa65558 |
150 | treechildren:-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) { |
351107c9 |
151 | padding-right: 2px; |
b1eaa419 |
152 | list-style-image: url("chrome://messenger/skin/icons/server-news.gif"); |
351107c9 |
153 | } |
154 | |
7aa65558 |
155 | treechildren:-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) { |
351107c9 |
156 | padding-right: 2px; |
b1eaa419 |
157 | list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif"); |
351107c9 |
158 | } |
159 | |
160 | /* ::::: All Servers ::::: */ |
161 | |
7aa65558 |
162 | treechildren:-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) { |
351107c9 |
163 | font-weight: bold; |
164 | } |
165 | |
7aa65558 |
166 | treechildren:-moz-tree-cell-text(folderNameCol, isServer-true), |
167 | treechildren:-moz-tree-cell-text(hasUnreadMessages-true) { |
351107c9 |
168 | font-weight: bold; |
169 | } |
170 | |
7aa65558 |
171 | treechildren:-moz-tree-cell-text(folderNameCol, noSelect-true) { |
351107c9 |
172 | color: #8050B0; |
173 | font-style: italic; |
174 | } |
175 | |
b1eaa419 |
176 | .tree-folder-checkbox { |
177 | list-style-image: none; |
351107c9 |
178 | } |
179 | |
7aa65558 |
180 | treechildren:-moz-tree-image(syncCol) { |
b1eaa419 |
181 | list-style-image: url("chrome://messenger/skin/icons/dot.gif"); |
351107c9 |
182 | } |
b1eaa419 |
183 | |
7aa65558 |
184 | treechildren:-moz-tree-image(syncCol, synchronize-true) { |
b1eaa419 |
185 | list-style-image: url("chrome://messenger/skin/icons/check.gif"); |
186 | } |
187 | |
7aa65558 |
188 | treechildren:-moz-tree-image(syncCol, isServer-true) { |
351107c9 |
189 | list-style-image: none; |
190 | } |
191 | |
b1eaa419 |
192 | #folder-panel { |
193 | min-width: 10px; |
351107c9 |
194 | } |
195 | |
b1eaa419 |
196 | #folderTree { |
197 | border: none; |
351107c9 |
198 | } |
199 | |
b1eaa419 |
200 | #folderUnreadCol, |
201 | #folderTotalCol { |
202 | text-align: right; |
351107c9 |
203 | } |