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/. */ | |
128000f4 | 4 | |
76983f4c | 5 | @import url("chrome://communicator/skin/smileys.css"); |
d84b9613 | 6 | |
7 | @namespace url("http://www.w3.org/1999/xhtml"); | |
f6e0a33f | 8 | |
74d14f90 | 9 | /* ===== messageBody.css ================================================= |
10 | == Styles for the body of a mail message. | |
11 | ======================================================================= */ | |
12 | ||
74d14f90 | 13 | /* :::: message header ::::: */ |
14 | ||
8da3cfd5 | 15 | .header-part1 { |
74d14f90 | 16 | border-left: 4px solid #EFEFEF; |
17 | background-color: #EFEFEF; | |
18 | } | |
19 | ||
8da3cfd5 | 20 | .header-part2, |
21 | .header-part3 { | |
74d14f90 | 22 | border: 4px solid #DEDEDE; |
23 | background-color: #DEDEDE; | |
24 | } | |
25 | ||
8f5d5e21 | 26 | .headerdisplayname { |
74d14f90 | 27 | display: inline; |
28 | font-weight: bold; | |
29 | white-space: pre; | |
30 | } | |
31 | ||
f6e0a33f | 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 | } | |
74d14f90 | 44 | |
f6e0a33f | 45 | .moz-text-plain[wrap="true"] { |
d0ff98fe | 46 | white-space: pre-wrap; |
f6e0a33f | 47 | } |
74d14f90 | 48 | |
f6e0a33f | 49 | .moz-text-plain[wrap="false"] { |
50 | white-space: pre; | |
51 | } | |
74d14f90 | 52 | |
f6e0a33f | 53 | .moz-text-plain[wrap="flow"] .moz-txt-sig { |
d0ff98fe | 54 | white-space: pre-wrap; |
f6e0a33f | 55 | } |
74d14f90 | 56 | |
f6e0a33f | 57 | .moz-text-plain[graphical-quote="false"] blockquote { |
58 | margin: inherit; | |
59 | border-left: inherit; | |
dae45075 | 60 | padding-inline-start: inherit; |
f6e0a33f | 61 | } |
74d14f90 | 62 | |
f6e0a33f | 63 | .moz-text-plain[graphical-quote="true"] blockquote { |
64 | margin: inherit; | |
65 | border-width: medium; | |
66 | border-color: gray; | |
67 | } | |
74d14f90 | 68 | |
f6e0a33f | 69 | .moz-text-plain[graphical-quote="true"] .moz-txt-citetags { |
70 | display: none; | |
71 | } | |
72 | ||
8f5d5e21 | 73 | .moz-txt-underscore { |
8da3cfd5 | 74 | text-decoration: underline; |
75 | } | |
76 | ||
8f5d5e21 | 77 | .moz-txt-formfeed { |
76983f4c | 78 | display: block; |
79 | height: 100%; | |
80 | } | |
81 | ||
f6e0a33f | 82 | /* ::::: signature ::::: */ |
83 | ||
8f5d5e21 RK |
84 | @media not print { |
85 | .moz-txt-sig, | |
86 | .moz-signature { | |
87 | opacity: 0.5; | |
88 | } | |
66c00ea1 RK |
89 | |
90 | .moz-txt-sig .moz-txt-sig, | |
91 | .moz-signature .moz-signature { | |
92 | opacity: 1.0; | |
93 | } | |
f6e0a33f | 94 | } |
6fa8522a | 95 | |
d0ff98fe RK |
96 | /* ::::: vcard ::::: */ |
97 | ||
98 | .moz-vcard-table { | |
569543b3 | 99 | /* border-radius: 8px; */ |
d0ff98fe RK |
100 | border: thin solid #6666CC; |
101 | margin-top: 10px; | |
102 | } | |
103 | ||
104 | .moz-vcard-property { | |
105 | font-size: 80%; | |
106 | color: #666699; | |
107 | } | |
108 | ||
109 | .moz-vcard-title-property { | |
110 | padding-bottom: 10px; | |
111 | } | |
112 | ||
113 | .moz-vcard-badge { | |
114 | height: 21px; | |
115 | width: 25px; | |
116 | display: block; | |
117 | background-image: url("chrome://messenger/skin/messengercompose/address.gif"); | |
118 | } | |
119 | ||
6fa8522a RK |
120 | /* ::::: attached images ::::: */ |
121 | ||
8f5d5e21 RK |
122 | .moz-attached-image { |
123 | image-orientation: from-image; | |
124 | } | |
125 | ||
4d12b027 | 126 | moz-attached-image[overflowing="true"] { |
8f5d5e21 | 127 | cursor: zoom-out; |
6fa8522a RK |
128 | } |
129 | ||
4d12b027 | 130 | .moz-attached-image[isshrunk="true"] { |
8f5d5e21 | 131 | cursor: zoom-in; |
6fa8522a RK |
132 | max-width: 100%; |
133 | } | |
5d14042c | 134 | |
d9954aaf RK |
135 | /* New style feed summary body. */ |
136 | body[selected="false"] { | |
5d14042c RK |
137 | display: none; |
138 | } | |
d9954aaf RK |
139 | |
140 | /* Old style feeds. */ | |
5d14042c RK |
141 | #_mailrssiframe { |
142 | position: fixed; | |
143 | top: 0; | |
144 | left: 0; | |
145 | width: 100%; | |
146 | height: 100%; | |
147 | border: none; | |
148 | } | |
7214f501 | 149 | |
a3b6328b | 150 | /* Attachment display styling (for inline attachments and printing) */ |
7214f501 RK |
151 | .mimeAttachmentHeader { |
152 | border-style: none; | |
153 | border-top: 1px solid #808080; | |
154 | } | |
155 | ||
156 | .mimeAttachmentName { | |
157 | color: #808080; | |
158 | font-size: 80%; | |
159 | } | |
a3b6328b RK |
160 | |
161 | div.mimeAttachmentWrap { | |
162 | padding: 0 1em; | |
163 | } | |
164 | ||
165 | table.mimeAttachmentTable { | |
166 | width: 100%; | |
167 | border-collapse: collapse; | |
168 | } | |
169 | ||
170 | table.mimeAttachmentTable tr + tr > td { | |
171 | border-top: 1px solid #808080; | |
172 | } | |
173 | ||
174 | .mimeAttachmentFile { | |
175 | } | |
176 | ||
177 | .mimeAttachmentSize { | |
178 | text-align: right; | |
179 | } |