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