0042fc01 |
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-1999 Netscape Communications Corporation. All |
18 | * Rights Reserved. |
19 | */ |
20 | |
21 | /* ===== folderPane.css ================================================= |
22 | == Styles for the Folder pane in the Messenger 3-pane window. |
23 | ======================================================================= */ |
24 | |
25 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
26 | |
27 | /* ::::: mail folder ::::: */ |
28 | |
29 | outlinerbody:-moz-outliner-image(folderNameCol) { |
30 | padding-right: 2px; |
31 | list-style-image: url("chrome://messenger/skin/folder-closed.gif"); |
32 | } |
33 | |
34 | outlinerbody:-moz-outliner-image(folderNameCol, newMessages-true) { |
35 | padding-right: 2px; |
36 | list-style-image: url("chrome://messenger/skin/folder-new-closed.gif"); |
37 | } |
38 | |
39 | /* ..... Inbox ..... */ |
40 | |
41 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Inbox) { |
42 | padding-right: 2px; |
43 | list-style-image: url("chrome://messenger/skin/folder-inbox.gif"); |
44 | } |
45 | |
46 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Inbox, newMessages-true) { |
47 | padding-right: 2px; |
48 | list-style-image: url("chrome://messenger/skin/folder-inbox-new.gif"); |
49 | } |
50 | |
51 | |
52 | /* ..... Sent ..... */ |
53 | |
54 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Sent) { |
55 | padding-right: 2px; |
56 | list-style-image: url("chrome://messenger/skin/folder-sent.gif"); |
57 | } |
58 | |
59 | /* ..... Unsent ..... */ |
60 | |
61 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Unsent Messages) { |
62 | padding-right: 2px; |
63 | list-style-image: url("chrome://messenger/skin/folder-outbox.gif"); |
64 | } |
65 | |
66 | /* ..... Drafts ..... */ |
67 | |
68 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Drafts) { |
69 | padding-right: 2px; |
70 | list-style-image: url("chrome://messenger/skin/folder-draft.gif"); |
71 | } |
72 | |
73 | /* ..... Templates ..... */ |
74 | |
75 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Templates) { |
76 | padding-right: 2px; |
77 | list-style-image: url("chrome://messenger/skin/folder-template.gif"); |
78 | } |
79 | |
80 | /* ..... Trash ..... */ |
81 | |
82 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Trash) { |
83 | padding-right: 2px; |
84 | list-style-image: url("chrome://messenger/skin/folder-trash.gif"); |
85 | } |
86 | |
87 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true) { |
88 | padding-right: 2px; |
89 | list-style-image: url("chrome://messenger/skin/server-mail.gif"); |
90 | } |
91 | |
92 | outlinerbody:-moz-outliner-image(folderNameCol, biffState-NewMail, isServer-true) { |
93 | padding-right: 2px; |
94 | list-style-image: url("chrome://messenger/skin/server-mail-new.gif"); |
95 | } |
96 | |
97 | outlinerbody:-moz-outliner-cell-text(folderNameCol, newMessages-true), |
98 | outlinerbody:-moz-outliner-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) { |
99 | font-weight: bold; |
100 | } |
101 | |
102 | /* ..... Server Folders ..... */ |
103 | |
104 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) { |
105 | padding-right: 2px; |
106 | list-style-image: url("chrome://messenger/skin/server-remote-lock.gif"); |
107 | } |
108 | |
109 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) { |
110 | padding-right: 2px; |
111 | list-style-image: url("chrome://messenger/skin/server-remote-lock.gif"); |
112 | } |
113 | |
114 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-none) { |
115 | padding-right: 2px; |
116 | list-style-image: url("chrome://messenger/skin/server-local.gif"); |
117 | } |
118 | |
119 | /* ..... News Folders ..... */ |
120 | |
121 | outlinerbody:-moz-outliner-image(folderNameCol, serverType-nntp) { |
122 | padding-right: 2px; |
123 | list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif"); |
124 | } |
125 | |
126 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-nntp) { |
127 | padding-right: 2px; |
128 | list-style-image: url("chrome://messenger/skin/server-news.gif"); |
129 | } |
130 | |
131 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) { |
132 | padding-right: 2px; |
133 | list-style-image: url("chrome://messenger/skin/server-news-lock.gif"); |
134 | } |
135 | |
136 | /* ::::: All Servers ::::: */ |
137 | |
138 | outlinerbody:-moz-outliner-cell-text(folderNameCol, isServer-true), |
139 | outlinerbody:-moz-outliner-cell-text(hasUnreadMessages-true) { |
140 | font-weight: bold; |
141 | } |
142 | |
143 | outlinerbody:-moz-outliner-cell-text(folderNameCol, noSelect-true) { |
144 | color: gray; |
145 | font-style: italic; |
146 | } |
147 | |
148 | #folder-panel { |
149 | min-width: 10px; |
150 | } |
151 | |
152 | #folderTree { |
153 | border: none; |
154 | } |
155 | |
156 | /* using tree-cell-folderpane-icon to isolate this rule to the folderpane |
157 | and prevent such crawls on the threadpane */ |
158 | treeitem[empty="true"] > treerow > .tree-cell-folderpane-icon > .tree-cell-twisty { |
159 | visibility: hidden; |
160 | } |
161 | |
162 | .tree-folder-checkbox { |
163 | list-style-image: none; |
164 | } |
165 | |
166 | outlinerbody:-moz-outliner-image(syncCol) { |
167 | list-style-image: url("chrome://messenger/skin/dot.gif"); |
168 | } |
169 | |
170 | outlinerbody:-moz-outliner-image(syncCol, synchronize-true) { |
171 | list-style-image: url("chrome://messenger/skin/check.gif"); |
172 | } |
173 | |
174 | outlinerbody:-moz-outliner-image(syncCol, isServer-true) { |
175 | list-style-image: none; |
176 | } |