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/. */ | |
128000f4 | 4 | |
5 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
f6e0a33f | 6 | |
7 | /* ===== folderPane.css ================================================= | |
8 | == Styles for the Folder pane in the Messenger 3-pane window. | |
9 | ======================================================================= */ | |
10 | ||
f6e0a33f | 11 | /* ::::: mail folder ::::: */ |
12 | ||
a1f525f0 | 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) { |
74d14f90 | 19 | list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif"); |
f6e0a33f | 20 | } |
21 | ||
c3c5761b RK |
22 | /* ..... IMAP shared ..... */ |
23 | ||
24 | .icon-holder[type="folder"][ImapShared="true"], | |
25 | treechildren::-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 | ||
a1f525f0 | 31 | treechildren::-moz-tree-image(folderNameCol, newMessages-true) { |
74d14f90 | 32 | list-style-image: url("chrome://messenger/skin/icons/folder-new-closed.gif"); |
f6e0a33f | 33 | } |
34 | ||
d61a45b2 RK |
35 | /* ..... News and Feeds ..... */ |
36 | ||
fb2b5761 RK |
37 | .icon-holder[type="folder"][ServerType="nntp"], |
38 | .icon-holder[type="folder"][ServerType="rss"], | |
d61a45b2 RK |
39 | treechildren::-moz-tree-image(folderNameCol, serverType-nntp), |
40 | treechildren::-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"], | |
d61a45b2 RK |
46 | treechildren::-moz-tree-image(folderNameCol, serverType-nntp, newMessages-true), |
47 | treechildren::-moz-tree-image(folderNameCol, serverType-rss, newMessages-true) { | |
48 | list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup-new.gif"); | |
49 | } | |
50 | ||
f6e0a33f | 51 | /* ..... Inbox ..... */ |
52 | ||
fb2b5761 | 53 | .icon-holder[type="folder"][SpecialFolder="Inbox"], |
a1f525f0 | 54 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) { |
74d14f90 | 55 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif"); |
f6e0a33f | 56 | } |
57 | ||
fb2b5761 | 58 | .icon-holder[type="folder"][SpecialFolder="Inbox"][NewMessages="true"], |
a1f525f0 | 59 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) { |
74d14f90 | 60 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.gif"); |
f6e0a33f | 61 | } |
62 | ||
63 | /* ..... Sent ..... */ | |
64 | ||
fb2b5761 | 65 | .icon-holder[type="folder"][SpecialFolder="Sent"], |
a1f525f0 | 66 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) { |
74d14f90 | 67 | list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif"); |
f6e0a33f | 68 | } |
69 | ||
60dec843 | 70 | /* ..... Outbox ..... */ |
f6e0a33f | 71 | |
fb2b5761 | 72 | .icon-holder[type="folder"][SpecialFolder="Outbox"], |
60dec843 | 73 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Outbox) { |
74d14f90 | 74 | list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif"); |
f6e0a33f | 75 | } |
76 | ||
77 | /* ..... Drafts ..... */ | |
78 | ||
fb2b5761 | 79 | .icon-holder[type="folder"][SpecialFolder="Drafts"], |
a1f525f0 | 80 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) { |
74d14f90 | 81 | list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif"); |
f6e0a33f | 82 | } |
83 | ||
84 | /* ..... Templates ..... */ | |
85 | ||
fb2b5761 | 86 | .icon-holder[type="folder"][SpecialFolder="Templates"], |
a1f525f0 | 87 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) { |
74d14f90 | 88 | list-style-image: url("chrome://messenger/skin/icons/folder-template.gif"); |
f6e0a33f | 89 | } |
90 | ||
4c66fa00 | 91 | /* ..... Junk ..... */ |
92 | ||
fb2b5761 | 93 | .icon-holder[type="folder"][SpecialFolder="Junk"], |
a1f525f0 | 94 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) { |
4c66fa00 | 95 | list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif"); |
96 | } | |
97 | ||
f6e0a33f | 98 | /* ..... Trash ..... */ |
99 | ||
fb2b5761 | 100 | .icon-holder[type="folder"][SpecialFolder="Trash"], |
a1f525f0 | 101 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) { |
74d14f90 | 102 | list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif"); |
f6e0a33f | 103 | } |
104 | ||
b70a3a73 | 105 | /* ..... Saved Searches ..... */ |
106 | ||
fb2b5761 | 107 | .icon-holder[type="folder"][SpecialFolder="Virtual"], |
b70a3a73 | 108 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Virtual) { |
109 | list-style-image: url("chrome://messenger/skin/icons/folder-search.gif"); | |
110 | } | |
111 | ||
1c10af87 | 112 | treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) { |
f6e0a33f | 113 | font-weight: bold; |
114 | } | |
115 | ||
116 | /* ..... Server Folders ..... */ | |
117 | ||
fb2b5761 | 118 | .icon-holder[type="folder"][IsServer="true"], |
d61a45b2 | 119 | treechildren::-moz-tree-image(folderNameCol, isServer-true) { |
d61a45b2 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"], |
d61a45b2 | 124 | treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true) { |
d61a45b2 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"], |
a1f525f0 | 129 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) { |
74d14f90 | 130 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
f6e0a33f | 131 | } |
132 | ||
fb2b5761 | 133 | .icon-holder[type="folder"][IsServer="true"][ServerType="imap"][IsSecure="true"], |
a1f525f0 | 134 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) { |
74d14f90 | 135 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
f6e0a33f | 136 | } |
137 | ||
fb2b5761 | 138 | .icon-holder[type="folder"][BiffState="NewMail"][IsServer="true"][ServerType="imap"][IsSecure="true"], |
76983f4c | 139 | treechildren::-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"], |
a1f525f0 | 144 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-none) { |
74d14f90 | 145 | list-style-image: url("chrome://messenger/skin/icons/server-local.gif"); |
f6e0a33f | 146 | } |
147 | ||
fb2b5761 | 148 | .icon-holder[type="folder"][IsServer="true"][ServerType="nntp"], |
a1f525f0 | 149 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) { |
74d14f90 | 150 | list-style-image: url("chrome://messenger/skin/icons/server-news.gif"); |
f6e0a33f | 151 | } |
152 | ||
fb2b5761 | 153 | .icon-holder[type="folder"][IsServer="true"][ServerType="nntp"][IsSecure="true"], |
a1f525f0 | 154 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) { |
74d14f90 | 155 | list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif"); |
f6e0a33f | 156 | } |
157 | ||
fb2b5761 | 158 | .icon-holder[type="folder"][IsServer="true"][ServerType="rss"], |
d61a45b2 RK |
159 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-rss) { |
160 | list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png"); | |
161 | } | |
162 | ||
f6e0a33f | 163 | /* ::::: All Servers ::::: */ |
164 | ||
fb2b5761 | 165 | treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true), |
a1f525f0 | 166 | treechildren::-moz-tree-cell-text(folderNameCol, isServer-true), |
167 | treechildren::-moz-tree-cell-text(hasUnreadMessages-true) { | |
f6e0a33f | 168 | font-weight: bold; |
169 | } | |
170 | ||
a1f525f0 | 171 | treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) { |
74d14f90 | 172 | color: #808080; |
f6e0a33f | 173 | font-style: italic; |
174 | } | |
175 | ||
f6e0a33f | 176 | .tree-folder-checkbox { |
177 | list-style-image: none; | |
178 | } | |
179 | ||
a1f525f0 | 180 | treechildren::-moz-tree-image(syncCol) { |
74d14f90 | 181 | list-style-image: url("chrome://messenger/skin/icons/dot.gif"); |
f6e0a33f | 182 | } |
183 | ||
a1f525f0 | 184 | treechildren::-moz-tree-image(syncCol, synchronize-true) { |
74d14f90 | 185 | list-style-image: url("chrome://messenger/skin/icons/check.gif"); |
f6e0a33f | 186 | } |
187 | ||
a1f525f0 | 188 | treechildren::-moz-tree-image(syncCol, isServer-true) { |
f6e0a33f | 189 | list-style-image: none; |
190 | } | |
128000f4 | 191 | |
74d14f90 | 192 | #folder-panel { |
193 | min-width: 10px; | |
194 | } | |
195 | ||
196 | #folderTree { | |
197 | border: none; | |
198 | } | |
199 | ||
200 | #folderUnreadCol, | |
1431bf9b | 201 | #folderTotalCol, |
202 | #folderSizeCol { | |
74d14f90 | 203 | text-align: right; |
204 | } | |
b618d1fd | 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 | } |