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