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 { -moz-box-pack: start; }
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 ::::: */
63 .moz-text-flowed blockquote {
73 .moz-text-plain[wrap="true"] {
74 white-space: -moz-pre-wrap;
77 .moz-text-plain[wrap="false"] {
81 .moz-text-plain[wrap="flow"] .moz-txt-sig {
82 white-space: -moz-pre-wrap;
85 .moz-text-plain[graphical-quote="false"] blockquote {
86 padding-left: inherit;
90 .moz-text-plain[graphical-quote="true"] blockquote {
95 .moz-text-plain[graphical-quote="true"] .txt-citetags {
99 .moz-txt-sig, .moz-signature {
102 .moz-txt-sig > a, .moz-signature > a {
103 color: 7777FF /* light blue */;
106 /* ::::: smilies ::::: */
109 min-height: 17px; margin-left: 2px; margin-top: 2px;
111 background-repeat: no-repeat;
112 background-position: center center;
114 span[-moz-smiley] > span {
118 span[-moz-smiley="s1"] {
119 background-image: url(chrome://global/skin/smiley/smile_n.gif);
121 span[-moz-smiley="s2"] {
122 background-image: url(chrome://global/skin/smiley/frown_n.gif);
124 span[-moz-smiley="s3"] {
125 background-image: url(chrome://global/skin/smiley/wink_n.gif);
127 span[-moz-smiley="s4"] {
128 background-image: url(chrome://global/skin/smiley/tongue_n.gif);
130 span[-moz-smiley="s5"] {
131 background-image: url(chrome://global/skin/smiley/laughing_n.gif);
133 span[-moz-smiley="s6"] {
134 background-image: url(chrome://global/skin/smiley/embarrassed_n.gif);
136 span[-moz-smiley="s7"] {
137 background-image: url(chrome://global/skin/smiley/undecided_n.gif);