some nice smaqll fixes
[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 /*    text-decoration       : underline; */
113     cursor                : pointer;
114 /*    min-height: 16px; */
115     margin                : 0px;
116     padding               : 0px; 
117     padding-left          : 1px; 
118     padding-right         : 1px; 
119   }
120
121 .emailDisplayButton:hover
122   {
123     color                 : black;
124     background-color      : #336699;
125   }
126
127 .showMoreAddressesButton 
128 {
129   list-style-image      : url("chrome://global/skin/twisty-closed.gif");
130 }
131
132 .showFewerAddressesButton 
133 {
134   list-style-image      : url("chrome://global/skin/twisty-open.gif");
135 }
136
137 html.headerValue   
138   { 
139     white-space           : normal;
140     min-width             : 50px; 
141     margin                : 0px;
142   }
143
144 html.subjectvalue  
145   { 
146     font-weight           : bold; 
147   }
148
149 text.subjectvalue
150  {
151   font-weight             : bold;
152  }
153
154 text.headerdisplayname 
155   { 
156     font-weight           : bold; 
157     margin-right          : 0.5em; 
158     margin-left           : 0.5em; 
159     min-height: 16px;
160   }
161
162 text.headerValue 
163   { 
164     white-space           : normal; 
165     min-width             : 50px; 
166   }
167   
168 #msgHeaderView
169   {
170     border-left           : none;
171     border-right          : none;
172     border-bottom         : 1px solid #9999CC;
173   }
174        
175 .expandHeaderViewButton {
176   list-style-image: url("chrome://global/skin/twisty-open.gif");
177   margin-left: .5em;
178   margin-right: .5em;
179 }
180
181 .collapsedHeaderViewButton 
182 {
183   list-style-image: url("chrome://global/skin/twisty-closed.gif");
184   margin-left: .5em;
185 }
186
187
188 /* ::::: collapsed view styles ::::: */
189
190 #collapsedAttachmentBox {
191   -moz-box-pack: center;
192 }
193
194 #collapseddateValue
195 {
196   margin-left: .7em;
197 }
198
199 #collapsedfromBox
200 {
201   width: 18em;
202 }
203
204 #collapseddateBox
205 {
206   width: 12em;
207 }
208
209 text.collapsedHeaderDisplayName 
210
211   font-weight: bold; 
212   margin-left: .7em;
213   min-height: 16px;
214 }
215
216 .collapsedAttachmentButton
217 {
218   list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");
219   margin-right: .5em;
220   margin-left: 1em;
221 }
222
223 [hide] {
224   visibility: hidden;
225 }