Commit | Line | Data |
---|---|---|
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 | * | |
76983f4c | 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): | |
128000f4 | 22 | * Robert Kaiser <KaiRo@KaiRo.at> |
f6e0a33f | 23 | * |
128000f4 | 24 | * Alternatively, the contents of this file may be used under the terms of |
76983f4c | 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
128000f4 | 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 | ||
76983f4c | 38 | @import url("chrome://communicator/skin/smileys.css"); |
d84b9613 | 39 | |
40 | @namespace url("http://www.w3.org/1999/xhtml"); | |
f6e0a33f | 41 | |
74d14f90 | 42 | /* ===== messageBody.css ================================================= |
43 | == Styles for the body of a mail message. | |
44 | ======================================================================= */ | |
45 | ||
74d14f90 | 46 | /* :::: message header ::::: */ |
47 | ||
8da3cfd5 | 48 | .header-part1 { |
74d14f90 | 49 | border-left: 4px solid #EFEFEF; |
50 | background-color: #EFEFEF; | |
51 | } | |
52 | ||
8da3cfd5 | 53 | .header-part2, |
54 | .header-part3 { | |
74d14f90 | 55 | border: 4px solid #DEDEDE; |
56 | background-color: #DEDEDE; | |
57 | } | |
58 | ||
59 | div.headerdisplayname { | |
60 | display: inline; | |
61 | font-weight: bold; | |
62 | white-space: pre; | |
63 | } | |
64 | ||
f6e0a33f | 65 | /* ::::: message text, incl. quotes ::::: */ |
66 | ||
67 | .moz-text-flowed blockquote { | |
68 | margin: inherit; | |
69 | border-width: medium; | |
70 | border-color: gray; | |
71 | } | |
72 | ||
73 | .moz-text-plain pre { | |
74 | margin: inherit; | |
75 | font-family: inherit; | |
76 | } | |
74d14f90 | 77 | |
f6e0a33f | 78 | .moz-text-plain[wrap="true"] { |
d0ff98fe | 79 | white-space: pre-wrap; |
f6e0a33f | 80 | } |
74d14f90 | 81 | |
f6e0a33f | 82 | .moz-text-plain[wrap="false"] { |
83 | white-space: pre; | |
84 | } | |
74d14f90 | 85 | |
f6e0a33f | 86 | .moz-text-plain[wrap="flow"] .moz-txt-sig { |
d0ff98fe | 87 | white-space: pre-wrap; |
f6e0a33f | 88 | } |
74d14f90 | 89 | |
f6e0a33f | 90 | .moz-text-plain[graphical-quote="false"] blockquote { |
91 | margin: inherit; | |
92 | border-left: inherit; | |
8caa872d | 93 | -moz-padding-start: inherit; |
f6e0a33f | 94 | } |
74d14f90 | 95 | |
f6e0a33f | 96 | .moz-text-plain[graphical-quote="true"] blockquote { |
97 | margin: inherit; | |
98 | border-width: medium; | |
99 | border-color: gray; | |
100 | } | |
74d14f90 | 101 | |
f6e0a33f | 102 | .moz-text-plain[graphical-quote="true"] .moz-txt-citetags { |
103 | display: none; | |
104 | } | |
105 | ||
8da3cfd5 | 106 | span.moz-txt-underscore { |
107 | text-decoration: underline; | |
108 | } | |
109 | ||
76983f4c | 110 | span.moz-txt-formfeed { |
111 | display: block; | |
112 | height: 100%; | |
113 | } | |
114 | ||
f6e0a33f | 115 | /* ::::: signature ::::: */ |
116 | ||
117 | .moz-txt-sig, | |
118 | .moz-signature { | |
119 | color: gray; | |
120 | } | |
74d14f90 | 121 | |
f6e0a33f | 122 | .moz-txt-sig > a, |
123 | .moz-signature > a { | |
74d14f90 | 124 | color: #7777FF; /* light blue */ |
f6e0a33f | 125 | } |
6fa8522a | 126 | |
d0ff98fe RK |
127 | /* ::::: vcard ::::: */ |
128 | ||
129 | .moz-vcard-table { | |
569543b3 | 130 | /* border-radius: 8px; */ |
d0ff98fe RK |
131 | border: thin solid #6666CC; |
132 | margin-top: 10px; | |
133 | } | |
134 | ||
135 | .moz-vcard-property { | |
136 | font-size: 80%; | |
137 | color: #666699; | |
138 | } | |
139 | ||
140 | .moz-vcard-title-property { | |
141 | padding-bottom: 10px; | |
142 | } | |
143 | ||
144 | .moz-vcard-badge { | |
145 | height: 21px; | |
146 | width: 25px; | |
147 | display: block; | |
148 | background-image: url("chrome://messenger/skin/messengercompose/address.gif"); | |
149 | } | |
150 | ||
6fa8522a RK |
151 | /* ::::: attached images ::::: */ |
152 | ||
4d12b027 | 153 | moz-attached-image[overflowing="true"] { |
6fa8522a RK |
154 | cursor: -moz-zoom-out; |
155 | } | |
156 | ||
4d12b027 | 157 | .moz-attached-image[isshrunk="true"] { |
6fa8522a RK |
158 | cursor: -moz-zoom-in; |
159 | max-width: 100%; | |
160 | } | |
5d14042c | 161 | |
d9954aaf RK |
162 | /* New style feed summary body. */ |
163 | body[selected="false"] { | |
5d14042c RK |
164 | display: none; |
165 | } | |
d9954aaf RK |
166 | |
167 | /* Old style feeds. */ | |
5d14042c RK |
168 | #_mailrssiframe { |
169 | position: fixed; | |
170 | top: 0; | |
171 | left: 0; | |
172 | width: 100%; | |
173 | height: 100%; | |
174 | border: none; | |
175 | } | |
7214f501 | 176 | |
a3b6328b | 177 | /* Attachment display styling (for inline attachments and printing) */ |
7214f501 RK |
178 | .mimeAttachmentHeader { |
179 | border-style: none; | |
180 | border-top: 1px solid #808080; | |
181 | } | |
182 | ||
183 | .mimeAttachmentName { | |
184 | color: #808080; | |
185 | font-size: 80%; | |
186 | } | |
a3b6328b RK |
187 | |
188 | div.mimeAttachmentWrap { | |
189 | padding: 0 1em; | |
190 | } | |
191 | ||
192 | table.mimeAttachmentTable { | |
193 | width: 100%; | |
194 | border-collapse: collapse; | |
195 | } | |
196 | ||
197 | table.mimeAttachmentTable tr + tr > td { | |
198 | border-top: 1px solid #808080; | |
199 | } | |
200 | ||
201 | .mimeAttachmentFile { | |
202 | } | |
203 | ||
204 | .mimeAttachmentSize { | |
205 | text-align: right; | |
206 | } |