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