128000f4 |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
f6e0a33f |
3 | * |
128000f4 |
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/ |
f6e0a33f |
8 | * |
128000f4 |
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. |
f6e0a33f |
13 | * |
128000f4 |
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. |
f6e0a33f |
20 | * |
21 | * Contributor(s): |
22 | * Joe Hewitt (hewitt@netscape.com) |
128000f4 |
23 | * Robert Kaiser <KaiRo@KaiRo.at> |
24 | * |
25 | * Alternatively, the contents of this file may be used under the terms of |
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
28 | * in which case the provisions of the GPL or the LGPL are applicable instead |
29 | * of those above. If you wish to allow use of your version of this file only |
30 | * under the terms of either the GPL or the LGPL, and not to allow others to |
31 | * use your version of this file under the terms of the NPL, indicate your |
32 | * decision by deleting the provisions above and replace them with the notice |
33 | * and other provisions required by the GPL or the LGPL. If you do not delete |
34 | * the provisions above, a recipient may use your version of this file under |
35 | * the terms of any one of the NPL, the GPL or the LGPL. |
36 | * |
37 | * ***** END LICENSE BLOCK ***** */ |
f6e0a33f |
38 | |
39 | /* ===== messengercompose.css =========================================== |
40 | == Styles for the main Messenger Compose window. |
41 | ======================================================================= */ |
42 | |
43 | @import url("chrome://messenger/skin/"); |
44 | |
45 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
46 | |
47 | /* ::::: image precaching ::::: */ |
48 | |
49 | #resource_bundle_messengercompose { |
50 | -moz-binding: url("chrome://messenger/skin/resources.xml#resource_bundle_messengercompose"); |
51 | } |
52 | |
53 | /* ::::: primary toolbar buttons ::::: */ |
54 | |
55 | #button-send |
56 | { |
57 | list-style-image : url("chrome://messenger/skin/messengercompose/send.gif"); |
58 | } |
59 | |
60 | #button-send[disabled="true"], |
61 | #button-send[disabled="true"]:hover, |
62 | #button-send[disabled="true"]:hover:active |
63 | { |
64 | list-style-image : url("chrome://messenger/skin/messengercompose/send-disabled.gif"); |
65 | } |
66 | |
f6e0a33f |
67 | #button-send[offline="true"] |
68 | { |
69 | list-style-image : url("chrome://messenger/skin/messengercompose/sendlater.gif"); |
70 | } |
71 | |
72 | #button-send[offline="true"][disabled="true"], |
73 | #button-send[offline="true"][disabled="true"]:hover, |
74 | #button-send[offline="true"][disabled="true"]:hover:active |
75 | { |
76 | list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif"); |
77 | } |
78 | |
f6e0a33f |
79 | #button-address |
80 | { |
81 | list-style-image : url("chrome://messenger/skin/messengercompose/address.gif"); |
82 | } |
83 | |
84 | #button-address[disabled="true"], |
85 | #button-address[disabled="true"]:hover, |
86 | #button-address[disabled="true"]:hover:active |
87 | { |
88 | list-style-image : url("chrome://messenger/skin/messengercompose/address-disabled.gif"); |
89 | } |
90 | |
f6e0a33f |
91 | #button-attach |
92 | { |
93 | list-style-image : url("chrome://messenger/skin/messengercompose/attach.gif"); |
94 | } |
95 | |
96 | #button-attach[disabled="true"], |
97 | #button-attach[disabled="true"]:hover, |
98 | #button-attach[disabled="true"]:hover:active |
99 | { |
100 | list-style-image : url("chrome://messenger/skin/messengercompose/attach-disabled.gif"); |
101 | } |
102 | |
f6e0a33f |
103 | #button-quote |
104 | { |
105 | list-style-image : url("chrome://messenger/skin/messengercompose/quote.gif"); |
106 | } |
107 | |
108 | #button-quote[disabled="true"], |
109 | #button-quote[disabled="true"]:hover, |
110 | #button-quote[disabled="true"]:hover:active |
111 | { |
112 | list-style-image : url("chrome://messenger/skin/messengercompose/quote-disabled.gif"); |
113 | } |
114 | |
f6e0a33f |
115 | #spellingButton |
116 | { |
117 | list-style-image : url("chrome://editor/skin/images/spell.gif"); |
118 | } |
119 | |
120 | #spellingButton[disabled="true"], |
121 | #spellingButton[disabled="true"]:hover, |
122 | #spellingButton[disabled="true"]:hover:active |
123 | { |
124 | list-style-image : url("chrome://editor/skin/images/spell-disabled.gif"); |
125 | } |
126 | |
f6e0a33f |
127 | #button-save |
128 | { |
129 | list-style-image : url("chrome://messenger/skin/messengercompose/savemsg.gif"); |
130 | } |
131 | |
132 | #button-save[disabled="true"], |
133 | #button-save[disabled="true"]:hover, |
134 | #button-save[disabled="true"]:hover:active |
135 | { |
136 | list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif"); |
137 | } |
138 | |
f6e0a33f |
139 | #button-stop |
140 | { |
141 | list-style-image : url("chrome://global/skin/stop.gif"); |
142 | } |
143 | |
144 | #button-stop[disabled="true"], |
145 | #button-stop[disabled="true"]:hover, |
146 | #button-stop[disabled="true"]:hover:active |
147 | { |
148 | list-style-image : url("chrome://global/skin/stop-disabled.gif"); |
149 | } |
150 | |
f6e0a33f |
151 | /* addressing widget */ |
152 | |
153 | #addressingWidgetTree |
154 | { |
155 | height : 80px; |
156 | width : 0px; |
07df3572 |
157 | margin : 0px; |
f6e0a33f |
158 | -moz-user-focus : none; |
159 | background-color : #FFFFFF; |
160 | } |
161 | |
162 | #listcol-addressingWidget |
163 | { |
164 | width : 9em; |
165 | border-right : 1px solid #CCD0DD; |
166 | } |
167 | |
168 | #addressingWidgetTree > treechildren > treeitem > treerow, |
169 | #addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow { |
170 | border : none; |
171 | background-color : inherit; |
172 | color : inherit; |
173 | } |
174 | |
175 | .treecell-addressingWidget |
176 | { |
177 | border-bottom : 1px solid #CCD0DD; |
178 | padding : 0px !important; |
179 | } |
180 | |
181 | .treecell-addressingWidget:first-child |
182 | { |
183 | border-bottom : none; |
184 | } |
185 | |
186 | .dummy-row-cell:first-child |
187 | { |
188 | border-bottom : 1px solid #CCD0DD; |
189 | } |
190 | |
191 | .person-icon |
192 | { |
193 | list-style-image : url("chrome://messenger/skin/abcard.gif"); |
194 | margin : 0px 3px 0px 3px; |
195 | } |
196 | |
197 | outlinerbody:-moz-outliner-cell-text(default-match) |
198 | { |
199 | margin: 2px -3px 2px 15px; |
200 | border: none; |
201 | } |
202 | |
203 | outlinerbody:-moz-outliner-image(local-abook) |
204 | { |
205 | margin: 2px -1px 2px 4px; |
206 | border: none; |
207 | list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif"); |
208 | } |
209 | |
210 | outlinerbody:-moz-outliner-image(remote-abook) |
211 | { |
212 | margin: 2px -3px 2px 2px; |
213 | border: none; |
214 | list-style-image: url("chrome://messenger/skin/addressbook/remote-abook.gif"); |
215 | } |
216 | |
217 | outlinerbody:-moz-outliner-image(remote-err) |
218 | { |
219 | margin: 2px -3px 2px 2px; |
220 | border: none; |
221 | list-style-image: url("chrome://messenger/skin/addressbook/remote-abook-down.gif"); |
222 | } |
223 | |
224 | #msgheaderstoolbar-box |
225 | { |
226 | /* padding-top : 2px; */ |
07df3572 |
227 | } |
f6e0a33f |
228 | |
07df3572 |
229 | /* this applies to two boxes to left and right of attachmentbucket-sizer */ |
230 | #msgheaderstoolbar-box > vbox |
231 | { |
232 | padding : 3px; |
233 | } |
234 | |
f6e0a33f |
235 | #compose-toolbar-sizer |
236 | { |
237 | height : 5px; |
238 | border-top : 1px solid #CCD0DD; |
239 | border-bottom : 1px solid #CCD0DD; |
240 | } |
241 | |
242 | #content-frame |
243 | { |
244 | border : 1px inset #CCD0DD; |
245 | } |
246 | |
247 | #appcontent |
248 | { |
07df3572 |
249 | /* border-left : 1px solid ThreeDShadow; |
f6e0a33f |
250 | border-right : 1px solid ThreeDHighlight; |
07df3572 |
251 | border-top : 1px solid ThreeDShadow; */ |
f6e0a33f |
252 | } |
253 | |
254 | #attachmentbucket-sizer |
255 | { |
256 | width : 5px; |
257 | } |
258 | |
07df3572 |
259 | #msgIdentity, #msgSubject |
f6e0a33f |
260 | { |
07df3572 |
261 | margin-right : 0px; |
f6e0a33f |
262 | } |
263 | |
07df3572 |
264 | #msgSubject |
265 | { |
266 | margin-top : 2px; |
267 | } |
268 | |
f6e0a33f |
269 | #attachmentBucket |
270 | { |
07df3572 |
271 | margin : 0px; |
f6e0a33f |
272 | -moz-user-focus : normal !important; |
273 | } |
274 | |
275 | #attachmentBucketText |
276 | { |
07df3572 |
277 | margin-bottom : 2px; |
f6e0a33f |
278 | -moz-user-focus : none; |
279 | } |
280 | |
281 | |
282 | /* askSendFormat dialog */ |
283 | |
284 | #askSendFormat { |
285 | width: 40em; |
286 | } |
287 | |
288 | #askImageBox { |
289 | -moz-box-align: start; |
290 | } |
291 | |
292 | #convertYes { |
293 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
294 | } |
295 | |
296 | #convertAltering { |
297 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
298 | } |
299 | |
300 | #convertNo { |
301 | list-style-image:url("chrome://global/skin/alert-icon.gif"); |
302 | } |
303 | |
304 | #convertDefault { |
305 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
306 | } /* Workaround for bug 50217. Please remove this rule, when this bug is fixed. */ |