Update Plain

This commit is contained in:
Benjamin Beganović 2021-08-24 16:25:01 +02:00
parent 6c32d905ae
commit e8c0d479e0

View File

@ -68,12 +68,7 @@
line-height: var(--line-height); line-height: var(--line-height);
} }
#product-table, [data-ref="table"] {
#delivery-note-table,
#task-table,
#statement-invoice-table,
#statement-payment-table,
#statement-aging-table {
min-width: 100%; min-width: 100%;
table-layout: fixed; table-layout: fixed;
overflow-wrap: break-word; overflow-wrap: break-word;
@ -87,50 +82,25 @@
color: grey; color: grey;
} }
#product-table > thead, [data-ref="table"] > thead {
#delivery-note-table > thead,
#task-table > thead,
#statement-invoice-table > thead,
#statement-payment-table > thead,
#statement-aging-table > thead {
text-align: left; text-align: left;
} }
#product-table > thead > tr > th, [data-ref="table"] > thead > tr > th {
#delivery-note-table > thead > tr > th,
#task-table > thead > tr > th,
#statement-invoice-table > thead > tr > th,
#statement-payment-table > thead > tr > th,
#statement-aging-table > thead > tr > th {
padding: 1rem; padding: 1rem;
background-color: #e6e6e6; background-color: #e6e6e6;
} }
#product-table > thead > tr > th:last-child, [data-ref="table"] > thead > tr > th:last-child {
#delivery-note-table > thead > tr > th:last-child,
#task-table > thead > tr > th:last-child,
#statement-invoice-table > thead > tr > th:last-child,
#statement-payment-table > thead > tr > th:last-child,
#statement-aging-table > thead > tr > th:last-child {
text-align: right; text-align: right;
} }
#product-table > tbody > tr > td, [data-ref="table"] > tbody > tr > td {
#delivery-note-table > tbody > tr > td,
#task-table > tbody > tr > td,
#statement-invoice-table > tbody > tr > td,
#statement-payment-table > tbody > tr > td,
#statement-aging-table > tbody > tr > td {
border-bottom: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
padding: 1rem; padding: 1rem;
} }
#product-table > tbody > tr > td:last-child, [data-ref="table"] > tbody > tr > td:last-child {
#delivery-note-table > tbody > tr > td:last-child,
#task-table > tbody > tr > td:last-child,
#statement-invoice-table > tbody > tr > td:last-child,
#statement-payment-table > tbody > tr > td:last-child,
#statement-aging-table > tbody > tr > td:last-child {
text-align: right; text-align: right;
} }
@ -216,8 +186,7 @@
padding-right: 7px; padding-right: 7px;
} }
#statement-invoice-table-totals, [data-ref="statement-totals"] {
#statement-payment-table-totals {
margin-top: 1rem; margin-top: 1rem;
text-align: right; text-align: right;
margin-right: .75rem; margin-right: .75rem;
@ -273,20 +242,20 @@
<div id="client-details"></div> <div id="client-details"></div>
<table id="product-table" cellspacing="0"></table> <table id="product-table" cellspacing="0" data-ref="table"></table>
<table id="task-table" cellspacing="0"></table> <table id="task-table" cellspacing="0" data-ref="table"></table>
<table id="delivery-note-table" cellspacing="0"></table> <table id="delivery-note-table" cellspacing="0" data-ref="table"></table>
<table id="statement-invoice-table" cellspacing="0"></table> <table id="statement-invoice-table" cellspacing="0" data-ref="table"></table>
<div id="statement-invoice-table-totals"></div> <div id="statement-invoice-table-totals" data-ref="statement-totals"></div>
<table id="statement-payment-table" cellspacing="0"></table> <table id="statement-payment-table" cellspacing="0" data-ref="table"></table>
<div id="statement-payment-table-totals"></div> <div id="statement-payment-table-totals" data-ref="statement-totals"></div>
<table id="statement-aging-table" cellspacing="0"></table> <table id="statement-aging-table" cellspacing="0" data-ref="table"></table>
<div id="statement-aging-table-totals"></div> <div id="statement-aging-table-totals" data-ref="statement-totals"></div>
<div id="table-totals" cellspacing="0"></div> <div id="table-totals" cellspacing="0"></div>
</div> </div>