try more mac-specific toolbar adjustments
[themes.git] / LCARStrek / messenger / folderPane.css
CommitLineData
9099c61d
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
351107c9 4
5/* ===== folderPane.css =================================================
6 == Styles for the Folder pane in the Messenger 3-pane window.
7 ======================================================================= */
8
9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10
351107c9 11/* ::::: mail folder ::::: */
12
01fc5c11 13treechildren::-moz-tree-image(folderNameCol) {
8caa872d 14 -moz-padding-end: 2px;
1c10af87
RK
15}
16
fb2b5761 17.icon-holder[type="folder"],
1c10af87 18treechildren::-moz-tree-image(folderNameCol) {
b1eaa419 19 list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif");
351107c9 20}
21
c3c5761b
RK
22/* ..... IMAP shared ..... */
23
24.icon-holder[type="folder"][ImapShared="true"],
25treechildren::-moz-tree-image(folderNameCol, imapShared-true) {
26 list-style-image: url("chrome://messenger/skin/icons/folder-share.gif");
27}
28
29/* ..... mail folder with new messages ..... */
30
01fc5c11 31treechildren::-moz-tree-image(folderNameCol, newMessages-true) {
b1eaa419 32 list-style-image: url("chrome://messenger/skin/icons/folder-new-closed.gif");
351107c9 33}
34
c710949d
RK
35/* ..... News and Feeds ..... */
36
fb2b5761
RK
37.icon-holder[type="folder"][ServerType="nntp"],
38.icon-holder[type="folder"][ServerType="rss"],
c710949d
RK
39treechildren::-moz-tree-image(folderNameCol, serverType-nntp),
40treechildren::-moz-tree-image(folderNameCol, serverType-rss) {
41 list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.gif");
42}
43
fb2b5761
RK
44.icon-holder[type="folder"][ServerType="nntp"][NewMessages="true"],
45.icon-holder[type="folder"][ServerType="rss"][NewMessages="true"],
c710949d
RK
46treechildren::-moz-tree-image(folderNameCol, serverType-nntp, newMessages-true),
47treechildren::-moz-tree-image(folderNameCol, serverType-rss, newMessages-true) {
48 list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup-new.gif");
49}
50
351107c9 51/* ..... Inbox ..... */
52
fb2b5761 53.icon-holder[type="folder"][SpecialFolder="Inbox"],
01fc5c11 54treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) {
b1eaa419 55 list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif");
351107c9 56}
57
fb2b5761 58.icon-holder[type="folder"][SpecialFolder="Inbox"][NewMessages="true"],
01fc5c11 59treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) {
b1eaa419 60 list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.gif");
351107c9 61}
62
63/* ..... Sent ..... */
64
fb2b5761 65.icon-holder[type="folder"][SpecialFolder="Sent"],
01fc5c11 66treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) {
b1eaa419 67 list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif");
351107c9 68}
69
60dec843 70/* ..... Outbox ..... */
351107c9 71
fb2b5761 72.icon-holder[type="folder"][SpecialFolder="Outbox"],
60dec843 73treechildren::-moz-tree-image(folderNameCol, specialFolder-Outbox) {
b1eaa419 74 list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif");
351107c9 75}
76
77/* ..... Drafts ..... */
78
fb2b5761 79.icon-holder[type="folder"][SpecialFolder="Drafts"],
01fc5c11 80treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) {
b1eaa419 81 list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif");
351107c9 82}
83
84/* ..... Templates ..... */
85
fb2b5761 86.icon-holder[type="folder"][SpecialFolder="Templates"],
01fc5c11 87treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) {
b1eaa419 88 list-style-image: url("chrome://messenger/skin/icons/folder-template.gif");
351107c9 89}
90
a3b3d4d6 91/* ..... Junk ..... */
92
fb2b5761 93.icon-holder[type="folder"][SpecialFolder="Junk"],
01fc5c11 94treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) {
a3b3d4d6 95 list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
96}
97
351107c9 98/* ..... Trash ..... */
99
fb2b5761 100.icon-holder[type="folder"][SpecialFolder="Trash"],
01fc5c11 101treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) {
b1eaa419 102 list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif");
351107c9 103}
104
57d23eae 105/* ..... Saved Searches ..... */
106
fb2b5761 107.icon-holder[type="folder"][SpecialFolder="Virtual"],
57d23eae 108treechildren::-moz-tree-image(folderNameCol, specialFolder-Virtual) {
109 list-style-image: url("chrome://messenger/skin/icons/folder-search.gif");
110}
111
1c10af87 112treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) {
351107c9 113 font-weight: bold;
114}
115
116/* ..... Server Folders ..... */
117
fb2b5761 118.icon-holder[type="folder"][IsServer="true"],
c710949d 119treechildren::-moz-tree-image(folderNameCol, isServer-true) {
c710949d
RK
120 list-style-image: url("chrome://messenger/skin/icons/server-mail.gif");
121}
122
fb2b5761 123.icon-holder[type="folder"][BiffState="NewMail"][IsServer="true"],
c710949d 124treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true) {
c710949d
RK
125 list-style-image: url("chrome://messenger/skin/icons/server-mail-new.gif");
126}
127
fb2b5761 128.icon-holder[type="folder"][IsServer="true"][ServerType="pop3"][IsSecure="true"],
01fc5c11 129treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) {
b1eaa419 130 list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif");
351107c9 131}
132
fb2b5761 133.icon-holder[type="folder"][IsServer="true"][ServerType="imap"][IsSecure="true"],
01fc5c11 134treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) {
b1eaa419 135 list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif");
351107c9 136}
137
fb2b5761 138.icon-holder[type="folder"][BiffState="NewMail"][IsServer="true"][ServerType="imap"][IsSecure="true"],
3d6dd546 139treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true, isSecure-true) {
140 list-style-image: url("chrome://messenger/skin/icons/server-remote-lock-new.gif");
141}
142
fb2b5761 143.icon-holder[type="folder"][IsServer="true"][ServerType="none"],
01fc5c11 144treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-none) {
b1eaa419 145 list-style-image: url("chrome://messenger/skin/icons/server-local.gif");
351107c9 146}
147
fb2b5761 148.icon-holder[type="folder"][IsServer="true"][ServerType="nntp"],
01fc5c11 149treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) {
b1eaa419 150 list-style-image: url("chrome://messenger/skin/icons/server-news.gif");
351107c9 151}
152
fb2b5761 153.icon-holder[type="folder"][IsServer="true"][ServerType="nntp"][IsSecure="true"],
01fc5c11 154treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) {
b1eaa419 155 list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif");
351107c9 156}
157
fb2b5761 158.icon-holder[type="folder"][IsServer="true"][ServerType="rss"],
c710949d
RK
159treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-rss) {
160 list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png");
161}
162
351107c9 163/* ::::: All Servers ::::: */
164
ac0edc0d
RK
165treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true),
166treechildren::-moz-tree-cell-text(folderNameCol, isServer-true),
167treechildren::-moz-tree-cell-text(hasUnreadMessages-true) {
351107c9 168 font-weight: bold;
f1d07a65 169 color: #FFCF00;
351107c9 170}
171
01fc5c11 172treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) {
351107c9 173 color: #8050B0;
174 font-style: italic;
175}
176
b1eaa419 177.tree-folder-checkbox {
178 list-style-image: none;
351107c9 179}
180
01fc5c11 181treechildren::-moz-tree-image(syncCol) {
b1eaa419 182 list-style-image: url("chrome://messenger/skin/icons/dot.gif");
351107c9 183}
b1eaa419 184
01fc5c11 185treechildren::-moz-tree-image(syncCol, synchronize-true) {
b1eaa419 186 list-style-image: url("chrome://messenger/skin/icons/check.gif");
187}
188
01fc5c11 189treechildren::-moz-tree-image(syncCol, isServer-true) {
351107c9 190 list-style-image: none;
191}
192
b1eaa419 193#folder-panel {
194 min-width: 10px;
351107c9 195}
196
b1eaa419 197#folderTree {
198 border: none;
351107c9 199}
200
a3b3d4d6 201#folderTotalCol,
202#folderSizeCol {
b1eaa419 203 text-align: right;
351107c9 204}
ac1cdf20 205
206#folderNameCol [sortDirection="ascending"] {
207 list-style-image: none;
208}
209
210#folderNameCol [sortDirection="descending"] {
211 list-style-image: none;
212}
150efe45
RK
213
214/* ::::: Folder Summary Popup ::::: */
215
216.folderSummary-message-row {
217 /* This max width ends up dictating the overall width of the popup
218 because it controls how large the preview, subject and sender text can be
219 before cropping kicks in */
220 max-width: 450px;
221}
222
223.folderSummary-subject {
224 font-weight: bold;
225}
226
227.folderSummary-previewText {
228 color: #808080;
229}