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 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; }
57 headerdisplayname { font-weight: bold; white-space: pre; }
58 header { text-align: left; }
60 menubar[name=attachment-menubar] { background-color: #EFEFEF; border: 0px solid #EFEFEF; }
61 menu[name=attachment-menu] { background-color: #EFEFEF; border: 0px solid #EFEFEF; }
64 * For printing/HTML display...
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; }
72 background-color: white;
76 /* ::::: message text, incl. quotes ::::: */
78 .moz-text-flowed blockquote {
88 .moz-text-plain[wrap="true"] {
89 white-space: -moz-pre-wrap;
91 .moz-text-plain[wrap="false"] {
94 .moz-text-plain[wrap="flow"] .moz-txt-sig {
95 white-space: -moz-pre-wrap;
97 .moz-text-plain[graphical-quote="false"] blockquote {
100 padding-left: inherit;
102 .moz-text-plain[graphical-quote="true"] blockquote {
104 border-width: medium;
107 .moz-text-plain[graphical-quote="true"] .moz-txt-citetags {
111 /* ::::: signature ::::: */
119 color: #7777FF /* light blue */;
123 /* ::::: smilies ::::: */
126 min-height: 17px; margin-left: 2px; margin-top: 2px;
128 background-repeat: no-repeat;
129 background-position: center center;
131 span[-moz-smiley] > span {
135 span[-moz-smiley="s1"] {
136 background-image: url(chrome://global/skin/smiley/smile_n.gif);
138 span[-moz-smiley="s2"] {
139 background-image: url(chrome://global/skin/smiley/frown_n.gif);
141 span[-moz-smiley="s3"] {
142 background-image: url(chrome://global/skin/smiley/wink_n.gif);
144 span[-moz-smiley="s4"] {
145 background-image: url(chrome://global/skin/smiley/tongue_n.gif);
147 span[-moz-smiley="s5"] {
148 background-image: url(chrome://global/skin/smiley/laughing_n.gif);
150 span[-moz-smiley="s6"] {
151 background-image: url(chrome://global/skin/smiley/embarrassed_n.gif);
153 span[-moz-smiley="s7"] {
154 background-image: url(chrome://global/skin/smiley/undecided_n.gif);