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