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; |
157 | -moz-user-focus : none; |
158 | background-color : #FFFFFF; |
159 | } |
160 | |
161 | #listcol-addressingWidget |
162 | { |
163 | width : 9em; |
164 | border-right : 1px solid #CCD0DD; |
165 | } |
166 | |
167 | #addressingWidgetTree > treechildren > treeitem > treerow, |
168 | #addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow { |
169 | border : none; |
170 | background-color : inherit; |
171 | color : inherit; |
172 | } |
173 | |
174 | .treecell-addressingWidget |
175 | { |
176 | border-bottom : 1px solid #CCD0DD; |
177 | padding : 0px !important; |
178 | } |
179 | |
180 | .treecell-addressingWidget:first-child |
181 | { |
182 | border-bottom : none; |
183 | } |
184 | |
185 | .dummy-row-cell:first-child |
186 | { |
187 | border-bottom : 1px solid #CCD0DD; |
188 | } |
189 | |
190 | .person-icon |
191 | { |
192 | list-style-image : url("chrome://messenger/skin/abcard.gif"); |
193 | margin : 0px 3px 0px 3px; |
194 | } |
195 | |
196 | outlinerbody:-moz-outliner-cell-text(default-match) |
197 | { |
198 | margin: 2px -3px 2px 15px; |
199 | border: none; |
200 | } |
201 | |
202 | outlinerbody:-moz-outliner-image(local-abook) |
203 | { |
204 | margin: 2px -1px 2px 4px; |
205 | border: none; |
206 | list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif"); |
207 | } |
208 | |
209 | outlinerbody:-moz-outliner-image(remote-abook) |
210 | { |
211 | margin: 2px -3px 2px 2px; |
212 | border: none; |
213 | list-style-image: url("chrome://messenger/skin/addressbook/remote-abook.gif"); |
214 | } |
215 | |
216 | outlinerbody:-moz-outliner-image(remote-err) |
217 | { |
218 | margin: 2px -3px 2px 2px; |
219 | border: none; |
220 | list-style-image: url("chrome://messenger/skin/addressbook/remote-abook-down.gif"); |
221 | } |
222 | |
223 | #msgheaderstoolbar-box |
224 | { |
225 | /* padding-top : 2px; */ |
226 | } |
227 | |
228 | #compose-toolbar-sizer |
229 | { |
230 | height : 5px; |
231 | border-top : 1px solid #CCD0DD; |
232 | border-bottom : 1px solid #CCD0DD; |
233 | } |
234 | |
235 | #content-frame |
236 | { |
237 | border : 1px inset #CCD0DD; |
238 | } |
239 | |
240 | #appcontent |
241 | { |
242 | border-left : 1px solid ThreeDShadow; |
243 | border-right : 1px solid ThreeDHighlight; |
244 | border-top : 1px solid ThreeDShadow; |
245 | } |
246 | |
247 | #attachmentbucket-sizer |
248 | { |
249 | width : 5px; |
250 | } |
251 | |
252 | #msgIdentity, #addressingWidgetTree, #msgSubject |
253 | { |
254 | margin-right : 3px; |
255 | } |
256 | |
257 | #attachmentBucket |
258 | { |
259 | margin-left : 3px; |
260 | -moz-user-focus : normal !important; |
261 | } |
262 | |
263 | #attachmentBucketText |
264 | { |
265 | margin-left : 3px; |
266 | -moz-user-focus : none; |
267 | } |
268 | |
269 | |
270 | /* askSendFormat dialog */ |
271 | |
272 | #askSendFormat { |
273 | width: 40em; |
274 | } |
275 | |
276 | #askImageBox { |
277 | -moz-box-align: start; |
278 | } |
279 | |
280 | #convertYes { |
281 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
282 | } |
283 | |
284 | #convertAltering { |
285 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
286 | } |
287 | |
288 | #convertNo { |
289 | list-style-image:url("chrome://global/skin/alert-icon.gif"); |
290 | } |
291 | |
292 | #convertDefault { |
293 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
294 | } /* Workaround for bug 50217. Please remove this rule, when this bug is fixed. */ |
295 | |