b2in/resources/views/vendor/mail/html/layout.blade.php
2026-01-23 17:33:10 +01:00

178 lines
4.9 KiB
PHP

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" lang="de">
<head>
<!--[if gte mso 9]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
<title>{{ config('app.name') }}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="format-detection" content="telephone=no, date=no, address=no, email=no" />
<meta name="x-apple-disable-message-reformatting" />
<meta name="color-scheme" content="light dark" />
<meta name="supported-color-schemes" content="light dark" />
<!--[if mso]>
<style type="text/css">
body, table, td, th, p, a, h1, h2, h3, h4, h5, h6 {
font-family: Arial, Helvetica, sans-serif !important;
mso-line-height-rule: exactly;
}
</style>
<![endif]-->
<style type="text/css">
/* Reset & Base */
body, table, td, p, a, li, blockquote {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table, td {
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
border-collapse: collapse !important;
}
img {
-ms-interpolation-mode: bicubic;
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
}
body {
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
height: 100% !important;
}
/* iOS Blue Links */
a[x-apple-data-detectors] {
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}
/* Gmail Blue Links */
u + #body a {
color: inherit;
text-decoration: none;
font-size: inherit;
font-family: inherit;
font-weight: inherit;
line-height: inherit;
}
/* Samsung Mail */
#MessageViewBody a {
color: inherit;
text-decoration: none;
font-size: inherit;
font-family: inherit;
font-weight: inherit;
line-height: inherit;
}
/* Dark Mode Styles */
:root {
color-scheme: light dark;
supported-color-schemes: light dark;
}
@media (prefers-color-scheme: dark) {
.dark-bg { background-color: #1a1a1a !important; }
.dark-bg-card { background-color: #2a2a2a !important; }
.dark-text { color: #ffffff !important; }
.dark-text-secondary { color: #e0e0e0 !important; }
.dark-border { border-color: #404040 !important; }
}
/* Responsive */
@media only screen and (max-width: 620px) {
.wrapper {
width: 100% !important;
max-width: 100% !important;
}
.inner-body {
width: 100% !important;
max-width: 100% !important;
}
.footer {
width: 100% !important;
max-width: 100% !important;
}
.content-cell {
padding: 24px 16px !important;
}
.button {
width: 100% !important;
max-width: 100% !important;
}
.mobile-full-width {
width: 100% !important;
display: block !important;
}
}
</style>
{!! $head ?? '' !!}
</head>
<body id="body" style="margin: 0; padding:0; width: 100%; height: 100%; background-color: #f5f4f2; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;" class="dark-bg">
<!--[if mso]>
<table role="presentation" border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#f5f4f2">
<tr>
<td align="center">
<![endif]-->
<table class="wrapper" role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color: #f5f4f2; margin: 0; padding: 0;" bgcolor="#f5f4f2">
<tr>
<td align="center" valign="top" style="padding: 0;">
<table class="content" role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="max-width: 600px; margin: 0 auto;">
{!! $header ?? '' !!}
<!-- Email Body -->
<tr>
<td class="body" style="background-color: #f5f4f2; padding: 30px 0 0 0;" bgcolor="#f5f4f2">
<!--[if mso]>
<table role="presentation" border="0" cellspacing="0" cellpadding="0" width="600" align="center">
<tr>
<td>
<![endif]-->
<table class="inner-body" role="presentation" align="center" width="100%" cellpadding="0" cellspacing="0" border="0" style="max-width: 600px; background-color: #ffffff; border-radius: 8px; margin: 0 auto;" bgcolor="#ffffff">
<!-- Body content -->
<tr>
<td class="content-cell dark-bg-card" style="padding: 40px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; color: #2a2a2a;">
{!! Illuminate\Mail\Markdown::parse($slot) !!}
{!! $subcopy ?? '' !!}
</td>
</tr>
</table>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
{!! $footer ?? '' !!}
</table>
</td>
</tr>
</table>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
</body>
</html>