From 02194838dd64558cd974e68cb0bf800dffd25c91 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 16 Jan 2018 20:20:15 +0100 Subject: HTML e-mails for NotificationMailer (#6263) * HTML e-mails for NotificationMailer (except digest) * Add HTML template for digest * Fix build --- app/javascript/images/icon_cached.svg | 4 ++++ app/javascript/images/icon_grade.svg | 4 ++++ app/javascript/images/icon_person_add.svg | 4 ++++ app/javascript/images/icon_reply.svg | 4 ++++ 4 files changed, 16 insertions(+) create mode 100644 app/javascript/images/icon_cached.svg create mode 100644 app/javascript/images/icon_grade.svg create mode 100644 app/javascript/images/icon_person_add.svg create mode 100644 app/javascript/images/icon_reply.svg (limited to 'app/javascript/images') diff --git a/app/javascript/images/icon_cached.svg b/app/javascript/images/icon_cached.svg new file mode 100644 index 000000000..8fdd63f44 --- /dev/null +++ b/app/javascript/images/icon_cached.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/javascript/images/icon_grade.svg b/app/javascript/images/icon_grade.svg new file mode 100644 index 000000000..f48b46889 --- /dev/null +++ b/app/javascript/images/icon_grade.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/javascript/images/icon_person_add.svg b/app/javascript/images/icon_person_add.svg new file mode 100644 index 000000000..068b8ae7c --- /dev/null +++ b/app/javascript/images/icon_person_add.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/javascript/images/icon_reply.svg b/app/javascript/images/icon_reply.svg new file mode 100644 index 000000000..cf6a09abc --- /dev/null +++ b/app/javascript/images/icon_reply.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file -- cgit From 6f244ba82c5821e2e8af11597ff970e7af445160 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 17 Jan 2018 14:12:59 +0100 Subject: Use better reblog icon and improve contrast in HTML e-mails (#6272) --- app/javascript/images/icon_cached.svg | 6 ++---- app/javascript/styles/mailer.scss | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'app/javascript/images') diff --git a/app/javascript/images/icon_cached.svg b/app/javascript/images/icon_cached.svg index 8fdd63f44..1087c4350 100644 --- a/app/javascript/images/icon_cached.svg +++ b/app/javascript/images/icon_cached.svg @@ -1,4 +1,2 @@ - - - - \ No newline at end of file + + diff --git a/app/javascript/styles/mailer.scss b/app/javascript/styles/mailer.scss index d84763612..e6422b2ea 100644 --- a/app/javascript/styles/mailer.scss +++ b/app/javascript/styles/mailer.scss @@ -300,7 +300,7 @@ h3 { .footer { .column-cell, p { - color: lighten($ui-base-color, 26%); + color: lighten($ui-base-color, 34%); } p { @@ -313,7 +313,7 @@ h3 { } a { - color: lighten($ui-base-color, 26%); + color: lighten($ui-base-color, 34%); text-decoration: underline; } @@ -363,7 +363,7 @@ h3 { } .button-primary { - background-color: $ui-highlight-color; + background-color: darken($ui-highlight-color, 3%); } .text-center { -- cgit