f6e0a33f |
1 | /* |
2 | * The contents of this file are subject to the Netscape Public |
3 | * License Version 1.1 (the "License"); you may not use this file |
4 | * except in compliance with the License. You may obtain a copy of |
5 | * the License at http://www.mozilla.org/NPL/ |
6 | * |
7 | * Software distributed under the License is distributed on an "AS |
8 | * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
9 | * implied. See the License for the specific language governing |
10 | * rights and limitations under the License. |
11 | * |
12 | * The Original Code is Mozilla Communicator client code, released |
13 | * March 31, 1998. |
14 | * |
15 | * The Initial Developer of the Original Code is Netscape |
16 | * Communications Corporation. Portions created by Netscape are |
17 | * Copyright (C) 1998-2001 Netscape Communications Corporation. All |
18 | * Rights Reserved. |
19 | * |
20 | * Contributor(s): |
21 | * Joe Hewitt (hewitt@netscape.com) |
cd130c22 |
22 | * Hakan Waara (hwaara@chello.se) |
f6e0a33f |
23 | * Jan Varga (varga@utcru.sk) |
24 | */ |
25 | |
26 | /* ===== folderPane.css ================================================= |
27 | == Styles for the Folder pane in the Messenger 3-pane window. |
28 | ======================================================================= */ |
29 | |
30 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
31 | |
32 | /* ::::: connecting lines ::::: */ |
33 | |
34 | outlinerbody:-moz-outliner-line |
35 | { |
cd130c22 |
36 | visibility: hidden; |
f6e0a33f |
37 | } |
38 | |
39 | /* ::::: mail folder ::::: */ |
40 | |
41 | outlinerbody:-moz-outliner-image(folderNameCol) { |
42 | padding-right: 2px; |
43 | list-style-image: url("chrome://messenger/skin/folder-closed.gif"); |
44 | } |
45 | |
46 | outlinerbody:-moz-outliner-image(folderNameCol, newMessages-true) { |
47 | padding-right: 2px; |
48 | list-style-image: url("chrome://messenger/skin/folder-new-closed.gif"); |
49 | } |
50 | |
51 | /* ..... Inbox ..... */ |
52 | |
53 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Inbox) { |
54 | padding-right: 2px; |
55 | list-style-image: url("chrome://messenger/skin/folder-inbox.gif"); |
56 | } |
57 | |
58 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Inbox, newMessages-true) { |
59 | padding-right: 2px; |
60 | list-style-image: url("chrome://messenger/skin/folder-inbox-new.gif"); |
61 | } |
62 | |
63 | /* ..... Sent ..... */ |
64 | |
65 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Sent) { |
66 | padding-right: 2px; |
67 | list-style-image: url("chrome://messenger/skin/folder-sent.gif"); |
68 | } |
69 | |
70 | /* ..... Unsent ..... */ |
71 | |
72 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Unsent Messages) { |
73 | padding-right: 2px; |
74 | list-style-image: url("chrome://messenger/skin/folder-outbox.gif"); |
75 | } |
76 | |
77 | /* ..... Drafts ..... */ |
78 | |
79 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Drafts) { |
80 | padding-right: 2px; |
81 | list-style-image: url("chrome://messenger/skin/folder-draft.gif"); |
82 | } |
83 | |
84 | /* ..... Templates ..... */ |
85 | |
86 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Templates) { |
87 | padding-right: 2px; |
88 | list-style-image: url("chrome://messenger/skin/folder-template.gif"); |
89 | } |
90 | |
91 | /* ..... Trash ..... */ |
92 | |
93 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Trash) { |
94 | padding-right: 2px; |
95 | list-style-image: url("chrome://messenger/skin/folder-trash.gif"); |
96 | } |
97 | |
98 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true) { |
99 | padding-right: 2px; |
100 | list-style-image: url("chrome://messenger/skin/server-mail.gif"); |
101 | } |
102 | |
103 | outlinerbody:-moz-outliner-image(folderNameCol, biffState-NewMail, isServer-true) { |
104 | padding-right: 2px; |
105 | list-style-image: url("chrome://messenger/skin/server-mail-new.gif"); |
106 | } |
107 | |
108 | outlinerbody:-moz-outliner-cell-text(folderNameCol, newMessages-true), |
109 | outlinerbody:-moz-outliner-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) { |
110 | font-weight: bold; |
111 | } |
112 | |
113 | /* ..... Server Folders ..... */ |
114 | |
115 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) { |
116 | padding-right: 2px; |
117 | list-style-image: url("chrome://messenger/skin/server-remote-lock.gif"); |
118 | } |
119 | |
120 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) { |
121 | padding-right: 2px; |
122 | list-style-image: url("chrome://messenger/skin/server-remote-lock.gif"); |
123 | } |
124 | |
125 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-none) { |
126 | padding-right: 2px; |
127 | list-style-image: url("chrome://messenger/skin/server-local.gif"); |
128 | } |
129 | |
130 | /* ..... News Folders ..... */ |
131 | |
132 | outlinerbody:-moz-outliner-image(folderNameCol, serverType-nntp) { |
133 | padding-right: 2px; |
134 | list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif"); |
135 | } |
136 | |
137 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-nntp) { |
138 | padding-right: 2px; |
139 | list-style-image: url("chrome://messenger/skin/server-news.gif"); |
140 | } |
141 | |
142 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) { |
143 | padding-right: 2px; |
144 | list-style-image: url("chrome://messenger/skin/server-news-lock.gif"); |
145 | } |
146 | |
147 | /* ::::: All Servers ::::: */ |
148 | |
149 | outlinerbody:-moz-outliner-cell-text(closed, subfoldersHaveUnreadMessages-true) |
150 | { |
151 | font-weight: bold; |
152 | } |
153 | |
154 | outlinerbody:-moz-outliner-cell-text(folderNameCol, isServer-true), |
155 | outlinerbody:-moz-outliner-cell-text(hasUnreadMessages-true) { |
156 | font-weight: bold; |
157 | } |
158 | |
159 | outlinerbody:-moz-outliner-cell-text(folderNameCol, noSelect-true) { |
160 | color: gray; |
161 | font-style: italic; |
162 | } |
163 | |
164 | #folder-panel { |
165 | min-width: 10px; |
166 | } |
167 | |
168 | #folderTree { |
169 | border: none; |
170 | } |
171 | |
172 | /* using tree-cell-folderpane-icon to isolate this rule to the folderpane |
173 | and prevent such crawls on the threadpane */ |
174 | treeitem[empty="true"] > treerow > .tree-cell-folderpane-icon > .tree-cell-twisty { |
175 | visibility: hidden; |
176 | } |
177 | |
178 | .tree-folder-checkbox { |
179 | list-style-image: none; |
180 | } |
181 | |
182 | outlinerbody:-moz-outliner-image(syncCol) { |
183 | list-style-image: url("chrome://messenger/skin/dot.gif"); |
184 | } |
185 | |
186 | outlinerbody:-moz-outliner-image(syncCol, synchronize-true) { |
187 | list-style-image: url("chrome://messenger/skin/check.gif"); |
188 | } |
189 | |
190 | outlinerbody:-moz-outliner-image(syncCol, isServer-true) { |
191 | list-style-image: none; |
192 | } |
193 | |
194 | |
cd130c22 |
195 | |
196 | |