moved (lost) base font size and other css styles to new preview.css

This commit is contained in:
Ralf Becker 2014-03-04 10:48:35 +00:00
parent d05390db68
commit 2160ccc029
2 changed files with 41 additions and 28 deletions

View File

@ -2764,34 +2764,7 @@ $this->partID = $partID;
function showBody(&$body, $print=true,$fullPageTags=true)
{
$BeginBody = '<style type="text/css">
body,html {
height:100%;
width:100%;
padding:0px;
margin:0px;
}
.td_display {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 120%;
color: black;
background-color: #FFFFFF;
}
pre {
white-space: pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
width: 99%;
}
blockquote[type=cite] {
margin: 0;
border-left: 2px solid blue;
padding-left: 10px;
margin-left: 0;
color: blue;
}
</style>
<div class="mailDisplayBody">
$BeginBody = '<div class="mailDisplayBody">
<table width="100%" style="table-layout:fixed"><tr><td class="td_display">';
$EndBody = '</td></tr></table></div>';

View File

@ -0,0 +1,40 @@
/**
* EGroupware - Mail - CSS for message preview
*
* @link http://www.egroupware.org
* @package mail
* @subpackage setup
* @author Stylite AG [info@stylite.de]
* @copyright (c) 2013 by Stylite AG <info-AT-stylite.de>
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$
*/
body, td, textarea {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
}
body,html {
height:100%;
width:100%;
padding:0px;
margin:0px;
}
.td_display {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 120%;
color: black;
background-color: #FFFFFF;
}
pre {
white-space: pre-wrap;
width: 99%;
}
blockquote[type=cite] {
margin: 0;
border-left: 2px solid blue;
padding-left: 10px;
margin-left: 0;
color: blue;
}