Files
safekat/ci4/app/Views/themes/vuexy/mail/mail_layout_2.php
2025-05-21 21:25:02 +02:00

156 lines
3.9 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><?= esc($emailTitle ?? 'Correo de Safekat') ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
/* Copia aquí todo el CSS de tu layout Blade */
body {
margin: 0;
padding: 0;
width: 100% !important;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table {
border-collapse: collapse;
}
img {
border: none;
outline: none;
text-decoration: none;
display: block;
}
h2 {
font-family: Helvetica, Arial, sans-serif;
font-size: 30px;
color: #333;
text-align: center;
}
p {
font-family: Helvetica, Arial, sans-serif;
font-size: 16px;
color: #666;
text-align: center;
line-height: 30px;
}
@media only screen and (max-width: 640px) {
a[href^="tel"],
a[href^="sms"] {
text-decoration: none;
color: #0a8cce;
/* or whatever your want */
pointer-events: none;
cursor: default;
}
.mobile_link a[href^="tel"],
.mobile_link a[href^="sms"] {
text-decoration: default;
color: #0a8cce !important;
pointer-events: auto;
cursor: default;
}
table[class=devicewidth] {
width: 440px !important;
text-align: center !important;
}
table[class=devicewidthinner] {
width: 420px !important;
text-align: center !important;
}
img[class=banner] {
width: 440px !important;
height: 220px !important;
}
img[class=colimg2] {
width: 440px !important;
height: 220px !important;
}
}
/*IPHONE STYLES*/
@media only screen and (max-width: 480px) {
a[href^="tel"],
a[href^="sms"] {
text-decoration: none;
color: #0a8cce;
/* or whatever your want */
pointer-events: none;
cursor: default;
}
.mobile_link a[href^="tel"],
.mobile_link a[href^="sms"] {
text-decoration: default;
color: #0a8cce !important;
pointer-events: auto;
cursor: default;
}
table[class=devicewidth] {
width: 280px !important;
text-align: center !important;
}
table[class=devicewidthinner] {
width: 260px !important;
text-align: center !important;
}
img[class=banner] {
width: 280px !important;
height: 140px !important;
}
img[class=colimg2] {
width: 280px !important;
height: 140px !important;
}
}
</style>
</head>
<body>
<table width="100%" bgcolor="#ffffff">
<tr>
<td align="center">
<!-- Logo -->
<img src="<?= site_url('themes/vuexy/img/safekat/logos/sk-logo.png') ?>" alt="Safekat" width="108"
height="45">
</td>
</tr>
<tr>
<td height="20"></td>
</tr>
<tr>
<td align="center">
<h3><?= esc($emailTitle2 ?? '') ?></h3>
</td>
</tr>
<tr>
<td align="center">
<?= esc($content) ?>
</tr>
</table>
</body>
</html>