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