1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is mozilla.org code.
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.
22 * Joe Hewitt (hewitt@netscape.com)
23 * Robert Kaiser <KaiRo@KaiRo.at>
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.
37 * ***** END LICENSE BLOCK ***** */
39 /* ===== messengercompose.css ===========================================
40 == Styles for the main Messenger Compose window.
41 ======================================================================= */
43 @import url("chrome://messenger/skin/");
45 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
47 /* ::::: image precaching ::::: */
49 #resource_bundle_messengercompose {
50 -moz-binding: url("chrome://messenger/skin/resources.xml#resource_bundle_messengercompose");
53 /* ::::: primary toolbar buttons ::::: */
57 list-style-image : url("chrome://messenger/skin/messengercompose/send.gif");
60 #button-send[disabled="true"],
61 #button-send[disabled="true"]:hover,
62 #button-send[disabled="true"]:hover:active
64 list-style-image : url("chrome://messenger/skin/messengercompose/send-disabled.gif");
68 #button-send:hover:active
70 list-style-image : url("chrome://messenger/skin/messengercompose/send-hover.gif");
73 #button-send[offline="true"]
75 list-style-image : url("chrome://messenger/skin/messengercompose/sendlater.gif");
78 #button-send[offline="true"][disabled="true"],
79 #button-send[offline="true"][disabled="true"]:hover,
80 #button-send[offline="true"][disabled="true"]:hover:active
82 list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif");
85 #button-send[offline="true"]:hover,
86 #button-send[offline="true"]:hover:active
88 list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-hover.gif");
93 list-style-image : url("chrome://messenger/skin/messengercompose/address.gif");
96 #button-address[disabled="true"],
97 #button-address[disabled="true"]:hover,
98 #button-address[disabled="true"]:hover:active
100 list-style-image : url("chrome://messenger/skin/messengercompose/address-disabled.gif");
103 #button-address:hover,
104 #button-address:hover:active
106 list-style-image : url("chrome://messenger/skin/messengercompose/address-hover.gif");
111 list-style-image : url("chrome://messenger/skin/messengercompose/attach.gif");
114 #button-attach[disabled="true"],
115 #button-attach[disabled="true"]:hover,
116 #button-attach[disabled="true"]:hover:active
118 list-style-image : url("chrome://messenger/skin/messengercompose/attach-disabled.gif");
121 #button-attach:hover,
122 #button-attach:hover:active
124 list-style-image : url("chrome://messenger/skin/messengercompose/attach-hover.gif");
129 list-style-image : url("chrome://messenger/skin/messengercompose/quote.gif");
132 #button-quote[disabled="true"],
133 #button-quote[disabled="true"]:hover,
134 #button-quote[disabled="true"]:hover:active
136 list-style-image : url("chrome://messenger/skin/messengercompose/quote-disabled.gif");
140 #button-quote:hover:active
142 list-style-image : url("chrome://messenger/skin/messengercompose/quote-hover.gif");
147 list-style-image : url("chrome://editor/skin/images/spell.gif");
150 #spellingButton[disabled="true"],
151 #spellingButton[disabled="true"]:hover,
152 #spellingButton[disabled="true"]:hover:active
154 list-style-image : url("chrome://editor/skin/images/spell-disabled.gif");
157 #spellingButton:hover,
158 #spellingButton:hover:active
160 list-style-image : url("chrome://editor/skin/images/spell-hover.gif");
165 list-style-image : url("chrome://messenger/skin/messengercompose/savemsg.gif");
168 #button-save[disabled="true"],
169 #button-save[disabled="true"]:hover,
170 #button-save[disabled="true"]:hover:active
172 list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif");
176 #button-save:hover:active
178 list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-hover.gif");
183 list-style-image : url("chrome://global/skin/stop.gif");
186 #button-stop[disabled="true"],
187 #button-stop[disabled="true"]:hover,
188 #button-stop[disabled="true"]:hover:active
190 list-style-image : url("chrome://global/skin/stop-disabled.gif");
194 #button-stop:hover:active
196 list-style-image : url("chrome://global/skin/stop-hover.gif");
199 /* addressing widget */
201 #addressingWidgetTree
205 -moz-user-focus : none;
206 /* background-color : #FFFFFF; */
209 #listcol-addressingWidget
212 border-right : 1px solid #9C9CFF;
215 #addressingWidgetTree > treechildren > treeitem > treerow,
216 #addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow {
218 background-color : inherit;
222 .treecell-addressingWidget
224 border-bottom : 1px solid #9C9CFF;
225 padding : 0px !important;
228 .treecell-addressingWidget:first-child
230 border-bottom : none;
233 .dummy-row-cell:first-child
235 border-bottom : 1px solid #9C9CFF;
240 list-style-image : url("chrome://messenger/skin/abcard.gif");
241 margin : 0px 3px 0px 3px;
244 outlinerbody:-moz-outliner-cell-text(default-match)
246 margin: 2px -3px 2px 15px;
250 outlinerbody:-moz-outliner-image(local-abook)
252 margin: 2px -1px 2px 4px;
254 list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif");
257 outlinerbody:-moz-outliner-image(remote-abook)
259 margin: 2px -3px 2px 2px;
261 list-style-image: url("chrome://messenger/skin/addressbook/remote-abook.gif");
264 outlinerbody:-moz-outliner-image(remote-err)
266 margin: 2px -3px 2px 2px;
268 list-style-image: url("chrome://messenger/skin/addressbook/remote-abook-down.gif");
271 #msgheaderstoolbar-box
273 /* padding-top : 2px; */
274 background-color : #E7ADE7;
278 #compose-toolbar-sizer
287 /* border : 1px solid #FFCF00; */
292 /* border-left : 1px solid ThreeDShadow;
293 border-right : 1px solid ThreeDHighlight;
294 border-top : 1px solid ThreeDShadow; */
297 #attachmentbucket-sizer
300 background-color : #000000;
303 #msgIdentity, #addressingWidgetTree, #msgSubject
311 -moz-user-focus : normal !important;
315 #attachmentBucketText
318 -moz-user-focus : none;
322 /* askSendFormat dialog */
329 -moz-box-align: start;
333 list-style-image:url("chrome://global/skin/question-icon.gif");
337 list-style-image:url("chrome://global/skin/question-icon.gif");
341 list-style-image:url("chrome://global/skin/alert-icon.gif");
345 list-style-image:url("chrome://global/skin/question-icon.gif");
346 } /* Workaround for bug 50217. Please remove this rule, when this bug is fixed. */