2 * The contents of this file are subject to the Netscape Public
3 * License Version 1.1 (the "License"); you may not use this file
4 * except in compliance with the License. You may obtain a copy of
5 * the License at http://www.mozilla.org/NPL/
7 * Software distributed under the License is distributed on an "AS
8 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9 * implied. See the License for the specific language governing
10 * rights and limitations under the License.
12 * The Original Code is Mozilla Communicator client code, released
15 * The Initial Developer of the Original Code is Netscape
16 * Communications Corporation. Portions created by Netscape are
17 * Copyright (C) 1998-2001 Netscape Communications Corporation. All
21 * Joe Hewitt (hewitt@netscape.com)
24 /* ===== messengercompose.css ===========================================
25 == Styles for the main Messenger Compose window.
26 ======================================================================= */
28 @import url("chrome://messenger/skin/");
30 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
32 /* ::::: image precaching ::::: */
34 #resource_bundle_messengercompose {
35 -moz-binding: url("chrome://messenger/skin/resources.xml#resource_bundle_messengercompose");
38 /* ::::: primary toolbar buttons ::::: */
42 list-style-image : url("chrome://messenger/skin/messengercompose/send.gif");
45 #button-send[disabled="true"],
46 #button-send[disabled="true"]:hover,
47 #button-send[disabled="true"]:hover:active
49 list-style-image : url("chrome://messenger/skin/messengercompose/send-disabled.gif");
53 #button-send:hover:active
55 list-style-image : url("chrome://messenger/skin/messengercompose/send-hover.gif");
58 #button-send[offline="true"]
60 list-style-image : url("chrome://messenger/skin/messengercompose/sendlater.gif");
63 #button-send[offline="true"][disabled="true"],
64 #button-send[offline="true"][disabled="true"]:hover,
65 #button-send[offline="true"][disabled="true"]:hover:active
67 list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif");
70 #button-send[offline="true"]:hover,
71 #button-send[offline="true"]:hover:active
73 list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-hover.gif");
78 list-style-image : url("chrome://messenger/skin/messengercompose/address.gif");
81 #button-address[disabled="true"],
82 #button-address[disabled="true"]:hover,
83 #button-address[disabled="true"]:hover:active
85 list-style-image : url("chrome://messenger/skin/messengercompose/address-disabled.gif");
88 #button-address:hover,
89 #button-address:hover:active
91 list-style-image : url("chrome://messenger/skin/messengercompose/address-hover.gif");
96 list-style-image : url("chrome://messenger/skin/messengercompose/attach.gif");
99 #button-attach[disabled="true"],
100 #button-attach[disabled="true"]:hover,
101 #button-attach[disabled="true"]:hover:active
103 list-style-image : url("chrome://messenger/skin/messengercompose/attach-disabled.gif");
106 #button-attach:hover,
107 #button-attach:hover:active
109 list-style-image : url("chrome://messenger/skin/messengercompose/attach-hover.gif");
114 list-style-image : url("chrome://messenger/skin/messengercompose/quote.gif");
117 #button-quote[disabled="true"],
118 #button-quote[disabled="true"]:hover,
119 #button-quote[disabled="true"]:hover:active
121 list-style-image : url("chrome://messenger/skin/messengercompose/quote-disabled.gif");
125 #button-quote:hover:active
127 list-style-image : url("chrome://messenger/skin/messengercompose/quote-hover.gif");
132 list-style-image : url("chrome://editor/skin/images/spell.gif");
135 #spellingButton[disabled="true"],
136 #spellingButton[disabled="true"]:hover,
137 #spellingButton[disabled="true"]:hover:active
139 list-style-image : url("chrome://editor/skin/images/spell-disabled.gif");
142 #spellingButton:hover,
143 #spellingButton:hover:active
145 list-style-image : url("chrome://editor/skin/images/spell-hover.gif");
150 list-style-image : url("chrome://messenger/skin/messengercompose/savemsg.gif");
153 #button-save[disabled="true"],
154 #button-save[disabled="true"]:hover,
155 #button-save[disabled="true"]:hover:active
157 list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif");
161 #button-save:hover:active
163 list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-hover.gif");
168 list-style-image : url("chrome://global/skin/stop.gif");
171 #button-stop[disabled="true"],
172 #button-stop[disabled="true"]:hover,
173 #button-stop[disabled="true"]:hover:active
175 list-style-image : url("chrome://global/skin/stop-disabled.gif");
179 #button-stop:hover:active
181 list-style-image : url("chrome://global/skin/stop-hover.gif");
184 /* addressing widget */
186 #addressingWidgetTree
190 -moz-user-focus : none;
191 /* background-color : #FFFFFF; */
194 #listcol-addressingWidget
197 border-right : 1px solid #9C9CFF;
200 #addressingWidgetTree > treechildren > treeitem > treerow,
201 #addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow {
203 background-color : inherit;
207 .treecell-addressingWidget
209 border-bottom : 1px solid #9C9CFF;
210 padding : 0px !important;
213 .treecell-addressingWidget:first-child
215 border-bottom : none;
218 .dummy-row-cell:first-child
220 border-bottom : 1px solid #9C9CFF;
225 list-style-image : url("chrome://messenger/skin/abcard.gif");
226 margin : 0px 3px 0px 3px;
229 outlinerbody:-moz-outliner-cell-text(default-match)
231 margin: 2px -3px 2px 15px;
235 outlinerbody:-moz-outliner-image(local-abook)
237 margin: 2px -1px 2px 4px;
239 list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif");
242 outlinerbody:-moz-outliner-image(remote-abook)
244 margin: 2px -3px 2px 2px;
246 list-style-image: url("chrome://messenger/skin/addressbook/remote-abook.gif");
249 outlinerbody:-moz-outliner-image(remote-err)
251 margin: 2px -3px 2px 2px;
253 list-style-image: url("chrome://messenger/skin/addressbook/remote-abook-down.gif");
256 #msgheaderstoolbar-box
258 /* padding-top : 2px; */
259 background-color : #E7ADE7;
263 #compose-toolbar-sizer
272 /* border : 1px solid #FFCF00; */
277 /* border-left : 1px solid ThreeDShadow;
278 border-right : 1px solid ThreeDHighlight;
279 border-top : 1px solid ThreeDShadow; */
282 #attachmentbucket-sizer
285 background-color : #000000;
288 #msgIdentity, #addressingWidgetTree, #msgSubject
296 -moz-user-focus : normal !important;
300 #attachmentBucketText
303 -moz-user-focus : none;
307 /* askSendFormat dialog */
314 -moz-box-align: start;
318 list-style-image:url("chrome://global/skin/question-icon.gif");
322 list-style-image:url("chrome://global/skin/question-icon.gif");
326 list-style-image:url("chrome://global/skin/alert-icon.gif");
330 list-style-image:url("chrome://global/skin/question-icon.gif");
331 } /* Workaround for bug 50217. Please remove this rule, when this bug is fixed. */