/* ::::: primary toolbar buttons ::::: */
#button-send {
- list-style-image: url("chrome://messenger/skin/messengercompose/send.gif");
-}
-
-#button-send:hover,
-#button-send:hover:active {
- list-style-image: url("chrome://messenger/skin/messengercompose/send-hover.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(231px 25px 252px 0px);
}
#button-send[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/messengercompose/send-disabled.gif") !important;
+ -moz-image-region: rect(231px 50px 252px 25px);
}
-#button-send[offline="true"] {
- list-style-image: url("chrome://messenger/skin/messengercompose/sendlater.gif");
+#button-send:not([disabled="true"]):hover,
+#button-send:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(231px 75px 252px 50px);
}
-#button-send[offline="true"]:hover,
-#button-send[offline="true"]:hover:active {
- list-style-image: url("chrome://messenger/skin/messengercompose/sendlater-hover.gif");
+#button-send[offline="true"] {
+ -moz-image-region: rect(273px 25px 294px 0px);
}
#button-send[offline="true"][disabled="true"] {
- list-style-image: url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif") !important;
+ -moz-image-region: rect(273px 50px 294px 25px);
}
-#button-address {
- list-style-image: url("chrome://messenger/skin/messengercompose/address.gif");
+#button-send[offline="true"]:not([disabled="true"]):hover,
+#button-send[offline="true"]:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(273px 75px 294px 50px);
}
-#button-address:hover,
-#button-address:hover:active {
- list-style-image: url("chrome://messenger/skin/messengercompose/address-hover.gif");
+#button-address {
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(189px 25px 210px 0px);
}
#button-address[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/messengercompose/address-disabled.gif") !important;
+ -moz-image-region: rect(189px 50px 210px 25px);
}
-#button-attach {
- list-style-image: url("chrome://messenger/skin/messengercompose/attach.gif");
+#button-address:not([disabled="true"]):hover,
+#button-address:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(189px 75px 210px 50px);
}
-#button-attach:hover,
-#button-attach:hover:active {
- list-style-image: url("chrome://messenger/skin/messengercompose/attach-hover.gif");
+#button-attach {
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(210px 25px 231px 0px);
}
#button-attach[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/messengercompose/attach-disabled.gif") !important;
-}
-
-#button-quote {
- list-style-image: url("chrome://messenger/skin/messengercompose/quote.gif");
+ -moz-image-region: rect(210px 50px 231px 25px);
}
-#button-quote:hover,
-#button-quote:hover:active {
- list-style-image: url("chrome://messenger/skin/messengercompose/quote-hover.gif");
-}
-
-#button-quote[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/messengercompose/quote-disabled.gif") !important;
+#button-attach:not([disabled="true"]):hover,
+#button-attach:not([disabled="true"]):hover:active,
+#button-attach[open="true"] {
+ -moz-image-region: rect(210px 75px 231px 50px);
}
#spellingButton {
}
#button-save {
- list-style-image: url("chrome://messenger/skin/messengercompose/savemsg.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(294px 25px 315px 0px);
}
-#button-save:hover,
-#button-save:hover:active {
- list-style-image: url("chrome://messenger/skin/messengercompose/savemsg-hover.gif");
+#button-save[disabled="true"] {
+ -moz-image-region: rect(294px 50px 315px 25px);
}
-#button-save[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif") !important;
+#button-save:not([disabled="true"]):hover,
+#button-save:not([disabled="true"]):hover:active,
+#button-save[open="true"] {
+ -moz-image-region: rect(294px 75px 315px 50px);
}
#button-stop {
- list-style-image: url("chrome://global/skin/icons/stop.gif");
+ list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
+ -moz-image-region: rect(21px 25px 42px 0px);
}
#button-stop:hover,
#button-stop:hover:active {
- list-style-image: url("chrome://global/skin/icons/stop-hover.gif");
+ -moz-image-region: rect(21px 75px 42px 50px);
}
#button-stop[disabled="true"] {
- list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important;
+ -moz-image-region: rect(21px 50px 42px 25px) !important;
}
#MsgHeadersToolbar {
/* ::::: primary toolbar buttons ::::: */
#button-getmsg {
- /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
- list-style-image: url("chrome://messenger/skin/toolbar/getmsg.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(63px 25px 84px 0px);
}
-#button-getmsg:hover,
-#button-getmsg:hover:active,
-#button-getmsg[open="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/getmsg-hover.gif");
+#button-getmsg[disabled="true"] {
+ -moz-image-region: rect(63px 50px 84px 25px);
}
-#button-getmsg[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/getmsg-disabled.gif") !important;
+#button-getmsg:not([disabled="true"]):hover,
+#button-getmsg:not([disabled="true"]):hover:active,
+#button-getmsg[open="true"] {
+ -moz-image-region: rect(63px 75px 84px 50px);
}
#button-newmsg {
- /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
- list-style-image: url("chrome://messenger/skin/toolbar/newmsg.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(105px 25px 126px 0px);
}
-#button-newmsg:hover,
-#button-newmsg:hover:active {
- list-style-image: url("chrome://messenger/skin/toolbar/newmsg-hover.gif");
+#button-newmsg[disabled="true"] {
+ -moz-image-region: rect(105px 50px 126px 25px);
}
-#button-newmsg[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/newmsg-disabled.gif") !important;
+#button-newmsg:not([disabled="true"]):hover,
+#button-newmsg:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(105px 75px 126px 50px);
}
#button-reply {
- /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
- list-style-image: url("chrome://messenger/skin/toolbar/reply.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(147px 25px 168px 0px);
}
-#button-reply:hover,
-#button-reply:hover:active {
- list-style-image: url("chrome://messenger/skin/toolbar/reply-hover.gif");
+#button-reply[disabled="true"] {
+ -moz-image-region: rect(147px 50px 168px 25px);
}
-#button-reply[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/reply-disabled.gif") !important;
+#button-reply:not([disabled="true"]):hover,
+#button-reply:not([disabled="true"]):hover:active,
+#button-reply[open="true"] {
+ -moz-image-region: rect(147px 75px 168px 50px);
}
#button-replyall {
- /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
- list-style-image: url("chrome://messenger/skin/toolbar/replyall.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(168px 25px 189px 0px);
}
-#button-replyall:hover,
-#button-replyall:hover:active {
- list-style-image: url("chrome://messenger/skin/toolbar/replyall-hover.gif");
+#button-replyall[disabled="true"] {
+ -moz-image-region: rect(168px 50px 189px 25px);
}
-#button-replyall[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/replyall-disabled.gif") !important;
+#button-replyall:not([disabled="true"]):hover,
+#button-replyall:not([disabled="true"]):hover:active,
+#button-replyall[open="true"] {
+ -moz-image-region: rect(168px 75px 189px 50px);
}
#button-forward {
- /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
- list-style-image: url("chrome://messenger/skin/toolbar/forward.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(42px 25px 63px 0px);
}
-#button-forward:hover,
-#button-forward:hover:active {
- list-style-image: url("chrome://messenger/skin/toolbar/forward-hover.gif");
+#button-forward[disabled="true"] {
+ -moz-image-region: rect(42px 50px 63px 25px);
}
-#button-forward[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/forward-disabled.gif") !important;
+#button-forward:not([disabled="true"]):hover,
+#button-forward:not([disabled="true"]):hover:active,
+#button-forward[open="true"] {
+ -moz-image-region: rect(42px 75px 63px 50px);
}
#button-file {
- /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
- list-style-image: url("chrome://messenger/skin/toolbar/file.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(21px 25px 42px 0px);
}
-#button-file:hover,
-#button-file:hover:active,
-#button-file[open="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/file-hover.gif");
+#button-file[disabled="true"] {
+ -moz-image-region: rect(21px 50px 42px 25px);
}
-#button-file[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/file-disabled.gif") !important;
+#button-file:not([disabled="true"]):hover,
+#button-file:not([disabled="true"]):hover:active,
+#button-file[open="true"] {
+ -moz-image-region: rect(21px 75px 42px 50px);
}
#button-goback {
}
#button-next {
- /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
- list-style-image: url("chrome://messenger/skin/toolbar/next.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(126px 25px 147px 0px);
}
-#button-next:hover,
-#button-next:hover:active {
- list-style-image: url("chrome://messenger/skin/toolbar/next-hover.gif");
+#button-next[disabled="true"] {
+ -moz-image-region: rect(126px 50px 147px 25px);
}
-#button-next[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/next-disabled.gif") !important;
+#button-next:not([disabled="true"]):hover,
+#button-next:not([disabled="true"]):hover:active,
+#button-next[open="true"] {
+ -moz-image-region: rect(126px 75px 147px 50px);
}
#button-delete {
- /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
- list-style-image: url("chrome://global/skin/icons/trash.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(0px 25px 21px 0px);
}
-#button-delete:hover,
-#button-delete:hover:active {
- list-style-image: url("chrome://global/skin/icons/trash-hover.gif");
+#button-delete[disabled="true"] {
+ -moz-image-region: rect(0px 50px 21px 25px);
}
-#button-delete[disabled="true"] {
- list-style-image: url("chrome://global/skin/icons/trash-disabled.gif") !important;
+#button-delete:not([disabled="true"]):hover,
+#button-delete:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(0px 75px 21px 50px);
}
#button-mark {
- /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
- list-style-image: url("chrome://messenger/skin/toolbar/mark.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(84px 25px 105px 0px);
}
-#button-mark:hover,
-#button-mark:hover:active,
-#button-mark[open="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/mark-hover.gif");
+#button-mark[disabled="true"] {
+ -moz-image-region: rect(84px 50px 105px 25px);
}
-#button-mark[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/mark-disabled.gif") !important;
+#button-mark:not([disabled="true"]):hover,
+#button-mark:not([disabled="true"]):hover:active,
+#button-mark[open="true"] {
+ -moz-image-region: rect(84px 75px 105px 50px);
}
#button-print {
}
#button-junk {
- /* list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); */
- list-style-image: url("chrome://messenger/skin/toolbar/junk.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(252px 25px 273px 0px);
}
-#button-junk:hover,
-#button-junk:hover:active,
-#button-junk[open="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/junk-hover.gif");
+#button-junk[disabled="true"] {
+ -moz-image-region: rect(252px 50px 273px 25px);
}
-#button-junk[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/toolbar/junk-disabled.gif") !important;
+#button-junk:not([disabled="true"]):hover,
+#button-junk:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(252px 75px 273px 50px);
}
/* ::::: small primary toolbar buttons ::::: */