update to suite default status of 2009-01-30: bug 474807 - replace margin/padding...
[themes.git] / EarlyBlue / messenger / folderPane.css
CommitLineData
128000f4 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
f6e0a33f 3 *
128000f4 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/
f6e0a33f 8 *
128000f4 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.
f6e0a33f 13 *
128000f4 14 * The Original Code is mozilla.org code.
15 *
76983f4c 16 * The Initial Developer of the Original Code is
128000f4 17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998
19 * the Initial Developer. All Rights Reserved.
f6e0a33f 20 *
21 * Contributor(s):
22 * Joe Hewitt (hewitt@netscape.com)
cd130c22 23 * Hakan Waara (hwaara@chello.se)
32fb9cf9 24 * Jan Varga (varga@nixcorp.com)
128000f4 25 * Robert Kaiser <KaiRo@KaiRo.at>
26 *
27 * Alternatively, the contents of this file may be used under the terms of
76983f4c 28 * either the GNU General Public License Version 2 or later (the "GPL"), or
128000f4 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@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
f6e0a33f 42
43/* ===== folderPane.css =================================================
44 == Styles for the Folder pane in the Messenger 3-pane window.
45 ======================================================================= */
46
f6e0a33f 47/* ::::: mail folder ::::: */
48
a1f525f0 49treechildren::-moz-tree-image(folderNameCol) {
8caa872d 50 -moz-padding-end: 2px;
74d14f90 51 list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif");
f6e0a33f 52}
53
a1f525f0 54treechildren::-moz-tree-image(folderNameCol, newMessages-true) {
8caa872d 55 -moz-padding-end: 2px;
74d14f90 56 list-style-image: url("chrome://messenger/skin/icons/folder-new-closed.gif");
f6e0a33f 57}
58
d61a45b2
RK
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
f6e0a33f 71/* ..... Inbox ..... */
72
a1f525f0 73treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) {
8caa872d 74 -moz-padding-end: 2px;
74d14f90 75 list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif");
f6e0a33f 76}
77
a1f525f0 78treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) {
8caa872d 79 -moz-padding-end: 2px;
74d14f90 80 list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.gif");
f6e0a33f 81}
82
83/* ..... Sent ..... */
84
a1f525f0 85treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) {
8caa872d 86 -moz-padding-end: 2px;
74d14f90 87 list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif");
f6e0a33f 88}
89
90/* ..... Unsent ..... */
91
a1f525f0 92treechildren::-moz-tree-image(folderNameCol, specialFolder-Unsent Messages) {
8caa872d 93 -moz-padding-end: 2px;
74d14f90 94 list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif");
f6e0a33f 95}
96
97/* ..... Drafts ..... */
98
a1f525f0 99treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) {
8caa872d 100 -moz-padding-end: 2px;
74d14f90 101 list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif");
f6e0a33f 102}
103
104/* ..... Templates ..... */
105
a1f525f0 106treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) {
8caa872d 107 -moz-padding-end: 2px;
74d14f90 108 list-style-image: url("chrome://messenger/skin/icons/folder-template.gif");
f6e0a33f 109}
110
4c66fa00 111/* ..... Junk ..... */
112
a1f525f0 113treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) {
8caa872d 114 -moz-padding-end: 2px;
4c66fa00 115 list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
116}
117
f6e0a33f 118/* ..... Trash ..... */
119
a1f525f0 120treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) {
8caa872d 121 -moz-padding-end: 2px;
74d14f90 122 list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif");
f6e0a33f 123}
124
b70a3a73 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
a1f525f0 131treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
132treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
f6e0a33f 133 font-weight: bold;
134}
135
a1f525f0 136treechildren::-moz-tree-image(folderNameCol, imapShared-true) {
8caa872d 137 -moz-padding-end: 2px;
d81fcf59 138 list-style-image: url("chrome://messenger/skin/icons/folder-share.gif");
139}
140
f6e0a33f 141/* ..... Server Folders ..... */
142
d61a45b2 143treechildren::-moz-tree-image(folderNameCol, isServer-true) {
8caa872d 144 -moz-padding-end: 2px;
d61a45b2
RK
145 list-style-image: url("chrome://messenger/skin/icons/server-mail.gif");
146}
147
148treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true) {
8caa872d 149 -moz-padding-end: 2px;
d61a45b2
RK
150 list-style-image: url("chrome://messenger/skin/icons/server-mail-new.gif");
151}
152
a1f525f0 153treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) {
8caa872d 154 -moz-padding-end: 2px;
74d14f90 155 list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif");
f6e0a33f 156}
157
a1f525f0 158treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) {
8caa872d 159 -moz-padding-end: 2px;
74d14f90 160 list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif");
f6e0a33f 161}
162
76983f4c 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
a1f525f0 167treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-none) {
8caa872d 168 -moz-padding-end: 2px;
74d14f90 169 list-style-image: url("chrome://messenger/skin/icons/server-local.gif");
f6e0a33f 170}
171
a1f525f0 172treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) {
8caa872d 173 -moz-padding-end: 2px;
74d14f90 174 list-style-image: url("chrome://messenger/skin/icons/server-news.gif");
f6e0a33f 175}
176
a1f525f0 177treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) {
8caa872d 178 -moz-padding-end: 2px;
74d14f90 179 list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif");
f6e0a33f 180}
181
d61a45b2
RK
182treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-rss) {
183 list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png");
184}
185
f6e0a33f 186/* ::::: All Servers ::::: */
187
a1f525f0 188treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) {
f6e0a33f 189 font-weight: bold;
190}
191
a1f525f0 192treechildren::-moz-tree-cell-text(folderNameCol, isServer-true),
193treechildren::-moz-tree-cell-text(hasUnreadMessages-true) {
f6e0a33f 194 font-weight: bold;
195}
196
a1f525f0 197treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) {
74d14f90 198 color: #808080;
f6e0a33f 199 font-style: italic;
200}
201
f6e0a33f 202.tree-folder-checkbox {
203 list-style-image: none;
204}
205
a1f525f0 206treechildren::-moz-tree-image(syncCol) {
74d14f90 207 list-style-image: url("chrome://messenger/skin/icons/dot.gif");
f6e0a33f 208}
209
a1f525f0 210treechildren::-moz-tree-image(syncCol, synchronize-true) {
74d14f90 211 list-style-image: url("chrome://messenger/skin/icons/check.gif");
f6e0a33f 212}
213
a1f525f0 214treechildren::-moz-tree-image(syncCol, isServer-true) {
f6e0a33f 215 list-style-image: none;
216}
128000f4 217
74d14f90 218#folder-panel {
219 min-width: 10px;
220}
221
222#folderTree {
223 border: none;
224}
225
226#folderUnreadCol,
1431bf9b 227#folderTotalCol,
228#folderSizeCol {
74d14f90 229 text-align: right;
230}
b618d1fd 231
232#folderNameCol [sortDirection="ascending"] {
233 list-style-image: none;
234}
235
236#folderNameCol [sortDirection="descending"] {
237 list-style-image: none;
238}