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): |
128000f4 |
22 | * Robert Kaiser <KaiRo@KaiRo.at> |
f6e0a33f |
23 | * |
128000f4 |
24 | * Alternatively, the contents of this file may be used under the terms of |
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
28 | * of those above. If you wish to allow use of your version of this file only |
29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
30 | * use your version of this file under the terms of the NPL, indicate your |
31 | * decision by deleting the provisions above and replace them with the notice |
32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
33 | * the provisions above, a recipient may use your version of this file under |
34 | * the terms of any one of the NPL, the GPL or the LGPL. |
35 | * |
36 | * ***** END LICENSE BLOCK ***** */ |
37 | |
38 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
f6e0a33f |
39 | |
74d14f90 |
40 | /* ===== messageBody.css ================================================= |
41 | == Styles for the body of a mail message. |
42 | ======================================================================= */ |
43 | |
44 | window { |
45 | overflow: auto; |
46 | } |
47 | |
48 | mailattachcount { |
49 | display: none; |
50 | } |
51 | |
52 | /* :::: message header ::::: */ |
53 | |
54 | header { |
55 | text-align: left; |
56 | } |
57 | |
58 | html|html { |
59 | /* XXX Doesn't seem to work. (Same with "html|body".) */ |
f6e0a33f |
60 | background-color: white; |
61 | } |
62 | |
74d14f90 |
63 | headerdisplayname { |
64 | font-weight: bold; |
65 | white-space: pre; |
66 | } |
67 | |
8da3cfd5 |
68 | .header-part1 { |
74d14f90 |
69 | border-left: 4px solid #EFEFEF; |
70 | background-color: #EFEFEF; |
71 | } |
72 | |
8da3cfd5 |
73 | .header-part2, |
74 | .header-part3 { |
74d14f90 |
75 | border: 4px solid #DEDEDE; |
76 | background-color: #DEDEDE; |
77 | } |
78 | |
79 | div.headerdisplayname { |
80 | display: inline; |
81 | font-weight: bold; |
82 | white-space: pre; |
83 | } |
84 | |
f6e0a33f |
85 | /* ::::: message text, incl. quotes ::::: */ |
86 | |
87 | .moz-text-flowed blockquote { |
88 | margin: inherit; |
89 | border-width: medium; |
90 | border-color: gray; |
91 | } |
92 | |
93 | .moz-text-plain pre { |
94 | margin: inherit; |
95 | font-family: inherit; |
96 | } |
74d14f90 |
97 | |
f6e0a33f |
98 | .moz-text-plain[wrap="true"] { |
99 | white-space: -moz-pre-wrap; |
100 | } |
74d14f90 |
101 | |
f6e0a33f |
102 | .moz-text-plain[wrap="false"] { |
103 | white-space: pre; |
104 | } |
74d14f90 |
105 | |
f6e0a33f |
106 | .moz-text-plain[wrap="flow"] .moz-txt-sig { |
107 | white-space: -moz-pre-wrap; |
108 | } |
74d14f90 |
109 | |
f6e0a33f |
110 | .moz-text-plain[graphical-quote="false"] blockquote { |
111 | margin: inherit; |
112 | border-left: inherit; |
113 | padding-left: inherit; |
114 | } |
74d14f90 |
115 | |
f6e0a33f |
116 | .moz-text-plain[graphical-quote="true"] blockquote { |
117 | margin: inherit; |
118 | border-width: medium; |
119 | border-color: gray; |
120 | } |
74d14f90 |
121 | |
f6e0a33f |
122 | .moz-text-plain[graphical-quote="true"] .moz-txt-citetags { |
123 | display: none; |
124 | } |
125 | |
8da3cfd5 |
126 | span.moz-txt-underscore { |
127 | text-decoration: underline; |
128 | } |
129 | |
f6e0a33f |
130 | /* ::::: signature ::::: */ |
131 | |
132 | .moz-txt-sig, |
133 | .moz-signature { |
134 | color: gray; |
135 | } |
74d14f90 |
136 | |
f6e0a33f |
137 | .moz-txt-sig > a, |
138 | .moz-signature > a { |
74d14f90 |
139 | color: #7777FF; /* light blue */ |
f6e0a33f |
140 | } |
141 | |
f6e0a33f |
142 | /* ::::: smilies ::::: */ |
143 | |
d2f0d128 |
144 | span.moz-smiley-s1, |
145 | span.moz-smiley-s2, |
146 | span.moz-smiley-s3, |
147 | span.moz-smiley-s4, |
148 | span.moz-smiley-s5, |
149 | span.moz-smiley-s6, |
b618d1fd |
150 | span.moz-smiley-s7, |
151 | span.moz-smiley-s8, |
152 | span.moz-smiley-s9, |
153 | span.moz-smiley-s10, |
154 | span.moz-smiley-s11, |
155 | span.moz-smiley-s12, |
156 | span.moz-smiley-s13, |
157 | span.moz-smiley-s14, |
158 | span.moz-smiley-s15, |
159 | span.moz-smiley-s16 { |
f6e0a33f |
160 | min-height: 17px; margin-left: 2px; margin-top: 2px; |
161 | padding-left: 20px; |
162 | background-repeat: no-repeat; |
163 | background-position: center center; |
b618d1fd |
164 | -moz-user-select: all; |
f6e0a33f |
165 | } |
d2f0d128 |
166 | |
167 | span.moz-smiley-s1 > span, |
168 | span.moz-smiley-s2 > span, |
169 | span.moz-smiley-s3 > span, |
170 | span.moz-smiley-s4 > span, |
171 | span.moz-smiley-s5 > span, |
172 | span.moz-smiley-s6 > span, |
b618d1fd |
173 | span.moz-smiley-s7 > span, |
174 | span.moz-smiley-s8 > span, |
175 | span.moz-smiley-s9 > span, |
176 | span.moz-smiley-s10 > span, |
177 | span.moz-smiley-s11 > span, |
178 | span.moz-smiley-s12 > span, |
179 | span.moz-smiley-s13 > span, |
180 | span.moz-smiley-s14 > span, |
181 | span.moz-smiley-s15 > span, |
182 | span.moz-smiley-s16 > span { |
f6e0a33f |
183 | display: none; |
184 | } |
185 | |
d2f0d128 |
186 | span.moz-smiley-s1 { |
74d14f90 |
187 | background-image: url(chrome://editor/content/images/smile_n.gif); |
f6e0a33f |
188 | } |
d2f0d128 |
189 | span.moz-smiley-s2 { |
74d14f90 |
190 | background-image: url(chrome://editor/content/images/frown_n.gif); |
f6e0a33f |
191 | } |
d2f0d128 |
192 | span.moz-smiley-s3 { |
74d14f90 |
193 | background-image: url(chrome://editor/content/images/wink_n.gif); |
f6e0a33f |
194 | } |
d2f0d128 |
195 | span.moz-smiley-s4 { |
74d14f90 |
196 | background-image: url(chrome://editor/content/images/tongue_n.gif); |
f6e0a33f |
197 | } |
d2f0d128 |
198 | span.moz-smiley-s5 { |
74d14f90 |
199 | background-image: url(chrome://editor/content/images/laughing_n.gif); |
f6e0a33f |
200 | } |
d2f0d128 |
201 | span.moz-smiley-s6 { |
74d14f90 |
202 | background-image: url(chrome://editor/content/images/embarrassed_n.gif); |
f6e0a33f |
203 | } |
d2f0d128 |
204 | span.moz-smiley-s7 { |
74d14f90 |
205 | background-image: url(chrome://editor/content/images/undecided_n.gif); |
b618d1fd |
206 | } |
207 | span.moz-smiley-s8 { |
208 | background-image: url("chrome://editor/content/images/surprise_n.gif"); |
209 | } |
210 | span.moz-smiley-s9 { |
211 | background-image: url("chrome://editor/content/images/kiss_n.gif"); |
212 | } |
213 | span.moz-smiley-s10 { |
214 | background-image: url("chrome://editor/content/images/yell_n.gif"); |
215 | } |
216 | span.moz-smiley-s11 { |
217 | background-image: url("chrome://editor/content/images/cool_n.gif"); |
218 | } |
219 | span.moz-smiley-s12 { |
220 | background-image: url("chrome://editor/content/images/money_n.gif"); |
221 | } |
222 | span.moz-smiley-s13 { |
223 | background-image: url("chrome://editor/content/images/foot_n.gif"); |
224 | } |
225 | span.moz-smiley-s14 { |
226 | background-image: url("chrome://editor/content/images/innocent_n.gif"); |
227 | } |
228 | span.moz-smiley-s15 { |
229 | background-image: url("chrome://editor/content/images/cry_n.gif"); |
230 | } |
231 | span.moz-smiley-s16 { |
232 | background-image: url("chrome://editor/content/images/sealed_n.gif"); |
233 | } |