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