1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is mozilla.org code.
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.
22 * Robert Kaiser <KaiRo@KaiRo.at>
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.
36 * ***** END LICENSE BLOCK ***** */
38 /* ===== primaryToolbar.css =============================================
39 == Images for the Mail primary toolbar.
40 ======================================================================= */
42 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
44 /* ::::: primary toolbar buttons ::::: */
47 /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
48 list-style-image: url("chrome://messenger/skin/toolbar/getmsg.gif");
52 #button-getmsg:hover:active,
53 #button-getmsg[open="true"] {
54 list-style-image: url("chrome://messenger/skin/toolbar/getmsg-hover.gif");
57 #button-getmsg[disabled="true"] {
58 list-style-image: url("chrome://messenger/skin/toolbar/getmsg-disabled.gif") !important;
62 /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
63 list-style-image: url("chrome://messenger/skin/toolbar/newmsg.gif");
67 #button-newmsg:hover:active {
68 list-style-image: url("chrome://messenger/skin/toolbar/newmsg-hover.gif");
71 #button-newmsg[disabled="true"] {
72 list-style-image: url("chrome://messenger/skin/toolbar/newmsg-disabled.gif") !important;
76 /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
77 list-style-image: url("chrome://messenger/skin/toolbar/reply.gif");
81 #button-reply:hover:active {
82 list-style-image: url("chrome://messenger/skin/toolbar/reply-hover.gif");
85 #button-reply[disabled="true"] {
86 list-style-image: url("chrome://messenger/skin/toolbar/reply-disabled.gif") !important;
90 /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
91 list-style-image: url("chrome://messenger/skin/toolbar/replyall.gif");
94 #button-replyall:hover,
95 #button-replyall:hover:active {
96 list-style-image: url("chrome://messenger/skin/toolbar/replyall-hover.gif");
99 #button-replyall[disabled="true"] {
100 list-style-image: url("chrome://messenger/skin/toolbar/replyall-disabled.gif") !important;
104 /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
105 list-style-image: url("chrome://messenger/skin/toolbar/forward.gif");
108 #button-forward:hover,
109 #button-forward:hover:active {
110 list-style-image: url("chrome://messenger/skin/toolbar/forward-hover.gif");
113 #button-forward[disabled="true"] {
114 list-style-image: url("chrome://messenger/skin/toolbar/forward-disabled.gif") !important;
118 /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
119 list-style-image: url("chrome://messenger/skin/toolbar/file.gif");
123 #button-file:hover:active,
124 #button-file[open="true"] {
125 list-style-image: url("chrome://messenger/skin/toolbar/file-hover.gif");
128 #button-file[disabled="true"] {
129 list-style-image: url("chrome://messenger/skin/toolbar/file-disabled.gif") !important;
133 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
134 -moz-image-region: rect(42px 25px 63px 0px);
137 #button-goback:hover,
138 #button-goback:hover:active,
139 #button-goback[open="true"] {
140 -moz-image-region: rect(42px 75px 63px 50px);
143 #button-goback[disabled="true"] {
144 -moz-image-region: rect(42px 50px 63px 25px) !important;
148 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
149 -moz-image-region: rect(63px 25px 84px 0px);
152 #button-goforward:hover,
153 #button-goforward:hover:active,
154 #button-goforward[open="true"] {
155 -moz-image-region: rect(63px 75px 84px 50px);
158 #button-goforward[disabled="true"] {
159 -moz-image-region: rect(63px 50px 84px 25px) !important;
163 /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
164 list-style-image: url("chrome://messenger/skin/toolbar/next.gif");
168 #button-next:hover:active {
169 list-style-image: url("chrome://messenger/skin/toolbar/next-hover.gif");
172 #button-next[disabled="true"] {
173 list-style-image: url("chrome://messenger/skin/toolbar/next-disabled.gif") !important;
177 /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
178 list-style-image: url("chrome://global/skin/icons/trash.gif");
181 #button-delete:hover,
182 #button-delete:hover:active {
183 list-style-image: url("chrome://global/skin/icons/trash-hover.gif");
186 #button-delete[disabled="true"] {
187 list-style-image: url("chrome://global/skin/icons/trash-disabled.gif") !important;
191 /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
192 list-style-image: url("chrome://messenger/skin/toolbar/mark.gif");
196 #button-mark:hover:active,
197 #button-mark[open="true"] {
198 list-style-image: url("chrome://messenger/skin/toolbar/mark-hover.gif");
201 #button-mark[disabled="true"] {
202 list-style-image: url("chrome://messenger/skin/toolbar/mark-disabled.gif") !important;
206 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
207 -moz-image-region: rect(0px 25px 21px 0px);
211 #button-print:hover:active,
212 #button-print[open="true"] {
213 -moz-image-region: rect(0px 75px 21px 50px);
216 #button-print[disabled="true"] {
217 -moz-image-region: rect(0px 50px 21px 25px) !important;
221 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
222 -moz-image-region: rect(21px 25px 42px 0px);
226 #button-stop:hover:active {
227 -moz-image-region: rect(21px 75px 42px 50px);
230 #button-stop[disabled="true"] {
231 -moz-image-region: rect(21px 50px 42px 25px) !important;
235 /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
236 list-style-image: url("chrome://messenger/skin/toolbar/junk.gif");
240 #button-junk:hover:active,
241 #button-junk[open="true"] {
242 list-style-image: url("chrome://messenger/skin/toolbar/junk-hover.gif");
245 #button-junk[disabled="true"] {
246 list-style-image: url("chrome://messenger/skin/toolbar/junk-disabled.gif") !important;
249 /* ::::: small primary toolbar buttons ::::: */
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);
256 toolbar[iconsize="small"] > #button-getmsg[disabled="true"] {
257 -moz-image-region: rect(48px 32px 64px 16px) !important;
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);
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);
270 toolbar[iconsize="small"] > #button-newmsg[disabled="true"] {
271 -moz-image-region: rect(80px 32px 96px 16px) !important;
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);
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);
284 toolbar[iconsize="small"] > #button-reply[disabled="true"] {
285 -moz-image-region: rect(112px 32px 128px 16px) !important;
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);
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);
298 toolbar[iconsize="small"] > #button-replyall[disabled="true"] {
299 -moz-image-region: rect(128px 32px 144px 16px) !important;
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);
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);
312 toolbar[iconsize="small"] > #button-forward[disabled="true"] {
313 -moz-image-region: rect(32px 32px 48px 16px) !important;
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);
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);
326 toolbar[iconsize="small"] > #button-file[disabled="true"] {
327 -moz-image-region: rect(16px 32px 32px 16px) !important;
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);
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);
340 toolbar[iconsize="small"] > #button-goback[disabled="true"] {
341 -moz-image-region: rect(32px 32px 48px 16px) !important;
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);
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);
354 toolbar[iconsize="small"] > #button-goforward[disabled="true"] {
355 -moz-image-region: rect(48px 32px 64px 16px) !important;
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);
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);
368 toolbar[iconsize="small"] > #button-next[disabled="true"] {
369 -moz-image-region: rect(96px 32px 112px 16px) !important;
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);
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);
382 toolbar[iconsize="small"] > #button-delete[disabled="true"] {
383 -moz-image-region: rect(0 32px 16px 16px) !important;
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);
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);
396 toolbar[iconsize="small"] > #button-mark[disabled="true"] {
397 -moz-image-region: rect(64px 32px 80px 16px) !important;
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);
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);
410 toolbar[iconsize="small"] > #button-replyall[disabled="true"] {
411 -moz-image-region: rect(192px 32px 208px 16px) !important;
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);
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);
424 toolbar[iconsize="small"] > #button-print[disabled="true"] {
425 -moz-image-region: rect(0 32px 16px 16px) !important;
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);
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);
438 toolbar[iconsize="small"] > #button-stop[disabled="true"] {
439 -moz-image-region: rect(16px 32px 32px 16px) !important;
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);
447 /* ::::: message notification bar style rules ::::: */
449 .msgNotificationBar {
450 -moz-border-radius: 7px;
453 background-color: #FF9F00;
457 .msgNotificationBarText {
462 list-style-image: url("chrome://messenger/skin/toolbar/junk-hover.gif");
467 list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
470 #remoteContentImage {
471 list-style-image: url("chrome://messenger/skin/toolbar/remote-blocked.png");
475 #allowRemoteContentForAuthorDesc {