X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=EarlyBlue%2Fmessenger%2Fmessengercompose%2Fmessengercompose.css;h=a7afe29523f5c5f3fe02577ebb72c2f445b62cc6;hb=e0c47e26dd93b86f3dbd5c0042b56f3b24b3c2ae;hp=5a1014f9a4020808c003db8aa37e9972a00bd28b;hpb=e1597424350915539e91f37bb1a8005af8e513c0;p=themes.git diff --git a/EarlyBlue/messenger/messengercompose/messengercompose.css b/EarlyBlue/messenger/messengercompose/messengercompose.css index 5a1014f9..a7afe295 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,102 +45,154 @@ @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"); + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(168px 25px 189px 0px); } #spellingButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; + -moz-image-region: rect(168px 50px 189px 25px); } #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); +} -#button-stop { - list-style-image: url("chrome://global/skin/icons/stop.gif"); +/* ::::: small primary toolbar buttons ::::: */ + +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(176px 16px 192px 0); } -#button-stop[disabled="true"] { - list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important; -} +toolbar[iconsize="small"] > #button-send[disabled="true"] { + -moz-image-region: rect(176px 32px 192px 16px); +} + +toolbar[iconsize="small"] > #button-send[offline="true"] { + -moz-image-region: rect(208px 16px 224px 0); +} + +toolbar[iconsize="small"] > #button-send[offline="true"][disabled="true"] { + -moz-image-region: rect(208px 32px 224px 16px); +} + +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(144px 16px 160px 0); +} + +toolbar[iconsize="small"] > #button-address[disabled="true"] { + -moz-image-region: rect(144px 32px 160px 16px); +} + +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(160px 16px 176px 0); +} + +toolbar[iconsize="small"] > #button-attach[disabled="true"] { + -moz-image-region: rect(160px 32px 176px 16px); +} + +toolbar[iconsize="small"] > #spellingButton, +toolbar[iconsize="small"] > toolbarpaletteitem > #spellingButton { + list-style-image: url("chrome://editor/skin/icons/editoricons-small.png"); + -moz-image-region: rect(128px 16px 144px 0); +} + +toolbar[iconsize="small"] > #spellingButton[disabled="true"] { + -moz-image-region: rect(128px 32px 144px 16px); +} + +toolbar[iconsize="small"] > #button-save, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-save { + list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); + -moz-image-region: rect(224px 16px 240px 0); +} + +toolbar[iconsize="small"] > #button-save[disabled="true"] { + -moz-image-region: rect(224px 32px 140px 16px); +} + +#MsgHeadersToolbar { + min-height: 0px; /* this undoes the min-height in toolbar.css */ +} /* ::::: autocomplete icons ::::: */ -treechildren:-moz-tree-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; } -treechildren:-moz-tree-image(local-abook) { - margin: 2px -1px 2px 4px; +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"); } -treechildren:-moz-tree-image(remote-abook) { - margin: 2px -3px 2px 2px; +treechildren::-moz-tree-image(remote-abook) { + margin: 2px; + -moz-margin-end: -3px; list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif"); } -treechildren:-moz-tree-image(remote-err) { - margin: 2px -3px 2px 2px; +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"); -} - -.composemenu-text-2 { - font-style: italic; - color: #C0C0C0; -} - /* ::::: EarlyBlue layout corrections ::::: */ #addresses-box, @@ -150,18 +202,37 @@ treechildren:-moz-tree-image(remote-err) { #addresses-box > hbox > label, #attachments-box > label { - margin-left: 0px; + -moz-margin-start: 0px; +} + +#msgIdentity{ + -moz-margin-end: 0px; } -#msgIdentity, #msgSubject { - margin-right: 0px; + -moz-margin-end: 0px; } #attachmentBucket { - margin: 3px 0px 2px 0px; + margin: 3px 0px 2px; } #compose-toolbar-sizer { border-top: none; } + +/* ::::: lightweight themes ::::: */ + +#MsgHeadersToolbar:-moz-lwtheme, +#FormatToolbar:-moz-lwtheme, +#compose-toolbar-sizer:-moz-lwtheme { + text-shadow: none; + /* color: -moz-dialogtext; + background-color: -moz-dialog; */ +} + +#MsgHeadersToolbar textbox:-moz-lwtheme, +#MsgHeadersToolbar menulist:-moz-lwtheme, +.formatting-button menulist:-moz-lwtheme { + opacity: 1; +}