mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Update designs to support delivery-notes
This commit is contained in:
parent
8adab67251
commit
0751a44d21
@ -83,7 +83,8 @@
|
||||
}
|
||||
|
||||
#product-table,
|
||||
#task-table {
|
||||
#task-table,
|
||||
#delivery-note-table {
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
overflow-wrap: break-word;
|
||||
@ -98,37 +99,44 @@
|
||||
}
|
||||
|
||||
#product-table > thead,
|
||||
#delivery-note-table > thead,
|
||||
#task-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th,
|
||||
#delivery-note-table > thead > tr > th,
|
||||
#task-table > thead > tr > th {
|
||||
padding: 2rem;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th:last-child,
|
||||
#delivery-note-table > thead > tr > th:last-child,
|
||||
#task-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 {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td:last-child,
|
||||
#delivery-note-table > tbody > tr > td:last-child,
|
||||
#task-table > tbody > tr > td:last-child {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td:first-child,
|
||||
#delivery-note-table > tbody > tr > td:first-child,
|
||||
#task-table > tbody > tr > td:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr:nth-child(odd),
|
||||
#delivery-note-table > tbody > tr:nth-child(odd),
|
||||
#task-table > tbody > tr:nth-child(odd) {
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
@ -194,6 +202,8 @@
|
||||
<table id="task-table" cellspacing="0"></table>
|
||||
|
||||
<div id="table-totals" cellspacing="0"></div>
|
||||
|
||||
<div id="delivery-note-table" cellspacing="0"></div>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
|
@ -93,6 +93,7 @@
|
||||
}
|
||||
|
||||
#product-table,
|
||||
#delivery-note-table,
|
||||
#task-table {
|
||||
margin-top: 3.5rem;
|
||||
/* margin-bottom: 200px; */
|
||||
@ -108,12 +109,14 @@
|
||||
}
|
||||
|
||||
#product-table > thead,
|
||||
#delivery-note-table > thead,
|
||||
#task-table > thead {
|
||||
text-align: left;
|
||||
background: var(--secondary-color);
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th,
|
||||
#delivery-note-table > thead > tr > th,
|
||||
#task-table > thead > tr > th {
|
||||
padding: 1rem;
|
||||
color: white;
|
||||
@ -121,32 +124,38 @@
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th:first-child,
|
||||
#delivery-note-table > thead > tr > th:first-child,
|
||||
#task-table > thead > tr > th:first-child {
|
||||
border-top-left-radius: 1rem;
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th:last-child,
|
||||
#delivery-note-table > thead > tr > th:last-child,
|
||||
#task-table > thead > tr > th:last-child {
|
||||
border-top-right-radius: 1rem;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td,
|
||||
#delivery-note-table > tbody > tr > td,
|
||||
#task-table > tbody > tr > td {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td:last-child,
|
||||
#delivery-note-table > tbody > tr > td:last-child,
|
||||
#task-table > tbody > tr > td:last-child {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr:nth-child(odd) > td,
|
||||
#delivery-note-table > tbody > tr:nth-child(odd) > td,
|
||||
#task-table > tbody > tr:nth-child(odd) > td {
|
||||
background: #e8e8e8;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr:nth-child(even) > td,
|
||||
#delivery-note-table > tbody > tr:nth-child(even) > td,
|
||||
#task-table > tbody > tr:nth-child(even) > td {
|
||||
background: #f7f7f7;
|
||||
}
|
||||
@ -235,6 +244,8 @@
|
||||
<table id="task-table" cellspacing="0"></table>
|
||||
|
||||
<div id="table-totals" cellspacing="0"></div>
|
||||
|
||||
<div id="delivery-note-table" cellspacing="0"></div>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
|
@ -78,6 +78,7 @@
|
||||
}
|
||||
|
||||
#product-table,
|
||||
#delivery-note-table,
|
||||
#task-table {
|
||||
margin-top: 3rem;
|
||||
/* margin-bottom: 200px; */
|
||||
@ -93,11 +94,13 @@
|
||||
}
|
||||
|
||||
#product-table > thead,
|
||||
#delivery-note-table > thead,
|
||||
#task-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th,
|
||||
#delivery-note-table > thead > tr > th,
|
||||
#task-table > thead > tr > th {
|
||||
font-size: 1.1rem;
|
||||
padding-bottom: 1.5rem;
|
||||
@ -105,17 +108,20 @@
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td,
|
||||
#delivery-note-table > tbody > tr > td,
|
||||
#task-table > tbody > tr > td {
|
||||
border-bottom: 1px solid #9f9f9f;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td:first-child,
|
||||
#delivery-note-table > tbody > tr > td:first-child,
|
||||
#task-table > tbody > tr > td:first-child {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
#product-table > tbody > tr:nth-child(odd),
|
||||
#delivery-note-table > tbody > tr:nth-child(odd),
|
||||
#task-table > tbody > tr:nth-child(odd) {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
@ -179,6 +185,8 @@
|
||||
<table id="task-table" cellspacing="0"></table>
|
||||
|
||||
<div id="table-totals" cellspacing="0"></div>
|
||||
|
||||
<div id="delivery-note-table" cellspacing="0"></div>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
|
@ -87,6 +87,7 @@
|
||||
}
|
||||
|
||||
#product-table,
|
||||
#delivery-note-table,
|
||||
#task-table {
|
||||
margin-top: 3rem;
|
||||
/* margin-bottom: 200px; */
|
||||
@ -103,32 +104,38 @@
|
||||
}
|
||||
|
||||
#product-table > thead,
|
||||
#delivery-note-table > thead,
|
||||
#task-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th,
|
||||
#delivery-note-table > thead > tr > th,
|
||||
#task-table > thead > tr > th {
|
||||
font-size: 1.1rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th:last-child,
|
||||
#delivery-note-table > thead > tr > th:last-child,
|
||||
#task-table > thead > tr > th:last-child {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td:last-child,
|
||||
#delivery-note-table > tbody > tr > td:last-child,
|
||||
#task-table > tbody > tr > td:last-child {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td,
|
||||
#delivery-note-table > tbody > tr > td,
|
||||
#task-table > tbody > tr > td {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr:nth-child(odd),
|
||||
#delivery-note-table > tbody > tr:nth-child(odd),
|
||||
#task-table > tbody > tr:nth-child(odd) {
|
||||
background-color: #e8e8e8;
|
||||
}
|
||||
@ -197,6 +204,8 @@
|
||||
<table id="task-table" cellspacing="0"></table>
|
||||
|
||||
<div id="table-totals" cellspacing="0"></div>
|
||||
|
||||
<div id="delivery-note-table" cellspacing="0"></div>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
|
@ -80,6 +80,7 @@
|
||||
}
|
||||
|
||||
#product-table,
|
||||
#delivery-note-table,
|
||||
#task-table {
|
||||
margin-top: 3rem;
|
||||
/* margin-bottom: 200px; */
|
||||
@ -95,11 +96,13 @@
|
||||
}
|
||||
|
||||
#product-table > thead,
|
||||
#delivery-note-table > thead,
|
||||
#task-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th,
|
||||
#delivery-note-table > thead > tr > th,
|
||||
#task-table > thead > tr > th {
|
||||
font-size: 1.1rem;
|
||||
padding-bottom: 1.5rem;
|
||||
@ -109,17 +112,20 @@
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th:last-child,
|
||||
#delivery-note-table > thead > tr > th:last-child,
|
||||
#task-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 {
|
||||
border-bottom: 1px solid;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td:last-child,
|
||||
#delivery-note-table > tbody > tr > td:last-child,
|
||||
#task-table > tbody > tr > td:last-child {
|
||||
text-align: right;
|
||||
}
|
||||
@ -204,6 +210,8 @@
|
||||
<table id="task-table" cellspacing="0"></table>
|
||||
|
||||
<div id="table-totals" cellspacing="0"></div>
|
||||
|
||||
<div id="delivery-note-table" cellspacing="0"></div>
|
||||
</div>
|
||||
|
||||
<p class="thanks-label">$thanks_label!</p>
|
||||
|
@ -98,6 +98,7 @@
|
||||
}
|
||||
|
||||
#product-table,
|
||||
#delivery-note-table,
|
||||
#task-table {
|
||||
margin-top: 3rem;
|
||||
/* margin-bottom: 200px; */
|
||||
@ -112,6 +113,7 @@
|
||||
color: grey;
|
||||
}
|
||||
|
||||
#product-table > thead,
|
||||
#product-table > thead,
|
||||
#task-table > thead {
|
||||
text-align: left;
|
||||
@ -120,6 +122,7 @@
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th,
|
||||
#delivery-note-table > thead > tr > th,
|
||||
#task-table > thead > tr > th {
|
||||
font-size: 1.1rem;
|
||||
padding-bottom: 1.5rem;
|
||||
@ -128,17 +131,20 @@
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th:last-child,
|
||||
#delivery-note-table > thead > tr > th:last-child,
|
||||
#task-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 {
|
||||
padding: 1rem;
|
||||
border-left: 1px solid;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr td:last-child,
|
||||
#delivery-note-table > tbody > tr td:last-child,
|
||||
#task-table > tbody > tr td:last-child {
|
||||
text-align: right;
|
||||
}
|
||||
@ -233,6 +239,8 @@
|
||||
<table id="task-table" cellspacing="0"></table>
|
||||
|
||||
<div id="table-totals" cellspacing="0"></div>
|
||||
|
||||
<div id="delivery-note-table" cellspacing="0"></div>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
|
@ -71,6 +71,7 @@
|
||||
}
|
||||
|
||||
#product-table,
|
||||
#delivery-note-table,
|
||||
#task-table {
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
@ -78,11 +79,13 @@
|
||||
}
|
||||
|
||||
#product-table > thead,
|
||||
#delivery-note-table > thead,
|
||||
#task-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th,
|
||||
#delivery-note-table > thead > tr > th,
|
||||
#task-table > thead > tr > th {
|
||||
padding: 0.8rem;
|
||||
background-color: var(--secondary-color);
|
||||
@ -90,22 +93,26 @@
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th:last-child,
|
||||
#delivery-note-table > thead > tr > th:last-child,
|
||||
#task-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 {
|
||||
border-bottom: 1px solid var(--secondary-color);
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td:first-child,
|
||||
#delivery-note-table > tbody > tr > td:first-child,
|
||||
#task-table > tbody > tr > td:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td:last-child,
|
||||
#delivery-note-table > tbody > tr > td:last-child,
|
||||
#task-table > tbody > tr > td:last-child {
|
||||
text-align: right;
|
||||
}
|
||||
@ -235,6 +242,7 @@
|
||||
<div class="table-wrapper">
|
||||
<table id="product-table" cellspacing="0"></table>
|
||||
<table id="task-table" cellspacing="0"></table>
|
||||
<div id="delivery-note-table" cellspacing="0"></div>
|
||||
</div>
|
||||
|
||||
<div id="table-totals" cellspacing="0"></div>
|
||||
|
@ -58,7 +58,9 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#product-table, #task-table {
|
||||
#product-table,
|
||||
#delivery-note-table,
|
||||
#task-table {
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
overflow-wrap: break-word;
|
||||
@ -72,28 +74,34 @@
|
||||
color: grey;
|
||||
}
|
||||
|
||||
#product-table, #task-table > thead {
|
||||
#product-table > thead,
|
||||
#delivery-note-table > thead,
|
||||
#task-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th,
|
||||
#delivery-note-table > thead > tr > th,
|
||||
#task-table > thead > tr > th {
|
||||
padding: 1rem;
|
||||
background-color: #e6e6e6;
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th:last-child,
|
||||
#delivery-note-table > thead > tr > th:last-child,
|
||||
#task-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 {
|
||||
border-bottom: 1px solid #e6e6e6;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td:last-child,
|
||||
#delivery-note-table > tbody > tr > td:last-child,
|
||||
#task-table > tbody > tr > td:last-child {
|
||||
text-align: right;
|
||||
}
|
||||
@ -150,6 +158,8 @@
|
||||
<table id="task-table" cellspacing="0"></table>
|
||||
|
||||
<div id="table-totals" cellspacing="0"></div>
|
||||
|
||||
<div id="delivery-note-table" cellspacing="0"></div>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
|
@ -88,6 +88,7 @@
|
||||
}
|
||||
|
||||
#product-table,
|
||||
#delivery-note-table,
|
||||
#task-table {
|
||||
margin-top: 3rem;
|
||||
/* margin-bottom: 200px; */
|
||||
@ -103,11 +104,13 @@
|
||||
}
|
||||
|
||||
#product-table > thead,
|
||||
#delivery-note-table > thead,
|
||||
#task-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#product-table > thead > tr > th,
|
||||
#delivery-note-table > thead > tr > th,
|
||||
#task-table > thead > tr > th {
|
||||
font-size: 1.2rem;
|
||||
padding: 1rem;
|
||||
@ -116,34 +119,40 @@
|
||||
}
|
||||
|
||||
#product-table > thead tr > th:last-child,
|
||||
#delivery-note-table > thead tr > th:last-child,
|
||||
#task-table > thead tr > th:last-child {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#product-table > thead tr > th:first-child,
|
||||
#delivery-note-table > thead tr > th:first-child,
|
||||
#task-table > thead tr > th:first-child {
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
|
||||
#product-table > thead tr > th:last-child,
|
||||
#delivery-note-table > thead tr > th:last-child,
|
||||
#task-table > thead tr > th:last-child {
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td,
|
||||
#delivery-note-table > tbody > tr > td,
|
||||
#task-table > tbody > tr > td {
|
||||
border-bottom: 1px solid var(--primary-color);
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#product-table > tbody > tr > td:first-child,
|
||||
#delivery-note-table > tbody > tr > td:first-child,
|
||||
#task-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 {
|
||||
text-align: right;
|
||||
}
|
||||
@ -218,6 +227,8 @@
|
||||
<table id="task-table" cellspacing="0"></table>
|
||||
|
||||
<div id="table-totals" cellspacing="0"></div>
|
||||
|
||||
<div id="delivery-note-table" cellspacing="0"></div>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user