3c30e09e |
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) |
22 | */ |
23 | |
24 | /* ===== messengercompose.css =========================================== |
25 | == Styles for the main Messenger Compose window. |
26 | ======================================================================= */ |
27 | |
28 | @import url("chrome://messenger/skin/"); |
29 | |
30 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
31 | |
32 | /* ::::: image precaching ::::: */ |
33 | |
34 | #resource_bundle_messengercompose { |
35 | -moz-binding: url("chrome://messenger/skin/resources.xml#resource_bundle_messengercompose"); |
36 | } |
37 | |
38 | /* ::::: primary toolbar buttons ::::: */ |
39 | |
40 | #button-send |
41 | { |
42 | list-style-image : url("chrome://messenger/skin/messengercompose/send.gif"); |
43 | } |
44 | |
45 | #button-send[disabled="true"], |
46 | #button-send[disabled="true"]:hover, |
47 | #button-send[disabled="true"]:hover:active |
48 | { |
49 | list-style-image : url("chrome://messenger/skin/messengercompose/send-disabled.gif"); |
50 | } |
51 | |
52 | #button-send:hover, |
53 | #button-send:hover:active |
54 | { |
55 | list-style-image : url("chrome://messenger/skin/messengercompose/send-hover.gif"); |
56 | } |
57 | |
58 | #button-send[offline="true"] |
59 | { |
60 | list-style-image : url("chrome://messenger/skin/messengercompose/sendlater.gif"); |
61 | } |
62 | |
63 | #button-send[offline="true"][disabled="true"], |
64 | #button-send[offline="true"][disabled="true"]:hover, |
65 | #button-send[offline="true"][disabled="true"]:hover:active |
66 | { |
67 | list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif"); |
68 | } |
69 | |
70 | #button-send[offline="true"]:hover, |
71 | #button-send[offline="true"]:hover:active |
72 | { |
73 | list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-hover.gif"); |
74 | } |
75 | |
76 | #button-address |
77 | { |
78 | list-style-image : url("chrome://messenger/skin/messengercompose/address.gif"); |
79 | } |
80 | |
81 | #button-address[disabled="true"], |
82 | #button-address[disabled="true"]:hover, |
83 | #button-address[disabled="true"]:hover:active |
84 | { |
85 | list-style-image : url("chrome://messenger/skin/messengercompose/address-disabled.gif"); |
86 | } |
87 | |
88 | #button-address:hover, |
89 | #button-address:hover:active |
90 | { |
91 | list-style-image : url("chrome://messenger/skin/messengercompose/address-hover.gif"); |
92 | } |
93 | |
94 | #button-attach |
95 | { |
96 | list-style-image : url("chrome://messenger/skin/messengercompose/attach.gif"); |
97 | } |
98 | |
99 | #button-attach[disabled="true"], |
100 | #button-attach[disabled="true"]:hover, |
101 | #button-attach[disabled="true"]:hover:active |
102 | { |
103 | list-style-image : url("chrome://messenger/skin/messengercompose/attach-disabled.gif"); |
104 | } |
105 | |
106 | #button-attach:hover, |
107 | #button-attach:hover:active |
108 | { |
109 | list-style-image : url("chrome://messenger/skin/messengercompose/attach-hover.gif"); |
110 | } |
111 | |
112 | #button-quote |
113 | { |
114 | list-style-image : url("chrome://messenger/skin/messengercompose/quote.gif"); |
115 | } |
116 | |
117 | #button-quote[disabled="true"], |
118 | #button-quote[disabled="true"]:hover, |
119 | #button-quote[disabled="true"]:hover:active |
120 | { |
121 | list-style-image : url("chrome://messenger/skin/messengercompose/quote-disabled.gif"); |
122 | } |
123 | |
124 | #button-quote:hover, |
125 | #button-quote:hover:active |
126 | { |
127 | list-style-image : url("chrome://messenger/skin/messengercompose/quote-hover.gif"); |
128 | } |
129 | |
130 | #spellingButton |
131 | { |
132 | list-style-image : url("chrome://editor/skin/images/spell.gif"); |
133 | } |
134 | |
135 | #spellingButton[disabled="true"], |
136 | #spellingButton[disabled="true"]:hover, |
137 | #spellingButton[disabled="true"]:hover:active |
138 | { |
139 | list-style-image : url("chrome://editor/skin/images/spell-disabled.gif"); |
140 | } |
141 | |
142 | #spellingButton:hover, |
143 | #spellingButton:hover:active |
144 | { |
145 | list-style-image : url("chrome://editor/skin/images/spell-hover.gif"); |
146 | } |
147 | |
148 | #button-save |
149 | { |
150 | list-style-image : url("chrome://messenger/skin/messengercompose/savemsg.gif"); |
151 | } |
152 | |
153 | #button-save[disabled="true"], |
154 | #button-save[disabled="true"]:hover, |
155 | #button-save[disabled="true"]:hover:active |
156 | { |
157 | list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif"); |
158 | } |
159 | |
160 | #button-save:hover, |
161 | #button-save:hover:active |
162 | { |
163 | list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-hover.gif"); |
164 | } |
165 | |
166 | #button-stop |
167 | { |
168 | list-style-image : url("chrome://global/skin/stop.gif"); |
169 | } |
170 | |
171 | #button-stop[disabled="true"], |
172 | #button-stop[disabled="true"]:hover, |
173 | #button-stop[disabled="true"]:hover:active |
174 | { |
175 | list-style-image : url("chrome://global/skin/stop-disabled.gif"); |
176 | } |
177 | |
178 | #button-stop:hover, |
179 | #button-stop:hover:active |
180 | { |
181 | list-style-image : url("chrome://global/skin/stop-hover.gif"); |
182 | } |
183 | |
184 | /* addressing widget */ |
185 | |
186 | #addressingWidgetTree |
187 | { |
188 | height : 80px; |
189 | width : 0px; |
190 | -moz-user-focus : none; |
191 | /* background-color : #FFFFFF; */ |
192 | } |
193 | |
194 | #listcol-addressingWidget |
195 | { |
196 | width : 9em; |
197 | border-right : 1px solid #9C9CFF; |
198 | } |
199 | |
200 | #addressingWidgetTree > treechildren > treeitem > treerow, |
201 | #addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow { |
202 | border : none; |
203 | background-color : inherit; |
204 | color : inherit; |
205 | } |
206 | |
207 | .treecell-addressingWidget |
208 | { |
209 | border-bottom : 1px solid #9C9CFF; |
210 | padding : 0px !important; |
211 | } |
212 | |
213 | .treecell-addressingWidget:first-child |
214 | { |
215 | border-bottom : none; |
216 | } |
217 | |
218 | .dummy-row-cell:first-child |
219 | { |
220 | border-bottom : 1px solid #9C9CFF; |
221 | } |
222 | |
223 | .person-icon |
224 | { |
225 | list-style-image : url("chrome://messenger/skin/abcard.gif"); |
226 | margin : 0px 3px 0px 3px; |
227 | } |
228 | |
229 | outlinerbody:-moz-outliner-cell-text(default-match) |
230 | { |
231 | margin: 2px -3px 2px 15px; |
232 | border: none; |
233 | } |
234 | |
235 | outlinerbody:-moz-outliner-image(local-abook) |
236 | { |
237 | margin: 2px -1px 2px 4px; |
238 | border: none; |
239 | list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif"); |
240 | } |
241 | |
242 | outlinerbody:-moz-outliner-image(remote-abook) |
243 | { |
244 | margin: 2px -3px 2px 2px; |
245 | border: none; |
246 | list-style-image: url("chrome://messenger/skin/addressbook/remote-abook.gif"); |
247 | } |
248 | |
249 | outlinerbody:-moz-outliner-image(remote-err) |
250 | { |
251 | margin: 2px -3px 2px 2px; |
252 | border: none; |
253 | list-style-image: url("chrome://messenger/skin/addressbook/remote-abook-down.gif"); |
254 | } |
255 | |
256 | #msgheaderstoolbar-box |
257 | { |
258 | /* padding-top : 2px; */ |
259 | background-color : #E7ADE7; |
260 | color : #000000; |
261 | } |
262 | |
263 | #compose-toolbar-sizer |
264 | { |
265 | height : 3px; |
266 | margin-top : 0px; |
267 | border : none; |
268 | } |
269 | |
270 | #content-frame |
271 | { |
272 | /* border : 1px solid #FFCF00; */ |
273 | } |
274 | |
275 | #appcontent |
276 | { |
277 | /* border-left : 1px solid ThreeDShadow; |
278 | border-right : 1px solid ThreeDHighlight; |
279 | border-top : 1px solid ThreeDShadow; */ |
280 | } |
281 | |
282 | #attachmentbucket-sizer |
283 | { |
284 | width : 5px; |
285 | background-color : #000000; |
286 | } |
287 | |
288 | #msgIdentity, #addressingWidgetTree, #msgSubject |
289 | { |
290 | margin-right : 3px; |
291 | } |
292 | |
293 | #attachmentBucket |
294 | { |
295 | margin-left : 3px; |
296 | -moz-user-focus : normal !important; |
297 | color : #FF9F00; |
298 | } |
299 | |
300 | #attachmentBucketText |
301 | { |
302 | margin-left : 3px; |
303 | -moz-user-focus : none; |
304 | } |
305 | |
306 | |
307 | /* askSendFormat dialog */ |
308 | |
309 | #askSendFormat { |
310 | width: 40em; |
311 | } |
312 | |
313 | #askImageBox { |
314 | -moz-box-align: start; |
315 | } |
316 | |
317 | #convertYes { |
318 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
319 | } |
320 | |
321 | #convertAltering { |
322 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
323 | } |
324 | |
325 | #convertNo { |
326 | list-style-image:url("chrome://global/skin/alert-icon.gif"); |
327 | } |
328 | |
329 | #convertDefault { |
330 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
331 | } /* Workaround for bug 50217. Please remove this rule, when this bug is fixed. */ |
332 | |
333 | |
334 | |