fixing crasher with resource bindings
[themes.git] / LCARStrek / skin / LCARStrek / messenger / messengercompose / messengercompose.css
CommitLineData
b200f773 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
3c30e09e 3 *
b200f773 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/
3c30e09e 8 *
b200f773 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.
3c30e09e 13 *
b200f773 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.
3c30e09e 20 *
21 * Contributor(s):
22 * Joe Hewitt (hewitt@netscape.com)
b200f773 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 ***** */
3c30e09e 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
67#button-send:hover,
68#button-send:hover:active
69 {
70 list-style-image : url("chrome://messenger/skin/messengercompose/send-hover.gif");
71 }
72
73#button-send[offline="true"]
74 {
75 list-style-image : url("chrome://messenger/skin/messengercompose/sendlater.gif");
76 }
77
78#button-send[offline="true"][disabled="true"],
79#button-send[offline="true"][disabled="true"]:hover,
80#button-send[offline="true"][disabled="true"]:hover:active
81 {
82 list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif");
83 }
84
85#button-send[offline="true"]:hover,
86#button-send[offline="true"]:hover:active
87 {
88 list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-hover.gif");
89 }
90
91#button-address
92 {
93 list-style-image : url("chrome://messenger/skin/messengercompose/address.gif");
94 }
95
96#button-address[disabled="true"],
97#button-address[disabled="true"]:hover,
98#button-address[disabled="true"]:hover:active
99 {
100 list-style-image : url("chrome://messenger/skin/messengercompose/address-disabled.gif");
101 }
102
103#button-address:hover,
104#button-address:hover:active
105 {
106 list-style-image : url("chrome://messenger/skin/messengercompose/address-hover.gif");
107 }
108
109#button-attach
110 {
111 list-style-image : url("chrome://messenger/skin/messengercompose/attach.gif");
112 }
113
114#button-attach[disabled="true"],
115#button-attach[disabled="true"]:hover,
116#button-attach[disabled="true"]:hover:active
117 {
118 list-style-image : url("chrome://messenger/skin/messengercompose/attach-disabled.gif");
119 }
120
121#button-attach:hover,
122#button-attach:hover:active
123 {
124 list-style-image : url("chrome://messenger/skin/messengercompose/attach-hover.gif");
125 }
126
127#button-quote
128 {
129 list-style-image : url("chrome://messenger/skin/messengercompose/quote.gif");
130 }
131
132#button-quote[disabled="true"],
133#button-quote[disabled="true"]:hover,
134#button-quote[disabled="true"]:hover:active
135 {
136 list-style-image : url("chrome://messenger/skin/messengercompose/quote-disabled.gif");
137 }
138
139#button-quote:hover,
140#button-quote:hover:active
141 {
142 list-style-image : url("chrome://messenger/skin/messengercompose/quote-hover.gif");
143 }
144
145#spellingButton
146 {
147 list-style-image : url("chrome://editor/skin/images/spell.gif");
148 }
149
150#spellingButton[disabled="true"],
151#spellingButton[disabled="true"]:hover,
152#spellingButton[disabled="true"]:hover:active
153 {
154 list-style-image : url("chrome://editor/skin/images/spell-disabled.gif");
155 }
156
157#spellingButton:hover,
158#spellingButton:hover:active
159 {
160 list-style-image : url("chrome://editor/skin/images/spell-hover.gif");
161 }
162
163#button-save
164 {
165 list-style-image : url("chrome://messenger/skin/messengercompose/savemsg.gif");
166 }
167
168#button-save[disabled="true"],
169#button-save[disabled="true"]:hover,
170#button-save[disabled="true"]:hover:active
171 {
172 list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif");
173 }
174
175#button-save:hover,
176#button-save:hover:active
177 {
178 list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-hover.gif");
179 }
180
181#button-stop
182 {
183 list-style-image : url("chrome://global/skin/stop.gif");
184 }
185
186#button-stop[disabled="true"],
187#button-stop[disabled="true"]:hover,
188#button-stop[disabled="true"]:hover:active
189 {
190 list-style-image : url("chrome://global/skin/stop-disabled.gif");
191 }
192
193#button-stop:hover,
194#button-stop:hover:active
195 {
196 list-style-image : url("chrome://global/skin/stop-hover.gif");
197 }
198
199/* addressing widget */
200
201#addressingWidgetTree
202 {
203 height : 80px;
204 width : 0px;
205 -moz-user-focus : none;
206/* background-color : #FFFFFF; */
207 }
208
209#listcol-addressingWidget
210 {
211 width : 9em;
212 border-right : 1px solid #9C9CFF;
213 }
214
215#addressingWidgetTree > treechildren > treeitem > treerow,
216#addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow {
217 border : none;
218 background-color : inherit;
219 color : inherit;
220}
221
222.treecell-addressingWidget
223 {
224 border-bottom : 1px solid #9C9CFF;
225 padding : 0px !important;
226 }
227
228.treecell-addressingWidget:first-child
229 {
230 border-bottom : none;
231 }
232
233.dummy-row-cell:first-child
234 {
235 border-bottom : 1px solid #9C9CFF;
236 }
237
238.person-icon
239 {
240 list-style-image : url("chrome://messenger/skin/abcard.gif");
241 margin : 0px 3px 0px 3px;
242 }
243
244outlinerbody:-moz-outliner-cell-text(default-match)
245 {
246 margin: 2px -3px 2px 15px;
247 border: none;
248 }
249
250outlinerbody:-moz-outliner-image(local-abook)
251 {
252 margin: 2px -1px 2px 4px;
253 border: none;
254 list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif");
255 }
256
257outlinerbody:-moz-outliner-image(remote-abook)
258 {
259 margin: 2px -3px 2px 2px;
260 border: none;
261 list-style-image: url("chrome://messenger/skin/addressbook/remote-abook.gif");
262 }
263
264outlinerbody:-moz-outliner-image(remote-err)
265 {
266 margin: 2px -3px 2px 2px;
267 border: none;
268 list-style-image: url("chrome://messenger/skin/addressbook/remote-abook-down.gif");
269 }
270
271#msgheaderstoolbar-box
272 {
3c30e09e 273 background-color : #E7ADE7;
274 color : #000000;
275 }
07df3572 276
277/* this applies to two boxes to left and right of attachmentbucket-sizer */
278#msgheaderstoolbar-box > vbox
279 {
280 padding : 3px;
281 }
282
3c30e09e 283#compose-toolbar-sizer
284 {
285 height : 3px;
286 margin-top : 0px;
287 border : none;
288 }
289
290#content-frame
291 {
292/* border : 1px solid #FFCF00; */
293 }
294
295#appcontent
296 {
297/* border-left : 1px solid ThreeDShadow;
298 border-right : 1px solid ThreeDHighlight;
299 border-top : 1px solid ThreeDShadow; */
300 }
301
302#attachmentbucket-sizer
303 {
304 width : 5px;
07df3572 305 margin : 0px;
3c30e09e 306 background-color : #000000;
307 }
308
07df3572 309#msgIdentity, #msgSubject
3c30e09e 310 {
07df3572 311 margin-right : 0px;
312 }
313
314#msgSubject
315 {
316 margin-top : 2px;
317 }
3c30e09e 318
319#attachmentBucket
320 {
3c30e09e 321 -moz-user-focus : normal !important;
322 color : #FF9F00;
323 }
324
325#attachmentBucketText
326 {
07df3572 327 margin-bottom : 2px;
3c30e09e 328 -moz-user-focus : none;
329 }
330
331
332/* askSendFormat dialog */
333
334#askSendFormat {
335 width: 40em;
336}
337
338#askImageBox {
339 -moz-box-align: start;
340}
341
342#convertYes {
343 list-style-image:url("chrome://global/skin/question-icon.gif");
344}
345
346#convertAltering {
347 list-style-image:url("chrome://global/skin/question-icon.gif");
348}
349
350#convertNo {
351 list-style-image:url("chrome://global/skin/alert-icon.gif");
352}
353
354#convertDefault {
355 list-style-image:url("chrome://global/skin/question-icon.gif");
356} /* Workaround for bug 50217. Please remove this rule, when this bug is fixed. */