X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fmessenger%2FmessageBody.css;h=6956dfe82743b1fd43a22e982dab070f6e2efa90;hp=37990d2cce7d9d687ea47eee52e70957d197c8aa;hb=3d6dd546c97f902b849a45d2bf2fa7cc623cb2e9;hpb=351107c90e7ee7a17d9bf63798f2861307118309 diff --git a/LCARStrek/messenger/messageBody.css b/LCARStrek/messenger/messageBody.css index 37990d2c..6956dfe8 100644 --- a/LCARStrek/messenger/messageBody.css +++ b/LCARStrek/messenger/messageBody.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. @@ -22,7 +22,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 @@ -35,34 +35,54 @@ * * ***** END LICENSE BLOCK ***** */ +@import url("chrome://communicator/skin/smileys.css"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* ===== messageBody.css ================================================ == Styles for the body of a mail message. ======================================================================= */ -/* - * These are the style attributes for the XUL display. - */ -window { overflow: auto; } -mailheader { display: block; } -mailattachcount { display: none; } - -headerdisplayname { font-weight: bold; white-space: pre; } -header { text-align: left; } - -/* - * For printing/HTML display... - */ -table[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; } -table[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } -table[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } -div.headerdisplayname { font-weight: bold; white-space: pre; display: inline; } - -html { +window { + overflow: auto; +} + +mailattachcount { + display: none; +} + +/* :::: message header ::::: */ + +header { + text-align: left; +} + +html|html { + /* XXX Doesn't seem to work. (Same with "html|body".) */ background-color: white; } +headerdisplayname { + font-weight: bold; + white-space: pre; +} + +.header-part1 { + border-left: 4px solid #EFEFEF; + background-color: #EFEFEF; +} + +.header-part2, +.header-part3 { + border: 4px solid #DEDEDE; + background-color: #DEDEDE; +} + +div.headerdisplayname { + display: inline; + font-weight: bold; + white-space: pre; +} + /* ::::: message text, incl. quotes ::::: */ .moz-text-flowed blockquote { @@ -75,70 +95,52 @@ html { margin: inherit; font-family: inherit; } + .moz-text-plain[wrap="true"] { white-space: -moz-pre-wrap; } + .moz-text-plain[wrap="false"] { white-space: pre; } + .moz-text-plain[wrap="flow"] .moz-txt-sig { white-space: -moz-pre-wrap; } + .moz-text-plain[graphical-quote="false"] blockquote { margin: inherit; border-left: inherit; padding-left: inherit; } + .moz-text-plain[graphical-quote="true"] blockquote { margin: inherit; border-width: medium; border-color: gray; } + .moz-text-plain[graphical-quote="true"] .moz-txt-citetags { display: none; } +span.moz-txt-underscore { + text-decoration: underline; +} + +span.moz-txt-formfeed { + display: block; + height: 100%; +} + /* ::::: signature ::::: */ .moz-txt-sig, .moz-signature { color: gray; } + .moz-txt-sig > a, .moz-signature > a { - color: #7777FF /* light blue */; -} - -/* ::::: smilies ::::: */ - -span[-moz-smiley] { - min-height: 17px; margin-left: 2px; margin-top: 2px; - padding-left: 20px; - background-repeat: no-repeat; - background-position: center center; -} -span[-moz-smiley] > span { - display: none; -} - -span[-moz-smiley="s1"] { - background-image: url(chrome://global/skin/smiley/smile_n.gif); -} -span[-moz-smiley="s2"] { - background-image: url(chrome://global/skin/smiley/frown_n.gif); -} -span[-moz-smiley="s3"] { - background-image: url(chrome://global/skin/smiley/wink_n.gif); -} -span[-moz-smiley="s4"] { - background-image: url(chrome://global/skin/smiley/tongue_n.gif); -} -span[-moz-smiley="s5"] { - background-image: url(chrome://global/skin/smiley/laughing_n.gif); -} -span[-moz-smiley="s6"] { - background-image: url(chrome://global/skin/smiley/embarrassed_n.gif); -} -span[-moz-smiley="s7"] { - background-image: url(chrome://global/skin/smiley/undecided_n.gif); + color: #7777FF; /* light blue */ }