X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=EarlyBlue%2Fmessenger%2Fmessengercompose%2Fmessengercompose.css;h=d08a3cf94f82227501514e52bc5de2bd3d9a9291;hb=8b17a53f795d5dac9741cb28dc374ddb927488ae;hp=e4cf8c0dedecfd2533b3a9f040991f7176739a8f;hpb=c8120ee9d3c6865cb0511b3b455dd5b64fd93e97;p=themes.git diff --git a/EarlyBlue/messenger/messengercompose/messengercompose.css b/EarlyBlue/messenger/messengercompose/messengercompose.css index e4cf8c0d..d08a3cf9 100644 --- a/EarlyBlue/messenger/messengercompose/messengercompose.css +++ b/EarlyBlue/messenger/messengercompose/messengercompose.css @@ -13,7 +13,7 @@ * * 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. @@ -23,7 +23,7 @@ * Robert Kaiser * * 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 @@ -45,100 +45,146 @@ @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[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"); + -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"); + 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"); + 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[disabled="true"] { - list-style-image: url("chrome://messenger/skin/messengercompose/quote-disabled.gif") !important; -} - #spellingButton { list-style-image: url("chrome://editor/skin/icons/spell.gif"); } #spellingButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; + list-style-image: url("chrome://editor/skin/icons/spell-disabled.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[disabled="true"] { - list-style-image: url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif") !important; -} + -moz-image-region: rect(294px 50px 315px 25px); +} + +/* ::::: small primary toolbar buttons ::::: */ + +/* TODO: correct coords! +toolbar[iconsize="small"] > #button-send, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-send { + list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); + -moz-image-region: rect(220px 19px 239px 0); +} + +toolbar[iconsize="small"] > #button-send[disabled="true"] { + -moz-image-region: rect(220px 79px 239px 60px) !important; +} + +toolbar[iconsize="small"] > #button-address, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-address { + list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); + -moz-image-region: rect(180px 19px 199px 0); +} + +toolbar[iconsize="small"] > #button-address[disabled="true"] { + -moz-image-region: rect(180px 79px 199px 60px) !important; +} + +toolbar[iconsize="small"] > #button-attach, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-attach { + list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); + -moz-image-region: rect(200px 19px 219px 0); +} -#button-stop { - list-style-image: url("chrome://global/skin/icons/stop.gif"); +toolbar[iconsize="small"] > #button-attach[disabled="true"] { + -moz-image-region: rect(200px 79px 219px 60px) !important; } -#button-stop[disabled="true"] { - list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important; -} +toolbar[iconsize="small"] > #spellingButton, +toolbar[iconsize="small"] > toolbarpaletteitem > #spellingButton { + list-style-image: url("chrome://editor/skin/icons/editoricons-small.png"); + -moz-image-region: rect(160px 19px 179px 0); +} + +toolbar[iconsize="small"] > #spellingButton[disabled="true"] { + -moz-image-region: rect(160px 79px 179px 60px) !important; +} + +toolbar[iconsize="small"] > #button-save, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-save { + list-style-image: url("chrome://editor/skin/icons/editoricons-small.png"); + -moz-image-region: rect(140px 19px 159px 0); +} + +toolbar[iconsize="small"] > #button-save[disabled="true"] { + -moz-image-region: rect(140px 79px 159px 60px) !important; +} +*/ +#MsgHeadersToolbar { + min-height: 0px; /* this undoes the min-height 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"); -} - /* ::::: EarlyBlue layout corrections ::::: */ #addresses-box, @@ -146,13 +192,21 @@ outlinerbody:-moz-outliner-image(remote-err) { 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; } #compose-toolbar-sizer {