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