f6e0a33f |
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-2001 Netscape Communications Corporation. All |
18 | * Rights Reserved. |
19 | * |
20 | * Contributor(s): |
21 | * Scott MacGregor (mscott@netscape.com) |
22 | * Joe Hewitt (hewitt@netscape.com) |
23 | */ |
24 | |
25 | /* ===== messageHeader.css ============================================== |
26 | == Styles for the header toolbars of a mail message. |
27 | ======================================================================= */ |
28 | |
29 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */ |
30 | @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */ |
31 | |
32 | #collapsedHeaderView, |
33 | #expandedHeaderView |
34 | { |
35 | min-width : 1px; |
36 | } |
37 | |
38 | mail-emailaddress |
39 | { |
40 | -moz-binding : url(chrome://messenger/content/mailWidgets.xml#mail-emailaddress); |
41 | display : -moz-inline-box; |
42 | } |
43 | |
44 | .buttonTopSpacer |
45 | { |
46 | height : 0.3em; |
47 | } |
48 | |
49 | .buttonSpacer |
50 | { |
51 | width : 0.5em; |
52 | } |
53 | |
54 | .headerValueBox |
55 | { |
56 | width : 7.7em; |
57 | -moz-box-pack : end; |
58 | } |
59 | |
60 | .headerBox |
61 | { |
62 | overflow : hidden; |
63 | min-width : 50px; |
64 | } |
65 | |
66 | #addToAddressBookButton |
67 | { |
68 | list-style-image : url("chrome://messenger/skin/addtoab.gif"); |
69 | min-height : 20px; |
70 | margin : 0px; |
71 | } |
72 | |
73 | #expandedAttachmentBox { |
74 | width: 20em; |
75 | height: 0px; |
76 | list-style-image: url("chrome://messenger/skin/attach.gif"); |
77 | } |
78 | |
79 | #attachmentText |
80 | { |
81 | font-weight: bold; |
82 | } |
83 | |
84 | #attachmentTree { |
85 | margin: 3px; |
86 | marginleft: 0px; |
87 | height: 0px; |
88 | width: 20em; |
89 | } |
90 | |
91 | .emailDisplayImage |
92 | { |
93 | -moz-box-pack: end; |
94 | } |
95 | |
96 | .emailDisplayButton |
97 | { |
98 | color : #336699; |
99 | /* text-decoration : underline; */ |
100 | cursor : pointer; |
101 | min-height: 16px; |
102 | } |
103 | |
104 | .showMoreAddressesButton |
105 | { |
106 | list-style-image : url("chrome://global/skin/twisty-closed.gif"); |
107 | } |
108 | |
109 | .showFewerAddressesButton |
110 | { |
111 | list-style-image : url("chrome://global/skin/twisty-open.gif"); |
112 | } |
113 | |
114 | html.headerValue |
115 | { |
116 | white-space : normal; |
117 | min-width : 50px; |
118 | margin : 0px; |
119 | } |
120 | |
121 | html.subjectvalue |
122 | { |
123 | font-weight : bold; |
124 | } |
125 | |
126 | text.subjectvalue |
127 | { |
128 | font-weight : bold; |
129 | } |
130 | |
131 | text.headerdisplayname |
132 | { |
133 | font-weight : bold; |
134 | margin-right : 0.5em; |
135 | margin-left : 0.5em; |
136 | min-height: 16px; |
137 | } |
138 | |
139 | text.headerValue |
140 | { |
141 | white-space : normal; |
142 | min-width : 50px; |
143 | } |
144 | |
145 | #msgHeaderView |
146 | { |
147 | border-left : none; |
148 | border-right : none; |
149 | border-bottom : 1px solid #9999CC; |
150 | } |
151 | |
152 | .expandHeaderViewButton { |
153 | list-style-image: url("chrome://global/skin/twisty-open.gif"); |
154 | margin-left: .5em; |
155 | margin-right: .5em; |
156 | } |
157 | |
158 | .collapsedHeaderViewButton |
159 | { |
160 | list-style-image: url("chrome://global/skin/twisty-closed.gif"); |
161 | margin-left: .5em; |
162 | } |
163 | |
164 | |
165 | /* ::::: collapsed view styles ::::: */ |
166 | |
167 | #collapsedAttachmentBox { |
168 | -moz-box-pack: center; |
169 | } |
170 | |
171 | #collapseddateValue |
172 | { |
173 | margin-left: .7em; |
174 | } |
175 | |
176 | #collapsedfromBox |
177 | { |
178 | width: 18em; |
179 | } |
180 | |
181 | #collapseddateBox |
182 | { |
183 | width: 12em; |
184 | } |
185 | |
186 | text.collapsedHeaderDisplayName |
187 | { |
188 | font-weight: bold; |
189 | margin-left: .7em; |
190 | min-height: 16px; |
191 | } |
192 | |
193 | .collapsedAttachmentButton |
194 | { |
195 | list-style-image: url("chrome://messenger/skin/message-mail-attach.gif"); |
196 | margin-right: .5em; |
197 | margin-left: 1em; |
198 | } |
199 | |
200 | [hide] { |
201 | visibility: hidden; |
202 | } |
203 | |
204 | |