2 * The contents of this file are subject to the Netscape Public
3 * License Version 1.1 (the "License"); you may not use this file
4 * except in compliance with the License. You may obtain a copy of
5 * the License at http://www.mozilla.org/NPL/
7 * Software distributed under the License is distributed on an "AS
8 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9 * implied. See the License for the specific language governing
10 * rights and limitations under the License.
12 * The Original Code is Mozilla Communicator client code, released
15 * The Initial Developer of the Original Code is Netscape
16 * Communications Corporation. Portions created by Netscape are
17 * Copyright (C) 1998-1999 Netscape Communications Corporation. All
24 /* ===== messageBody.css ================================================
25 == Styles for the body of a mail message.
26 ======================================================================= */
29 * These are the style attributes for the XUL display.
31 window { overflow: auto; }
32 mailheader { display: block; }
33 mailattachcount { display: none; }
35 box[name=header-attachment] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }
36 box[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }
37 box[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }
38 box[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }
39 box[name=header-seamonkey] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }
41 headerdisplayname { font-weight: bold; white-space: pre; }
42 header { text-align: left; }
44 menubar[name=attachment-menubar] { background-color: #EFEFEF; border: 0px solid #EFEFEF; }
45 menu[name=attachment-menu] { background-color: #EFEFEF; border: 0px solid #EFEFEF; }
48 * For printing/HTML display...
50 table[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }
51 table[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }
52 table[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }
53 div.headerdisplayname { font-weight: bold; white-space: pre; display: inline; }
56 background-color: white;
60 /* ::::: message text, incl. quotes ::::: */
62 .moz-text-flowed blockquote {
72 .moz-text-plain[wrap="true"] {
73 white-space: -moz-pre-wrap;
75 .moz-text-plain[wrap="false"] {
78 .moz-text-plain[wrap="flow"] .moz-txt-sig {
79 white-space: -moz-pre-wrap;
81 .moz-text-plain[graphical-quote="false"] blockquote {
84 padding-left: inherit;
86 .moz-text-plain[graphical-quote="true"] blockquote {
91 .moz-text-plain[graphical-quote="true"] .moz-txt-citetags {
95 /* ::::: signature ::::: */
103 color: #7777FF /* light blue */;
107 /* ::::: smilies ::::: */
110 min-height: 17px; margin-left: 2px; margin-top: 2px;
112 background-repeat: no-repeat;
113 background-position: center center;
115 span[-moz-smiley] > span {
119 span[-moz-smiley="s1"] {
120 background-image: url(chrome://global/skin/smiley/smile_n.gif);
122 span[-moz-smiley="s2"] {
123 background-image: url(chrome://global/skin/smiley/frown_n.gif);
125 span[-moz-smiley="s3"] {
126 background-image: url(chrome://global/skin/smiley/wink_n.gif);
128 span[-moz-smiley="s4"] {
129 background-image: url(chrome://global/skin/smiley/tongue_n.gif);
131 span[-moz-smiley="s5"] {
132 background-image: url(chrome://global/skin/smiley/laughing_n.gif);
134 span[-moz-smiley="s6"] {
135 background-image: url(chrome://global/skin/smiley/embarrassed_n.gif);
137 span[-moz-smiley="s7"] {
138 background-image: url(chrome://global/skin/smiley/undecided_n.gif);