eeb3df45e0c1f6e3ceceb2042f6bbb60e2092b78
[themes.git] / EarlyBlue / skin / EarlyBlue / messenger / messageHeader.css
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
3  *
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/
8  *
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.
13  *
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.
20  *
21  * Contributor(s):
22  *   Scott MacGregor (mscott@netscape.com)
23  *   Joe Hewitt (hewitt@netscape.com)
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 */
42
43 /* ===== messageHeader.css ==============================================
44   == Styles for the header toolbars of a mail message.
45   ======================================================================= */
46
47 #collapsedHeaderView,
48 #expandedHeaderView
49   {
50     min-width             : 1px;
51   }
52
53 mail-emailaddress 
54   {
55     -moz-binding          : url(chrome://messenger/content/mailWidgets.xml#mail-emailaddress);
56     display               : -moz-inline-box;
57   }
58
59 mail-headerfield,
60 mail-toggle-headerfield
61   { 
62     padding               : 0px; 
63     padding-left          : 1px; 
64     padding-right         : 1px; 
65   }
66
67 .buttonTopSpacer     
68   { 
69     height                : 0.3em; 
70   }
71
72 .buttonSpacer        
73   { 
74     width                 : 0.5em; 
75   }
76
77 .headerValueBox 
78   { 
79     width                 : 7.7em;
80     -moz-box-pack         : end;
81   }
82
83 .headerBox              
84   { 
85     overflow              : hidden; 
86     min-width             : 50px;
87   }
88
89 #addToAddressBookButton 
90   {
91           list-style-image      : url("chrome://messenger/skin/addtoab.gif");
92     min-height            : 20px;
93     margin                : 0px;
94   }
95
96 #expandedAttachmentBox {
97   width: 20em;
98   height: 0px;
99   list-style-image: url("chrome://messenger/skin/attach.gif");
100 }
101
102 #attachmentText
103 {
104   font-weight: bold;
105 }
106
107 #attachmentTree {
108   margin: 3px;
109   marginleft: 0px;
110   height: 0px;
111   width: 20em;
112 }
113
114 .emailDisplayImage
115   {
116     -moz-box-pack: end;
117   }
118
119 label.emailDisplayButton 
120   {
121     color                 : #336699;
122     cursor                : pointer;
123     margin                : 0px;
124     padding               : 0px; 
125     padding-left          : 1px; 
126     padding-right         : 1px; 
127   }
128
129 label.emailDisplayButton:hover
130   {
131     color                 : black;
132     background-color      : #336699;
133   }
134
135 .showMoreAddressesButton 
136 {
137   list-style-image      : url("chrome://global/skin/twisty-closed.gif");
138 }
139
140 .showFewerAddressesButton 
141 {
142   list-style-image      : url("chrome://global/skin/twisty-open.gif");
143 }
144
145 label.subjectvalue
146  {
147   font-weight             : bold;
148  }
149
150 label.headerdisplayname 
151   { 
152     font-weight           : bold; 
153     margin-right          : 0.5em; 
154     margin-left           : 0.5em; 
155     min-height: 16px;
156   }
157
158 label.headerValue 
159   { 
160     white-space           : normal; 
161     min-width             : 50px; 
162   }
163   
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.gif");
173   margin-left: .5em;
174   margin-right: .5em;
175 }
176
177 .collapsedHeaderViewButton 
178 {
179   list-style-image: url("chrome://global/skin/twisty-closed.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
205 label.collapsedHeaderDisplayName 
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 }
222
223