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 | |
36d6ec12 |
44 | mail-headerfield, |
45 | mail-toggle-headerfield |
46 | { |
47 | padding : 0px; |
48 | padding-left : 1px; |
49 | padding-right : 1px; |
50 | } |
51 | |
f6e0a33f |
52 | .buttonTopSpacer |
53 | { |
54 | height : 0.3em; |
55 | } |
56 | |
57 | .buttonSpacer |
58 | { |
59 | width : 0.5em; |
60 | } |
61 | |
62 | .headerValueBox |
63 | { |
64 | width : 7.7em; |
65 | -moz-box-pack : end; |
66 | } |
67 | |
68 | .headerBox |
69 | { |
70 | overflow : hidden; |
71 | min-width : 50px; |
72 | } |
73 | |
74 | #addToAddressBookButton |
75 | { |
76 | list-style-image : url("chrome://messenger/skin/addtoab.gif"); |
77 | min-height : 20px; |
78 | margin : 0px; |
79 | } |
80 | |
81 | #expandedAttachmentBox { |
82 | width: 20em; |
83 | height: 0px; |
84 | list-style-image: url("chrome://messenger/skin/attach.gif"); |
85 | } |
86 | |
87 | #attachmentText |
88 | { |
89 | font-weight: bold; |
90 | } |
91 | |
92 | #attachmentTree { |
93 | margin: 3px; |
94 | marginleft: 0px; |
95 | height: 0px; |
96 | width: 20em; |
97 | } |
98 | |
99 | .emailDisplayImage |
100 | { |
101 | -moz-box-pack: end; |
102 | } |
103 | |
f840e302 |
104 | label.emailDisplayButton |
f6e0a33f |
105 | { |
106 | color : #336699; |
f6e0a33f |
107 | cursor : pointer; |
36d6ec12 |
108 | margin : 0px; |
109 | padding : 0px; |
110 | padding-left : 1px; |
111 | padding-right : 1px; |
112 | } |
113 | |
f840e302 |
114 | label.emailDisplayButton:hover |
36d6ec12 |
115 | { |
116 | color : black; |
117 | background-color : #336699; |
f6e0a33f |
118 | } |
119 | |
120 | .showMoreAddressesButton |
121 | { |
122 | list-style-image : url("chrome://global/skin/twisty-closed.gif"); |
123 | } |
124 | |
125 | .showFewerAddressesButton |
126 | { |
127 | list-style-image : url("chrome://global/skin/twisty-open.gif"); |
128 | } |
129 | |
f840e302 |
130 | label.subjectvalue |
f6e0a33f |
131 | { |
132 | font-weight : bold; |
133 | } |
134 | |
f840e302 |
135 | label.headerdisplayname |
f6e0a33f |
136 | { |
137 | font-weight : bold; |
138 | margin-right : 0.5em; |
139 | margin-left : 0.5em; |
140 | min-height: 16px; |
141 | } |
142 | |
f840e302 |
143 | label.headerValue |
f6e0a33f |
144 | { |
145 | white-space : normal; |
146 | min-width : 50px; |
147 | } |
148 | |
149 | #msgHeaderView |
150 | { |
151 | border-left : none; |
152 | border-right : none; |
153 | border-bottom : 1px solid #9999CC; |
154 | } |
155 | |
156 | .expandHeaderViewButton { |
157 | list-style-image: url("chrome://global/skin/twisty-open.gif"); |
158 | margin-left: .5em; |
159 | margin-right: .5em; |
160 | } |
161 | |
162 | .collapsedHeaderViewButton |
163 | { |
164 | list-style-image: url("chrome://global/skin/twisty-closed.gif"); |
165 | margin-left: .5em; |
166 | } |
167 | |
168 | |
169 | /* ::::: collapsed view styles ::::: */ |
170 | |
171 | #collapsedAttachmentBox { |
172 | -moz-box-pack: center; |
173 | } |
174 | |
175 | #collapseddateValue |
176 | { |
177 | margin-left: .7em; |
178 | } |
179 | |
180 | #collapsedfromBox |
181 | { |
182 | width: 18em; |
183 | } |
184 | |
185 | #collapseddateBox |
186 | { |
187 | width: 12em; |
188 | } |
189 | |
f840e302 |
190 | label.collapsedHeaderDisplayName |
f6e0a33f |
191 | { |
192 | font-weight: bold; |
193 | margin-left: .7em; |
194 | min-height: 16px; |
195 | } |
196 | |
197 | .collapsedAttachmentButton |
198 | { |
199 | list-style-image: url("chrome://messenger/skin/message-mail-attach.gif"); |
200 | margin-right: .5em; |
201 | margin-left: 1em; |
202 | } |
203 | |
204 | [hide] { |
205 | visibility: hidden; |
206 | } |
f840e302 |
207 | |