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