128000f4 |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
f6e0a33f |
3 | * |
128000f4 |
4 | * The contents of this file are subject to the Netscape Public License |
5 | * Version 1.1 (the "License"); you may not use this file except in |
6 | * compliance with the License. You may obtain a copy of the License at |
7 | * http://www.mozilla.org/NPL/ |
f6e0a33f |
8 | * |
128000f4 |
9 | * Software distributed under the License is distributed on an "AS IS" basis, |
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
11 | * for the specific language governing rights and limitations under the |
12 | * License. |
f6e0a33f |
13 | * |
128000f4 |
14 | * The Original Code is mozilla.org code. |
15 | * |
16 | * The Initial Developer of the Original Code is |
17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998 |
19 | * the Initial Developer. All Rights Reserved. |
f6e0a33f |
20 | * |
21 | * Contributor(s): |
22 | * Scott MacGregor (mscott@netscape.com) |
23 | * Joe Hewitt (hewitt@netscape.com) |
128000f4 |
24 | * Robert Kaiser <KaiRo@KaiRo.at> |
25 | * |
26 | * Alternatively, the contents of this file may be used under the terms of |
27 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
28 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
29 | * in which case the provisions of the GPL or the LGPL are applicable instead |
30 | * of those above. If you wish to allow use of your version of this file only |
31 | * under the terms of either the GPL or the LGPL, and not to allow others to |
32 | * use your version of this file under the terms of the NPL, indicate your |
33 | * decision by deleting the provisions above and replace them with the notice |
34 | * and other provisions required by the GPL or the LGPL. If you do not delete |
35 | * the provisions above, a recipient may use your version of this file under |
36 | * the terms of any one of the NPL, the GPL or the LGPL. |
37 | * |
38 | * ***** END LICENSE BLOCK ***** */ |
39 | |
40 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
41 | @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */ |
f6e0a33f |
42 | |
43 | /* ===== messageHeader.css ============================================== |
44 | == Styles for the header toolbars of a mail message. |
45 | ======================================================================= */ |
46 | |
f6e0a33f |
47 | #collapsedHeaderView, |
48 | #expandedHeaderView |
49 | { |
50 | min-width : 1px; |
51 | } |
52 | |
36d6ec12 |
53 | mail-headerfield, |
54 | mail-toggle-headerfield |
55 | { |
56 | padding : 0px; |
57 | padding-left : 1px; |
58 | padding-right : 1px; |
59 | } |
60 | |
f6e0a33f |
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 | } |
107 | |
108 | .emailDisplayImage |
109 | { |
110 | -moz-box-pack: end; |
111 | } |
112 | |
2d09e496 |
113 | .emailDisplayButton |
f6e0a33f |
114 | { |
115 | color : #336699; |
f6e0a33f |
116 | cursor : pointer; |
36d6ec12 |
117 | margin : 0px; |
118 | padding : 0px; |
119 | padding-left : 1px; |
120 | padding-right : 1px; |
121 | } |
122 | |
2d09e496 |
123 | .emailDisplayButton:hover |
36d6ec12 |
124 | { |
125 | color : black; |
126 | background-color : #336699; |
f6e0a33f |
127 | } |
128 | |
129 | .showMoreAddressesButton |
130 | { |
131 | list-style-image : url("chrome://global/skin/twisty-closed.gif"); |
132 | } |
133 | |
134 | .showFewerAddressesButton |
135 | { |
136 | list-style-image : url("chrome://global/skin/twisty-open.gif"); |
137 | } |
138 | |
2d09e496 |
139 | .headerValue |
140 | { |
141 | white-space : normal; |
142 | min-width : 50px; |
143 | } |
144 | |
145 | .subjectvalue |
f6e0a33f |
146 | { |
147 | font-weight : bold; |
148 | } |
149 | |
2d09e496 |
150 | .headerdisplayname |
f6e0a33f |
151 | { |
152 | font-weight : bold; |
153 | margin-right : 0.5em; |
154 | margin-left : 0.5em; |
155 | min-height: 16px; |
156 | } |
157 | |
f6e0a33f |
158 | #msgHeaderView |
159 | { |
160 | border-left : none; |
161 | border-right : none; |
162 | border-bottom : 1px solid #9999CC; |
163 | } |
164 | |
165 | .expandHeaderViewButton { |
166 | list-style-image: url("chrome://global/skin/twisty-open.gif"); |
167 | margin-left: .5em; |
168 | margin-right: .5em; |
169 | } |
170 | |
171 | .collapsedHeaderViewButton |
172 | { |
173 | list-style-image: url("chrome://global/skin/twisty-closed.gif"); |
174 | margin-left: .5em; |
175 | } |
176 | |
177 | |
178 | /* ::::: collapsed view styles ::::: */ |
179 | |
180 | #collapsedAttachmentBox { |
181 | -moz-box-pack: center; |
182 | } |
183 | |
184 | #collapseddateValue |
185 | { |
186 | margin-left: .7em; |
187 | } |
188 | |
189 | #collapsedfromBox |
190 | { |
191 | width: 18em; |
192 | } |
193 | |
194 | #collapseddateBox |
195 | { |
196 | width: 12em; |
197 | } |
198 | |
2d09e496 |
199 | .collapsedHeaderDisplayName |
f6e0a33f |
200 | { |
201 | font-weight: bold; |
202 | margin-left: .7em; |
203 | min-height: 16px; |
204 | } |
205 | |
206 | .collapsedAttachmentButton |
207 | { |
208 | list-style-image: url("chrome://messenger/skin/message-mail-attach.gif"); |
209 | margin-right: .5em; |
210 | margin-left: 1em; |
211 | } |
212 | |
213 | [hide] { |
214 | visibility: hidden; |
215 | } |