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 | |
51 | box[name=header-attachment] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; } |
52 | box[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; } |
53 | box[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } |
54 | box[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } |
55 | box[name=header-seamonkey] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } |
56 | |
57 | headerdisplayname { font-weight: bold; white-space: pre; } |
58 | header { text-align: left; } |
59 | |
60 | menubar[name=attachment-menubar] { background-color: #EFEFEF; border: 0px solid #EFEFEF; } |
61 | menu[name=attachment-menu] { background-color: #EFEFEF; border: 0px solid #EFEFEF; } |
62 | |
63 | /* |
64 | * For printing/HTML display... |
65 | */ |
66 | table[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; } |
67 | table[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } |
68 | table[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } |
69 | div.headerdisplayname { font-weight: bold; white-space: pre; display: inline; } |
70 | |
71 | html { |
72 | background-color: white; |
73 | } |
74 | |
75 | |
76 | /* ::::: message text, incl. quotes ::::: */ |
77 | |
78 | .moz-text-flowed blockquote { |
79 | margin: inherit; |
80 | border-width: medium; |
81 | border-color: gray; |
82 | } |
83 | |
84 | .moz-text-plain pre { |
85 | margin: inherit; |
86 | font-family: inherit; |
87 | } |
88 | .moz-text-plain[wrap="true"] { |
89 | white-space: -moz-pre-wrap; |
90 | } |
91 | .moz-text-plain[wrap="false"] { |
92 | white-space: pre; |
93 | } |
94 | .moz-text-plain[wrap="flow"] .moz-txt-sig { |
95 | white-space: -moz-pre-wrap; |
96 | } |
97 | .moz-text-plain[graphical-quote="false"] blockquote { |
98 | margin: inherit; |
99 | border-left: inherit; |
100 | padding-left: inherit; |
101 | } |
102 | .moz-text-plain[graphical-quote="true"] blockquote { |
103 | margin: inherit; |
104 | border-width: medium; |
105 | border-color: gray; |
106 | } |
107 | .moz-text-plain[graphical-quote="true"] .moz-txt-citetags { |
108 | display: none; |
109 | } |
110 | |
111 | /* ::::: signature ::::: */ |
112 | |
113 | .moz-txt-sig, |
114 | .moz-signature { |
115 | color: gray; |
116 | } |
117 | .moz-txt-sig > a, |
118 | .moz-signature > a { |
119 | color: #7777FF /* light blue */; |
120 | } |
121 | |
122 | |
123 | /* ::::: smilies ::::: */ |
124 | |
125 | span[-moz-smiley] { |
126 | min-height: 17px; margin-left: 2px; margin-top: 2px; |
127 | padding-left: 20px; |
128 | background-repeat: no-repeat; |
129 | background-position: center center; |
130 | } |
131 | span[-moz-smiley] > span { |
132 | display: none; |
133 | } |
134 | |
135 | span[-moz-smiley="s1"] { |
136 | background-image: url(chrome://global/skin/smiley/smile_n.gif); |
137 | } |
138 | span[-moz-smiley="s2"] { |
139 | background-image: url(chrome://global/skin/smiley/frown_n.gif); |
140 | } |
141 | span[-moz-smiley="s3"] { |
142 | background-image: url(chrome://global/skin/smiley/wink_n.gif); |
143 | } |
144 | span[-moz-smiley="s4"] { |
145 | background-image: url(chrome://global/skin/smiley/tongue_n.gif); |
146 | } |
147 | span[-moz-smiley="s5"] { |
148 | background-image: url(chrome://global/skin/smiley/laughing_n.gif); |
149 | } |
150 | span[-moz-smiley="s6"] { |
151 | background-image: url(chrome://global/skin/smiley/embarrassed_n.gif); |
152 | } |
153 | span[-moz-smiley="s7"] { |
154 | background-image: url(chrome://global/skin/smiley/undecided_n.gif); |
155 | } |
128000f4 |
156 | |