Commit | Line | Data |
---|---|---|
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 | 13 | treechildren::-moz-tree-image(folderNameCol) { |
8caa872d | 14 | -moz-padding-end: 2px; |
1c10af87 RK |
15 | } |
16 | ||
fb2b5761 | 17 | .icon-holder[type="folder"], |
1c10af87 | 18 | treechildren::-moz-tree-image(folderNameCol) { |
b1eaa419 | 19 | list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif"); |
351107c9 | 20 | } |
21 | ||
01fc5c11 | 22 | treechildren::-moz-tree-image(folderNameCol, newMessages-true) { |
b1eaa419 | 23 | list-style-image: url("chrome://messenger/skin/icons/folder-new-closed.gif"); |
351107c9 | 24 | } |
25 | ||
c710949d RK |
26 | /* ..... News and Feeds ..... */ |
27 | ||
fb2b5761 RK |
28 | .icon-holder[type="folder"][ServerType="nntp"], |
29 | .icon-holder[type="folder"][ServerType="rss"], | |
c710949d RK |
30 | treechildren::-moz-tree-image(folderNameCol, serverType-nntp), |
31 | treechildren::-moz-tree-image(folderNameCol, serverType-rss) { | |
32 | list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.gif"); | |
33 | } | |
34 | ||
fb2b5761 RK |
35 | .icon-holder[type="folder"][ServerType="nntp"][NewMessages="true"], |
36 | .icon-holder[type="folder"][ServerType="rss"][NewMessages="true"], | |
c710949d RK |
37 | treechildren::-moz-tree-image(folderNameCol, serverType-nntp, newMessages-true), |
38 | treechildren::-moz-tree-image(folderNameCol, serverType-rss, newMessages-true) { | |
39 | list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup-new.gif"); | |
40 | } | |
41 | ||
351107c9 | 42 | /* ..... Inbox ..... */ |
43 | ||
fb2b5761 | 44 | .icon-holder[type="folder"][SpecialFolder="Inbox"], |
01fc5c11 | 45 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) { |
b1eaa419 | 46 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif"); |
351107c9 | 47 | } |
48 | ||
fb2b5761 | 49 | .icon-holder[type="folder"][SpecialFolder="Inbox"][NewMessages="true"], |
01fc5c11 | 50 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) { |
b1eaa419 | 51 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.gif"); |
351107c9 | 52 | } |
53 | ||
54 | /* ..... Sent ..... */ | |
55 | ||
fb2b5761 | 56 | .icon-holder[type="folder"][SpecialFolder="Sent"], |
01fc5c11 | 57 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) { |
b1eaa419 | 58 | list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif"); |
351107c9 | 59 | } |
60 | ||
60dec843 | 61 | /* ..... Outbox ..... */ |
351107c9 | 62 | |
fb2b5761 | 63 | .icon-holder[type="folder"][SpecialFolder="Outbox"], |
60dec843 | 64 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Outbox) { |
b1eaa419 | 65 | list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif"); |
351107c9 | 66 | } |
67 | ||
68 | /* ..... Drafts ..... */ | |
69 | ||
fb2b5761 | 70 | .icon-holder[type="folder"][SpecialFolder="Drafts"], |
01fc5c11 | 71 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) { |
b1eaa419 | 72 | list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif"); |
351107c9 | 73 | } |
74 | ||
75 | /* ..... Templates ..... */ | |
76 | ||
fb2b5761 | 77 | .icon-holder[type="folder"][SpecialFolder="Templates"], |
01fc5c11 | 78 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) { |
b1eaa419 | 79 | list-style-image: url("chrome://messenger/skin/icons/folder-template.gif"); |
351107c9 | 80 | } |
81 | ||
a3b3d4d6 | 82 | /* ..... Junk ..... */ |
83 | ||
fb2b5761 | 84 | .icon-holder[type="folder"][SpecialFolder="Junk"], |
01fc5c11 | 85 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) { |
a3b3d4d6 | 86 | list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif"); |
87 | } | |
88 | ||
351107c9 | 89 | /* ..... Trash ..... */ |
90 | ||
fb2b5761 | 91 | .icon-holder[type="folder"][SpecialFolder="Trash"], |
01fc5c11 | 92 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) { |
b1eaa419 | 93 | list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif"); |
351107c9 | 94 | } |
95 | ||
57d23eae | 96 | /* ..... Saved Searches ..... */ |
97 | ||
fb2b5761 | 98 | .icon-holder[type="folder"][SpecialFolder="Virtual"], |
57d23eae | 99 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Virtual) { |
100 | list-style-image: url("chrome://messenger/skin/icons/folder-search.gif"); | |
101 | } | |
102 | ||
1c10af87 | 103 | treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) { |
351107c9 | 104 | font-weight: bold; |
105 | } | |
106 | ||
fb2b5761 | 107 | .icon-holder[type="folder"][ImapShared="true"], |
01fc5c11 | 108 | treechildren::-moz-tree-image(folderNameCol, imapShared-true) { |
8caa872d | 109 | -moz-padding-end: 2px; |
b1eaa419 | 110 | list-style-image: url("chrome://messenger/skin/icons/folder-share.gif"); |
111 | } | |
112 | ||
351107c9 | 113 | /* ..... Server Folders ..... */ |
114 | ||
fb2b5761 | 115 | .icon-holder[type="folder"][IsServer="true"], |
c710949d | 116 | treechildren::-moz-tree-image(folderNameCol, isServer-true) { |
c710949d RK |
117 | list-style-image: url("chrome://messenger/skin/icons/server-mail.gif"); |
118 | } | |
119 | ||
fb2b5761 | 120 | .icon-holder[type="folder"][BiffState="NewMail"][IsServer="true"], |
c710949d | 121 | treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true) { |
c710949d RK |
122 | list-style-image: url("chrome://messenger/skin/icons/server-mail-new.gif"); |
123 | } | |
124 | ||
fb2b5761 | 125 | .icon-holder[type="folder"][IsServer="true"][ServerType="pop3"][IsSecure="true"], |
01fc5c11 | 126 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) { |
b1eaa419 | 127 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
351107c9 | 128 | } |
129 | ||
fb2b5761 | 130 | .icon-holder[type="folder"][IsServer="true"][ServerType="imap"][IsSecure="true"], |
01fc5c11 | 131 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) { |
b1eaa419 | 132 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
351107c9 | 133 | } |
134 | ||
fb2b5761 | 135 | .icon-holder[type="folder"][BiffState="NewMail"][IsServer="true"][ServerType="imap"][IsSecure="true"], |
3d6dd546 | 136 | treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true, isSecure-true) { |
137 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock-new.gif"); | |
138 | } | |
139 | ||
fb2b5761 | 140 | .icon-holder[type="folder"][IsServer="true"][ServerType="none"], |
01fc5c11 | 141 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-none) { |
b1eaa419 | 142 | list-style-image: url("chrome://messenger/skin/icons/server-local.gif"); |
351107c9 | 143 | } |
144 | ||
fb2b5761 | 145 | .icon-holder[type="folder"][IsServer="true"][ServerType="nntp"], |
01fc5c11 | 146 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) { |
b1eaa419 | 147 | list-style-image: url("chrome://messenger/skin/icons/server-news.gif"); |
351107c9 | 148 | } |
149 | ||
fb2b5761 | 150 | .icon-holder[type="folder"][IsServer="true"][ServerType="nntp"][IsSecure="true"], |
01fc5c11 | 151 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) { |
b1eaa419 | 152 | list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif"); |
351107c9 | 153 | } |
154 | ||
fb2b5761 | 155 | .icon-holder[type="folder"][IsServer="true"][ServerType="rss"], |
c710949d RK |
156 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-rss) { |
157 | list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png"); | |
158 | } | |
159 | ||
351107c9 | 160 | /* ::::: All Servers ::::: */ |
161 | ||
ac0edc0d RK |
162 | treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true), |
163 | treechildren::-moz-tree-cell-text(folderNameCol, isServer-true), | |
164 | treechildren::-moz-tree-cell-text(hasUnreadMessages-true) { | |
351107c9 | 165 | font-weight: bold; |
f1d07a65 | 166 | color: #FFCF00; |
351107c9 | 167 | } |
168 | ||
01fc5c11 | 169 | treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) { |
351107c9 | 170 | color: #8050B0; |
171 | font-style: italic; | |
172 | } | |
173 | ||
b1eaa419 | 174 | .tree-folder-checkbox { |
175 | list-style-image: none; | |
351107c9 | 176 | } |
177 | ||
01fc5c11 | 178 | treechildren::-moz-tree-image(syncCol) { |
b1eaa419 | 179 | list-style-image: url("chrome://messenger/skin/icons/dot.gif"); |
351107c9 | 180 | } |
b1eaa419 | 181 | |
01fc5c11 | 182 | treechildren::-moz-tree-image(syncCol, synchronize-true) { |
b1eaa419 | 183 | list-style-image: url("chrome://messenger/skin/icons/check.gif"); |
184 | } | |
185 | ||
01fc5c11 | 186 | treechildren::-moz-tree-image(syncCol, isServer-true) { |
351107c9 | 187 | list-style-image: none; |
188 | } | |
189 | ||
b1eaa419 | 190 | #folder-panel { |
191 | min-width: 10px; | |
351107c9 | 192 | } |
193 | ||
b1eaa419 | 194 | #folderTree { |
195 | border: none; | |
351107c9 | 196 | } |
197 | ||
a3b3d4d6 | 198 | #folderTotalCol, |
199 | #folderSizeCol { | |
b1eaa419 | 200 | text-align: right; |
351107c9 | 201 | } |
ac1cdf20 | 202 | |
203 | #folderNameCol [sortDirection="ascending"] { | |
204 | list-style-image: none; | |
205 | } | |
206 | ||
207 | #folderNameCol [sortDirection="descending"] { | |
208 | list-style-image: none; | |
209 | } |