Commit | Line | Data |
---|---|---|
351107c9 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 | |
3 | * | |
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/ | |
8 | * | |
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. | |
13 | * | |
14 | * The Original Code is mozilla.org code. | |
15 | * | |
3a121502 | 16 | * The Initial Developer of the Original Code is |
351107c9 | 17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998 | |
19 | * the Initial Developer. All Rights Reserved. | |
20 | * | |
21 | * Contributor(s): | |
22 | * Joe Hewitt (hewitt@netscape.com) | |
23 | * Robert Kaiser <KaiRo@KaiRo.at> | |
24 | * | |
25 | * Alternatively, the contents of this file may be used under the terms of | |
3a121502 | 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
351107c9 | 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 ***** */ | |
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 | ||
351107c9 | 47 | /* ::::: primary toolbar buttons ::::: */ |
3a121502 | 48 | |
b1eaa419 | 49 | #button-send { |
50 | list-style-image: url("chrome://messenger/skin/messengercompose/send.gif"); | |
51 | } | |
351107c9 | 52 | |
53 | #button-send:hover, | |
b1eaa419 | 54 | #button-send:hover:active { |
55 | list-style-image: url("chrome://messenger/skin/messengercompose/send-hover.gif"); | |
3a121502 | 56 | } |
b1eaa419 | 57 | |
58 | #button-send[disabled="true"] { | |
59 | list-style-image: url("chrome://messenger/skin/messengercompose/send-disabled.gif") !important; | |
3a121502 | 60 | } |
b1eaa419 | 61 | |
62 | #button-send[offline="true"] { | |
63 | list-style-image: url("chrome://messenger/skin/messengercompose/sendlater.gif"); | |
64 | } | |
351107c9 | 65 | |
66 | #button-send[offline="true"]:hover, | |
b1eaa419 | 67 | #button-send[offline="true"]:hover:active { |
68 | list-style-image: url("chrome://messenger/skin/messengercompose/sendlater-hover.gif"); | |
69 | } | |
70 | ||
71 | #button-send[offline="true"][disabled="true"] { | |
72 | list-style-image: url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif") !important; | |
73 | } | |
74 | ||
75 | #button-address { | |
76 | list-style-image: url("chrome://messenger/skin/messengercompose/address.gif"); | |
77 | } | |
351107c9 | 78 | |
79 | #button-address:hover, | |
b1eaa419 | 80 | #button-address:hover:active { |
81 | list-style-image: url("chrome://messenger/skin/messengercompose/address-hover.gif"); | |
3a121502 | 82 | } |
b1eaa419 | 83 | |
84 | #button-address[disabled="true"] { | |
85 | list-style-image: url("chrome://messenger/skin/messengercompose/address-disabled.gif") !important; | |
3a121502 | 86 | } |
b1eaa419 | 87 | |
88 | #button-attach { | |
89 | list-style-image: url("chrome://messenger/skin/messengercompose/attach.gif"); | |
90 | } | |
351107c9 | 91 | |
3a121502 | 92 | #button-attach:hover, |
93 | #button-attach:hover:active { | |
b1eaa419 | 94 | list-style-image: url("chrome://messenger/skin/messengercompose/attach-hover.gif"); |
3a121502 | 95 | } |
b1eaa419 | 96 | |
97 | #button-attach[disabled="true"] { | |
98 | list-style-image: url("chrome://messenger/skin/messengercompose/attach-disabled.gif") !important; | |
3a121502 | 99 | } |
b1eaa419 | 100 | |
101 | #button-quote { | |
102 | list-style-image: url("chrome://messenger/skin/messengercompose/quote.gif"); | |
103 | } | |
351107c9 | 104 | |
105 | #button-quote:hover, | |
b1eaa419 | 106 | #button-quote:hover:active { |
107 | list-style-image: url("chrome://messenger/skin/messengercompose/quote-hover.gif"); | |
3a121502 | 108 | } |
b1eaa419 | 109 | |
110 | #button-quote[disabled="true"] { | |
111 | list-style-image: url("chrome://messenger/skin/messengercompose/quote-disabled.gif") !important; | |
3a121502 | 112 | } |
b1eaa419 | 113 | |
114 | #spellingButton { | |
115 | list-style-image: url("chrome://editor/skin/icons/spell.gif"); | |
116 | } | |
351107c9 | 117 | |
118 | #spellingButton:hover, | |
b1eaa419 | 119 | #spellingButton:hover:active { |
120 | list-style-image: url("chrome://editor/skin/icons/spell-hover.gif"); | |
121 | } | |
122 | ||
123 | #spellingButton[disabled="true"] { | |
124 | list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; | |
125 | } | |
126 | ||
127 | #button-save { | |
128 | list-style-image: url("chrome://messenger/skin/messengercompose/savemsg.gif"); | |
129 | } | |
351107c9 | 130 | |
3a121502 | 131 | #button-save:hover, |
132 | #button-save:hover:active { | |
b1eaa419 | 133 | list-style-image: url("chrome://messenger/skin/messengercompose/savemsg-hover.gif"); |
3a121502 | 134 | } |
b1eaa419 | 135 | |
136 | #button-save[disabled="true"] { | |
137 | list-style-image: url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif") !important; | |
3a121502 | 138 | } |
b1eaa419 | 139 | |
140 | #button-stop { | |
141 | list-style-image: url("chrome://global/skin/icons/stop.gif"); | |
142 | } | |
351107c9 | 143 | |
144 | #button-stop:hover, | |
b1eaa419 | 145 | #button-stop:hover:active { |
146 | list-style-image: url("chrome://global/skin/icons/stop-hover.gif"); | |
3a121502 | 147 | } |
b1eaa419 | 148 | |
149 | #button-stop[disabled="true"] { | |
150 | list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important; | |
3a121502 | 151 | } |
351107c9 | 152 | |
ee6cb01c RK |
153 | #MsgHeadersToolbar { |
154 | min-height: 0px; /* this undoes the min-height in toolbar.css */ | |
155 | } | |
156 | ||
b1eaa419 | 157 | /* ::::: autocomplete icons ::::: */ |
351107c9 | 158 | |
01fc5c11 | 159 | treechildren::-moz-tree-cell-text(default-match) { |
b1eaa419 | 160 | margin: 2px -3px 2px 15px; |
161 | border: none; | |
162 | } | |
351107c9 | 163 | |
01fc5c11 | 164 | treechildren::-moz-tree-image(local-abook) { |
b1eaa419 | 165 | margin: 2px -1px 2px 4px; |
b1eaa419 | 166 | list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif"); |
167 | } | |
351107c9 | 168 | |
01fc5c11 | 169 | treechildren::-moz-tree-image(remote-abook) { |
b1eaa419 | 170 | margin: 2px -3px 2px 2px; |
b1eaa419 | 171 | list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif"); |
172 | } | |
351107c9 | 173 | |
01fc5c11 | 174 | treechildren::-moz-tree-image(remote-err) { |
b1eaa419 | 175 | margin: 2px -3px 2px 2px; |
b1eaa419 | 176 | list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif"); |
177 | } | |
351107c9 | 178 | |
b1eaa419 | 179 | /* ::::: LCARStrek layout corrections ::::: */ |
180 | ||
181 | #msgheaderstoolbar-box { | |
182 | background-color: #E7ADE7; | |
183 | color: #000000; | |
3a121502 | 184 | } |
b1eaa419 | 185 | |
186 | #addresses-box, | |
187 | #attachments-box { | |
188 | padding: 1px 5px; | |
351107c9 | 189 | } |
190 | ||
2b722888 | 191 | #addresses-box > hbox > label, |
192 | #attachments-box > label { | |
193 | margin-left: 0px; | |
194 | } | |
195 | ||
edb23828 | 196 | #msgIdentity { |
b1eaa419 | 197 | margin-right: 0px; |
351107c9 | 198 | } |
199 | ||
edb23828 | 200 | #msgSubject { |
ee6cb01c | 201 | margin-right: 0px; |
edb23828 | 202 | } |
203 | ||
b1eaa419 | 204 | #attachmentBucket { |
205 | margin: 3px 0px 2px 0px; | |
206 | color: #FF9F00; | |
351107c9 | 207 | } |
208 | ||
b1eaa419 | 209 | #attachmentbucket-sizer { |
210 | width: 5px; | |
211 | margin: 0px; | |
212 | background-color: #000000; | |
351107c9 | 213 | } |
214 | ||
b1eaa419 | 215 | #compose-toolbar-sizer { |
216 | height: 3px; | |
217 | margin-top: 0px; | |
218 | border: none; | |
219 | } |