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 | * | |
4a575987 | 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): | |
128000f4 | 22 | * Robert Kaiser <KaiRo@KaiRo.at> |
23 | * | |
24 | * Alternatively, the contents of this file may be used under the terms of | |
4a575987 | 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
128000f4 | 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
27 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
28 | * of those above. If you wish to allow use of your version of this file only | |
29 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
30 | * use your version of this file under the terms of the NPL, indicate your | |
31 | * decision by deleting the provisions above and replace them with the notice | |
32 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
33 | * the provisions above, a recipient may use your version of this file under | |
34 | * the terms of any one of the NPL, the GPL or the LGPL. | |
f6e0a33f | 35 | * |
128000f4 | 36 | * ***** END LICENSE BLOCK ***** */ |
37 | ||
38 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
f6e0a33f | 39 | |
40 | /* ===== primaryToolbar.css ============================================= | |
41 | == Images for the Mail primary toolbar. | |
42 | ======================================================================= */ | |
43 | ||
f6e0a33f | 44 | /* ::::: primary toolbar buttons ::::: */ |
45 | ||
74d14f90 | 46 | #button-getmsg { |
d61a45b2 RK |
47 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
48 | -moz-image-region: rect(63px 25px 84px 0px); | |
74d14f90 | 49 | } |
50 | ||
51 | #button-getmsg[disabled="true"] { | |
d61a45b2 | 52 | -moz-image-region: rect(63px 50px 84px 25px); |
74d14f90 | 53 | } |
54 | ||
55 | #button-newmsg { | |
d61a45b2 RK |
56 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
57 | -moz-image-region: rect(105px 25px 126px 0px); | |
74d14f90 | 58 | } |
59 | ||
60 | #button-newmsg[disabled="true"] { | |
d61a45b2 | 61 | -moz-image-region: rect(105px 50px 126px 25px); |
74d14f90 | 62 | } |
63 | ||
64 | #button-reply { | |
d61a45b2 RK |
65 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
66 | -moz-image-region: rect(147px 25px 168px 0px); | |
74d14f90 | 67 | } |
68 | ||
69 | #button-reply[disabled="true"] { | |
d61a45b2 | 70 | -moz-image-region: rect(147px 50px 168px 25px); |
74d14f90 | 71 | } |
72 | ||
73 | #button-replyall { | |
d61a45b2 RK |
74 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
75 | -moz-image-region: rect(168px 25px 189px 0px); | |
74d14f90 | 76 | } |
77 | ||
78 | #button-replyall[disabled="true"] { | |
d61a45b2 | 79 | -moz-image-region: rect(168px 50px 189px 25px); |
74d14f90 | 80 | } |
81 | ||
82 | #button-forward { | |
d61a45b2 RK |
83 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
84 | -moz-image-region: rect(42px 25px 63px 0px); | |
74d14f90 | 85 | } |
86 | ||
87 | #button-forward[disabled="true"] { | |
d61a45b2 | 88 | -moz-image-region: rect(42px 50px 63px 25px); |
74d14f90 | 89 | } |
90 | ||
91 | #button-file { | |
d61a45b2 RK |
92 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
93 | -moz-image-region: rect(21px 25px 42px 0px); | |
74d14f90 | 94 | } |
95 | ||
96 | #button-file[disabled="true"] { | |
d61a45b2 | 97 | -moz-image-region: rect(21px 50px 42px 25px); |
74d14f90 | 98 | } |
99 | ||
ecb2fda9 RK |
100 | #button-goback { |
101 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
102 | -moz-image-region: rect(42px 25px 63px 0px); | |
103 | } | |
104 | ||
105 | #button-goback[disabled="true"] { | |
d61a45b2 | 106 | -moz-image-region: rect(42px 50px 63px 25px); |
ecb2fda9 RK |
107 | } |
108 | ||
109 | #button-goforward { | |
110 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
111 | -moz-image-region: rect(63px 25px 84px 0px); | |
112 | } | |
113 | ||
114 | #button-goforward[disabled="true"] { | |
d61a45b2 | 115 | -moz-image-region: rect(63px 50px 84px 25px); |
ecb2fda9 RK |
116 | } |
117 | ||
74d14f90 | 118 | #button-next { |
d61a45b2 RK |
119 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
120 | -moz-image-region: rect(126px 25px 147px 0px); | |
74d14f90 | 121 | } |
122 | ||
123 | #button-next[disabled="true"] { | |
d61a45b2 | 124 | -moz-image-region: rect(126px 50px 147px 25px); |
74d14f90 | 125 | } |
126 | ||
127 | #button-delete { | |
d61a45b2 RK |
128 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
129 | -moz-image-region: rect(0px 25px 21px 0px); | |
74d14f90 | 130 | } |
131 | ||
132 | #button-delete[disabled="true"] { | |
d61a45b2 | 133 | -moz-image-region: rect(0px 50px 21px 25px); |
74d14f90 | 134 | } |
f6e0a33f | 135 | |
f6e0a33f | 136 | #button-mark { |
d61a45b2 RK |
137 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
138 | -moz-image-region: rect(84px 25px 105px 0px); | |
74d14f90 | 139 | } |
140 | ||
141 | #button-mark[disabled="true"] { | |
d61a45b2 | 142 | -moz-image-region: rect(84px 50px 105px 25px); |
74d14f90 | 143 | } |
144 | ||
145 | #button-print { | |
ecb2fda9 RK |
146 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
147 | -moz-image-region: rect(0px 25px 21px 0px); | |
74d14f90 | 148 | } |
128000f4 | 149 | |
74d14f90 | 150 | #button-print[disabled="true"] { |
d61a45b2 | 151 | -moz-image-region: rect(0px 50px 21px 25px); |
74d14f90 | 152 | } |
153 | ||
154 | #button-stop { | |
ecb2fda9 RK |
155 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
156 | -moz-image-region: rect(21px 25px 42px 0px); | |
74d14f90 | 157 | } |
158 | ||
159 | #button-stop[disabled="true"] { | |
d61a45b2 | 160 | -moz-image-region: rect(21px 50px 42px 25px); |
74d14f90 | 161 | } |
07b3f504 | 162 | |
163 | #button-junk { | |
d61a45b2 RK |
164 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
165 | -moz-image-region: rect(252px 25px 273px 0px); | |
07b3f504 | 166 | } |
167 | ||
168 | #button-junk[disabled="true"] { | |
d61a45b2 RK |
169 | -moz-image-region: rect(252px 50px 273px 25px); |
170 | } | |
171 | ||
172 | /* ::::: small primary toolbar buttons ::::: */ | |
173 | ||
174 | toolbar[iconsize="small"] > #button-getmsg { | |
175 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
176 | -moz-image-region: rect(48px 16px 64px 0); | |
177 | } | |
178 | ||
179 | toolbar[iconsize="small"] > #button-getmsg[disabled="true"] { | |
180 | -moz-image-region: rect(48px 32px 64px 16px); | |
181 | } | |
182 | ||
183 | toolbar[iconsize="small"] > #button-newmsg { | |
184 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
185 | -moz-image-region: rect(80px 16px 96px 0); | |
186 | } | |
187 | ||
188 | toolbar[iconsize="small"] > #button-newmsg[disabled="true"] { | |
189 | -moz-image-region: rect(80px 32px 96px 16px); | |
190 | } | |
191 | ||
192 | toolbar[iconsize="small"] > #button-reply { | |
193 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
194 | -moz-image-region: rect(112px 16px 128px 0); | |
195 | } | |
196 | ||
197 | toolbar[iconsize="small"] > #button-reply[disabled="true"] { | |
198 | -moz-image-region: rect(112px 32px 128px 16px); | |
199 | } | |
200 | ||
201 | toolbar[iconsize="small"] > #button-replyall { | |
202 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
203 | -moz-image-region: rect(128px 16px 144px 0); | |
204 | } | |
205 | ||
206 | toolbar[iconsize="small"] > #button-replyall[disabled="true"] { | |
207 | -moz-image-region: rect(128px 32px 144px 16px); | |
208 | } | |
209 | ||
210 | toolbar[iconsize="small"] > #button-forward { | |
211 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
212 | -moz-image-region: rect(32px 16px 48px 0); | |
213 | } | |
214 | ||
215 | toolbar[iconsize="small"] > #button-forward[disabled="true"] { | |
216 | -moz-image-region: rect(32px 32px 48px 16px); | |
217 | } | |
218 | ||
219 | toolbar[iconsize="small"] > #button-file { | |
220 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
221 | -moz-image-region: rect(16px 16px 32px 0); | |
222 | } | |
223 | ||
224 | toolbar[iconsize="small"] > #button-file[disabled="true"] { | |
225 | -moz-image-region: rect(16px 32px 32px 16px); | |
226 | } | |
227 | ||
228 | toolbar[iconsize="small"] > #button-goback { | |
229 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
230 | -moz-image-region: rect(32px 16px 48px 0); | |
231 | } | |
232 | ||
233 | toolbar[iconsize="small"] > #button-goback[disabled="true"] { | |
234 | -moz-image-region: rect(32px 32px 48px 16px); | |
235 | } | |
236 | ||
237 | toolbar[iconsize="small"] > #button-goforward { | |
238 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
239 | -moz-image-region: rect(48px 16px 64px 0); | |
240 | } | |
241 | ||
242 | toolbar[iconsize="small"] > #button-goforward[disabled="true"] { | |
243 | -moz-image-region: rect(48px 32px 64px 16px); | |
244 | } | |
245 | ||
246 | toolbar[iconsize="small"] > #button-next { | |
247 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
248 | -moz-image-region: rect(96px 16px 112px 0); | |
249 | } | |
250 | ||
251 | toolbar[iconsize="small"] > #button-next[disabled="true"] { | |
252 | -moz-image-region: rect(96px 32px 112px 16px); | |
253 | } | |
254 | ||
255 | toolbar[iconsize="small"] > #button-delete { | |
256 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
257 | -moz-image-region: rect(0 16px 16px 0); | |
258 | } | |
259 | ||
260 | toolbar[iconsize="small"] > #button-delete[disabled="true"] { | |
261 | -moz-image-region: rect(0 32px 16px 16px); | |
262 | } | |
263 | ||
264 | toolbar[iconsize="small"] > #button-mark { | |
265 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
266 | -moz-image-region: rect(64px 16px 80px 0); | |
267 | } | |
268 | ||
269 | toolbar[iconsize="small"] > #button-mark[disabled="true"] { | |
270 | -moz-image-region: rect(64px 32px 80px 16px); | |
271 | } | |
272 | ||
273 | toolbar[iconsize="small"] > #button-junk { | |
274 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
275 | -moz-image-region: rect(192px 16px 208px 0); | |
276 | } | |
277 | ||
278 | toolbar[iconsize="small"] > #button-junk[disabled="true"] { | |
279 | -moz-image-region: rect(192px 32px 208px 16px); | |
280 | } | |
281 | ||
282 | toolbar[iconsize="small"] > #button-print { | |
283 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
284 | -moz-image-region: rect(0 16px 16px 0); | |
285 | } | |
286 | ||
287 | toolbar[iconsize="small"] > #button-print[disabled="true"] { | |
288 | -moz-image-region: rect(0 32px 16px 16px); | |
289 | } | |
290 | ||
291 | toolbar[iconsize="small"] > #button-stop { | |
292 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
293 | -moz-image-region: rect(16px 16px 32px 0); | |
294 | } | |
295 | ||
296 | toolbar[iconsize="small"] > #button-stop[disabled="true"] { | |
297 | -moz-image-region: rect(16px 32px 32px 16px); | |
b618d1fd | 298 | } |
299 | ||
4a575987 | 300 | /* ::::: message notification bar style rules ::::: */ |
301 | ||
302 | .msgNotificationBar { | |
303 | /* border-bottom: 1px solid #669999; */ | |
304 | background-color: #9999CC; | |
305 | color: black; | |
b618d1fd | 306 | } |
307 | ||
4a575987 | 308 | .msgNotificationBarText { |
b618d1fd | 309 | font-weight: bold; |
310 | } | |
311 | ||
4a575987 | 312 | #junkBarImage { |
313 | list-style-image: url("chrome://messenger/skin/toolbar/junk.gif"); | |
b618d1fd | 314 | } |
315 | ||
316 | #junkIcon { | |
136d0f43 | 317 | margin-left: 0.5ex; |
b618d1fd | 318 | list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif"); |
319 | } | |
4a575987 | 320 | |
321 | #remoteContentImage { | |
322 | list-style-image: url("chrome://messenger/skin/toolbar/remote-blocked.png"); | |
323 | padding: 3px; | |
324 | } | |
1697de53 | 325 | |
326 | #allowRemoteContentForAuthorDesc { | |
327 | padding-left: 10px; | |
328 | } |