Commit | Line | Data |
---|---|---|
351107c9 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 | |
3 | * | |
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/ | |
8 | * | |
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. | |
13 | * | |
14 | * The Original Code is mozilla.org code. | |
15 | * | |
3d6dd546 | 16 | * The Initial Developer of the Original Code is |
351107c9 | 17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998 | |
19 | * the Initial Developer. All Rights Reserved. | |
20 | * | |
21 | * Contributor(s): | |
22 | * Robert Kaiser <KaiRo@KaiRo.at> | |
23 | * | |
24 | * Alternatively, the contents of this file may be used under the terms of | |
3d6dd546 | 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
351107c9 | 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 | ||
3d6dd546 | 38 | @import url("chrome://communicator/skin/smileys.css"); |
d84b9613 | 39 | |
40 | @namespace url("http://www.w3.org/1999/xhtml"); | |
351107c9 | 41 | |
42 | /* ===== messageBody.css ================================================ | |
43 | == Styles for the body of a mail message. | |
44 | ======================================================================= */ | |
45 | ||
b1eaa419 | 46 | /* :::: message header ::::: */ |
47 | ||
b1eaa419 | 48 | .header-part1 { |
49 | border-left: 4px solid #EFEFEF; | |
50 | background-color: #EFEFEF; | |
51 | } | |
52 | ||
53 | .header-part2, | |
54 | .header-part3 { | |
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 | ||
351107c9 | 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 | } | |
b1eaa419 | 77 | |
351107c9 | 78 | .moz-text-plain[wrap="true"] { |
ee6cb01c | 79 | white-space: pre-wrap; |
351107c9 | 80 | } |
b1eaa419 | 81 | |
351107c9 | 82 | .moz-text-plain[wrap="false"] { |
83 | white-space: pre; | |
84 | } | |
b1eaa419 | 85 | |
351107c9 | 86 | .moz-text-plain[wrap="flow"] .moz-txt-sig { |
ee6cb01c | 87 | white-space: pre-wrap; |
351107c9 | 88 | } |
b1eaa419 | 89 | |
351107c9 | 90 | .moz-text-plain[graphical-quote="false"] blockquote { |
91 | margin: inherit; | |
92 | border-left: inherit; | |
93 | padding-left: inherit; | |
94 | } | |
b1eaa419 | 95 | |
351107c9 | 96 | .moz-text-plain[graphical-quote="true"] blockquote { |
97 | margin: inherit; | |
98 | border-width: medium; | |
99 | border-color: gray; | |
100 | } | |
b1eaa419 | 101 | |
351107c9 | 102 | .moz-text-plain[graphical-quote="true"] .moz-txt-citetags { |
103 | display: none; | |
104 | } | |
105 | ||
b1eaa419 | 106 | span.moz-txt-underscore { |
107 | text-decoration: underline; | |
108 | } | |
109 | ||
3d6dd546 | 110 | span.moz-txt-formfeed { |
111 | display: block; | |
112 | height: 100%; | |
113 | } | |
114 | ||
351107c9 | 115 | /* ::::: signature ::::: */ |
116 | ||
117 | .moz-txt-sig, | |
118 | .moz-signature { | |
119 | color: gray; | |
120 | } | |
b1eaa419 | 121 | |
351107c9 | 122 | .moz-txt-sig > a, |
123 | .moz-signature > a { | |
b1eaa419 | 124 | color: #7777FF; /* light blue */ |
351107c9 | 125 | } |
ee6cb01c RK |
126 | |
127 | /* ::::: vcard ::::: */ | |
128 | ||
129 | .moz-vcard-table { | |
130 | -moz-border-radius: 8px; | |
131 | border: thin solid #9C9CFF; | |
132 | margin-top: 10px; | |
133 | } | |
134 | ||
135 | .moz-vcard-property { | |
136 | font-size: 80%; | |
137 | color: #FF9F00; | |
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 | ||
151 | /* ::::: attached images ::::: */ | |
152 | ||
153 | moz-attached-image[overflowing="true"] { | |
154 | cursor: -moz-zoom-out; | |
155 | } | |
156 | ||
157 | .moz-attached-image[isshrunk="true"] { | |
158 | cursor: -moz-zoom-in; | |
159 | max-width: 100%; | |
160 | } |