making attachment pane size correctly
[themes.git] / EarlyBlue / messenger / skin / msgHdrViewOverlay.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  *   Robert Kaiser (KaiRo@KaiRo.at)
24  */
25
26 /* ===== msgHdrViewOverlay.css ==========================================
27   == Styles for the header toolbars of a mail message.
28   ======================================================================= */
29
30 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
31 @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */
32
33 #collapsedHeaderView,
34 #expandedHeaderView
35   {
36     min-width             : 1px;
37   }
38
39 mail-emailaddress 
40   {
41     -moz-binding          : url(chrome://messenger/content/mailWidgets.xml#mail-emailaddress);
42     display               : -moz-xul-inline-box;
43   }
44
45 .buttonTopSpacer     
46   { 
47     height                : 0.3em; 
48   }
49
50 .buttonSpacer        
51   { 
52     width                 : 0.5em; 
53   }
54
55 .headerValueBox 
56   { 
57     width                 : 7.0em;
58     text-align            : right;
59   }
60
61 .headerBox              
62   { 
63     overflow              : hidden; 
64     min-width             : 50px;
65   }
66
67
68 #addToAddressBookButton 
69   {
70     list-style-image      : url("chrome://messenger/skin/addtoab.gif");
71     min-height            : 20px;
72     margin                : 0px;
73   }
74
75 #expandedAttachmentBox {
76   width: 20em;
77   height: 0px;
78   list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");
79 }
80
81 #attachmentText
82 {
83   font-weight: bold;
84 }
85
86 #attachmentTree {
87   margin: 3px;
88   height: 0px;
89   width: 20em;
90 }
91
92 .emailDisplayImage
93   {
94     text-align            : right;
95   }
96
97 .emailDisplayButton 
98   {
99     color                 : #336699;
100     cursor                : pointer;
101     min-height            : 16px;
102   }
103
104 .emailDisplayButton:hover
105   {
106     background-color      : #336699;
107     color                 : #CCD0DD;
108   }
109
110 .showMoreAddressesButton 
111   {
112     list-style-image      : url("chrome://global/skin/twisty-closed.gif");
113 /*    list-style-image      : url("chrome://messenger/skin/more.gif"); */
114   }
115
116 .showFewerAddressesButton 
117   {
118     list-style-image      : url("chrome://global/skin/twisty-open.gif");
119 /*    list-style-image      : url("chrome://messenger/skin/less.gif"); */
120   }
121
122 html.headerValue   
123   { 
124     white-space           : normal;
125     min-width             : 50px; 
126     margin                : 0px;
127   }
128
129 html.subjectvalue  
130   { 
131     font-weight           : bold; 
132   }
133
134 text.subjectvalue  
135   { 
136     font-weight           : bold; 
137   }
138
139 text.headerdisplayname 
140   { 
141     font-weight           : bold; 
142     margin-right          : 0.5em; 
143     margin-left           : 0.5em; 
144     min-height            : 16px 
145   }
146
147 text.headerValue 
148   { 
149     white-space           : normal; 
150     min-width             : 50px; 
151   }
152   
153 #msgHeaderView
154   {
155     border-left           : none;
156     border-right          : none;
157     border-bottom         : 1px solid #9999CC;
158   }
159
160 .expandHeaderViewButton {
161   list-style-image: url("chrome://global/skin/twisty-open.gif");
162   margin-left: .5em;
163   margin-right: .5em;
164 }
165
166 .collapsedHeaderViewButton 
167 {
168   list-style-image: url("chrome://global/skin/twisty-closed.gif");
169   margin-left: .5em;
170 }
171
172
173 /* ::::: collapsed view styles ::::: */
174 .collapsedToggleHdrBox
175 {
176   vertical-align: middle;
177 }
178
179 #collapsedAttachmentBox {
180   text-align: 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