From b55b63b81d0e2991d375692d39c6e495fa3a12b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 24 Aug 2021 16:29:30 +0200 Subject: [PATCH] Update `Clean` --- resources/views/pdf-designs/clean.html | 62 ++++++++++++++------------ 1 file changed, 34 insertions(+), 28 deletions(-) diff --git a/resources/views/pdf-designs/clean.html b/resources/views/pdf-designs/clean.html index 1d21d47f24ce..bad0ce8b7809 100644 --- a/resources/views/pdf-designs/clean.html +++ b/resources/views/pdf-designs/clean.html @@ -88,9 +88,7 @@ font-weight: bold; } - #product-table, - #delivery-note-table, - #task-table { + [data-ref="table"] { margin-top: 3rem; /* margin-bottom: 200px; */ min-width: 100%; @@ -104,43 +102,31 @@ color: grey; } - #product-table > thead, - #delivery-note-table > thead, - #task-table > thead { + [data-ref="table"] > thead { text-align: left; } - #product-table > thead > tr > th, - #delivery-note-table > thead > tr > th, - #task-table > thead > tr > th { + [data-ref="table"] > thead > tr > th { font-size: 1.1rem; padding-bottom: 1.5rem; padding-left: 1rem; } - #product-table > tbody > tr > td, - #delivery-note-table > tbody > tr > td, - #task-table > tbody > tr > td { + [data-ref="table"] > tbody > tr > td { border-top: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8; padding: 1.5rem; } - #product-table > tbody > tr > td:first-child, - #delivery-note-table > tbody > tr > td:first-child, - #task-table > tbody > tr > td:first-child { + [data-ref="table"] > tbody > tr > td:first-child { color: var(--primary-color); } - #product-table > tbody > tr > td:last-child, - #delivery-note-table > tbody > tr > td:last-child, - #task-table > tbody > tr > td:last-child { + [data-ref="table"] > tbody > tr > td:last-child { text-align: right; } - #product-table > tbody > tr:nth-child(odd), - #delivery-note-table > tbody > tr:nth-child(odd), - #task-table > tbody > tr:nth-child(odd) { + [data-ref="table"] > tbody > tr:nth-child(odd) { background-color: #f5f5f5; } @@ -214,9 +200,15 @@ flex-direction: column; justify-content: flex-end; } - + + [data-ref="statement-totals"] { + margin-top: 1rem; + text-align: right; + margin-right: .75rem; + } + /** Useful snippets, uncomment to enable. **/ - + /** Hide company logo **/ /* .company-logo { display: none } */ @@ -266,22 +258,36 @@
-
+
-
+
-
+
+ +
+
+ +
+
+ +
+