update to suite default status of 2009-01-30: bug 474807 - replace margin/padding...
[themes.git] / LCARStrek / messenger / primaryToolbar.css
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  *
16  * The Initial Developer of the Original Code is
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  *   Robert Kaiser <KaiRo@KaiRo.at>
23  *
24  * Alternatively, the contents of this file may be used under the terms of
25  * either the GNU General Public License Version 2 or later (the "GPL"), or
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.
35  *
36  * ***** END LICENSE BLOCK ***** */
37
38 /* ===== primaryToolbar.css =============================================
39   == Images for the Mail primary toolbar.
40   ======================================================================= */
41
42 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
43
44 /* ::::: primary toolbar buttons ::::: */
45
46 #button-getmsg {
47   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
48   -moz-image-region: rect(63px 25px 84px 0px);
49 }
50
51 #button-getmsg[disabled="true"] {
52   -moz-image-region: rect(63px 50px 84px 25px);
53 }
54
55 #button-getmsg:not([disabled="true"]):hover,
56 #button-getmsg:not([disabled="true"]):hover:active,
57 #button-getmsg[open="true"] {
58   -moz-image-region: rect(63px 75px 84px 50px);
59 }
60
61 #button-newmsg {
62   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
63   -moz-image-region: rect(105px 25px 126px 0px);
64 }
65
66 #button-newmsg[disabled="true"] {
67   -moz-image-region: rect(105px 50px 126px 25px);
68 }
69
70 #button-newmsg:not([disabled="true"]):hover,
71 #button-newmsg:not([disabled="true"]):hover:active {
72   -moz-image-region: rect(105px 75px 126px 50px);
73 }
74
75 #button-reply {
76   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
77   -moz-image-region: rect(147px 25px 168px 0px);
78 }
79
80 #button-reply[disabled="true"] {
81   -moz-image-region: rect(147px 50px 168px 25px);
82 }
83
84 #button-reply:not([disabled="true"]):hover,
85 #button-reply:not([disabled="true"]):hover:active,
86 #button-reply[open="true"] {
87   -moz-image-region: rect(147px 75px 168px 50px);
88 }
89
90 #button-replyall {
91   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
92   -moz-image-region: rect(168px 25px 189px 0px);
93 }
94
95 #button-replyall[disabled="true"] {
96   -moz-image-region: rect(168px 50px 189px 25px);
97 }
98
99 #button-replyall:not([disabled="true"]):hover,
100 #button-replyall:not([disabled="true"]):hover:active,
101 #button-replyall[open="true"] {
102   -moz-image-region: rect(168px 75px 189px 50px);
103 }
104
105 #button-forward {
106   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
107   -moz-image-region: rect(42px 25px 63px 0px);
108 }
109
110 #button-forward[disabled="true"] {
111   -moz-image-region: rect(42px 50px 63px 25px);
112 }
113
114 #button-forward:not([disabled="true"]):hover,
115 #button-forward:not([disabled="true"]):hover:active,
116 #button-forward[open="true"] {
117   -moz-image-region: rect(42px 75px 63px 50px);
118 }
119
120 #button-file {
121   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
122   -moz-image-region: rect(21px 25px 42px 0px);
123 }
124
125 #button-file[disabled="true"] {
126   -moz-image-region: rect(21px 50px 42px 25px);
127 }
128
129 #button-file:not([disabled="true"]):hover,
130 #button-file:not([disabled="true"]):hover:active,
131 #button-file[open="true"] {
132   -moz-image-region: rect(21px 75px 42px 50px);
133 }
134
135 #button-goback {
136   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
137   -moz-image-region: rect(42px 25px 63px 0px);
138 }
139
140 #button-goback:not([disabled="true"]):hover,
141 #button-goback:not([disabled="true"]):hover:active,
142 #button-goback[open="true"] {
143   -moz-image-region: rect(42px 75px 63px 50px);
144 }
145
146 #button-goback[disabled="true"] {
147   -moz-image-region: rect(42px 50px 63px 25px);
148 }
149
150 #button-goforward {
151   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
152   -moz-image-region: rect(63px 25px 84px 0px);
153 }
154
155 #button-goforward:not([disabled="true"]):hover,
156 #button-goforward:not([disabled="true"]):hover:active,
157 #button-goforward[open="true"] {
158   -moz-image-region: rect(63px 75px 84px 50px);
159 }
160
161 #button-goforward[disabled="true"] {
162   -moz-image-region: rect(63px 50px 84px 25px);
163 }
164
165 #button-next {
166   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
167   -moz-image-region: rect(126px 25px 147px 0px);
168 }
169
170 #button-next[disabled="true"] {
171   -moz-image-region: rect(126px 50px 147px 25px);
172 }
173
174 #button-next:not([disabled="true"]):hover,
175 #button-next:not([disabled="true"]):hover:active,
176 #button-next[open="true"] {
177   -moz-image-region: rect(126px 75px 147px 50px);
178 }
179
180 #button-delete {
181   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
182   -moz-image-region: rect(0px 25px 21px 0px);
183 }
184
185 #button-delete[disabled="true"] {
186   -moz-image-region: rect(0px 50px 21px 25px);
187 }
188
189 #button-delete:not([disabled="true"]):hover,
190 #button-delete:not([disabled="true"]):hover:active {
191   -moz-image-region: rect(0px 75px 21px 50px);
192 }
193
194 #button-mark {
195   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
196   -moz-image-region: rect(84px 25px 105px 0px);
197 }
198
199 #button-mark[disabled="true"] {
200   -moz-image-region: rect(84px 50px 105px 25px);
201 }
202
203 #button-mark:not([disabled="true"]):hover,
204 #button-mark:not([disabled="true"]):hover:active,
205 #button-mark[open="true"] {
206   -moz-image-region: rect(84px 75px 105px 50px);
207 }
208
209 #button-print {
210   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
211   -moz-image-region: rect(0px 25px 21px 0px);
212 }
213
214 #button-print:not([disabled="true"]):hover,
215 #button-print:not([disabled="true"]):hover:active,
216 #button-print[open="true"] {
217   -moz-image-region: rect(0px 75px 21px 50px);
218 }
219
220 #button-print[disabled="true"] {
221   -moz-image-region: rect(0px 50px 21px 25px);
222 }
223
224 #button-stop {
225   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
226   -moz-image-region: rect(21px 25px 42px 0px);
227 }
228
229 #button-stop:not([disabled="true"]):hover,
230 #button-stop:not([disabled="true"]):hover:active {
231   -moz-image-region: rect(21px 75px 42px 50px);
232 }
233
234 #button-stop[disabled="true"] {
235   -moz-image-region: rect(21px 50px 42px 25px);
236 }
237
238 #button-junk {
239   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
240   -moz-image-region: rect(252px 25px 273px 0px);
241 }
242
243 #button-junk[disabled="true"] {
244   -moz-image-region: rect(252px 50px 273px 25px);
245 }
246
247 #button-junk:not([disabled="true"]):hover,
248 #button-junk:not([disabled="true"]):hover:active {
249   -moz-image-region: rect(252px 75px 273px 50px);
250 }
251
252 /* ::::: small primary toolbar buttons ::::: */
253
254 toolbar[iconsize="small"] > #button-getmsg {
255   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
256   -moz-image-region: rect(48px 16px 64px 0);
257 }
258
259 toolbar[iconsize="small"] > #button-getmsg[disabled="true"] {
260   -moz-image-region: rect(48px 32px 64px 16px);
261 }
262
263 toolbar[iconsize="small"] > #button-getmsg:not([disabled="true"]):hover,
264 toolbar[iconsize="small"] > #button-getmsg:not([disabled="true"]):hover:active,
265 toolbar[iconsize="small"] > #button-getmsg[open="true"] {
266   -moz-image-region: rect(48px 48px 64px 32px);
267 }
268
269 toolbar[iconsize="small"] > #button-newmsg {
270   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
271   -moz-image-region: rect(80px 16px 96px 0);
272 }
273
274 toolbar[iconsize="small"] > #button-newmsg[disabled="true"] {
275   -moz-image-region: rect(80px 32px 96px 16px);
276 }
277
278 toolbar[iconsize="small"] > #button-newmsg:not([disabled="true"]):hover,
279 toolbar[iconsize="small"] > #button-newmsg:not([disabled="true"]):hover:active {
280   -moz-image-region: rect(80px 48px 96px 32px);
281 }
282
283 toolbar[iconsize="small"] > #button-reply {
284   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
285   -moz-image-region: rect(112px 16px 128px 0);
286 }
287
288 toolbar[iconsize="small"] > #button-reply[disabled="true"] {
289   -moz-image-region: rect(112px 32px 128px 16px);
290 }
291
292 toolbar[iconsize="small"] > #button-reply:not([disabled="true"]):hover,
293 toolbar[iconsize="small"] > #button-reply:not([disabled="true"]):hover:active,
294 toolbar[iconsize="small"] > #button-reply[open="true"] {
295   -moz-image-region: rect(112px 48px 128px 32px);
296 }
297
298 toolbar[iconsize="small"] > #button-replyall {
299   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
300   -moz-image-region: rect(128px 16px 144px 0);
301 }
302
303 toolbar[iconsize="small"] > #button-replyall[disabled="true"] {
304   -moz-image-region: rect(128px 32px 144px 16px);
305 }
306
307 toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover,
308 toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover:active,
309 toolbar[iconsize="small"] > #button-replyall[open="true"] {
310   -moz-image-region: rect(128px 48px 144px 32px);
311 }
312
313 toolbar[iconsize="small"] > #button-forward {
314   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
315   -moz-image-region: rect(32px 16px 48px 0);
316 }
317
318 toolbar[iconsize="small"] > #button-forward[disabled="true"] {
319   -moz-image-region: rect(32px 32px 48px 16px);
320 }
321
322 toolbar[iconsize="small"] > #button-forward:not([disabled="true"]):hover,
323 toolbar[iconsize="small"] > #button-forward:not([disabled="true"]):hover:active,
324 toolbar[iconsize="small"] > #button-forward[open="true"] {
325   -moz-image-region: rect(32px 48px 48px 32px);
326 }
327
328 toolbar[iconsize="small"] > #button-file {
329   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
330   -moz-image-region: rect(16px 16px 32px 0);
331 }
332
333 toolbar[iconsize="small"] > #button-file[disabled="true"] {
334   -moz-image-region: rect(16px 32px 32px 16px);
335 }
336
337 toolbar[iconsize="small"] > #button-file:not([disabled="true"]):hover,
338 toolbar[iconsize="small"] > #button-file:not([disabled="true"]):hover:active,
339 toolbar[iconsize="small"] > #button-file[open="true"] {
340   -moz-image-region: rect(16px 48px 32px 32px);
341 }
342
343 toolbar[iconsize="small"] > #button-goback {
344   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
345   -moz-image-region: rect(32px 16px 48px 0);
346 }
347
348 toolbar[iconsize="small"] > #button-goback[disabled="true"] {
349   -moz-image-region: rect(32px 32px 48px 16px);
350 }
351
352 toolbar[iconsize="small"] > #button-goback:not([disabled="true"]):hover,
353 toolbar[iconsize="small"] > #button-goback:not([disabled="true"]):hover:active,
354 toolbar[iconsize="small"] > #button-goback[open="true"] {
355   -moz-image-region: rect(32px 48px 48px 32px);
356 }
357
358 toolbar[iconsize="small"] > #button-goforward {
359   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
360   -moz-image-region: rect(48px 16px 64px 0);
361 }
362
363 toolbar[iconsize="small"] > #button-goforward[disabled="true"] {
364   -moz-image-region: rect(48px 32px 64px 16px);
365 }
366
367 toolbar[iconsize="small"] > #button-goforward:not([disabled="true"]):hover,
368 toolbar[iconsize="small"] > #button-goforward:not([disabled="true"]):hover:active,
369 toolbar[iconsize="small"] > #button-goforward[open="true"] {
370   -moz-image-region: rect(48px 48px 64px 32px);
371 }
372
373 toolbar[iconsize="small"] > #button-next {
374   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
375   -moz-image-region: rect(96px 16px 112px 0);
376 }
377
378 toolbar[iconsize="small"] > #button-next[disabled="true"] {
379   -moz-image-region: rect(96px 32px 112px 16px);
380 }
381
382 toolbar[iconsize="small"] > #button-next:not([disabled="true"]):hover,
383 toolbar[iconsize="small"] > #button-next:not([disabled="true"]):hover:active,
384 toolbar[iconsize="small"] > #button-next[open="true"] {
385   -moz-image-region: rect(96px 48px 112px 32px);
386 }
387
388 toolbar[iconsize="small"] > #button-delete {
389   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
390   -moz-image-region: rect(0 16px 16px 0);
391 }
392
393 toolbar[iconsize="small"] > #button-delete[disabled="true"] {
394   -moz-image-region: rect(0 32px 16px 16px);
395 }
396
397 toolbar[iconsize="small"] > #button-delete:not([disabled="true"]):hover,
398 toolbar[iconsize="small"] > #button-delete:not([disabled="true"]):hover:active {
399   -moz-image-region: rect(0 48px 16px 32px);
400 }
401
402 toolbar[iconsize="small"] > #button-mark {
403   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
404   -moz-image-region: rect(64px 16px 80px 0);
405 }
406
407 toolbar[iconsize="small"] > #button-mark[disabled="true"] {
408   -moz-image-region: rect(64px 32px 80px 16px);
409 }
410
411 toolbar[iconsize="small"] > #button-mark:not([disabled="true"]):hover,
412 toolbar[iconsize="small"] > #button-mark:not([disabled="true"]):hover:active,
413 toolbar[iconsize="small"] > #button-mark[open="true"] {
414   -moz-image-region: rect(64px 48px 80px 32px);
415 }
416
417 toolbar[iconsize="small"] > #button-junk {
418   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
419   -moz-image-region: rect(192px 16px 208px 0);
420 }
421
422 toolbar[iconsize="small"] > #button-junk[disabled="true"] {
423   -moz-image-region: rect(192px 32px 208px 16px);
424 }
425
426 toolbar[iconsize="small"] > #button-junk:not([disabled="true"]):hover,
427 toolbar[iconsize="small"] > #button-junk:not([disabled="true"]):hover:active {
428   -moz-image-region: rect(192px 48px 208px 32px);
429 }
430
431 toolbar[iconsize="small"] > #button-print {
432   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
433   -moz-image-region: rect(0 16px 16px 0);
434 }
435
436 toolbar[iconsize="small"] > #button-print[disabled="true"] {
437   -moz-image-region: rect(0 32px 16px 16px);
438 }
439
440 toolbar[iconsize="small"] > #button-print:not([disabled="true"]):hover,
441 toolbar[iconsize="small"] > #button-print:not([disabled="true"]):hover:active {
442   -moz-image-region: rect(0 48px 16px 32px);
443 }
444
445 toolbar[iconsize="small"] > #button-stop {
446   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
447   -moz-image-region: rect(16px 16px 32px 0);
448 }
449
450 toolbar[iconsize="small"] > #button-stop[disabled="true"] {
451   -moz-image-region: rect(16px 32px 32px 16px);
452 }
453
454 toolbar[iconsize="small"] > #button-stop:not([disabled="true"]):hover,
455 toolbar[iconsize="small"] > #button-stop:not([disabled="true"]):hover:active {
456   -moz-image-region: rect(16px 48px 32px 32px);
457 }
458
459 /* ::::: message notification bar style rules ::::: */
460
461 .msgNotificationBar {
462   -moz-border-radius: 7px;
463   padding: 3px;
464   margin-bottom: 3px;
465   background-color: #FF9F00;
466   color: #000000;
467 }
468
469 .msgNotificationBarText {
470   font-weight: bold;
471 }
472
473 #junkBarImage {
474   list-style-image: url("chrome://messenger/skin/toolbar/junk-hover.gif");
475 }
476
477 #junkIcon {
478   -moz-margin-start: 0.5ex;
479   list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
480 }
481
482 #remoteContentImage {
483   list-style-image: url("chrome://messenger/skin/toolbar/remote-blocked.png");
484   padding: 3px;
485 }
486
487 #allowRemoteContentForAuthorDesc {
488   -moz-padding-start: 10px;
489 }