Remove redundant email layout
This commit is contained in:
@@ -1,238 +0,0 @@
|
|||||||
<!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">
|
|
||||||
<head>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<meta name="format-detection" content="address=no;=no;telephone=no" />
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
||||||
<title>{{ $app_name }}</title>
|
|
||||||
<style type="text/css" rel="stylesheet" media="all">
|
|
||||||
/* Base ------------------------------ */
|
|
||||||
*:not(br):not(tr):not(html) {
|
|
||||||
font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
|
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
width: 100% !important;
|
|
||||||
height: 100%;
|
|
||||||
margin: 0;
|
|
||||||
line-height: 1.4;
|
|
||||||
background-color: #F2F4F6;
|
|
||||||
color: #74787E;
|
|
||||||
-webkit-text-size-adjust: none;
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
color: {{ $theme_links }};
|
|
||||||
}
|
|
||||||
|
|
||||||
a img {
|
|
||||||
color: none;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Layout ------------------------------ */
|
|
||||||
.email-wrapper {
|
|
||||||
width: 100%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
background-color: #F2F4F6;
|
|
||||||
}
|
|
||||||
.email-content {
|
|
||||||
width: 100%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Masthead ----------------------- */
|
|
||||||
.email-masthead {
|
|
||||||
padding: 25px 0;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.email-masthead_logo {
|
|
||||||
max-width: 400px;
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
.email-masthead_name {
|
|
||||||
font-size: 40px;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #bbbfc3;
|
|
||||||
text-decoration: none;
|
|
||||||
text-shadow: 0 1px 0 white;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Body ------------------------------ */
|
|
||||||
.email-body {
|
|
||||||
width: 100%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
border-top: 1px solid #EDEFF2;
|
|
||||||
border-bottom: 1px solid #EDEFF2;
|
|
||||||
background-color: #FFF;
|
|
||||||
}
|
|
||||||
.email-body_inner {
|
|
||||||
width: 570px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
.email-footer {
|
|
||||||
width: 570px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 0;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.email-footer p {
|
|
||||||
color: #AEAEAE;
|
|
||||||
}
|
|
||||||
.email-footer img {
|
|
||||||
width: 30px;
|
|
||||||
}
|
|
||||||
.body-action {
|
|
||||||
width: 100%;
|
|
||||||
margin: 30px auto;
|
|
||||||
padding: 0;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.body-sub {
|
|
||||||
margin-top: 25px;
|
|
||||||
padding-top: 25px;
|
|
||||||
border-top: 1px solid #EDEFF2;
|
|
||||||
}
|
|
||||||
.content-cell {
|
|
||||||
padding: 35px;
|
|
||||||
}
|
|
||||||
.align-center {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.align-right {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
.border-rounded {
|
|
||||||
border: 1px solid #EDEFF2;
|
|
||||||
border-radius: 3px;
|
|
||||||
padding: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Type ------------------------------ */
|
|
||||||
h1 {
|
|
||||||
margin-top: 0;
|
|
||||||
color: #2F3133;
|
|
||||||
font-size: 36px;
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
h2 {
|
|
||||||
margin-top: 0;
|
|
||||||
color: #2F3133;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
h3 {
|
|
||||||
margin-top: 0;
|
|
||||||
color: #2F3133;
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
p {
|
|
||||||
margin-top: 0;
|
|
||||||
color: #74787E;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 1.5em;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
p.compressed {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
p.sub {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
p.center {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Buttons ------------------------------ */
|
|
||||||
.button {
|
|
||||||
display: inline-block;
|
|
||||||
width: 200px;
|
|
||||||
background-color: #3869D4;
|
|
||||||
border-radius: 3px;
|
|
||||||
color: #ffffff;
|
|
||||||
font-size: 15px;
|
|
||||||
line-height: 45px;
|
|
||||||
text-align: center;
|
|
||||||
text-decoration: none;
|
|
||||||
-webkit-text-size-adjust: none;
|
|
||||||
mso-hide: all;
|
|
||||||
}
|
|
||||||
.button--green {
|
|
||||||
background-color: {{ $theme_greens }};
|
|
||||||
}
|
|
||||||
.button--red {
|
|
||||||
background-color: {{ $theme_reds }};
|
|
||||||
}
|
|
||||||
.button--blue {
|
|
||||||
background-color: {{ $theme_blues }};
|
|
||||||
}
|
|
||||||
.button--yellow {
|
|
||||||
background-color: {{ $theme_yellows }};
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Media Queries ------------------------------ */
|
|
||||||
@media only screen and (max-width: 600px) {
|
|
||||||
.email-body_inner,
|
|
||||||
.email-footer {
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media only screen and (max-width: 500px) {
|
|
||||||
.button {
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<table class="email-wrapper" width="100%" cellpadding="0" cellspacing="0">
|
|
||||||
<tr>
|
|
||||||
<td align="center">
|
|
||||||
<table class="email-content" width="100%" cellpadding="0" cellspacing="0">
|
|
||||||
<tr>
|
|
||||||
<td class="email-masthead">
|
|
||||||
<a class="email-masthead_name">{{ $app_name}} </a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="email-body" width="100%">
|
|
||||||
<table class="email-body_inner" align="center" width="570" cellpadding="0" cellspacing="0">
|
|
||||||
<!-- Body content -->
|
|
||||||
<tr>
|
|
||||||
<td class="content-cell">
|
|
||||||
@yield('content')
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<table class="email-footer" align="center" width="570" cellpadding="0" cellspacing="0">
|
|
||||||
<tr>
|
|
||||||
<td class="content-cell">
|
|
||||||
@if($show_support)
|
|
||||||
<p class="sub center">{!! trans('cachet.powered_by') !!}</p>
|
|
||||||
@endif
|
|
||||||
<p class="sub center">
|
|
||||||
<a href="https://cachethq.io"><img src="{{ asset('img/button-email--dark-grey.png') }}" alt="Cachet"></a>
|
|
||||||
</p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,143 +0,0 @@
|
|||||||
<style type="text/css">
|
|
||||||
body {
|
|
||||||
-webkit-text-size-adjust: 100%;
|
|
||||||
-ms-text-size-adjust: 100%;
|
|
||||||
}
|
|
||||||
body,
|
|
||||||
p,
|
|
||||||
img,
|
|
||||||
table,
|
|
||||||
td,
|
|
||||||
#body {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-left: 0;
|
|
||||||
margin-right: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
padding-top: 0;
|
|
||||||
padding-bottom: 0;
|
|
||||||
padding-left: 0;
|
|
||||||
padding-right: 0;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
height: auto;
|
|
||||||
width: auto;
|
|
||||||
line-height: 100%;
|
|
||||||
outline: none;
|
|
||||||
text-decoration: none;
|
|
||||||
-ms-interpolation-mode: bicubic;
|
|
||||||
}
|
|
||||||
table {
|
|
||||||
mso-table-lspace: 0pt;
|
|
||||||
mso-table-rspace: 0pt;
|
|
||||||
}
|
|
||||||
table,
|
|
||||||
td {
|
|
||||||
border-collapse: collapse;
|
|
||||||
border-spacing: 0;
|
|
||||||
}
|
|
||||||
td,
|
|
||||||
p {
|
|
||||||
-webkit-text-size-adjust: none;
|
|
||||||
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
||||||
}
|
|
||||||
p {
|
|
||||||
margin-bottom: 24px;
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
color: #6DB81C;
|
|
||||||
}
|
|
||||||
body,
|
|
||||||
#body,
|
|
||||||
.body-cell {
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.body-cell {
|
|
||||||
padding-top: 32px;
|
|
||||||
padding-bottom: 32px;
|
|
||||||
padding-left: 16px;
|
|
||||||
padding-right: 16px;
|
|
||||||
}
|
|
||||||
.box {
|
|
||||||
width: 544px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
.header,
|
|
||||||
.body {
|
|
||||||
width: 512px;
|
|
||||||
}
|
|
||||||
.body {
|
|
||||||
padding-top: 16px;
|
|
||||||
padding-bottom: 0;
|
|
||||||
padding-left: 16px;
|
|
||||||
padding-right: 16px;
|
|
||||||
}
|
|
||||||
.header {
|
|
||||||
padding: 16px;
|
|
||||||
}
|
|
||||||
.header-logo {
|
|
||||||
text-align: left;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
.footer {
|
|
||||||
text-align: center;
|
|
||||||
font-size: 12px;
|
|
||||||
line-height: 21px;
|
|
||||||
padding-top: 14px;
|
|
||||||
width: 544px;
|
|
||||||
}
|
|
||||||
.body p {
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 22px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
.body {
|
|
||||||
color: #727272;
|
|
||||||
}
|
|
||||||
.footer {
|
|
||||||
color: #727272;
|
|
||||||
}
|
|
||||||
.header {
|
|
||||||
background-color: #ffffff;
|
|
||||||
}
|
|
||||||
.body {
|
|
||||||
background-color: #ffffff;
|
|
||||||
}
|
|
||||||
body,
|
|
||||||
#body,
|
|
||||||
.body-cell {
|
|
||||||
background-color: #ebebeb;
|
|
||||||
}
|
|
||||||
@media only screen and (max-width: 600px) {
|
|
||||||
td[class=body-cell] {
|
|
||||||
padding-left: 0 !important;
|
|
||||||
padding-right: 0 !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media only screen and (max-width: 560px) {
|
|
||||||
td[class=body-cell] {
|
|
||||||
padding: 8px !important;
|
|
||||||
}
|
|
||||||
table[id=body],
|
|
||||||
td[class=body-cell],
|
|
||||||
table[class=box],
|
|
||||||
td[class~=body] {
|
|
||||||
display: block !important;
|
|
||||||
width: auto !important;
|
|
||||||
}
|
|
||||||
td[class~=body] {
|
|
||||||
overflow: hidden !important;
|
|
||||||
}
|
|
||||||
td[class~=body] p {
|
|
||||||
font-size: 16px !important;
|
|
||||||
line-height: 24px !important;
|
|
||||||
}
|
|
||||||
td[class~=body] p {
|
|
||||||
margin-bottom: 18px;
|
|
||||||
}
|
|
||||||
td[class~=body] {
|
|
||||||
padding-top: 16px !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
Reference in New Issue
Block a user