Commit | Line | Data |
---|---|---|
9099c61d RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
351107c9 | 4 | |
3d6dd546 | 5 | @import url("chrome://communicator/skin/smileys.css"); |
d84b9613 | 6 | |
7 | @namespace url("http://www.w3.org/1999/xhtml"); | |
351107c9 | 8 | |
9 | /* ===== messageBody.css ================================================ | |
10 | == Styles for the body of a mail message. | |
11 | ======================================================================= */ | |
12 | ||
b1eaa419 | 13 | /* :::: message header ::::: */ |
14 | ||
b1eaa419 | 15 | .header-part1 { |
16 | border-left: 4px solid #EFEFEF; | |
17 | background-color: #EFEFEF; | |
18 | } | |
19 | ||
20 | .header-part2, | |
21 | .header-part3 { | |
22 | border: 4px solid #DEDEDE; | |
23 | background-color: #DEDEDE; | |
24 | } | |
25 | ||
26 | div.headerdisplayname { | |
27 | display: inline; | |
28 | font-weight: bold; | |
29 | white-space: pre; | |
30 | } | |
31 | ||
351107c9 | 32 | /* ::::: message text, incl. quotes ::::: */ |
33 | ||
34 | .moz-text-flowed blockquote { | |
35 | margin: inherit; | |
36 | border-width: medium; | |
37 | border-color: gray; | |
38 | } | |
39 | ||
40 | .moz-text-plain pre { | |
41 | margin: inherit; | |
42 | font-family: inherit; | |
43 | } | |
b1eaa419 | 44 | |
351107c9 | 45 | .moz-text-plain[wrap="true"] { |
ee6cb01c | 46 | white-space: pre-wrap; |
351107c9 | 47 | } |
b1eaa419 | 48 | |
351107c9 | 49 | .moz-text-plain[wrap="false"] { |
50 | white-space: pre; | |
51 | } | |
b1eaa419 | 52 | |
351107c9 | 53 | .moz-text-plain[wrap="flow"] .moz-txt-sig { |
ee6cb01c | 54 | white-space: pre-wrap; |
351107c9 | 55 | } |
b1eaa419 | 56 | |
351107c9 | 57 | .moz-text-plain[graphical-quote="false"] blockquote { |
58 | margin: inherit; | |
59 | border-left: inherit; | |
8caa872d | 60 | -moz-padding-start: inherit; |
351107c9 | 61 | } |
b1eaa419 | 62 | |
351107c9 | 63 | .moz-text-plain[graphical-quote="true"] blockquote { |
64 | margin: inherit; | |
65 | border-width: medium; | |
66 | border-color: gray; | |
67 | } | |
b1eaa419 | 68 | |
351107c9 | 69 | .moz-text-plain[graphical-quote="true"] .moz-txt-citetags { |
70 | display: none; | |
71 | } | |
72 | ||
b1eaa419 | 73 | span.moz-txt-underscore { |
74 | text-decoration: underline; | |
75 | } | |
76 | ||
3d6dd546 | 77 | span.moz-txt-formfeed { |
78 | display: block; | |
79 | height: 100%; | |
80 | } | |
81 | ||
351107c9 | 82 | /* ::::: signature ::::: */ |
83 | ||
84 | .moz-txt-sig, | |
85 | .moz-signature { | |
9b1c3cf9 | 86 | opacity: 0.5; |
351107c9 | 87 | } |
ee6cb01c RK |
88 | |
89 | /* ::::: vcard ::::: */ | |
90 | ||
91 | .moz-vcard-table { | |
569543b3 | 92 | border-radius: 8px; |
ee6cb01c RK |
93 | border: thin solid #9C9CFF; |
94 | margin-top: 10px; | |
95 | } | |
96 | ||
97 | .moz-vcard-property { | |
98 | font-size: 80%; | |
99 | color: #FF9F00; | |
100 | } | |
101 | ||
102 | .moz-vcard-title-property { | |
103 | padding-bottom: 10px; | |
104 | } | |
105 | ||
106 | .moz-vcard-badge { | |
107 | height: 21px; | |
108 | width: 25px; | |
109 | display: block; | |
110 | background-image: url("chrome://messenger/skin/messengercompose/address.gif"); | |
111 | } | |
112 | ||
113 | /* ::::: attached images ::::: */ | |
114 | ||
115 | moz-attached-image[overflowing="true"] { | |
116 | cursor: -moz-zoom-out; | |
117 | } | |
118 | ||
119 | .moz-attached-image[isshrunk="true"] { | |
120 | cursor: -moz-zoom-in; | |
121 | max-width: 100%; | |
122 | } | |
5d14042c | 123 | |
d9954aaf RK |
124 | /* New style feed summary body. */ |
125 | body[selected="false"] { | |
5d14042c RK |
126 | display: none; |
127 | } | |
128 | ||
d9954aaf | 129 | /* Old style feeds. */ |
5d14042c RK |
130 | #_mailrssiframe { |
131 | position: fixed; | |
132 | top: 0; | |
133 | left: 0; | |
134 | width: 100%; | |
135 | height: 100%; | |
136 | border: none; | |
137 | } | |
7214f501 | 138 | |
a3b6328b | 139 | /* Attachment display styling (for inline attachments and printing) */ |
7214f501 RK |
140 | .mimeAttachmentHeader { |
141 | border-style: none; | |
142 | border-top: 1px solid #8050B0; | |
143 | } | |
144 | ||
a3b6328b | 145 | .mimeAttachmentHeaderName { |
7214f501 RK |
146 | color: #8050B0; |
147 | font-size: 80%; | |
148 | } | |
a3b6328b RK |
149 | |
150 | div.mimeAttachmentWrap { | |
151 | padding: 0 1em; | |
152 | } | |
153 | ||
154 | table.mimeAttachmentTable { | |
155 | width: 100%; | |
156 | border-collapse: collapse; | |
157 | } | |
158 | ||
159 | table.mimeAttachmentTable tr + tr > td { | |
160 | border-top: 1px solid #8050B0; | |
161 | } | |
162 | ||
163 | .mimeAttachmentFile { | |
164 | } | |
165 | ||
166 | .mimeAttachmentSize { | |
167 | text-align: right; | |
168 | } |