2019-11-12 16:06:30 -05:00
|
|
|
@import 'framework/variables';
|
|
|
|
|
|
|
|
// Do not use 3-letter hex codes, bgcolor vs css background-color is problematic in emails
|
|
|
|
// See https://stackoverflow.com/questions/28551981/why-are-3-digit-hex-color-code-values-interpreted-differently-in-internet-explor
|
|
|
|
//
|
|
|
|
// stylelint-disable color-hex-length
|
|
|
|
|
|
|
|
$mailer-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
2020-07-09 17:09:33 -04:00
|
|
|
$mailer-text-color: #333;
|
2019-11-12 16:06:30 -05:00
|
|
|
$mailer-bg-color: #fafafa;
|
|
|
|
$mailer-link-color: #3777b0;
|
2020-07-09 17:09:33 -04:00
|
|
|
$mailer-link-muted-color: #333;
|
2019-11-12 16:06:30 -05:00
|
|
|
$mailer-line-cell-bg-color: #6b4fbb;
|
2020-07-09 17:09:33 -04:00
|
|
|
$mailer-wrapper-cell-bg-color: #fff;
|
2019-11-12 16:06:30 -05:00
|
|
|
$mailer-wrapper-cell-border-color: #ededed;
|
|
|
|
$mailer-header-footer-text-color: #5c5c5c;
|
2021-02-12 16:09:01 -05:00
|
|
|
$full-width: 640px;
|
|
|
|
$half-width: 320px;
|
2019-11-12 16:06:30 -05:00
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0 !important;
|
|
|
|
background-color: $mailer-bg-color;
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
2021-02-12 16:09:01 -05:00
|
|
|
min-width: $full-width;
|
2019-11-12 16:06:30 -05:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
font-family: $mailer-font;
|
|
|
|
}
|
|
|
|
|
|
|
|
table#body {
|
|
|
|
background-color: $mailer-bg-color;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
2021-02-12 16:09:01 -05:00
|
|
|
min-width: $full-width;
|
2019-11-12 16:06:30 -05:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $mailer-link-color;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&.muted {
|
|
|
|
color: $mailer-link-muted-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-12 16:09:01 -05:00
|
|
|
.mail-avatar {
|
|
|
|
border-radius: 50%;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2019-11-12 16:06:30 -05:00
|
|
|
.highlight {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2020-08-25 14:10:49 -04:00
|
|
|
.invite-header {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2020-10-05 14:08:51 -04:00
|
|
|
.invite-body {
|
|
|
|
width: 360px;
|
|
|
|
}
|
|
|
|
|
2020-08-25 14:10:49 -04:00
|
|
|
.invite-actions {
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invite-btn-join {
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
padding: $gl-btn-vert-padding $gl-btn-horz-padding;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: $purple;
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
2020-10-05 14:08:51 -04:00
|
|
|
.invite-btn-decline {
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
border: 1px solid $purple;
|
|
|
|
padding: $gl-btn-vert-padding $gl-btn-horz-padding;
|
|
|
|
cursor: pointer;
|
|
|
|
color: $purple;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
2021-02-12 16:09:01 -05:00
|
|
|
.half-width {
|
|
|
|
min-width: $half-width;
|
|
|
|
}
|
|
|
|
|
2019-11-12 16:06:30 -05:00
|
|
|
tr td {
|
|
|
|
font-family: $mailer-font;
|
|
|
|
}
|
|
|
|
|
2021-02-12 16:09:01 -05:00
|
|
|
tr.border-top td {
|
|
|
|
border-top: 2px solid $gray-100;
|
|
|
|
}
|
|
|
|
|
2019-11-12 16:06:30 -05:00
|
|
|
tr.line td {
|
|
|
|
font-family: $mailer-font;
|
|
|
|
background-color: $mailer-line-cell-bg-color;
|
|
|
|
height: 4px;
|
|
|
|
font-size: 4px;
|
|
|
|
line-height: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.header td,
|
|
|
|
tr.footer td,
|
|
|
|
td.footer-message {
|
|
|
|
font-family: $mailer-font;
|
|
|
|
padding: 25px 0;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.6;
|
|
|
|
color: $mailer-header-footer-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.wrapper {
|
2021-02-12 16:09:01 -05:00
|
|
|
width: $full-width;
|
2019-11-12 16:06:30 -05:00
|
|
|
margin: 0 auto;
|
|
|
|
border-collapse: separate;
|
|
|
|
border-spacing: 0;
|
|
|
|
|
|
|
|
td.wrapper-cell {
|
|
|
|
font-family: $mailer-font;
|
|
|
|
background-color: $mailer-wrapper-cell-bg-color;
|
|
|
|
text-align: left;
|
|
|
|
padding: 18px 25px;
|
|
|
|
border: 1px solid $mailer-wrapper-cell-border-color;
|
|
|
|
border-radius: 3px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table.content {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: separate;
|
|
|
|
border-spacing: 0;
|
|
|
|
|
|
|
|
td.text-content {
|
|
|
|
font-family: $mailer-font;
|
|
|
|
color: $mailer-text-color;
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.4;
|
|
|
|
padding: 15px 5px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2021-06-15 11:10:04 -04:00
|
|
|
|
|
|
|
td.mailer-align-left {
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 16px 32px;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
line-height: 1.6;
|
|
|
|
padding-left: 0;
|
|
|
|
margin: 8px 0 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mailer-icon {
|
|
|
|
margin-bottom: -1px;
|
|
|
|
}
|
|
|
|
}
|
2019-11-12 16:06:30 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
tr.footer td {
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mng-notif-link,
|
|
|
|
.help-link {
|
|
|
|
color: $mailer-link-color;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2020-10-20 08:08:54 -04:00
|
|
|
|
|
|
|
.gitlab-info {
|
|
|
|
padding: $gl-padding-24 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gitlab-info-text {
|
2021-02-12 16:09:01 -05:00
|
|
|
max-width: $full-width;
|
2020-10-20 08:08:54 -04:00
|
|
|
margin: 0 auto;
|
|
|
|
text-align: center;
|
|
|
|
color: $gray-400;
|
|
|
|
font-size: $gl-font-size-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-logo {
|
|
|
|
width: 90px;
|
|
|
|
height: 33px;
|
|
|
|
}
|
2019-11-12 16:06:30 -05:00
|
|
|
}
|