diff --git a/resources/views/pdf-designs/bold.html b/resources/views/pdf-designs/bold.html index 1cf41f0eb..1664766d5 100644 --- a/resources/views/pdf-designs/bold.html +++ b/resources/views/pdf-designs/bold.html @@ -89,31 +89,48 @@ padding: 2rem; font-size: 1.5rem; } + #product-table > thead > tr > th:last-child { + text-align: right; + } #product-table > tbody > tr > td { padding: 1.5rem; } + #product-table > tbody > tr > td:last-child { + text-align: right; + } #product-table > tbody > tr > td:first-child { font-weight: bold; } #product-table > tbody > tr:nth-child(odd) { background-color: #ebebeb; } - #product-table > tfoot > tr > td { - padding: 1.5rem; + + #product-table-footer > * { + display: grid; + grid-template-columns: 3fr 1fr 1fr; + padding-top: 1.2rem; + padding-left: 1.2rem; + gap: 20px; } - #product-table > tfoot [data-element='balance-due-label'], - #product-table > tfoot [data-element='balance-due'] { + #product-table-footer + > * + [data-element='product-table-balance-due-label'], + #product-table-footer > * [data-element='product-table-balance-due'] { font-weight: bold; font-size: 1.4rem; } - #product-table > tfoot [data-element='balance-due'] { + #product-table-footer > * [data-element='product-table-balance-due'] { color: #35a39a; } + #product-table-footer > * > :last-child { + text-align: right; + padding-right: 1.5rem; + }