sync both themes with toolkit winstripe changes up to 2001-03-13
[themes.git] / EarlyBlue / messenger / messengercompose / messengercompose.css
CommitLineData
128000f4 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
f6e0a33f 3 *
128000f4 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/
f6e0a33f 8 *
128000f4 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.
f6e0a33f 13 *
128000f4 14 * The Original Code is mozilla.org code.
15 *
e68e2f2b 16 * The Initial Developer of the Original Code is
128000f4 17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998
19 * the Initial Developer. All Rights Reserved.
f6e0a33f 20 *
21 * Contributor(s):
22 * Joe Hewitt (hewitt@netscape.com)
128000f4 23 * Robert Kaiser <KaiRo@KaiRo.at>
24 *
25 * Alternatively, the contents of this file may be used under the terms of
e68e2f2b 26 * either the GNU General Public License Version 2 or later (the "GPL"), or
128000f4 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 ***** */
f6e0a33f 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
74d14f90 47/* ::::: primary toolbar buttons ::::: */
e68e2f2b 48
74d14f90 49#button-send {
d61a45b2
RK
50 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
51 -moz-image-region: rect(231px 25px 252px 0px);
f6e0a33f 52}
53
74d14f90 54#button-send[disabled="true"] {
d61a45b2 55 -moz-image-region: rect(231px 50px 252px 25px);
e68e2f2b 56}
74d14f90 57
58#button-send[offline="true"] {
d61a45b2 59 -moz-image-region: rect(273px 25px 294px 0px);
74d14f90 60}
61
62#button-send[offline="true"][disabled="true"] {
d61a45b2 63 -moz-image-region: rect(273px 50px 294px 25px);
74d14f90 64}
65
66#button-address {
d61a45b2
RK
67 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
68 -moz-image-region: rect(189px 25px 210px 0px);
74d14f90 69}
70
71#button-address[disabled="true"] {
d61a45b2 72 -moz-image-region: rect(189px 50px 210px 25px);
e68e2f2b 73}
74d14f90 74
75#button-attach {
d61a45b2
RK
76 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
77 -moz-image-region: rect(210px 25px 231px 0px);
74d14f90 78}
79
80#button-attach[disabled="true"] {
d61a45b2 81 -moz-image-region: rect(210px 50px 231px 25px);
e68e2f2b 82}
74d14f90 83
84#spellingButton {
45a0ce1c
RK
85 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
86 -moz-image-region: rect(168px 25px 189px 0px);
74d14f90 87}
88
89#spellingButton[disabled="true"] {
45a0ce1c 90 -moz-image-region: rect(168px 50px 189px 25px);
74d14f90 91}
92
93#button-save {
d61a45b2
RK
94 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
95 -moz-image-region: rect(294px 25px 315px 0px);
74d14f90 96}
97
98#button-save[disabled="true"] {
d61a45b2 99 -moz-image-region: rect(294px 50px 315px 25px);
e68e2f2b 100}
74d14f90 101
8b17a53f
RK
102/* ::::: small primary toolbar buttons ::::: */
103
8b17a53f
RK
104toolbar[iconsize="small"] > #button-send,
105toolbar[iconsize="small"] > toolbarpaletteitem > #button-send {
106 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
45a0ce1c 107 -moz-image-region: rect(176px 16px 192px 0);
8b17a53f
RK
108}
109
110toolbar[iconsize="small"] > #button-send[disabled="true"] {
45a0ce1c
RK
111 -moz-image-region: rect(176px 32px 192px 16px);
112}
113
114toolbar[iconsize="small"] > #button-send[offline="true"] {
115 -moz-image-region: rect(208px 16px 224px 0);
116}
117
118toolbar[iconsize="small"] > #button-send[offline="true"][disabled="true"] {
119 -moz-image-region: rect(208px 32px 224px 16px);
8b17a53f
RK
120}
121
122toolbar[iconsize="small"] > #button-address,
123toolbar[iconsize="small"] > toolbarpaletteitem > #button-address {
124 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
45a0ce1c 125 -moz-image-region: rect(144px 16px 160px 0);
8b17a53f
RK
126}
127
128toolbar[iconsize="small"] > #button-address[disabled="true"] {
45a0ce1c 129 -moz-image-region: rect(144px 32px 160px 16px);
8b17a53f
RK
130}
131
132toolbar[iconsize="small"] > #button-attach,
133toolbar[iconsize="small"] > toolbarpaletteitem > #button-attach {
134 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
45a0ce1c 135 -moz-image-region: rect(160px 16px 176px 0);
8b17a53f
RK
136}
137
138toolbar[iconsize="small"] > #button-attach[disabled="true"] {
45a0ce1c 139 -moz-image-region: rect(160px 32px 176px 16px);
8b17a53f
RK
140}
141
142toolbar[iconsize="small"] > #spellingButton,
143toolbar[iconsize="small"] > toolbarpaletteitem > #spellingButton {
144 list-style-image: url("chrome://editor/skin/icons/editoricons-small.png");
45a0ce1c 145 -moz-image-region: rect(128px 16px 144px 0);
8b17a53f
RK
146}
147
148toolbar[iconsize="small"] > #spellingButton[disabled="true"] {
45a0ce1c 149 -moz-image-region: rect(128px 32px 144px 16px);
74d14f90 150}
151
8b17a53f
RK
152toolbar[iconsize="small"] > #button-save,
153toolbar[iconsize="small"] > toolbarpaletteitem > #button-save {
45a0ce1c
RK
154 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
155 -moz-image-region: rect(224px 16px 240px 0);
e68e2f2b 156}
f6e0a33f 157
8b17a53f 158toolbar[iconsize="small"] > #button-save[disabled="true"] {
45a0ce1c 159 -moz-image-region: rect(224px 32px 140px 16px);
8b17a53f 160}
45a0ce1c 161
6c5a63bb
RK
162#MsgHeadersToolbar {
163 min-height: 0px; /* this undoes the min-height in toolbar.css */
164}
165
74d14f90 166/* ::::: autocomplete icons ::::: */
f6e0a33f 167
a1f525f0 168treechildren::-moz-tree-cell-text(default-match) {
02920d2b
RK
169 margin-top: 2px;
170 margin-bottom: 2px;
171 -moz-margin-start: 15px;
172 -moz-margin-end: -3px;
74d14f90 173 border: none;
174}
f6e0a33f 175
a1f525f0 176treechildren::-moz-tree-image(local-abook) {
02920d2b
RK
177 margin-top: 2px;
178 margin-bottom: 2px;
179 -moz-margin-start: 4px;
180 -moz-margin-end: -1px;
74d14f90 181 list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif");
182}
f6e0a33f 183
a1f525f0 184treechildren::-moz-tree-image(remote-abook) {
02920d2b
RK
185 margin: 2px;
186 -moz-margin-end: -3px;
74d14f90 187 list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif");
f6e0a33f 188}
189
a1f525f0 190treechildren::-moz-tree-image(remote-err) {
02920d2b
RK
191 margin: 2px;
192 -moz-margin-end: -3px;
74d14f90 193 list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif");
f6e0a33f 194}
195
74d14f90 196/* ::::: EarlyBlue layout corrections ::::: */
197
198#addresses-box,
199#attachments-box {
200 padding: 1px 5px;
f6e0a33f 201}
202
d36c7ec4 203#addresses-box > hbox > label,
204#attachments-box > label {
8caa872d 205 -moz-margin-start: 0px;
d36c7ec4 206}
207
73c8e4ae 208#msgIdentity{
8caa872d 209 -moz-margin-end: 0px;
f6e0a33f 210}
211
73c8e4ae 212#msgSubject {
8caa872d 213 -moz-margin-end: 0px;
73c8e4ae 214}
215
74d14f90 216#attachmentBucket {
02920d2b 217 margin: 3px 0px 2px;
f6e0a33f 218}
219
74d14f90 220#compose-toolbar-sizer {
221 border-top: none;
222}
fb2b5761
RK
223
224/* ::::: lightweight themes ::::: */
225
226#MsgHeadersToolbar:-moz-lwtheme,
227#FormatToolbar:-moz-lwtheme,
228#compose-toolbar-sizer:-moz-lwtheme {
229 text-shadow: none;
230 /* color: -moz-dialogtext;
231 background-color: -moz-dialog; */
232}
233
234#MsgHeadersToolbar textbox:-moz-lwtheme,
235#MsgHeadersToolbar menulist:-moz-lwtheme,
236#FormatToolbar menulist:-moz-lwtheme {
237 opacity: 1;
238}