From d33df5e293ba3052576bcc734947df9e8d34e8ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 24 Aug 2021 16:49:35 +0200 Subject: [PATCH] Update `Tech` --- resources/views/pdf-designs/tech.html | 52 +++++++++++++-------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/resources/views/pdf-designs/tech.html b/resources/views/pdf-designs/tech.html index a57a4fc9e1..72564dec4c 100644 --- a/resources/views/pdf-designs/tech.html +++ b/resources/views/pdf-designs/tech.html @@ -122,18 +122,14 @@ .body-wrapper {} - #product-table, - #delivery-note-table, - #task-table { + [data-ref="table"] { min-width: 100%; table-layout: fixed; overflow-wrap: break-word; margin-top: 3rem; } - #product-table > thead > tr > th, - #delivery-note-table > thead > tr > th, - #task-table > thead > tr > th { + [data-ref="table"] > thead > tr > th { text-transform: uppercase; font-weight: normal; padding: 1rem; @@ -142,28 +138,20 @@ font-size: 1.1rem; } - #product-table > thead > tr > th:last-child, - #delivery-note-table > thead > tr > th:last-child, - #task-table > thead > tr > th:last-child { + [data-ref="table"] > thead > tr > th:last-child { text-align: right; } - #product-table > tbody > tr > td, - #delivery-note-table > tbody > tr > td, - #task-table > tbody > tr > td { + [data-ref="table"] > tbody > tr > td { border-bottom: 1px solid #e6e6e6; padding: 1rem; } - #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; } @@ -229,15 +217,13 @@ } /** Markdown-specific styles. **/ - #product-table h3, - #task-table h3, - #delivery-note-table h3 { + [data-ref="table"] h3 { font-size: 1rem; margin-bottom: 0; } /** Useful snippets, uncomment to enable. **/ - + /** Hide company logo **/ /* .company-logo { display: none } */ @@ -309,11 +295,20 @@
-
+
-
+
-
+
+ +
+
+ +
+
+ +
+
@@ -325,7 +320,12 @@