-
+
-
-
+ |
+
'. $text .'
|
diff --git a/app/Utils/VendorHtmlEngine.php b/app/Utils/VendorHtmlEngine.php
index b40944ba8c0b..95112fc6bda1 100644
--- a/app/Utils/VendorHtmlEngine.php
+++ b/app/Utils/VendorHtmlEngine.php
@@ -808,21 +808,30 @@ html {
private function buildViewButton(string $link, string $text): string
{
return '
-
-
-
+
+
+
';
+
return '
diff --git a/resources/views/email/admin/generic.blade.php b/resources/views/email/admin/generic.blade.php
index 2f18f3d4b6c3..ece82a8c9057 100644
--- a/resources/views/email/admin/generic.blade.php
+++ b/resources/views/email/admin/generic.blade.php
@@ -27,17 +27,28 @@
@endisset
@isset($url)
-
-
-
-
-
-
- {{ ctrans($button) }}
+
+
+
+
@endisset
diff --git a/resources/views/email/template/admin.blade.php b/resources/views/email/template/admin.blade.php
index 34f9de1e7858..814b1cbd67fa 100644
--- a/resources/views/email/template/admin.blade.php
+++ b/resources/views/email/template/admin.blade.php
@@ -1,5 +1,6 @@
@php
$primary_color = isset($settings) ? $settings->primary_color : '#4caf50';
+ $email_alignment = isset($settings) ? $settings->email_alignment : 'center';
@endphp
email_style === 'dark')
body,
[data-ogsc] {
background-color: #1a1a1a !important;
color: #ffffff !important;
}
-
div, tr, td,
[data-ogsc] div,
[data-ogsc] tr,
[data-ogsc] td {
border-color: #222222 !important;
}
-
h1, h2, h3, p, td,
[data-ogsc] h1, [data-ogsc] h2, [data-ogsc] h3, [data-ogsc] p, [data-ogsc] td, {
color: #ffffff !important;
}
-
p,
[data-ogsc] p {
color: #bbbbbc !important;
}
-
.dark-bg-base,
[data-ogsc] .dark-bg-base {
background-color: #222222 !important;
}
-
.dark-bg,
[data-ogsc] .dark-bg {
background-color: #3a3a3c !important;
}
-
.logo-dark,
[data-ogsc] .logo-dark {
display: block !important;
}
-
.logo-light,
[data-ogsc] .logo-light {
display: none !important;
}
-
.btn-white,
[data-ogsc] .btn-white {
- background-color: #fefefe !important;
+ background-color: #000 !important;
mso-padding-alt: 40px;
mso-border-alt: 40px solid #fefefe;
mso-padding-alt: 0;
@@ -77,17 +69,6 @@
mso-border-right-alt: 20 #fefefe 0;
}
@endif
-
- .btn-white {
- mso-padding-alt: 40px;
- mso-border-alt: 40px solid #fefefe;
- mso-padding-alt: 0;
- mso-ansi-font-size:20px !important;
- mso-line-height-alt:150%;
- mso-border-left-alt: 20 #FFFFFF 0;
- mso-border-right-alt: 20 #FFFFFF 0;
- }
-
/** Content-specific styles. **/
#content .button {
display: inline-block;
@@ -101,7 +82,6 @@
font-weight: 600;
margin-bottom: 30px;
}
-
#content h1 {
font-family: 'canada-type-gibson', 'roboto', Arial, Helvetica, sans-serif;
font-weight: 600;
@@ -109,16 +89,13 @@
margin-top: 5px;
margin-bottom: 30px;
}
-
#content > p {
font-size: 16px;
color: red;
}
-
#content .center {
text-align: center;
}
-
.stamp {
transform: rotate(12deg);
color: #555;
@@ -135,7 +112,6 @@
position: fixed;
text-align: center;
}
-
.is-paid {
color: #D23;
border: 1rem double #D23;
@@ -149,14 +125,10 @@
position: fixed;
}
- .new_button, a {
+ .new_button a {
background-color: {{ $primary_color }};
}
- a:visited {
- color:#ffffff !important;
- }
-
@@ -165,18 +137,35 @@
-
+
-
-
- 
+
+
+
+ |
+
+
+
+
+
+ 
+
+
+
|
+ style="padding: 20px; text-align: {{ $email_alignment }}">
{{ $slot }}
|
@@ -189,76 +178,78 @@
-
+ style="background-color: {{ $primary_color }};" width="100%">
+ |
Questions? We're here to help!
-
|
+ style="background-color: #242424;">
© {{ date('Y') }} Invoice Ninja, All Rights Reserved
@@ -272,4 +263,4 @@
|
| | |