X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fmessenger%2Fmessengercompose%2Fmessengercompose.css;h=2e222db33471ac4050c3ea74bfe9d761ec24cdab;hp=016a85247390c59242ec71a19a16720982f6f7da;hb=afa44bf62eca2c695eec140b1a0e0028bffac2f6;hpb=02920d2b69ae86d5762a1874ba85d273c38bac75 diff --git a/EarlyBlue/messenger/messengercompose/messengercompose.css b/EarlyBlue/messenger/messengercompose/messengercompose.css index 016a8524..2e222db3 100644 --- a/EarlyBlue/messenger/messengercompose/messengercompose.css +++ b/EarlyBlue/messenger/messengercompose/messengercompose.css @@ -1,40 +1,6 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: NPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Netscape Public License - * Version 1.1 (the "License"); you may not use this file except in - * compliance with the License. You may obtain a copy of the License at - * http://www.mozilla.org/NPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * 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. - * - * Contributor(s): - * Joe Hewitt (hewitt@netscape.com) - * 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 - * 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 - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the NPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the NPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* ===== messengercompose.css =========================================== == Styles for the main Messenger Compose window. @@ -82,11 +48,12 @@ } #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"); + -moz-image-region: rect(168px 50px 189px 25px); } #button-save { @@ -98,13 +65,64 @@ -moz-image-region: rect(294px 50px 315px 25px); } -#button-stop { - list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); - -moz-image-region: rect(21px 25px 42px 0px); +/* ::::: 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); +} + +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); } -#button-stop[disabled="true"] { - -moz-image-region: rect(21px 50px 42px 25px); +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 { @@ -116,28 +134,28 @@ treechildren::-moz-tree-cell-text(default-match) { margin-top: 2px; margin-bottom: 2px; - -moz-margin-start: 15px; - -moz-margin-end: -3px; + margin-inline-start: 15px; + margin-inline-end: -3px; border: none; } treechildren::-moz-tree-image(local-abook) { margin-top: 2px; margin-bottom: 2px; - -moz-margin-start: 4px; - -moz-margin-end: -1px; + margin-inline-start: 4px; + margin-inline-end: -1px; list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif"); } treechildren::-moz-tree-image(remote-abook) { margin: 2px; - -moz-margin-end: -3px; + margin-inline-end: -3px; list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif"); } treechildren::-moz-tree-image(remote-err) { margin: 2px; - -moz-margin-end: -3px; + margin-inline-end: -3px; list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif"); } @@ -150,15 +168,15 @@ treechildren::-moz-tree-image(remote-err) { #addresses-box > hbox > label, #attachments-box > label { - -moz-margin-start: 0px; + margin-inline-start: 0px; } #msgIdentity{ - -moz-margin-end: 0px; + margin-inline-end: 0px; } #msgSubject { - -moz-margin-end: 0px; + margin-inline-end: 0px; } #attachmentBucket { @@ -168,3 +186,66 @@ treechildren::-moz-tree-image(remote-err) { #compose-toolbar-sizer { border-top: none; } + +treechildren::-moz-tree-image(subscribed-news) { + margin-inline-start: 2px; + margin-inline-end: -3px; + list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.png"); +} + +/* ::::: compact menulists ::::: */ + +.menulist-compact { + -moz-box-align: center; + -moz-box-pack: center; + margin: 0px; + border: 1px outset #CCD0DD; + color: #000000; + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); +} + +.menulist-compact > .menulist-label-box { + border: 1px solid transparent; +} + +.menulist-compact > .menulist-label-box > .menulist-label { + margin: 0 3px !important; + text-align: end; +} + +.menulist-compact > .menulist-label-box > .menulist-icon { + margin-inline-start: 2px; +} + +.menulist-compact[open="true"] { + border: 1px inset #CCD0DD; + /* color: ThreeDHighlight; */ +} + +.menulist-compact[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif"); +} + +.menulist-compact:-moz-focusring:not([open="true"]) > .menulist-label-box { + border: 1px dotted #999999; +} + +#FontFaceSelect { + max-width: 35ch; +} + +/* ::::: 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; +}