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");
67 #button-send[offline="true"]
69 list-style-image : url("chrome://messenger/skin/messengercompose/sendlater.gif");
72 #button-send[offline="true"][disabled="true"],
73 #button-send[offline="true"][disabled="true"]:hover,
74 #button-send[offline="true"][disabled="true"]:hover:active
76 list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif");
81 list-style-image : url("chrome://messenger/skin/messengercompose/address.gif");
84 #button-address[disabled="true"],
85 #button-address[disabled="true"]:hover,
86 #button-address[disabled="true"]:hover:active
88 list-style-image : url("chrome://messenger/skin/messengercompose/address-disabled.gif");
93 list-style-image : url("chrome://messenger/skin/messengercompose/attach.gif");
96 #button-attach[disabled="true"],
97 #button-attach[disabled="true"]:hover,
98 #button-attach[disabled="true"]:hover:active
100 list-style-image : url("chrome://messenger/skin/messengercompose/attach-disabled.gif");
105 list-style-image : url("chrome://messenger/skin/messengercompose/quote.gif");
108 #button-quote[disabled="true"],
109 #button-quote[disabled="true"]:hover,
110 #button-quote[disabled="true"]:hover:active
112 list-style-image : url("chrome://messenger/skin/messengercompose/quote-disabled.gif");
117 list-style-image : url("chrome://editor/skin/images/spell.gif");
120 #spellingButton[disabled="true"],
121 #spellingButton[disabled="true"]:hover,
122 #spellingButton[disabled="true"]:hover:active
124 list-style-image : url("chrome://editor/skin/images/spell-disabled.gif");
129 list-style-image : url("chrome://messenger/skin/messengercompose/savemsg.gif");
132 #button-save[disabled="true"],
133 #button-save[disabled="true"]:hover,
134 #button-save[disabled="true"]:hover:active
136 list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif");
141 list-style-image : url("chrome://global/skin/stop.gif");
144 #button-stop[disabled="true"],
145 #button-stop[disabled="true"]:hover,
146 #button-stop[disabled="true"]:hover:active
148 list-style-image : url("chrome://global/skin/stop-disabled.gif");
151 /* addressing widget */
153 #addressingWidgetTree
157 -moz-user-focus : none;
158 background-color : #FFFFFF;
161 #listcol-addressingWidget
164 border-right : 1px solid #CCD0DD;
167 #addressingWidgetTree > treechildren > treeitem > treerow,
168 #addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow {
170 background-color : inherit;
174 .treecell-addressingWidget
176 border-bottom : 1px solid #CCD0DD;
177 padding : 0px !important;
180 .treecell-addressingWidget:first-child
182 border-bottom : none;
185 .dummy-row-cell:first-child
187 border-bottom : 1px solid #CCD0DD;
192 list-style-image : url("chrome://messenger/skin/abcard.gif");
193 margin : 0px 3px 0px 3px;
196 outlinerbody:-moz-outliner-cell-text(default-match)
198 margin: 2px -3px 2px 15px;
202 outlinerbody:-moz-outliner-image(local-abook)
204 margin: 2px -1px 2px 4px;
206 list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif");
209 outlinerbody:-moz-outliner-image(remote-abook)
211 margin: 2px -3px 2px 2px;
213 list-style-image: url("chrome://messenger/skin/addressbook/remote-abook.gif");
216 outlinerbody:-moz-outliner-image(remote-err)
218 margin: 2px -3px 2px 2px;
220 list-style-image: url("chrome://messenger/skin/addressbook/remote-abook-down.gif");
223 #msgheaderstoolbar-box
225 /* padding-top : 2px; */
228 #compose-toolbar-sizer
231 border-top : 1px solid #CCD0DD;
232 border-bottom : 1px solid #CCD0DD;
237 border : 1px inset #CCD0DD;
242 border-left : 1px solid ThreeDShadow;
243 border-right : 1px solid ThreeDHighlight;
244 border-top : 1px solid ThreeDShadow;
247 #attachmentbucket-sizer
252 #msgIdentity, #addressingWidgetTree, #msgSubject
260 -moz-user-focus : normal !important;
263 #attachmentBucketText
266 -moz-user-focus : none;
270 /* askSendFormat dialog */
277 -moz-box-align: start;
281 list-style-image:url("chrome://global/skin/question-icon.gif");
285 list-style-image:url("chrome://global/skin/question-icon.gif");
289 list-style-image:url("chrome://global/skin/alert-icon.gif");
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. */