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 { | |
02920d2b RK |
66 | margin: 3px; |
67 | -moz-margin-start: 0; | |
351107c9 | 68 | height: 0px; |
69 | width: 20em; | |
70 | color: #FF9F00; | |
71 | } | |
72 | ||
b1eaa419 | 73 | #attachmentText { |
74 | font-weight: bold; | |
351107c9 | 75 | } |
76 | ||
b1eaa419 | 77 | /* ::::: msg header captions ::::: */ |
351107c9 | 78 | |
b1eaa419 | 79 | #msgHeaderView { |
80 | border-left: none; | |
81 | border-right: none; | |
82 | } | |
351107c9 | 83 | |
b1eaa419 | 84 | #collapsedHeaderView, |
85 | #expandedHeaderView { | |
86 | border-left: none; | |
87 | border-right: none; | |
88 | /* border-bottom: 1px solid #9999CC; */ | |
89 | min-width: 1px; | |
351107c9 | 90 | } |
91 | ||
b1eaa419 | 92 | .headerNameBox { |
93 | width: 7.7em; | |
351107c9 | 94 | } |
95 | ||
b1eaa419 | 96 | .headerName { |
02920d2b RK |
97 | margin: 0; |
98 | -moz-margin-end: .25em; | |
b1eaa419 | 99 | min-height: 16px; |
100 | font-weight: bold; | |
101 | text-align: right; | |
102 | } | |
103 | ||
104 | .headerValue { | |
02920d2b | 105 | margin: 0 0 3px; |
b1eaa419 | 106 | min-width: 50px; |
107 | white-space: normal; | |
dc8e1207 | 108 | color: inherit; |
109 | background-color: transparent; | |
b1eaa419 | 110 | } |
111 | ||
d84b9613 | 112 | .headerValueBox { |
02920d2b | 113 | margin: 0 0 3px; |
d84b9613 | 114 | } |
115 | ||
116 | .headerValueBox > .headerValue { | |
02920d2b | 117 | margin: 0; |
d84b9613 | 118 | } |
119 | ||
120 | .headerValueBox[singleline="true"] { | |
121 | overflow: hidden; | |
122 | } | |
123 | ||
124 | .headerValueBox[singleline="true"] > .headerValue { | |
125 | overflow: hidden; | |
126 | } | |
127 | ||
b1eaa419 | 128 | .subjectvalue { |
129 | font-weight: bold; | |
351107c9 | 130 | } |
131 | ||
020a0978 | 132 | .tagvalue { |
133 | margin-top: 0; | |
8caa872d | 134 | -moz-margin-start: 0; |
020a0978 | 135 | } |
136 | ||
ee6cb01c RK |
137 | /* ::::: msg header message ids ::::: */ |
138 | ||
139 | .messageIdDisplayButton { | |
f1d07a65 | 140 | -moz-border-radius: 3px; |
ee6cb01c RK |
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 { | |
8caa872d | 153 | -moz-padding-start: 2px; |
ee6cb01c RK |
154 | -moz-box-pack: end; |
155 | } | |
156 | ||
b1eaa419 | 157 | /* ::::: msg header email addresses ::::: */ |
158 | ||
159 | .emailDisplayButton { | |
160 | -moz-border-radius: 3px; | |
161 | color: #008484; | |
162 | cursor: pointer; | |
163 | margin: 0px; | |
3d6dd546 | 164 | padding: 0px 1px; |
b1eaa419 | 165 | } |
166 | ||
167 | .emailDisplayButton:hover { | |
168 | color: #000000; | |
169 | background-color: #FFCF00; | |
170 | } | |
171 | ||
edb23828 | 172 | .emailDisplayImage { |
8caa872d | 173 | -moz-padding-start: 2px; |
edb23828 | 174 | -moz-box-pack: end; |
175 | } | |
176 | ||
b1eaa419 | 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 { | |
02920d2b | 192 | margin: 2px .5em 0; |
b1eaa419 | 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 | } | |
351107c9 | 203 | |
204 | /* ::::: collapsed view styles ::::: */ | |
205 | ||
206 | #collapsedAttachmentBox { | |
207 | -moz-box-pack: center; | |
208 | } | |
209 | ||
ac1cdf20 | 210 | #collapsedsubjectValue { |
211 | background-color: transparent; | |
212 | } | |
213 | ||
b1eaa419 | 214 | #collapseddateValue { |
8caa872d | 215 | -moz-margin-start: .5em; |
b1eaa419 | 216 | text-align: right; |
ac1cdf20 | 217 | background-color: transparent; |
351107c9 | 218 | } |
219 | ||
3a121502 | 220 | #collapseddateValue > .textbox-input-box menupopup { |
221 | text-align: left; | |
222 | } | |
223 | ||
b1eaa419 | 224 | #collapsedfromBox { |
351107c9 | 225 | width: 18em; |
226 | } | |
227 | ||
b1eaa419 | 228 | #collapseddateBox { |
351107c9 | 229 | width: 12em; |
230 | } | |
231 | ||
3d6dd546 | 232 | .collapsedHeaderDisplayName { |
02920d2b RK |
233 | margin-top: 2px; |
234 | margin-bottom: 2px; | |
235 | -moz-margin-start: .55em; | |
236 | -moz-margin-end: .5em; | |
ac1cdf20 | 237 | min-height: 12px; |
3d6dd546 | 238 | font-weight: bold; |
b1eaa419 | 239 | } |
240 | ||
ac1cdf20 | 241 | .collapsedHeaderValue, |
242 | #collapsedfromValue { | |
3a121502 | 243 | background: transparent; |
ac1cdf20 | 244 | margin: 2px 0px !important; |
351107c9 | 245 | } |
246 | ||
ac1cdf20 | 247 | .collapsedAttachmentButton { |
b1eaa419 | 248 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif"); |
8caa872d | 249 | -moz-margin-end: .5em; |
ac1cdf20 | 250 | margin-top: 1px; |
351107c9 | 251 | } |