0042fc01 |
1 | /* |
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/ |
6 | * |
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. |
11 | * |
12 | * The Original Code is Mozilla Communicator client code, released |
13 | * March 31, 1998. |
14 | * |
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 |
18 | * Rights Reserved. |
19 | * |
20 | * Contributor(s): |
21 | * |
22 | */ |
23 | |
24 | /* ===== messageBody.css ================================================ |
25 | == Styles for the body of a mail message. |
26 | ======================================================================= */ |
27 | |
28 | /* |
29 | * These are the style attributes for the XUL display. |
30 | */ |
31 | window { overflow: auto; } |
32 | mailheader { display: block; } |
33 | mailattachcount { display: none; } |
34 | |
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; } |
40 | |
41 | headerdisplayname { font-weight: bold; white-space: pre; } |
42 | header { -moz-box-pack: start; } |
43 | |
44 | menubar[name=attachment-menubar] { background-color: #EFEFEF; border: 0px solid #EFEFEF; } |
45 | menu[name=attachment-menu] { background-color: #EFEFEF; border: 0px solid #EFEFEF; } |
46 | |
47 | /* |
48 | * For printing/HTML display... |
49 | */ |
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; } |
54 | |
55 | body { |
56 | background-color: white; |
57 | } |
58 | |
59 | |
60 | /* ::::: message text, incl. quotes ::::: */ |
61 | |
62 | |
63 | .moz-text-flowed blockquote { |
64 | margin: 0em 0em; |
65 | border-color: black; |
66 | } |
67 | |
68 | .moz-text-plain pre { |
69 | font-family: inherit; |
70 | margin: inherit; |
71 | } |
72 | |
73 | .moz-text-plain[wrap="true"] { |
74 | white-space: -moz-pre-wrap; |
75 | } |
76 | |
77 | .moz-text-plain[wrap="false"] { |
78 | white-space: pre; |
79 | } |
80 | |
81 | .moz-text-plain[wrap="flow"] .moz-txt-sig { |
82 | white-space: -moz-pre-wrap; |
83 | } |
84 | |
85 | .moz-text-plain[graphical-quote="false"] blockquote { |
86 | padding-left: inherit; |
87 | border-left: inherit; |
88 | margin: 0em 0em; |
89 | } |
90 | .moz-text-plain[graphical-quote="true"] blockquote { |
91 | margin: 0em 0em; |
92 | border-width: medium; |
93 | border-color: black; |
94 | } |
95 | .moz-text-plain[graphical-quote="true"] .txt-citetags { |
96 | display: none; |
97 | } |
98 | |
99 | .moz-txt-sig, .moz-signature { |
100 | color: gray; |
101 | } |
102 | .moz-txt-sig > a, .moz-signature > a { |
103 | color: 7777FF /* light blue */; |
104 | } |
105 | |
106 | /* ::::: smilies ::::: */ |
107 | |
108 | span[-moz-smiley] { |
109 | min-height: 17px; margin-left: 2px; margin-top: 2px; |
110 | padding-left: 20px; |
111 | background-repeat: no-repeat; |
112 | background-position: center center; |
113 | } |
114 | span[-moz-smiley] > span { |
115 | display: none; |
116 | } |
117 | |
118 | span[-moz-smiley="s1"] { |
119 | background-image: url(chrome://global/skin/smiley/smile_n.gif); |
120 | } |
121 | span[-moz-smiley="s2"] { |
122 | background-image: url(chrome://global/skin/smiley/frown_n.gif); |
123 | } |
124 | span[-moz-smiley="s3"] { |
125 | background-image: url(chrome://global/skin/smiley/wink_n.gif); |
126 | } |
127 | span[-moz-smiley="s4"] { |
128 | background-image: url(chrome://global/skin/smiley/tongue_n.gif); |
129 | } |
130 | span[-moz-smiley="s5"] { |
131 | background-image: url(chrome://global/skin/smiley/laughing_n.gif); |
132 | } |
133 | span[-moz-smiley="s6"] { |
134 | background-image: url(chrome://global/skin/smiley/embarrassed_n.gif); |
135 | } |
136 | span[-moz-smiley="s7"] { |
137 | background-image: url(chrome://global/skin/smiley/undecided_n.gif); |
138 | } |