Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
469 lines (388 sloc) 8.46 KB
<!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 http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><%= @subject %></title>
<style type="text/css" rel="stylesheet" media="all">
/* Base */
body {
width: 100% !important;
height: 100%;
margin: 0;
background-color: #fff;
color: #374b61;
-webkit-text-size-adjust: none;
}
p,
ul,
ol,
blockquote {
text-align: left;
}
a {
color: #4b73e1;
}
a img {
border: none;
}
td {
word-break: break-word;
}
.preheader {
display: none !important;
visibility: hidden;
mso-hide: all;
font-size: 1px;
line-height: 1px;
max-height: 0;
max-width: 0;
opacity: 0;
overflow: hidden;
}
/* Buttons */
.btn {
background-color: #4b73e1;
border-top: 8px solid #4b73e1;
border-right: 20px solid #4b73e1;
border-bottom: 8px solid #4b73e1;
border-left: 20px solid #4b73e1;
display: inline-block;
color: #fff;
text-decoration: none;
border-radius: 9999px;
-webkit-text-size-adjust: none;
font-size: 14px;
font-weight: bold;
white-space: nowrap;
}
/* Typography */
body,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
li,
blockquote,
p,
a {
font-family: system-ui, BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Arial, sans-serif;
line-height: 1.4;
text-align: left;
box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
}
p {
margin-top: 0;
margin-bottom: 14px;
color: #374b61;
line-height: 1.5em;
text-align: left;
}
.markdown h1 {
margin-top: 0;
margin-bottom: 8px;
font-size: 24px;
text-align: left;
}
.markdown h2 {
margin-top: 0;
margin-bottom: 8px;
font-size: 16px;
font-weight: bold;
text-align: left;
}
.markdown h3 {
margin-top: 0;
color: #22384c;
font-size: 14px;
font-weight: bold;
text-align: left;
}
.markdown ul,
.markdown ol {
margin-bottom: 14px;
}
.markdown pre {
margin-bottom: 14px;
padding: 5px;
background-color: #f7f8f8;
border-radius: 3px;
overflow: auto;
white-space: pre;
}
.markdown code {
margin: 0 2px;
padding: 1px 2px;
background-color: #f7f8f8;
border-radius: 3px;
font-family: monospace;
}
.markdown pre code {
margin: 0;
padding: 0;
background: transparent;
border-radius: 0;
word-wrap: normal;
overflow: visible;
font-family: monospace;
}
.markdown img {
margin-top: 10px;
margin-bottom: 10px;
max-width: 100%;
}
.markdown blockquote {
padding-left: 12px;
margin-left: 0;
margin-bottom: 14px;
border-left: 2px solid #e2e6e8;
color: #50667a;
}
/* Utilities */
.avatar {
width: 32px;
height: 32px;
border-radius: 9999px;
}
.texitar {
width: 32px;
height: 32px;
border-radius: 9999px;
background-color: #8a98a5;
vertical-align: middle;
text-align: center;
font-size: 14px;
color: #fff;
font-weight: bold;
line-height: 0;
}
.text-xl {
font-size: 28px;
line-height: 1.2;
}
.text-lg {
font-size: 20px;
}
.text-base {
font-size: 16px;
}
.text-sm {
font-size: 14px;
}
.text-xs {
font-size: 13px;
}
.text-dusty-blue {
color: #8a98a5;
}
.text-dusty-blue-dark {
color: #50667a;
}
.text-dusty-blue-darker {
color: #374b61;
}
.text-dusty-blue-darkest {
color: #22384c;
}
.text-green {
color: #38C172;
}
.text-white {
color: #fff;
}
.text-center {
text-align: center;
}
.no-underline {
text-decoration: none;
}
.font-bold {
font-weight: bold;
}
.m-0 {
margin: 0;
}
.mb-0 {
margin-bottom: 0;
}
.mb-2 {
margin-bottom: 4px;
}
.mb-3 {
margin-bottom: 6px;
}
.ml-2 {
margin-left: 4px;
}
.p-0 {
padding: 0;
}
.p-25px {
padding: 25px;
}
.pt-20px {
padding-top: 20px;
}
.pr-10px {
padding-right: 10px;
}
.pb-0 {
padding-bottom: 0;
}
.pb-10px {
padding-bottom: 10px;
}
.pb-15px {
padding-bottom: 15px;
}
.pb-35px {
padding-bottom: 35px;
}
.pt-25px {
padding-top: 25px;
}
.px-25px {
padding-left: 25px;
padding-right: 25px;
}
.py-10px {
padding-top: 10px;
padding-bottom: 10px;
}
.py-15px {
padding-top: 15px;
padding-bottom: 15px;
}
.py-20px {
padding-top: 20px;
padding-bottom: 20px;
}
.p-24x30 {
padding: 24px 30px;
}
.w-4px {
width: 4px;
}
.w-8px {
width: 8px;
}
.w-32px {
width: 32px;
}
.w-40px {
width: 40px;
}
.w-full {
width: 100%;
-premailer-width: 100%;
}
.h-32px {
height: 32px;
}
.align-top {
vertical-align: top;
}
.align-middle {
vertical-align: middle;
}
.cell-0 {
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
}
.bg-white {
background-color: #fff;
}
.bg-dusty-blue {
background-color: #8a98a5;
}
.bg-orange {
background-color: #df9700;
}
.border-b-grey {
border-bottom: 1px solid #e2e6e8;
}
.last--border-none:last-child {
border: 0;
}
.rounded {
border-radius: 3px;
}
.container-570 {
width: 570px;
margin: 0 auto;
padding: 0;
-premailer-width: 570px;
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
}
.table-layout-fixed {
table-layout: fixed;
}
@media only screen and (max-width: 600px) {
.container-570 {
width: 100% !important;
}
}
</style>
</head>
<body class="text-base">
<span class="preheader"><%= @preheader %></span>
<table class="bg-white m-0 p-0 w-full cell-0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<table class="m-0 p-0 w-full cell-0" width="100%" cellpadding="0" cellspacing="0">
<!-- Masthead -->
<tr>
<td>
<table class="container-570" width="570" cellpadding="0" cellspacing="0">
<tr>
<td class="p-25px pb-15px">
<a href="https://level.app/">
<img src="<%= static_url(LevelWeb.Endpoint, "/images/logo-stripes.png") %>" alt="Level" style="width: 30px; height: 18px;">
</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- Body -->
<tr>
<td class="m-0 p-0 w-full cell-0 bg-white" width="100%" cellpadding="0" cellspacing="0">
<table class="container-570" align="center" width="570" cellpadding="0" cellspacing="0">
<tr>
<td class="p-25px">
<%= render @view_module, @view_template, assigns %>
</td>
</tr>
</table>
</td>
</tr>
<!-- Footer -->
<tr>
<td>
<table class="container-570" width="570" cellpadding="0" cellspacing="0">
<tr>
<td class="px-25px pb-35px">
<p class="text-dusty-blue text-xs">
&copy; 2018 Level Technologies, LLC
<br>5123 W 98th St #1025
<br>Minneapolis, MN 55437
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>