updates to both themes for 1.9.1 toolkit winstripe changes, suite classic changes...
[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 {
259c0f10 85 list-style-image: url("chrome://editor/skin/icons/spell.gif");
74d14f90 86}
87
88#spellingButton[disabled="true"] {
d61a45b2 89 list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif");
74d14f90 90}
91
92#button-save {
d61a45b2
RK
93 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
94 -moz-image-region: rect(294px 25px 315px 0px);
74d14f90 95}
96
97#button-save[disabled="true"] {
d61a45b2 98 -moz-image-region: rect(294px 50px 315px 25px);
e68e2f2b 99}
74d14f90 100
8b17a53f
RK
101/* ::::: small primary toolbar buttons ::::: */
102
103/* TODO: correct coords!
104toolbar[iconsize="small"] > #button-send,
105toolbar[iconsize="small"] > toolbarpaletteitem > #button-send {
106 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
107 -moz-image-region: rect(220px 19px 239px 0);
108}
109
110toolbar[iconsize="small"] > #button-send[disabled="true"] {
111 -moz-image-region: rect(220px 79px 239px 60px) !important;
112}
113
114toolbar[iconsize="small"] > #button-address,
115toolbar[iconsize="small"] > toolbarpaletteitem > #button-address {
116 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
117 -moz-image-region: rect(180px 19px 199px 0);
118}
119
120toolbar[iconsize="small"] > #button-address[disabled="true"] {
121 -moz-image-region: rect(180px 79px 199px 60px) !important;
122}
123
124toolbar[iconsize="small"] > #button-attach,
125toolbar[iconsize="small"] > toolbarpaletteitem > #button-attach {
126 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
127 -moz-image-region: rect(200px 19px 219px 0);
128}
129
130toolbar[iconsize="small"] > #button-attach[disabled="true"] {
131 -moz-image-region: rect(200px 79px 219px 60px) !important;
132}
133
134toolbar[iconsize="small"] > #spellingButton,
135toolbar[iconsize="small"] > toolbarpaletteitem > #spellingButton {
136 list-style-image: url("chrome://editor/skin/icons/editoricons-small.png");
137 -moz-image-region: rect(160px 19px 179px 0);
138}
139
140toolbar[iconsize="small"] > #spellingButton[disabled="true"] {
141 -moz-image-region: rect(160px 79px 179px 60px) !important;
74d14f90 142}
143
8b17a53f
RK
144toolbar[iconsize="small"] > #button-save,
145toolbar[iconsize="small"] > toolbarpaletteitem > #button-save {
146 list-style-image: url("chrome://editor/skin/icons/editoricons-small.png");
147 -moz-image-region: rect(140px 19px 159px 0);
e68e2f2b 148}
f6e0a33f 149
8b17a53f
RK
150toolbar[iconsize="small"] > #button-save[disabled="true"] {
151 -moz-image-region: rect(140px 79px 159px 60px) !important;
152}
153*/
6c5a63bb
RK
154#MsgHeadersToolbar {
155 min-height: 0px; /* this undoes the min-height in toolbar.css */
156}
157
74d14f90 158/* ::::: autocomplete icons ::::: */
f6e0a33f 159
a1f525f0 160treechildren::-moz-tree-cell-text(default-match) {
02920d2b
RK
161 margin-top: 2px;
162 margin-bottom: 2px;
163 -moz-margin-start: 15px;
164 -moz-margin-end: -3px;
74d14f90 165 border: none;
166}
f6e0a33f 167
a1f525f0 168treechildren::-moz-tree-image(local-abook) {
02920d2b
RK
169 margin-top: 2px;
170 margin-bottom: 2px;
171 -moz-margin-start: 4px;
172 -moz-margin-end: -1px;
74d14f90 173 list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif");
174}
f6e0a33f 175
a1f525f0 176treechildren::-moz-tree-image(remote-abook) {
02920d2b
RK
177 margin: 2px;
178 -moz-margin-end: -3px;
74d14f90 179 list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif");
f6e0a33f 180}
181
a1f525f0 182treechildren::-moz-tree-image(remote-err) {
02920d2b
RK
183 margin: 2px;
184 -moz-margin-end: -3px;
74d14f90 185 list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif");
f6e0a33f 186}
187
74d14f90 188/* ::::: EarlyBlue layout corrections ::::: */
189
190#addresses-box,
191#attachments-box {
192 padding: 1px 5px;
f6e0a33f 193}
194
d36c7ec4 195#addresses-box > hbox > label,
196#attachments-box > label {
8caa872d 197 -moz-margin-start: 0px;
d36c7ec4 198}
199
73c8e4ae 200#msgIdentity{
8caa872d 201 -moz-margin-end: 0px;
f6e0a33f 202}
203
73c8e4ae 204#msgSubject {
8caa872d 205 -moz-margin-end: 0px;
73c8e4ae 206}
207
74d14f90 208#attachmentBucket {
02920d2b 209 margin: 3px 0px 2px;
f6e0a33f 210}
211
74d14f90 212#compose-toolbar-sizer {
213 border-top: none;
214}