mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-31 19:19:43 +01:00
moved (lost) base font size and other css styles to new preview.css
This commit is contained in:
parent
d05390db68
commit
2160ccc029
@ -2764,34 +2764,7 @@ $this->partID = $partID;
|
|||||||
|
|
||||||
function showBody(&$body, $print=true,$fullPageTags=true)
|
function showBody(&$body, $print=true,$fullPageTags=true)
|
||||||
{
|
{
|
||||||
$BeginBody = '<style type="text/css">
|
$BeginBody = '<div class="mailDisplayBody">
|
||||||
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">
|
|
||||||
<table width="100%" style="table-layout:fixed"><tr><td class="td_display">';
|
<table width="100%" style="table-layout:fixed"><tr><td class="td_display">';
|
||||||
|
|
||||||
$EndBody = '</td></tr></table></div>';
|
$EndBody = '</td></tr></table></div>';
|
||||||
|
40
mail/templates/default/preview.css
Normal file
40
mail/templates/default/preview.css
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user