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 | * |
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. |
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 |
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 ***** */ |
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 ::::: */ |
f6e0a33f |
48 | |
74d14f90 |
49 | #button-send { |
50 | list-style-image: url("chrome://messenger/skin/messengercompose/send.gif"); |
f6e0a33f |
51 | } |
52 | |
74d14f90 |
53 | #button-send[disabled="true"] { |
54 | list-style-image: url("chrome://messenger/skin/messengercompose/send-disabled.gif") !important; |
55 | } |
56 | |
57 | #button-send[offline="true"] { |
58 | list-style-image: url("chrome://messenger/skin/messengercompose/sendlater.gif"); |
59 | } |
60 | |
61 | #button-send[offline="true"][disabled="true"] { |
62 | list-style-image: url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif") !important; |
63 | } |
64 | |
65 | #button-address { |
66 | list-style-image: url("chrome://messenger/skin/messengercompose/address.gif"); |
67 | } |
68 | |
69 | #button-address[disabled="true"] { |
70 | list-style-image: url("chrome://messenger/skin/messengercompose/address-disabled.gif") !important; |
71 | } |
72 | |
73 | #button-attach { |
74 | list-style-image: url("chrome://messenger/skin/messengercompose/attach.gif"); |
75 | } |
76 | |
77 | #button-attach[disabled="true"] { |
78 | list-style-image: url("chrome://messenger/skin/messengercompose/attach-disabled.gif") !important; |
79 | } |
80 | |
81 | #button-quote { |
82 | list-style-image: url("chrome://messenger/skin/messengercompose/quote.gif"); |
83 | } |
84 | |
85 | #button-quote[disabled="true"] { |
86 | list-style-image: url("chrome://messenger/skin/messengercompose/quote-disabled.gif") !important; |
87 | } |
88 | |
89 | #spellingButton { |
90 | list-style-image: url("chrome://editor/skin/images/spell.gif"); |
91 | } |
92 | |
93 | #spellingButton[disabled="true"] { |
94 | list-style-image: url("chrome://editor/skin/images/spell-disabled.gif") !important; |
95 | } |
96 | |
97 | #button-save { |
98 | list-style-image: url("chrome://messenger/skin/messengercompose/savemsg.gif"); |
99 | } |
100 | |
101 | #button-save[disabled="true"] { |
102 | list-style-image: url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif") !important; |
103 | } |
104 | |
105 | #button-stop { |
106 | list-style-image: url("chrome://global/skin/icons/stop.gif"); |
107 | } |
108 | |
109 | #button-stop[disabled="true"] { |
110 | list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important; |
111 | } |
f6e0a33f |
112 | |
f6e0a33f |
113 | /* addressing widget */ |
114 | |
74d14f90 |
115 | #addressingWidgetTree { |
116 | height: 80px; |
117 | width: 0px; |
118 | margin: 0px; |
119 | -moz-user-focus: none; |
120 | background-color: #FFFFFF; |
121 | } |
f6e0a33f |
122 | |
74d14f90 |
123 | #listcol-addressingWidget { |
124 | width: 9em; |
125 | border-right: 1px solid #CCD0DD; |
126 | } |
f6e0a33f |
127 | |
128 | #addressingWidgetTree > treechildren > treeitem > treerow, |
129 | #addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow { |
74d14f90 |
130 | border: none; |
131 | background-color: inherit; |
132 | color: inherit; |
f6e0a33f |
133 | } |
134 | |
74d14f90 |
135 | .treecell-addressingWidget { |
136 | border-bottom: 1px solid #CCD0DD; |
137 | padding: 0px !important; |
138 | } |
f6e0a33f |
139 | |
74d14f90 |
140 | .treecell-addressingWidget:first-child { |
141 | border-bottom: none; |
142 | } |
f6e0a33f |
143 | |
74d14f90 |
144 | .textbox-addressingWidget { |
145 | -moz-box-align: center; |
146 | } |
147 | |
148 | .dummy-row-cell:first-child { |
149 | border-bottom: 1px solid #CCD0DD; |
150 | } |
151 | |
152 | .aw-menulist { |
153 | -moz-user-focus: ignore; |
154 | } |
07df3572 |
155 | |
74d14f90 |
156 | .person-icon { |
157 | list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.gif"); |
158 | margin: 0px 3px 0px 3px; |
159 | } |
f6e0a33f |
160 | |
74d14f90 |
161 | /* ::::: autocomplete icons ::::: */ |
f6e0a33f |
162 | |
74d14f90 |
163 | outlinerbody:-moz-outliner-cell-text(default-match) { |
164 | margin: 2px -3px 2px 15px; |
165 | border: none; |
166 | } |
f6e0a33f |
167 | |
74d14f90 |
168 | outlinerbody:-moz-outliner-image(local-abook) { |
169 | margin: 2px -1px 2px 4px; |
170 | border: none; |
171 | list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif"); |
172 | } |
f6e0a33f |
173 | |
74d14f90 |
174 | outlinerbody:-moz-outliner-image(remote-abook) { |
175 | margin: 2px -3px 2px 2px; |
176 | border: none; |
177 | list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif"); |
f6e0a33f |
178 | } |
179 | |
74d14f90 |
180 | outlinerbody:-moz-outliner-image(remote-err) { |
181 | margin: 2px -3px 2px 2px; |
182 | border: none; |
183 | list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif"); |
f6e0a33f |
184 | } |
185 | |
74d14f90 |
186 | /* ::::: EarlyBlue layout corrections ::::: */ |
187 | |
188 | #addresses-box, |
189 | #attachments-box { |
190 | padding: 1px 5px; |
f6e0a33f |
191 | } |
192 | |
74d14f90 |
193 | #msgIdentity, |
194 | #msgSubject { |
195 | margin-right: 0px; |
f6e0a33f |
196 | } |
197 | |
74d14f90 |
198 | #attachmentBucket { |
199 | margin: 3px 0px 2px 0px; |
f6e0a33f |
200 | } |
201 | |
74d14f90 |
202 | #compose-toolbar-sizer { |
203 | border-top: none; |
204 | } |