316 lines
5.3 KiB
SCSS
316 lines
5.3 KiB
SCSS
@use "sass:color";
|
|
@import "utilities/variables";
|
|
|
|
// 1. Include new custom variables
|
|
@import "utilities/bootstrap-variables";
|
|
|
|
// 2. Include functions first (so you can manipulate colors, SVGs, calc, etc)
|
|
// @import "bootstrap/scss/functions";
|
|
|
|
// 3. Include remainder of required Bootstrap stylesheets
|
|
@import "bootstrap/scss/variables";
|
|
|
|
// * Laravel mail vendor
|
|
|
|
/* Base */
|
|
|
|
body,
|
|
body *:not(html, style, br, tr, code) {
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
font-family:
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
Roboto,
|
|
Helvetica,
|
|
Arial,
|
|
sans-serif,
|
|
"Apple Color Emoji",
|
|
"Segoe UI Emoji",
|
|
"Segoe UI Symbol";
|
|
}
|
|
|
|
body {
|
|
width: 100% !important;
|
|
height: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
background-color: $body-bg;
|
|
color: $body-color;
|
|
line-height: 1.4;
|
|
text-size-adjust: none;
|
|
}
|
|
|
|
p,
|
|
ul,
|
|
ol,
|
|
blockquote {
|
|
line-height: 1.4;
|
|
text-align: left;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
a {
|
|
color: $link-color;
|
|
}
|
|
|
|
a img {
|
|
border: 0;
|
|
}
|
|
|
|
/* Typography */
|
|
|
|
h1 {
|
|
margin-top: 0;
|
|
color: $color-primary;
|
|
color: $color-tertiary;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
text-align: left;
|
|
}
|
|
|
|
h2 {
|
|
margin-top: 0;
|
|
color: $color-tertiary;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
text-align: left;
|
|
}
|
|
|
|
h3 {
|
|
margin-top: 0;
|
|
color: $color-tertiary;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
text-align: left;
|
|
}
|
|
|
|
p {
|
|
margin-top: 0;
|
|
font-size: 16px;
|
|
line-height: 1.5em;
|
|
text-align: left;
|
|
}
|
|
|
|
.sub {
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Layout */
|
|
|
|
.wrapper {
|
|
-premailer-width: 100%;
|
|
width: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
background-color: $bg-lightened;
|
|
-premailer-cellpadding: 0;
|
|
-premailer-cellspacing: 0;
|
|
}
|
|
|
|
.content {
|
|
-premailer-width: 100%;
|
|
width: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
-premailer-cellpadding: 0;
|
|
-premailer-cellspacing: 0;
|
|
}
|
|
|
|
/* Header */
|
|
|
|
.header {
|
|
padding: 25px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.header a {
|
|
color: $color-primary;
|
|
font-size: 19px;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Logo */
|
|
|
|
.logo {
|
|
width: 75px;
|
|
height: 75px;
|
|
max-height: 75px;
|
|
}
|
|
|
|
/* Body */
|
|
|
|
.body {
|
|
-premailer-width: 100%;
|
|
width: 100%;
|
|
padding: 0;
|
|
border-top: 1px solid #{$bg-lightened};
|
|
border-bottom: 1px solid #{$bg-lightened};
|
|
margin: 0;
|
|
background-color: $bg-lightened;
|
|
-premailer-cellpadding: 0;
|
|
-premailer-cellspacing: 0;
|
|
}
|
|
|
|
.inner-body {
|
|
-premailer-width: 570px;
|
|
width: 570px;
|
|
padding: 0;
|
|
border-width: 1px;
|
|
border-color: color.scale($body-bg, $lightness: -30%);
|
|
border-radius: 2px;
|
|
margin: 0 auto;
|
|
background-color: $body-bg;
|
|
box-shadow: 0 2px 0 rgb(0 0 150 / 2.5%), 2px 4px 0 rgb(0 0 150 / 1.5%);
|
|
-premailer-cellpadding: 0;
|
|
-premailer-cellspacing: 0;
|
|
}
|
|
|
|
/* Subcopy */
|
|
|
|
.subcopy {
|
|
padding-top: 25px;
|
|
border-top: 1px solid color.scale($body-bg, $lightness: -30%);
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.subcopy p {
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Footer */
|
|
|
|
.footer {
|
|
-premailer-width: 570px;
|
|
width: 570px;
|
|
padding: 0;
|
|
margin: 0 auto;
|
|
-premailer-cellpadding: 0;
|
|
-premailer-cellspacing: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer p {
|
|
color: #b0adc5;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer a {
|
|
color: #b0adc5;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Tables */
|
|
|
|
.table table {
|
|
-premailer-width: 100%;
|
|
width: 100%;
|
|
margin: 30px auto;
|
|
-premailer-cellpadding: 0;
|
|
-premailer-cellspacing: 0;
|
|
}
|
|
|
|
.table th {
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid #edeff2;
|
|
margin: 0;
|
|
}
|
|
|
|
.table td {
|
|
padding: 10px 0;
|
|
margin: 0;
|
|
color: #74787e;
|
|
font-size: 15px;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.content-cell {
|
|
max-width: 100vw;
|
|
padding: 32px;
|
|
}
|
|
|
|
/* Buttons */
|
|
|
|
.action {
|
|
-premailer-width: 100%;
|
|
width: 100%;
|
|
padding: 0;
|
|
margin: 30px auto;
|
|
-premailer-cellpadding: 0;
|
|
-premailer-cellspacing: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.button {
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
border-radius: 4px;
|
|
color: $body-bg;
|
|
text-decoration: none;
|
|
text-size-adjust: none;
|
|
}
|
|
|
|
.button-blue,
|
|
.button-primary {
|
|
border-top: 8px solid #{$color-primary};
|
|
border-right: 18px solid #{$color-primary};
|
|
border-bottom: 8px solid #{$color-primary};
|
|
border-left: 18px solid #{$color-primary};
|
|
background-color: #{$color-primary};
|
|
}
|
|
|
|
.button-green,
|
|
.button-success {
|
|
border-top: 8px solid #{$color-success};
|
|
border-right: 18px solid #{$color-success};
|
|
border-bottom: 8px solid #{$color-success};
|
|
border-left: 18px solid #{$color-success};
|
|
background-color: #{$color-success};
|
|
}
|
|
|
|
.button-red,
|
|
.button-error {
|
|
border-top: 8px solid #{$color-danger};
|
|
border-right: 18px solid #{$color-danger};
|
|
border-bottom: 8px solid #{$color-danger};
|
|
border-left: 18px solid #{$color-danger};
|
|
background-color: #{$color-danger};
|
|
}
|
|
|
|
/* Panels */
|
|
|
|
.panel {
|
|
border-left: $color-primary solid 4px;
|
|
margin: 21px 0;
|
|
}
|
|
|
|
.panel-content {
|
|
padding: 16px;
|
|
background-color: $bg-lightened;
|
|
color: $body-color;
|
|
}
|
|
|
|
.panel-content p {
|
|
color: $body-color;
|
|
}
|
|
|
|
.panel-item {
|
|
padding: 0;
|
|
}
|
|
|
|
.panel-item p:last-of-type {
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Utilities */
|
|
|
|
.break-all {
|
|
word-break: break-all;
|
|
}
|