it's still a GIF, not a PNG.
[themes.git] / LCARStrek / 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 /* ===== messageHeader.css ==============================================
41   == Styles for the header toolbars of a mail message.
42   ======================================================================= */
43
44 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
45
46 /* ::::: msg header toolbars ::::: */
47
48 #collapsedHeaderView,
49 #expandedHeaderView {
50   min-width: 1px;
51   background-color: #E7ADE7;
52   color: #000000;
53   -moz-border-radius: 8px;
54   margin-bottom: 3px;
55 }
56
57 /* ::::: msg header buttons ::::: */
58
59 #expandedAttachmentBox {
60   width: 20em;
61   height: 0px;
62   list-style-image: url("chrome://messenger/skin/icons/attach.gif");
63 }
64
65 #attachmentTree {
66   margin: 3px;
67   -moz-margin-start: 0;
68   height: 0px;
69   width: 20em;
70   color: #FF9F00;
71 }
72
73 #attachmentText {
74   font-weight: bold;
75 }
76
77 /* ::::: msg header captions ::::: */
78
79 #msgHeaderView {
80   border-left: none;
81   border-right: none;
82 }
83
84 #collapsedHeaderView,
85 #expandedHeaderView {
86   border-left: none;
87   border-right: none;
88 /*  border-bottom: 1px solid #9999CC; */
89   min-width: 1px;
90  }
91
92 .headerNameBox {
93   width: 7.7em;
94 }
95
96 .headerName {
97   margin: 0;
98   -moz-margin-end: .25em;
99   min-height: 16px;
100   font-weight: bold;
101   text-align: right;
102 }
103
104 .headerValue {
105   margin: 0 0 3px;
106   min-width: 50px;
107   white-space: normal;
108   color: inherit;
109   background-color: transparent;
110 }
111
112 .headerValueBox {
113   margin: 0 0 3px;
114 }
115
116 .headerValueBox > .headerValue {
117   margin: 0;
118 }
119
120 .headerValueBox[singleline="true"] {
121   overflow: hidden;
122 }
123
124 .headerValueBox[singleline="true"] > .headerValue {
125   overflow: hidden;
126 }
127
128 .subjectvalue {
129   font-weight: bold;
130 }
131
132 .tagvalue {
133   margin-top: 0;
134   -moz-margin-start: 0;
135 }
136
137 /* ::::: msg header message ids ::::: */
138
139 .messageIdDisplayButton {
140   -moz-border-radius: 3px;
141   color: #008484;
142   cursor: pointer;
143   margin: 0px;
144   padding: 0px 1px;
145 }
146
147 .messageIdDisplayButton:hover {
148   color: #000000;
149   background-color: #FFCF00;
150 }
151
152 .messageIdDisplayImage {
153   -moz-padding-start: 2px;
154   -moz-box-pack: end;
155 }
156
157 /* ::::: msg header email addresses ::::: */
158
159 .emailDisplayButton {
160   -moz-border-radius: 3px;
161   color: #008484;
162   cursor: pointer;
163   margin: 0px;
164   padding: 0px 1px;
165 }
166
167 .emailDisplayButton:hover {
168   color: #000000;
169   background-color: #FFCF00;
170 }
171
172 .emailDisplayImage {
173   -moz-padding-start: 2px;
174   -moz-box-pack: end;
175 }
176
177 /* ::::: email address twisty ::::: */
178
179 .addresstwisty {
180   margin: 1px;
181   list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif");
182 }
183
184 .addresstwisty[open] {
185   list-style-image: url("chrome://global/skin/tree/twisty-open-selected.gif");
186 }
187
188 /* ::::: view expand and collapse twisties  ::::: */
189
190 .expandHeaderViewButton,
191 .collapsedHeaderViewButton  {
192   margin: 2px .5em 0;
193   padding: 0px;
194 }
195
196 .expandHeaderViewButton {
197   list-style-image: url("chrome://global/skin/tree/twisty-open-selected.gif");
198 }
199
200 .collapsedHeaderViewButton  {
201   list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif");
202 }
203
204 /* ::::: collapsed view styles ::::: */
205
206 #collapsedAttachmentBox {
207   -moz-box-pack: center;
208 }
209
210 #collapsedsubjectValue {
211   background-color: transparent;
212 }
213
214 #collapseddateValue {
215   -moz-margin-start: .5em;
216   text-align: right;
217   background-color: transparent;
218 }
219
220 #collapseddateValue > .textbox-input-box menupopup {
221   text-align: left;
222 }
223
224 #collapsedfromBox {
225   width: 18em;
226 }
227
228 #collapseddateBox {
229   width: 12em;
230 }
231
232 .collapsedHeaderDisplayName {
233   margin-top: 2px;
234   margin-bottom: 2px;
235   -moz-margin-start: .55em;
236   -moz-margin-end: .5em;
237   min-height: 12px;
238   font-weight: bold;
239 }
240
241 .collapsedHeaderValue,
242 #collapsedfromValue {
243   background: transparent;
244   margin: 2px 0px !important;
245 }
246
247 .collapsedAttachmentButton {
248   list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
249   -moz-margin-end: .5em;
250   margin-top: 1px;
251 }