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