update to suite default status of 2009-01-30: bug 474807 - replace margin/padding...
[themes.git] / LCARStrek / messenger / folderPane.css
... / ...
CommitLineData
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@nixcorp.com)
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
47/* ::::: mail folder ::::: */
48
49treechildren::-moz-tree-image(folderNameCol) {
50 -moz-padding-end: 2px;
51 list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif");
52}
53
54treechildren::-moz-tree-image(folderNameCol, newMessages-true) {
55 -moz-padding-end: 2px;
56 list-style-image: url("chrome://messenger/skin/icons/folder-new-closed.gif");
57}
58
59/* ..... News and Feeds ..... */
60
61treechildren::-moz-tree-image(folderNameCol, serverType-nntp),
62treechildren::-moz-tree-image(folderNameCol, serverType-rss) {
63 list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.gif");
64}
65
66treechildren::-moz-tree-image(folderNameCol, serverType-nntp, newMessages-true),
67treechildren::-moz-tree-image(folderNameCol, serverType-rss, newMessages-true) {
68 list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup-new.gif");
69}
70
71/* ..... Inbox ..... */
72
73treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) {
74 -moz-padding-end: 2px;
75 list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif");
76}
77
78treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) {
79 -moz-padding-end: 2px;
80 list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.gif");
81}
82
83/* ..... Sent ..... */
84
85treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) {
86 -moz-padding-end: 2px;
87 list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif");
88}
89
90/* ..... Unsent ..... */
91
92treechildren::-moz-tree-image(folderNameCol, specialFolder-Unsent Messages) {
93 -moz-padding-end: 2px;
94 list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif");
95}
96
97/* ..... Drafts ..... */
98
99treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) {
100 -moz-padding-end: 2px;
101 list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif");
102}
103
104/* ..... Templates ..... */
105
106treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) {
107 -moz-padding-end: 2px;
108 list-style-image: url("chrome://messenger/skin/icons/folder-template.gif");
109}
110
111/* ..... Junk ..... */
112
113treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) {
114 -moz-padding-end: 2px;
115 list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
116}
117
118/* ..... Trash ..... */
119
120treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) {
121 -moz-padding-end: 2px;
122 list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif");
123}
124
125/* ..... Saved Searches ..... */
126
127treechildren::-moz-tree-image(folderNameCol, specialFolder-Virtual) {
128 list-style-image: url("chrome://messenger/skin/icons/folder-search.gif");
129}
130
131treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
132treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
133 font-weight: bold;
134}
135
136treechildren::-moz-tree-image(folderNameCol, imapShared-true) {
137 -moz-padding-end: 2px;
138 list-style-image: url("chrome://messenger/skin/icons/folder-share.gif");
139}
140
141/* ..... Server Folders ..... */
142
143treechildren::-moz-tree-image(folderNameCol, isServer-true) {
144 -moz-padding-end: 2px;
145 list-style-image: url("chrome://messenger/skin/icons/server-mail.gif");
146}
147
148treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true) {
149 -moz-padding-end: 2px;
150 list-style-image: url("chrome://messenger/skin/icons/server-mail-new.gif");
151}
152
153treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) {
154 -moz-padding-end: 2px;
155 list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif");
156}
157
158treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) {
159 -moz-padding-end: 2px;
160 list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif");
161}
162
163treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true, isSecure-true) {
164 list-style-image: url("chrome://messenger/skin/icons/server-remote-lock-new.gif");
165}
166
167treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-none) {
168 -moz-padding-end: 2px;
169 list-style-image: url("chrome://messenger/skin/icons/server-local.gif");
170}
171
172treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) {
173 -moz-padding-end: 2px;
174 list-style-image: url("chrome://messenger/skin/icons/server-news.gif");
175}
176
177treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) {
178 -moz-padding-end: 2px;
179 list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif");
180}
181
182treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-rss) {
183 list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png");
184}
185
186/* ::::: All Servers ::::: */
187
188treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) {
189 font-weight: bold;
190 color: #FFCF00;
191}
192
193treechildren::-moz-tree-cell-text(folderNameCol, isServer-true),
194treechildren::-moz-tree-cell-text(hasUnreadMessages-true) {
195 font-weight: bold;
196 color: #FFCF00;
197}
198
199treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) {
200 color: #8050B0;
201 font-style: italic;
202}
203
204.tree-folder-checkbox {
205 list-style-image: none;
206}
207
208treechildren::-moz-tree-image(syncCol) {
209 list-style-image: url("chrome://messenger/skin/icons/dot.gif");
210}
211
212treechildren::-moz-tree-image(syncCol, synchronize-true) {
213 list-style-image: url("chrome://messenger/skin/icons/check.gif");
214}
215
216treechildren::-moz-tree-image(syncCol, isServer-true) {
217 list-style-image: none;
218}
219
220#folder-panel {
221 min-width: 10px;
222}
223
224#folderTree {
225 border: none;
226}
227
228#folderTotalCol,
229#folderSizeCol {
230 text-align: right;
231}
232
233#folderNameCol [sortDirection="ascending"] {
234 list-style-image: none;
235}
236
237#folderNameCol [sortDirection="descending"] {
238 list-style-image: none;
239}