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 { |
303bd2e1 RK |
50 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
51 | -moz-image-region: rect(231px 25px 252px 0px); | |
3a121502 | 52 | } |
b1eaa419 | 53 | |
54 | #button-send[disabled="true"] { | |
303bd2e1 | 55 | -moz-image-region: rect(231px 50px 252px 25px); |
3a121502 | 56 | } |
b1eaa419 | 57 | |
303bd2e1 RK |
58 | #button-send:not([disabled="true"]):hover, |
59 | #button-send:not([disabled="true"]):hover:active { | |
60 | -moz-image-region: rect(231px 75px 252px 50px); | |
b1eaa419 | 61 | } |
351107c9 | 62 | |
303bd2e1 RK |
63 | #button-send[offline="true"] { |
64 | -moz-image-region: rect(273px 25px 294px 0px); | |
b1eaa419 | 65 | } |
66 | ||
67 | #button-send[offline="true"][disabled="true"] { | |
303bd2e1 | 68 | -moz-image-region: rect(273px 50px 294px 25px); |
b1eaa419 | 69 | } |
70 | ||
303bd2e1 RK |
71 | #button-send[offline="true"]:not([disabled="true"]):hover, |
72 | #button-send[offline="true"]:not([disabled="true"]):hover:active { | |
73 | -moz-image-region: rect(273px 75px 294px 50px); | |
b1eaa419 | 74 | } |
351107c9 | 75 | |
303bd2e1 RK |
76 | #button-address { |
77 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); | |
78 | -moz-image-region: rect(189px 25px 210px 0px); | |
3a121502 | 79 | } |
b1eaa419 | 80 | |
81 | #button-address[disabled="true"] { | |
303bd2e1 | 82 | -moz-image-region: rect(189px 50px 210px 25px); |
3a121502 | 83 | } |
b1eaa419 | 84 | |
303bd2e1 RK |
85 | #button-address:not([disabled="true"]):hover, |
86 | #button-address:not([disabled="true"]):hover:active { | |
87 | -moz-image-region: rect(189px 75px 210px 50px); | |
b1eaa419 | 88 | } |
351107c9 | 89 | |
303bd2e1 RK |
90 | #button-attach { |
91 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); | |
92 | -moz-image-region: rect(210px 25px 231px 0px); | |
3a121502 | 93 | } |
b1eaa419 | 94 | |
95 | #button-attach[disabled="true"] { | |
303bd2e1 | 96 | -moz-image-region: rect(210px 50px 231px 25px); |
b1eaa419 | 97 | } |
351107c9 | 98 | |
303bd2e1 RK |
99 | #button-attach:not([disabled="true"]):hover, |
100 | #button-attach:not([disabled="true"]):hover:active, | |
101 | #button-attach[open="true"] { | |
102 | -moz-image-region: rect(210px 75px 231px 50px); | |
3a121502 | 103 | } |
b1eaa419 | 104 | |
105 | #spellingButton { | |
106 | list-style-image: url("chrome://editor/skin/icons/spell.gif"); | |
107 | } | |
351107c9 | 108 | |
109 | #spellingButton:hover, | |
b1eaa419 | 110 | #spellingButton:hover:active { |
111 | list-style-image: url("chrome://editor/skin/icons/spell-hover.gif"); | |
112 | } | |
113 | ||
114 | #spellingButton[disabled="true"] { | |
115 | list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; | |
116 | } | |
117 | ||
118 | #button-save { | |
303bd2e1 RK |
119 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
120 | -moz-image-region: rect(294px 25px 315px 0px); | |
b1eaa419 | 121 | } |
351107c9 | 122 | |
303bd2e1 RK |
123 | #button-save[disabled="true"] { |
124 | -moz-image-region: rect(294px 50px 315px 25px); | |
3a121502 | 125 | } |
b1eaa419 | 126 | |
303bd2e1 RK |
127 | #button-save:not([disabled="true"]):hover, |
128 | #button-save:not([disabled="true"]):hover:active, | |
129 | #button-save[open="true"] { | |
130 | -moz-image-region: rect(294px 75px 315px 50px); | |
3a121502 | 131 | } |
b1eaa419 | 132 | |
133 | #button-stop { | |
303bd2e1 RK |
134 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
135 | -moz-image-region: rect(21px 25px 42px 0px); | |
b1eaa419 | 136 | } |
351107c9 | 137 | |
d61a45b2 RK |
138 | #button-stop:not([disabled="true"]):hover, |
139 | #button-stop:not([disabled="true"]):hover:active { | |
303bd2e1 | 140 | -moz-image-region: rect(21px 75px 42px 50px); |
3a121502 | 141 | } |
b1eaa419 | 142 | |
143 | #button-stop[disabled="true"] { | |
d61a45b2 | 144 | -moz-image-region: rect(21px 50px 42px 25px); |
3a121502 | 145 | } |
351107c9 | 146 | |
ee6cb01c RK |
147 | #MsgHeadersToolbar { |
148 | min-height: 0px; /* this undoes the min-height in toolbar.css */ | |
149 | } | |
150 | ||
bad6bfa4 RK |
151 | #MsgHeadersToolbar > .toolbar-box > .toolbar-holder { |
152 | -moz-padding-end: 0; /* this undoes the padding in toolbar.css */ | |
153 | } | |
154 | ||
b1eaa419 | 155 | /* ::::: autocomplete icons ::::: */ |
351107c9 | 156 | |
01fc5c11 | 157 | treechildren::-moz-tree-cell-text(default-match) { |
02920d2b RK |
158 | margin-top: 2px; |
159 | margin-bottom: 2px; | |
160 | -moz-margin-start: 15px; | |
161 | -moz-margin-end: -3px; | |
b1eaa419 | 162 | border: none; |
163 | } | |
351107c9 | 164 | |
01fc5c11 | 165 | treechildren::-moz-tree-image(local-abook) { |
02920d2b RK |
166 | margin-top: 2px; |
167 | margin-bottom: 2px; | |
168 | -moz-margin-start: 4px; | |
169 | -moz-margin-end: -1px; | |
b1eaa419 | 170 | list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif"); |
171 | } | |
351107c9 | 172 | |
01fc5c11 | 173 | treechildren::-moz-tree-image(remote-abook) { |
02920d2b RK |
174 | margin: 2px; |
175 | -moz-margin-end: -3px; | |
b1eaa419 | 176 | list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif"); |
177 | } | |
351107c9 | 178 | |
01fc5c11 | 179 | treechildren::-moz-tree-image(remote-err) { |
02920d2b RK |
180 | margin: 2px; |
181 | -moz-margin-end: -3px; | |
b1eaa419 | 182 | list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif"); |
183 | } | |
351107c9 | 184 | |
b1eaa419 | 185 | /* ::::: LCARStrek layout corrections ::::: */ |
186 | ||
187 | #msgheaderstoolbar-box { | |
188 | background-color: #E7ADE7; | |
189 | color: #000000; | |
3a121502 | 190 | } |
b1eaa419 | 191 | |
192 | #addresses-box, | |
193 | #attachments-box { | |
194 | padding: 1px 5px; | |
351107c9 | 195 | } |
196 | ||
2b722888 | 197 | #addresses-box > hbox > label, |
198 | #attachments-box > label { | |
8caa872d | 199 | -moz-margin-start: 0px; |
2b722888 | 200 | } |
201 | ||
edb23828 | 202 | #msgIdentity { |
8caa872d | 203 | -moz-margin-end: 0px; |
351107c9 | 204 | } |
205 | ||
edb23828 | 206 | #msgSubject { |
8caa872d | 207 | -moz-margin-end: 0px; |
edb23828 | 208 | } |
209 | ||
b1eaa419 | 210 | #attachmentBucket { |
02920d2b | 211 | margin: 3px 0px 2px; |
b1eaa419 | 212 | color: #FF9F00; |
351107c9 | 213 | } |
214 | ||
b1eaa419 | 215 | #attachmentbucket-sizer { |
216 | width: 5px; | |
217 | margin: 0px; | |
218 | background-color: #000000; | |
351107c9 | 219 | } |
220 | ||
b1eaa419 | 221 | #compose-toolbar-sizer { |
222 | height: 3px; | |
223 | margin-top: 0px; | |
224 | border: none; | |
225 | } |