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 | ||
26 | div.headerdisplayname { | |
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; | |
8caa872d | 60 | -moz-padding-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 | ||
8da3cfd5 | 73 | span.moz-txt-underscore { |
74 | text-decoration: underline; | |
75 | } | |
76 | ||
76983f4c | 77 | span.moz-txt-formfeed { |
78 | display: block; | |
79 | height: 100%; | |
80 | } | |
81 | ||
f6e0a33f | 82 | /* ::::: signature ::::: */ |
83 | ||
84 | .moz-txt-sig, | |
85 | .moz-signature { | |
86 | color: gray; | |
87 | } | |
74d14f90 | 88 | |
f6e0a33f | 89 | .moz-txt-sig > a, |
90 | .moz-signature > a { | |
74d14f90 | 91 | color: #7777FF; /* light blue */ |
f6e0a33f | 92 | } |
6fa8522a | 93 | |
d0ff98fe RK |
94 | /* ::::: vcard ::::: */ |
95 | ||
96 | .moz-vcard-table { | |
569543b3 | 97 | /* border-radius: 8px; */ |
d0ff98fe RK |
98 | border: thin solid #6666CC; |
99 | margin-top: 10px; | |
100 | } | |
101 | ||
102 | .moz-vcard-property { | |
103 | font-size: 80%; | |
104 | color: #666699; | |
105 | } | |
106 | ||
107 | .moz-vcard-title-property { | |
108 | padding-bottom: 10px; | |
109 | } | |
110 | ||
111 | .moz-vcard-badge { | |
112 | height: 21px; | |
113 | width: 25px; | |
114 | display: block; | |
115 | background-image: url("chrome://messenger/skin/messengercompose/address.gif"); | |
116 | } | |
117 | ||
6fa8522a RK |
118 | /* ::::: attached images ::::: */ |
119 | ||
4d12b027 | 120 | moz-attached-image[overflowing="true"] { |
6fa8522a RK |
121 | cursor: -moz-zoom-out; |
122 | } | |
123 | ||
4d12b027 | 124 | .moz-attached-image[isshrunk="true"] { |
6fa8522a RK |
125 | cursor: -moz-zoom-in; |
126 | max-width: 100%; | |
127 | } | |
5d14042c | 128 | |
d9954aaf RK |
129 | /* New style feed summary body. */ |
130 | body[selected="false"] { | |
5d14042c RK |
131 | display: none; |
132 | } | |
d9954aaf RK |
133 | |
134 | /* Old style feeds. */ | |
5d14042c RK |
135 | #_mailrssiframe { |
136 | position: fixed; | |
137 | top: 0; | |
138 | left: 0; | |
139 | width: 100%; | |
140 | height: 100%; | |
141 | border: none; | |
142 | } | |
7214f501 | 143 | |
a3b6328b | 144 | /* Attachment display styling (for inline attachments and printing) */ |
7214f501 RK |
145 | .mimeAttachmentHeader { |
146 | border-style: none; | |
147 | border-top: 1px solid #808080; | |
148 | } | |
149 | ||
150 | .mimeAttachmentName { | |
151 | color: #808080; | |
152 | font-size: 80%; | |
153 | } | |
a3b6328b RK |
154 | |
155 | div.mimeAttachmentWrap { | |
156 | padding: 0 1em; | |
157 | } | |
158 | ||
159 | table.mimeAttachmentTable { | |
160 | width: 100%; | |
161 | border-collapse: collapse; | |
162 | } | |
163 | ||
164 | table.mimeAttachmentTable tr + tr > td { | |
165 | border-top: 1px solid #808080; | |
166 | } | |
167 | ||
168 | .mimeAttachmentFile { | |
169 | } | |
170 | ||
171 | .mimeAttachmentSize { | |
172 | text-align: right; | |
173 | } |