2023-02-24 11:22:15 +00:00
|
|
|
.invoice {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice header {
|
|
|
|
flex: 1;
|
2023-02-25 02:16:20 +00:00
|
|
|
min-width: 18rem;
|
2023-02-24 11:22:15 +00:00
|
|
|
padding: 0 1rem 0 0;
|
|
|
|
display: block;
|
|
|
|
background: initial;
|
2023-02-25 12:48:57 +00:00
|
|
|
border-right: 1px solid black;
|
2023-02-24 11:22:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.invoice h1 {
|
2023-03-01 13:08:12 +00:00
|
|
|
font-size: 1em;
|
2023-02-24 11:22:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.invoice > div {
|
|
|
|
flex: 3;
|
2023-02-25 02:16:20 +00:00
|
|
|
padding: 0 0 0 2.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice .invoicee, .invoice .invoicer {
|
2023-02-25 12:48:57 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice header > div {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice .invoicer {
|
|
|
|
margin-top: 9rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice .invoicee {
|
|
|
|
margin-top: 1em;
|
|
|
|
text-align: right;
|
2023-02-25 02:16:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.invoice table {
|
|
|
|
margin: 5rem 0;
|
2023-02-24 11:22:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.invoice th {
|
|
|
|
font-weight: normal;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice thead th {
|
|
|
|
text-align: left;
|
2023-02-25 12:48:57 +00:00
|
|
|
border-bottom: 1px solid black;
|
2023-02-24 11:22:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.invoice .tfoot th, .invoice .numeric {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2023-03-05 17:50:57 +00:00
|
|
|
.invoice .notes, .invoice .payment-instructions {
|
2023-05-22 09:23:19 +00:00
|
|
|
white-space: pre-line;
|
2023-05-23 21:13:21 +00:00
|
|
|
text-align: left;
|
2023-02-24 11:22:15 +00:00
|
|
|
}
|
|
|
|
|
2023-03-05 17:50:57 +00:00
|
|
|
.invoice .notes + .payment-instructions {
|
|
|
|
margin-top: 5rem;
|
|
|
|
}
|
|
|
|
|
2023-02-24 11:22:15 +00:00
|
|
|
.invoice td {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2023-02-25 02:16:20 +00:00
|
|
|
.invoice tbody, .invoice .legal {
|
2023-02-24 11:22:15 +00:00
|
|
|
page-break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice tbody tr {
|
|
|
|
background-color: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice tbody:not(:first-of-type) tr:first-child td, .invoice .tfoot th, .invoice .tfoot td {
|
|
|
|
padding-top: 1em;
|
|
|
|
}
|
|
|
|
|
2023-03-01 13:08:12 +00:00
|
|
|
.invoice .tfoot.separator th, .invoice .tfoot.separator td {
|
|
|
|
padding-top: 3em;
|
|
|
|
}
|
|
|
|
|
2023-02-24 11:22:15 +00:00
|
|
|
.invoice tbody .name td:first-child {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invoice tbody td:first-child {
|
2023-03-01 13:08:12 +00:00
|
|
|
max-width: 15em;
|
2023-02-24 11:22:15 +00:00
|
|
|
}
|
|
|
|
|
2023-02-25 02:16:20 +00:00
|
|
|
.invoice .legal {
|
2023-03-01 13:08:12 +00:00
|
|
|
font-size: .75em;
|
2023-02-25 12:48:57 +00:00
|
|
|
text-align: justify;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen {
|
|
|
|
.invoice .legal {
|
|
|
|
margin-top: 16rem;
|
|
|
|
}
|
2023-02-24 11:22:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
@page {
|
|
|
|
size: A4;
|
2023-02-25 12:48:57 +00:00
|
|
|
margin: 64px 48px;
|
2023-02-24 11:22:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
*, *::before, *::after {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
html, body {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 62.5%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background-color: white;
|
|
|
|
color: black;
|
2023-03-01 13:08:12 +00:00
|
|
|
font-size: 1rem;
|
2023-02-24 11:22:15 +00:00
|
|
|
line-height: 1.5;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
p, h1, h2, h3, h4, h5, h6 {
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > header, nav {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-02-25 12:48:57 +00:00
|
|
|
.invoice header {
|
|
|
|
height: 260mm;
|
|
|
|
}
|
2023-05-23 21:13:21 +00:00
|
|
|
|
2023-02-25 12:48:57 +00:00
|
|
|
.invoice .legal {
|
|
|
|
position: absolute;
|
|
|
|
width: 40em;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
transform-origin: top left;
|
2023-03-01 10:43:06 +00:00
|
|
|
transform: translateY(250mm) rotate(-90deg);
|
2023-02-24 11:22:15 +00:00
|
|
|
}
|
|
|
|
}
|