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