*
* The Original Code is mozilla.org code.
*
- * The Initial Developer of the Original Code is
+ * The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
* Robert Kaiser <KaiRo@KaiRo.at>
*
* Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: primary toolbar buttons ::::: */
-
+
#button-send {
- list-style-image: url("chrome://messenger/skin/messengercompose/send.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(231px 25px 252px 0px);
}
-#button-send:hover,
-#button-send:hover:active {
- list-style-image: url("chrome://messenger/skin/messengercompose/send-hover.gif");
-}
-
#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 {
list-style-image: url("chrome://editor/skin/icons/spell.gif");
}
#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"] {
- list-style-image: url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif") !important;
-}
+ -moz-image-region: rect(294px 50px 315px 25px);
+}
+
+#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");
-}
+#button-stop:not([disabled="true"]):hover,
+#button-stop:not([disabled="true"]):hover:active {
+ -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);
+}
+
+#MsgHeadersToolbar {
+ min-height: 0px; /* this undoes the min-height in toolbar.css */
+}
+
+#MsgHeadersToolbar > .toolbar-box > .toolbar-holder {
+ -moz-padding-end: 0; /* this undoes the padding in toolbar.css */
+}
/* ::::: autocomplete icons ::::: */
-outlinerbody:-moz-outliner-cell-text(default-match) {
- margin: 2px -3px 2px 15px;
+treechildren::-moz-tree-cell-text(default-match) {
+ margin-top: 2px;
+ margin-bottom: 2px;
+ -moz-margin-start: 15px;
+ -moz-margin-end: -3px;
border: none;
}
-outlinerbody:-moz-outliner-image(local-abook) {
- margin: 2px -1px 2px 4px;
- border: none;
+treechildren::-moz-tree-image(local-abook) {
+ margin-top: 2px;
+ margin-bottom: 2px;
+ -moz-margin-start: 4px;
+ -moz-margin-end: -1px;
list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif");
}
-outlinerbody:-moz-outliner-image(remote-abook) {
- margin: 2px -3px 2px 2px;
- border: none;
+treechildren::-moz-tree-image(remote-abook) {
+ margin: 2px;
+ -moz-margin-end: -3px;
list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif");
}
-outlinerbody:-moz-outliner-image(remote-err) {
- margin: 2px -3px 2px 2px;
- border: none;
+treechildren::-moz-tree-image(remote-err) {
+ margin: 2px;
+ -moz-margin-end: -3px;
list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif");
}
-.identity-popup-item {
- -moz-binding: url("chrome://messenger/content/messengercompose/mailComposeBindings.xml#fromMenuitem");
-}
-
/* ::::: LCARStrek layout corrections ::::: */
#msgheaderstoolbar-box {
background-color: #E7ADE7;
color: #000000;
-}
+}
#addresses-box,
#attachments-box {
padding: 1px 5px;
}
-#msgIdentity,
+#addresses-box > hbox > label,
+#attachments-box > label {
+ -moz-margin-start: 0px;
+}
+
+#msgIdentity {
+ -moz-margin-end: 0px;
+}
+
#msgSubject {
- margin-right: 0px;
+ -moz-margin-end: 0px;
}
#attachmentBucket {
- margin: 3px 0px 2px 0px;
+ margin: 3px 0px 2px;
color: #FF9F00;
}