Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f5663b9 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

email-template fix dark theme

parent 7c589435
Loading
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -7,9 +7,6 @@ use OC\Mail\EMailTemplate as ParentTemplate;
class EMailTemplate extends ParentTemplate {

	protected $header = <<<EOF
<style>
.logo{display:none;}
</style>
<table align="center" class="container main-heading float-center" style="Margin:0 auto;background:0 0!important;border-collapse:collapse;border-spacing:0;float:none;margin-top:20px;padding:0;text-align:center;vertical-align:top;width:580px;">
<tbody>
<tr style="border: 1px solid #EAEDF2;box-sizing: border-box;height:50px;">
@@ -18,7 +15,7 @@ class EMailTemplate extends ParentTemplate {
<tbody>
<tr style="padding:0;text-align:left;vertical-align:top">
    <td style="-moz-hyphens:auto;-webkit-hyphens:auto;Margin:0;border-collapse:collapse!important;color:#0a0a0a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',Arial,sans-serif;font-size:16px;font-weight:400;hyphens:auto;line-height:1.3;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word">
	<img class="logo float-center" src="%s" alt="%s" align="center" style="-ms-interpolation-mode:bicubic;clear:both;display:block;float:left;margin:0 auto;outline:0;text-align:center;text-decoration:none;max-height:105px;max-width:105px;width:auto;padding-top:9px;margin-left:10px;filter: drop-shadow(16px 16px 20px blue);">
	<img class="logo float-center" src="%s" alt="%s" align="center" style="-ms-interpolation-mode:bicubic;clear:both;display:block;float:left;margin:0 auto;outline:0;text-align:center;text-decoration:none;max-height:105px;max-width:105px;width:auto;padding-top:9px;margin-left:10px;-webkit-filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px -1px 0 white);filter:drop-shadow(1px 1px 0 black) drop-shadow(-1px -1px 0 white);">
EOF;

protected $heading = <<<EOF