1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is mozilla.org code.
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.
22 * Robert Kaiser <KaiRo@KaiRo.at>
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.
36 * ***** END LICENSE BLOCK ***** */
38 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
40 /* ===== messageBody.css ================================================
41 == Styles for the body of a mail message.
42 ======================================================================= */
45 * These are the style attributes for the XUL display.
47 window { overflow: auto; }
48 mailheader { display: block; }
49 mailattachcount { display: none; }
51 headerdisplayname { font-weight: bold; white-space: pre; }
52 header { text-align: left; }
55 * For printing/HTML display...
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; }
63 background-color: white;
66 /* ::::: message text, incl. quotes ::::: */
68 .moz-text-flowed blockquote {
78 .moz-text-plain[wrap="true"] {
79 white-space: -moz-pre-wrap;
81 .moz-text-plain[wrap="false"] {
84 .moz-text-plain[wrap="flow"] .moz-txt-sig {
85 white-space: -moz-pre-wrap;
87 .moz-text-plain[graphical-quote="false"] blockquote {
90 padding-left: inherit;
92 .moz-text-plain[graphical-quote="true"] blockquote {
97 .moz-text-plain[graphical-quote="true"] .moz-txt-citetags {
101 /* ::::: signature ::::: */
109 color: #7777FF /* light blue */;
112 /* ::::: smilies ::::: */
115 min-height: 17px; margin-left: 2px; margin-top: 2px;
117 background-repeat: no-repeat;
118 background-position: center center;
120 span[-moz-smiley] > span {
124 span[-moz-smiley="s1"] {
125 background-image: url(chrome://global/skin/smiley/smile_n.gif);
127 span[-moz-smiley="s2"] {
128 background-image: url(chrome://global/skin/smiley/frown_n.gif);
130 span[-moz-smiley="s3"] {
131 background-image: url(chrome://global/skin/smiley/wink_n.gif);
133 span[-moz-smiley="s4"] {
134 background-image: url(chrome://global/skin/smiley/tongue_n.gif);
136 span[-moz-smiley="s5"] {
137 background-image: url(chrome://global/skin/smiley/laughing_n.gif);
139 span[-moz-smiley="s6"] {
140 background-image: url(chrome://global/skin/smiley/embarrassed_n.gif);
142 span[-moz-smiley="s7"] {
143 background-image: url(chrome://global/skin/smiley/undecided_n.gif);