Commit | Line | Data |
---|---|---|
9099c61d RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
351107c9 | 4 | |
5 | /* ===== messageHeader.css ============================================== | |
6 | == Styles for the header toolbars of a mail message. | |
7 | ======================================================================= */ | |
8 | ||
9 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */ | |
b1eaa419 | 10 | |
11 | /* ::::: msg header toolbars ::::: */ | |
351107c9 | 12 | |
13 | #collapsedHeaderView, | |
b1eaa419 | 14 | #expandedHeaderView { |
15 | min-width: 1px; | |
16 | background-color: #E7ADE7; | |
17 | color: #000000; | |
569543b3 | 18 | border-radius: 8px; |
b1eaa419 | 19 | margin-bottom: 3px; |
20 | } | |
21 | ||
22 | /* ::::: msg header buttons ::::: */ | |
351107c9 | 23 | |
24 | #expandedAttachmentBox { | |
25 | width: 20em; | |
26 | height: 0px; | |
b1eaa419 | 27 | list-style-image: url("chrome://messenger/skin/icons/attach.gif"); |
351107c9 | 28 | } |
29 | ||
b1eaa419 | 30 | #attachmentText { |
31 | font-weight: bold; | |
351107c9 | 32 | } |
33 | ||
b1eaa419 | 34 | /* ::::: msg header captions ::::: */ |
351107c9 | 35 | |
9545fc93 RK |
36 | #expandedHeaders { |
37 | padding-bottom: 2px; | |
b1eaa419 | 38 | } |
351107c9 | 39 | |
9545fc93 RK |
40 | mail-headerfield, |
41 | mail-toggle-headerfield, | |
42 | mail-emailheaderfield, | |
43 | mail-multi-emailHeaderField, | |
44 | mail-messageids-headerfield, | |
45 | mail-tagfield, | |
46 | mail-urlfield { | |
47 | padding-top: 2px; | |
48 | } | |
351107c9 | 49 | |
b1eaa419 | 50 | .headerNameBox { |
51 | width: 7.7em; | |
351107c9 | 52 | } |
53 | ||
b1eaa419 | 54 | .headerName { |
02920d2b RK |
55 | margin: 0; |
56 | -moz-margin-end: .25em; | |
b1eaa419 | 57 | font-weight: bold; |
58 | text-align: right; | |
59 | } | |
60 | ||
61 | .headerValue { | |
9545fc93 | 62 | margin: 0; |
b1eaa419 | 63 | min-width: 50px; |
64 | white-space: normal; | |
dc8e1207 | 65 | color: inherit; |
66 | background-color: transparent; | |
b1eaa419 | 67 | } |
68 | ||
d84b9613 | 69 | .headerValueBox[singleline="true"] { |
70 | overflow: hidden; | |
71 | } | |
72 | ||
73 | .headerValueBox[singleline="true"] > .headerValue { | |
74 | overflow: hidden; | |
75 | } | |
76 | ||
b1eaa419 | 77 | .subjectvalue { |
78 | font-weight: bold; | |
351107c9 | 79 | } |
80 | ||
020a0978 | 81 | .tagvalue { |
82 | margin-top: 0; | |
8caa872d | 83 | -moz-margin-start: 0; |
020a0978 | 84 | } |
85 | ||
ee6cb01c RK |
86 | /* ::::: msg header message ids ::::: */ |
87 | ||
88 | .messageIdDisplayButton { | |
569543b3 | 89 | border-radius: 3px; |
ee6cb01c RK |
90 | color: #008484; |
91 | cursor: pointer; | |
92 | margin: 0px; | |
93 | padding: 0px 1px; | |
94 | } | |
95 | ||
96 | .messageIdDisplayButton:hover { | |
97 | color: #000000; | |
98 | background-color: #FFCF00; | |
99 | } | |
100 | ||
101 | .messageIdDisplayImage { | |
8caa872d | 102 | -moz-padding-start: 2px; |
ee6cb01c RK |
103 | -moz-box-pack: end; |
104 | } | |
105 | ||
b1eaa419 | 106 | /* ::::: msg header email addresses ::::: */ |
107 | ||
108 | .emailDisplayButton { | |
569543b3 | 109 | border-radius: 3px; |
b1eaa419 | 110 | color: #008484; |
111 | cursor: pointer; | |
112 | margin: 0px; | |
3d6dd546 | 113 | padding: 0px 1px; |
b1eaa419 | 114 | } |
115 | ||
116 | .emailDisplayButton:hover { | |
117 | color: #000000; | |
118 | background-color: #FFCF00; | |
119 | } | |
120 | ||
edb23828 | 121 | .emailDisplayImage { |
8caa872d | 122 | -moz-padding-start: 2px; |
edb23828 | 123 | -moz-box-pack: end; |
124 | } | |
125 | ||
b1eaa419 | 126 | /* ::::: email address twisty ::::: */ |
127 | ||
128 | .addresstwisty { | |
129 | margin: 1px; | |
130 | list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); | |
131 | } | |
132 | ||
133 | .addresstwisty[open] { | |
134 | list-style-image: url("chrome://global/skin/tree/twisty-open-selected.gif"); | |
135 | } | |
136 | ||
137 | /* ::::: view expand and collapse twisties ::::: */ | |
138 | ||
139 | .expandHeaderViewButton, | |
140 | .collapsedHeaderViewButton { | |
02920d2b | 141 | margin: 2px .5em 0; |
b1eaa419 | 142 | padding: 0px; |
143 | } | |
144 | ||
145 | .expandHeaderViewButton { | |
146 | list-style-image: url("chrome://global/skin/tree/twisty-open-selected.gif"); | |
147 | } | |
148 | ||
149 | .collapsedHeaderViewButton { | |
150 | list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); | |
151 | } | |
351107c9 | 152 | |
153 | /* ::::: collapsed view styles ::::: */ | |
154 | ||
9545fc93 RK |
155 | #collapsedHeaderView { |
156 | padding-top: 2px; | |
157 | padding-bottom: 2px; | |
158 | } | |
159 | ||
351107c9 | 160 | #collapsedAttachmentBox { |
161 | -moz-box-pack: center; | |
162 | } | |
163 | ||
ac1cdf20 | 164 | #collapsedsubjectValue { |
165 | background-color: transparent; | |
166 | } | |
167 | ||
b1eaa419 | 168 | #collapseddateValue { |
8caa872d | 169 | -moz-margin-start: .5em; |
b1eaa419 | 170 | text-align: right; |
ac1cdf20 | 171 | background-color: transparent; |
351107c9 | 172 | } |
173 | ||
3a121502 | 174 | #collapseddateValue > .textbox-input-box menupopup { |
175 | text-align: left; | |
176 | } | |
177 | ||
b1eaa419 | 178 | #collapsedfromBox { |
351107c9 | 179 | width: 18em; |
180 | } | |
181 | ||
b1eaa419 | 182 | #collapseddateBox { |
351107c9 | 183 | width: 12em; |
184 | } | |
185 | ||
3d6dd546 | 186 | .collapsedHeaderDisplayName { |
9545fc93 | 187 | margin: 0; |
02920d2b RK |
188 | -moz-margin-start: .55em; |
189 | -moz-margin-end: .5em; | |
3d6dd546 | 190 | font-weight: bold; |
b1eaa419 | 191 | } |
192 | ||
ac1cdf20 | 193 | .collapsedHeaderValue, |
194 | #collapsedfromValue { | |
3a121502 | 195 | background: transparent; |
9545fc93 | 196 | padding: 0; |
351107c9 | 197 | } |
198 | ||
ac1cdf20 | 199 | .collapsedAttachmentButton { |
b1eaa419 | 200 | list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif"); |
9545fc93 | 201 | margin: 0; |
8caa872d | 202 | -moz-margin-end: .5em; |
351107c9 | 203 | } |