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 | * |
16 | * The Initial Developer of the Original Code is |
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 |
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
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 | |
38 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
f6e0a33f |
39 | |
40 | /* ===== messageBody.css ================================================ |
41 | == Styles for the body of a mail message. |
42 | ======================================================================= */ |
43 | |
44 | /* |
45 | * These are the style attributes for the XUL display. |
46 | */ |
47 | window { overflow: auto; } |
48 | mailheader { display: block; } |
49 | mailattachcount { display: none; } |
50 | |
f6e0a33f |
51 | headerdisplayname { font-weight: bold; white-space: pre; } |
52 | header { text-align: left; } |
53 | |
f6e0a33f |
54 | /* |
55 | * For printing/HTML display... |
56 | */ |
57 | table[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; } |
58 | table[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } |
59 | table[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } |
60 | div.headerdisplayname { font-weight: bold; white-space: pre; display: inline; } |
61 | |
62 | html { |
63 | background-color: white; |
64 | } |
65 | |
f6e0a33f |
66 | /* ::::: message text, incl. quotes ::::: */ |
67 | |
68 | .moz-text-flowed blockquote { |
69 | margin: inherit; |
70 | border-width: medium; |
71 | border-color: gray; |
72 | } |
73 | |
74 | .moz-text-plain pre { |
75 | margin: inherit; |
76 | font-family: inherit; |
77 | } |
78 | .moz-text-plain[wrap="true"] { |
79 | white-space: -moz-pre-wrap; |
80 | } |
81 | .moz-text-plain[wrap="false"] { |
82 | white-space: pre; |
83 | } |
84 | .moz-text-plain[wrap="flow"] .moz-txt-sig { |
85 | white-space: -moz-pre-wrap; |
86 | } |
87 | .moz-text-plain[graphical-quote="false"] blockquote { |
88 | margin: inherit; |
89 | border-left: inherit; |
90 | padding-left: inherit; |
91 | } |
92 | .moz-text-plain[graphical-quote="true"] blockquote { |
93 | margin: inherit; |
94 | border-width: medium; |
95 | border-color: gray; |
96 | } |
97 | .moz-text-plain[graphical-quote="true"] .moz-txt-citetags { |
98 | display: none; |
99 | } |
100 | |
101 | /* ::::: signature ::::: */ |
102 | |
103 | .moz-txt-sig, |
104 | .moz-signature { |
105 | color: gray; |
106 | } |
107 | .moz-txt-sig > a, |
108 | .moz-signature > a { |
109 | color: #7777FF /* light blue */; |
110 | } |
111 | |
f6e0a33f |
112 | /* ::::: smilies ::::: */ |
113 | |
114 | span[-moz-smiley] { |
115 | min-height: 17px; margin-left: 2px; margin-top: 2px; |
116 | padding-left: 20px; |
117 | background-repeat: no-repeat; |
118 | background-position: center center; |
119 | } |
120 | span[-moz-smiley] > span { |
121 | display: none; |
122 | } |
123 | |
124 | span[-moz-smiley="s1"] { |
125 | background-image: url(chrome://global/skin/smiley/smile_n.gif); |
126 | } |
127 | span[-moz-smiley="s2"] { |
128 | background-image: url(chrome://global/skin/smiley/frown_n.gif); |
129 | } |
130 | span[-moz-smiley="s3"] { |
131 | background-image: url(chrome://global/skin/smiley/wink_n.gif); |
132 | } |
133 | span[-moz-smiley="s4"] { |
134 | background-image: url(chrome://global/skin/smiley/tongue_n.gif); |
135 | } |
136 | span[-moz-smiley="s5"] { |
137 | background-image: url(chrome://global/skin/smiley/laughing_n.gif); |
138 | } |
139 | span[-moz-smiley="s6"] { |
140 | background-image: url(chrome://global/skin/smiley/embarrassed_n.gif); |
141 | } |
142 | span[-moz-smiley="s7"] { |
143 | background-image: url(chrome://global/skin/smiley/undecided_n.gif); |
144 | } |