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