Commit | Line | Data |
---|---|---|
128000f4 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 | |
f6e0a33f | 3 | * |
128000f4 | 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/ | |
f6e0a33f | 8 | * |
128000f4 | 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. | |
f6e0a33f | 13 | * |
128000f4 | 14 | * The Original Code is mozilla.org code. |
15 | * | |
76983f4c | 16 | * The Initial Developer of the Original Code is |
128000f4 | 17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998 | |
19 | * the Initial Developer. All Rights Reserved. | |
f6e0a33f | 20 | * |
21 | * Contributor(s): | |
22 | * Scott MacGregor (mscott@netscape.com) | |
23 | * Joe Hewitt (hewitt@netscape.com) | |
128000f4 | 24 | * Robert Kaiser <KaiRo@KaiRo.at> |
25 | * | |
26 | * Alternatively, the contents of this file may be used under the terms of | |
76983f4c | 27 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
128000f4 | 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 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
f6e0a33f | 41 | |
42 | /* ===== messageHeader.css ============================================== | |
43 | == Styles for the header toolbars of a mail message. | |
44 | ======================================================================= */ | |
45 | ||
74d14f90 | 46 | /* ::::: msg header toolbars ::::: */ |
47 | ||
f6e0a33f | 48 | #collapsedHeaderView, |
74d14f90 | 49 | #expandedHeaderView { |
50 | min-width: 1px; | |
51 | } | |
52 | ||
53 | /* ::::: msg header buttons ::::: */ | |
f6e0a33f | 54 | |
55 | #expandedAttachmentBox { | |
56 | width: 20em; | |
57 | height: 0px; | |
74d14f90 | 58 | list-style-image: url("chrome://messenger/skin/icons/attach.gif"); |
f6e0a33f | 59 | } |
60 | ||
61 | #attachmentTree { | |
02920d2b RK |
62 | margin: 3px; |
63 | -moz-margin-start: 0; | |
f6e0a33f | 64 | height: 0px; |
65 | width: 20em; | |
66 | } | |
67 | ||
74d14f90 | 68 | #attachmentText { |
69 | font-weight: bold; | |
70 | } | |
71 | ||
72 | /* ::::: msg header captions ::::: */ | |
73 | ||
74 | #msgHeaderView { | |
75 | border-left: none; | |
76 | border-right: none; | |
77 | } | |
78 | ||
79 | #collapsedHeaderView, | |
80 | #expandedHeaderView { | |
81 | border-bottom: 1px solid #9999CC; | |
82 | min-width: 1px; | |
83 | } | |
84 | ||
85 | .headerNameBox { | |
86 | width: 7.7em; | |
87 | } | |
88 | ||
89 | .headerName { | |
02920d2b RK |
90 | margin: 0; |
91 | -moz-margin-end: .25em; | |
74d14f90 | 92 | min-height: 16px; |
93 | font-weight: bold; | |
94 | text-align: right; | |
95 | } | |
96 | ||
97 | .headerValue { | |
02920d2b | 98 | margin: 0 0 3px; |
74d14f90 | 99 | min-width: 50px; |
100 | white-space: normal; | |
8b2d3333 | 101 | color: inherit; |
102 | background-color: transparent; | |
74d14f90 | 103 | } |
104 | ||
d84b9613 | 105 | .headerValueBox { |
02920d2b | 106 | margin: 0 0 3px; |
d84b9613 | 107 | } |
108 | ||
109 | .headerValueBox > .headerValue { | |
02920d2b | 110 | margin: 0; |
d84b9613 | 111 | } |
112 | ||
113 | .headerValueBox[singleline="true"] { | |
114 | overflow: hidden; | |
115 | } | |
116 | ||
117 | .headerValueBox[singleline="true"] > .headerValue { | |
118 | overflow: hidden; | |
119 | } | |
120 | ||
74d14f90 | 121 | .subjectvalue { |
122 | font-weight: bold; | |
123 | } | |
124 | ||
2bea26d6 | 125 | .tagvalue { |
126 | margin-top: 0; | |
8caa872d | 127 | -moz-margin-start: 0; |
2bea26d6 | 128 | } |
129 | ||
4d12b027 RK |
130 | /* ::::: msg header message ids ::::: */ |
131 | ||
132 | .messageIdDisplayButton { | |
133 | color: #336699; | |
134 | cursor: pointer; | |
135 | margin: 0px; | |
136 | padding: 0px 1px; | |
137 | } | |
138 | ||
139 | .messageIdDisplayButton:hover { | |
140 | color: black; | |
141 | background-color: #336699; | |
142 | } | |
143 | ||
144 | .messageIdDisplayImage { | |
8caa872d | 145 | -moz-padding-start: 2px; |
4d12b027 RK |
146 | -moz-box-pack: end; |
147 | } | |
148 | ||
74d14f90 | 149 | /* ::::: msg header email addresses ::::: */ |
150 | ||
151 | .emailDisplayButton { | |
152 | color: #336699; | |
153 | cursor: pointer; | |
154 | margin: 0px; | |
76983f4c | 155 | padding: 0px 1px; |
74d14f90 | 156 | } |
157 | ||
158 | .emailDisplayButton:hover { | |
159 | color: black; | |
160 | background-color: #336699; | |
161 | } | |
162 | ||
1232bf8e | 163 | .emailDisplayImage { |
8caa872d | 164 | -moz-padding-start: 2px; |
1232bf8e | 165 | -moz-box-pack: end; |
166 | } | |
167 | ||
74d14f90 | 168 | /* ::::: email address twisty ::::: */ |
169 | ||
170 | .addresstwisty { | |
171 | margin: 1px; | |
172 | list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); | |
173 | } | |
174 | ||
175 | .addresstwisty[open] { | |
176 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); | |
f6e0a33f | 177 | } |
178 | ||
74d14f90 | 179 | /* ::::: view expand and collapse twisties ::::: */ |
180 | ||
181 | .expandHeaderViewButton, | |
182 | .collapsedHeaderViewButton { | |
02920d2b | 183 | margin: 2px .5em 0; |
74d14f90 | 184 | padding: 0px; |
f6e0a33f | 185 | } |
186 | ||
74d14f90 | 187 | .expandHeaderViewButton { |
188 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); | |
189 | } | |
190 | ||
191 | .collapsedHeaderViewButton { | |
192 | list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); | |
193 | } | |
f6e0a33f | 194 | |
195 | /* ::::: collapsed view styles ::::: */ | |
196 | ||
197 | #collapsedAttachmentBox { | |
198 | -moz-box-pack: center; | |
199 | } | |
200 | ||
74d14f90 | 201 | #collapseddateValue { |
202 | margin: 0 .5em; | |
203 | text-align: right; | |
f6e0a33f | 204 | } |
205 | ||
caf7fc11 | 206 | #collapseddateValue > .textbox-input-box menupopup { |
207 | text-align: left; | |
208 | } | |
209 | ||
74d14f90 | 210 | #collapsedfromBox { |
f6e0a33f | 211 | width: 18em; |
212 | } | |
213 | ||
74d14f90 | 214 | #collapseddateBox { |
f6e0a33f | 215 | width: 12em; |
216 | } | |
217 | ||
76983f4c | 218 | .collapsedHeaderDisplayName { |
02920d2b RK |
219 | margin-top: 2px; |
220 | margin-bottom: 2px; | |
221 | -moz-margin-start: .55em; | |
222 | -moz-margin-end: .5em; | |
f6e0a33f | 223 | min-height: 16px; |
74d14f90 | 224 | font-weight: bold; |
f6e0a33f | 225 | } |
226 | ||
74d14f90 | 227 | .collapsedHeaderValue { |
caf7fc11 | 228 | background: transparent; |
74d14f90 | 229 | margin: 0; |
f6e0a33f | 230 | } |
231 | ||
74d14f90 | 232 | .collapsedAttachmentButton { |
233 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif"); | |
8caa872d | 234 | -moz-margin-end: .5em; |
f6e0a33f | 235 | } |