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 /* ::::: primary toolbar buttons ::::: */
50 list-style-image: url("chrome://messenger/skin/messengercompose/send.gif");
54 #button-send:hover:active {
55 list-style-image: url("chrome://messenger/skin/messengercompose/send-hover.gif");
58 #button-send[disabled="true"] {
59 list-style-image: url("chrome://messenger/skin/messengercompose/send-disabled.gif") !important;
62 #button-send[offline="true"] {
63 list-style-image: url("chrome://messenger/skin/messengercompose/sendlater.gif");
66 #button-send[offline="true"]:hover,
67 #button-send[offline="true"]:hover:active {
68 list-style-image: url("chrome://messenger/skin/messengercompose/sendlater-hover.gif");
71 #button-send[offline="true"][disabled="true"] {
72 list-style-image: url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif") !important;
76 list-style-image: url("chrome://messenger/skin/messengercompose/address.gif");
79 #button-address:hover,
80 #button-address:hover:active {
81 list-style-image: url("chrome://messenger/skin/messengercompose/address-hover.gif");
84 #button-address[disabled="true"] {
85 list-style-image: url("chrome://messenger/skin/messengercompose/address-disabled.gif") !important;
89 list-style-image: url("chrome://messenger/skin/messengercompose/attach.gif");
93 #button-attach:hover:active {
94 list-style-image: url("chrome://messenger/skin/messengercompose/attach-hover.gif");
97 #button-attach[disabled="true"] {
98 list-style-image: url("chrome://messenger/skin/messengercompose/attach-disabled.gif") !important;
102 list-style-image: url("chrome://messenger/skin/messengercompose/quote.gif");
106 #button-quote:hover:active {
107 list-style-image: url("chrome://messenger/skin/messengercompose/quote-hover.gif");
110 #button-quote[disabled="true"] {
111 list-style-image: url("chrome://messenger/skin/messengercompose/quote-disabled.gif") !important;
115 list-style-image: url("chrome://editor/skin/icons/spell.gif");
118 #spellingButton:hover,
119 #spellingButton:hover:active {
120 list-style-image: url("chrome://editor/skin/icons/spell-hover.gif");
123 #spellingButton[disabled="true"] {
124 list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important;
128 list-style-image: url("chrome://messenger/skin/messengercompose/savemsg.gif");
132 #button-save:hover:active {
133 list-style-image: url("chrome://messenger/skin/messengercompose/savemsg-hover.gif");
136 #button-save[disabled="true"] {
137 list-style-image: url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif") !important;
141 list-style-image: url("chrome://global/skin/icons/stop.gif");
145 #button-stop:hover:active {
146 list-style-image: url("chrome://global/skin/icons/stop-hover.gif");
149 #button-stop[disabled="true"] {
150 list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important;
153 /* addressing widget */
155 #addressingWidgetTree {
158 -moz-user-focus: none;
159 /* background-color: #FFFFFF; */
162 #listcol-addressingWidget {
164 border-right: 1px solid #9C9CFF;
167 #addressingWidgetTree > treechildren > treeitem > treerow,
168 #addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow {
170 background-color: inherit;
174 .treecell-addressingWidget {
175 border-bottom: 1px solid #9C9CFF;
176 padding: 0px !important;
179 .treecell-addressingWidget:first-child {
183 .textbox-addressingWidget {
184 -moz-box-align: center;
187 .dummy-row-cell:first-child {
188 border-bottom: 1px solid #9C9CFF;
192 list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.gif");
193 margin: 0px 3px 0px 3px;
196 /* ::::: autocomplete icons ::::: */
198 outlinerbody:-moz-outliner-cell-text(default-match) {
199 margin: 2px -3px 2px 15px;
203 outlinerbody:-moz-outliner-image(local-abook) {
204 margin: 2px -1px 2px 4px;
206 list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif");
209 outlinerbody:-moz-outliner-image(remote-abook) {
210 margin: 2px -3px 2px 2px;
212 list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif");
215 outlinerbody:-moz-outliner-image(remote-err) {
216 margin: 2px -3px 2px 2px;
218 list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif");
221 .identity-popup-item {
222 -moz-binding: url("chrome://messenger/content/messengercompose/mailComposeBindings.xml#fromMenuitem");
225 /* ::::: LCARStrek layout corrections ::::: */
227 #msgheaderstoolbar-box {
228 background-color: #E7ADE7;
243 margin: 3px 0px 2px 0px;
247 #attachmentbucket-sizer {
250 background-color: #000000;
253 #compose-toolbar-sizer {