remove margins in download manager toolbar
[themes.git] / EarlyBlue / messenger / messengercompose / messengercompose.css
... / ...
CommitLineData
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 *
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.
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
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.
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
47/* ::::: primary toolbar buttons ::::: */
48
49#button-send {
50 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
51 -moz-image-region: rect(231px 25px 252px 0px);
52}
53
54#button-send[disabled="true"] {
55 -moz-image-region: rect(231px 50px 252px 25px);
56}
57
58#button-send[offline="true"] {
59 -moz-image-region: rect(273px 25px 294px 0px);
60}
61
62#button-send[offline="true"][disabled="true"] {
63 -moz-image-region: rect(273px 50px 294px 25px);
64}
65
66#button-address {
67 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
68 -moz-image-region: rect(189px 25px 210px 0px);
69}
70
71#button-address[disabled="true"] {
72 -moz-image-region: rect(189px 50px 210px 25px);
73}
74
75#button-attach {
76 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
77 -moz-image-region: rect(210px 25px 231px 0px);
78}
79
80#button-attach[disabled="true"] {
81 -moz-image-region: rect(210px 50px 231px 25px);
82}
83
84#spellingButton {
85 list-style-image: url("chrome://editor/skin/icons/spell.gif");
86}
87
88#spellingButton[disabled="true"] {
89 list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif");
90}
91
92#button-save {
93 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
94 -moz-image-region: rect(294px 25px 315px 0px);
95}
96
97#button-save[disabled="true"] {
98 -moz-image-region: rect(294px 50px 315px 25px);
99}
100
101#button-stop {
102 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
103 -moz-image-region: rect(21px 25px 42px 0px);
104}
105
106#button-stop[disabled="true"] {
107 -moz-image-region: rect(21px 50px 42px 25px);
108}
109
110#MsgHeadersToolbar {
111 min-height: 0px; /* this undoes the min-height in toolbar.css */
112}
113
114/* ::::: autocomplete icons ::::: */
115
116treechildren::-moz-tree-cell-text(default-match) {
117 margin-top: 2px;
118 margin-bottom: 2px;
119 -moz-margin-start: 15px;
120 -moz-margin-end: -3px;
121 border: none;
122}
123
124treechildren::-moz-tree-image(local-abook) {
125 margin-top: 2px;
126 margin-bottom: 2px;
127 -moz-margin-start: 4px;
128 -moz-margin-end: -1px;
129 list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif");
130}
131
132treechildren::-moz-tree-image(remote-abook) {
133 margin: 2px;
134 -moz-margin-end: -3px;
135 list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif");
136}
137
138treechildren::-moz-tree-image(remote-err) {
139 margin: 2px;
140 -moz-margin-end: -3px;
141 list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif");
142}
143
144/* ::::: EarlyBlue layout corrections ::::: */
145
146#addresses-box,
147#attachments-box {
148 padding: 1px 5px;
149}
150
151#addresses-box > hbox > label,
152#attachments-box > label {
153 -moz-margin-start: 0px;
154}
155
156#msgIdentity{
157 -moz-margin-end: 0px;
158}
159
160#msgSubject {
161 -moz-margin-end: 0px;
162}
163
164#attachmentBucket {
165 margin: 3px 0px 2px;
166}
167
168#compose-toolbar-sizer {
169 border-top: none;
170}