From 7d78f4b8bd7d1ebc3c7113fc64f445f007173a21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Wed, 18 Aug 2021 11:31:28 +0200 Subject: [PATCH] Business: Update line height, outstanding section --- resources/views/pdf-designs/business.html | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/resources/views/pdf-designs/business.html b/resources/views/pdf-designs/business.html index fe23173e83f1..3864c54c31c1 100644 --- a/resources/views/pdf-designs/business.html +++ b/resources/views/pdf-designs/business.html @@ -2,6 +2,7 @@ :root { --primary-color: $primary_color; --secondary-color: $secondary_color; + --line-height: 1.6; } body { @@ -40,16 +41,14 @@ display: flex; flex-direction: column; color: #AAA9A9; + line-height: var(--line-height); } #company-address { display: flex; flex-direction: column; color: #b1b1b1; - } - - #company-address > * { - margin-bottom: 0.8rem; + line-height: var(--line-height); } .entity-issued-to { @@ -67,6 +66,7 @@ display: flex; flex-direction: column; margin-top: 1rem; + line-height: var(--line-height); } #client-details > p:nth-child(1) { @@ -195,6 +195,7 @@ #table-totals>.totals-table-right-side>*> :nth-child(1) { text-align: "$dir_text_align"; margin-top: .75rem; + padding-left: 7px; } #table-totals>.totals-table-right-side> * > :not([hidden]) ~ :not([hidden]) { @@ -205,6 +206,7 @@ #table-totals>.totals-table-right-side>*> :nth-child(2) { text-align: right; + padding-right: 7px; } #table-totals @@ -244,6 +246,15 @@ margin-bottom: 0; } + [data-ref="totals_table-outstanding-label"], + [data-ref="totals_table-outstanding"] { + background-color: var(--secondary-color); + color: white; + padding-top: 7px; + padding-bottom: 7px; + padding-right: 7px; + } + /** Useful snippets, uncomment to enable. **/ /** Hide company logo **/