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