351107c9 |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
3 | * |
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/ |
8 | * |
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. |
13 | * |
14 | * The Original Code is mozilla.org code. |
15 | * |
16 | * The Initial Developer of the Original Code is |
17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998 |
19 | * the Initial Developer. All Rights Reserved. |
20 | * |
21 | * Contributor(s): |
22 | * Robert Kaiser <KaiRo@KaiRo.at> |
23 | * |
24 | * Alternatively, the contents of this file may be used under the terms of |
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
28 | * of those above. If you wish to allow use of your version of this file only |
29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
30 | * use your version of this file under the terms of the NPL, indicate your |
31 | * decision by deleting the provisions above and replace them with the notice |
32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
33 | * the provisions above, a recipient may use your version of this file under |
34 | * the terms of any one of the NPL, the GPL or the LGPL. |
35 | * |
36 | * ***** END LICENSE BLOCK ***** */ |
37 | |
38 | /* ===== folderMenus.css ================================================ |
39 | == Icons for menus which represent mail folder. |
40 | ======================================================================= */ |
41 | |
42 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
43 | |
44 | /* ::::: folder icons for menus ::::: */ |
45 | |
46 | .folderMenuItem { |
b1eaa419 |
47 | list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif"); |
351107c9 |
48 | } |
49 | |
50 | |
51 | .folderMenuItem[open="true"] { |
b1eaa419 |
52 | list-style-image: url("chrome://messenger/skin/icons/folder-open.gif"); |
351107c9 |
53 | } |
54 | |
55 | /* ..... special folders ..... */ |
56 | |
b1eaa419 |
57 | .folderMenuItem[SpecialFolder="Inbox"] { |
58 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif"); |
59 | } |
60 | |
61 | .folderMenuItem[SpecialFolder="Inbox"][open="true"] { |
62 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif"); |
63 | } |
64 | |
65 | .folderMenuItem[SpecialFolder="Trash"] { |
66 | list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif"); |
67 | } |
68 | |
69 | .folderMenuItem[SpecialFolder="Trash"][open="true"] { |
70 | list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif"); |
71 | } |
72 | |
d2f0d128 |
73 | .folderMenuItem[SpecialFolder="Sent"] { |
b1eaa419 |
74 | list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif"); |
75 | } |
76 | |
d2f0d128 |
77 | .folderMenuItem[SpecialFolder="Sent"][open="true"] { |
b1eaa419 |
78 | list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif"); |
79 | } |
80 | |
d2f0d128 |
81 | .folderMenuItem[SpecialFolder="Unsent Messages"] { |
b1eaa419 |
82 | list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif"); |
83 | } |
84 | |
d2f0d128 |
85 | .folderMenuItem[SpecialFolder="Unsent Messages"][open="true"] { |
b1eaa419 |
86 | list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif"); |
87 | } |
88 | |
d2f0d128 |
89 | .folderMenuItem[SpecialFolder="Drafts"] { |
b1eaa419 |
90 | list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif"); |
91 | } |
92 | |
d2f0d128 |
93 | .folderMenuItem[SpecialFolder="Drafts"][open="true"] { |
b1eaa419 |
94 | list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif"); |
95 | } |
96 | |
d2f0d128 |
97 | .folderMenuItem[SpecialFolder="Templates"] { |
b1eaa419 |
98 | list-style-image: url("chrome://messenger/skin/icons/folder-template.gif"); |
99 | } |
100 | |
d2f0d128 |
101 | .folderMenuItem[SpecialFolder="Templates"][open="true"] { |
b1eaa419 |
102 | list-style-image: url("chrome://messenger/skin/icons/folder-template.gif"); |
103 | } |
104 | |
105 | .folderMenuItem[IsServer="true"] { |
106 | list-style-image: url("chrome://messenger/skin/icons/server-mail.gif"); |
107 | } |
108 | |
109 | .folderMenuItem[IsServer="true"][open="true"] { |
110 | list-style-image: url("chrome://messenger/skin/icons/server-mail.gif"); |
111 | } |
351107c9 |
112 | |
113 | /* IMAP folders */ |
b1eaa419 |
114 | .folderMenuItem[IsServer="true"][ServerType="imap"][IsSecure="true"] { |
115 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
116 | } |
351107c9 |
117 | |
118 | /* POP3 folders */ |
b1eaa419 |
119 | .folderMenuItem[IsServer="true"][ServerType="pop3"][IsSecure="true"] { |
120 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
121 | } |
351107c9 |
122 | |
123 | /* Local Servers */ |
b1eaa419 |
124 | .folderMenuItem[IsServer="true"][ServerType="none"] { |
125 | list-style-image: url("chrome://messenger/skin/icons/server-local.gif"); |
126 | } |
351107c9 |
127 | |
128 | /* News folders */ |
b1eaa419 |
129 | .folderMenuItem[ServerType="nntp"] { |
130 | list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.gif"); |
131 | } |
132 | |
133 | .folderMenuItem[IsServer="true"][ServerType="nntp"][IsSecure="true"] { |
134 | list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif"); |
135 | } |
136 | |
137 | .folderMenuItem[IsServer="true"][ServerType="nntp"] { |
138 | list-style-image: url("chrome://messenger/skin/icons/server-news.gif"); |
139 | } |