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