1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00
invoiceninja/resources/views/pdf-designs/creative.html

137 lines
4.0 KiB
HTML
Raw Normal View History

2020-07-21 18:29:20 +02:00
<!DOCTYPE html>
2020-09-04 13:18:17 +02:00
<html lang="en">
<head id="head">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2020-07-21 18:29:20 +02:00
2020-09-04 13:18:17 +02:00
<style id="style">
* {
margin: 0;
padding: 0;
font-size: 14px;
}
2020-07-21 18:29:20 +02:00
2020-09-04 13:18:17 +02:00
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: Arial, Helvetica, sans-serif;
}
2020-07-21 18:29:20 +02:00
2020-09-04 13:18:17 +02:00
@media print {
body {
margin: 0;
padding: 0;
}
}
body {
margin: 2rem;
}
2020-09-04 13:18:17 +02:00
.header-wrapper {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 20px;
}
.header-wrapper .company-logo {
height: 5rem;
}
.header-wrapper #client-details,
.header-wrapper #company-details,
.header-wrapper #company-address {
display: flex;
flex-direction: column;
}
.header-wrapper #client-details > *:first-child {
font-weight: bold;
}
.header-wrapper .company-info-wrapper > * {
margin-bottom: 1rem;
}
2020-09-04 13:18:17 +02:00
.entity-label-wrapper {
display: grid;
grid-template-columns: 2fr 1fr;
margin-top: 3rem;
}
.entity-label-wrapper .entity-label > * {
font-size: 3rem;
}
.entity-label-wrapper .entity-label > *:first-child {
text-transform: uppercase;
}
.entity-label-wrapper .entity-label > *:last-child {
color: #b21c53;
font-style: italic;
}
.entity-label-wrapper #entity-details {
text-align: left;
}
.entity-label-wrapper #entity-details > tr,
.entity-label-wrapper #entity-details th {
font-weight: normal;
}
2020-07-21 18:29:20 +02:00
2020-09-04 13:18:17 +02:00
#product-table {
margin-top: 3rem;
min-width: 100%;
table-layout: fixed;
overflow-wrap: break-word;
border-top: 5px solid #b21c53;
}
#product-table > thead {
text-align: left;
}
#product-table > thead > tr > th {
font-size: 1.1rem;
padding: 1rem;
}
#product-table > tbody > tr > td {
padding: 1rem;
}
#product-table > tbody > tr:nth-child(odd) {
background-color: #e8e8e8;
}
#product-table > tfoot > tr > td {
padding: 1rem;
}
#product-table > tfoot > tr:last-child > td {
border-top: 5px solid #b21c53;
}
#product-table > tfoot [data-element='product-table-balance-due'] {
color: #b21c53;
font-weight: bold;
}
</style>
</head>
2020-07-21 18:29:20 +02:00
2020-09-04 13:18:17 +02:00
<body id="body">
<div class="header-wrapper" id="header">
<div id="client-details"></div>
<div class="company-info-wrapper">
2020-07-21 18:29:20 +02:00
<div id="company-details"></div>
<div id="company-address"></div>
</div>
2020-09-04 13:18:17 +02:00
<img
class="company-logo"
src="$company.logo"
alt="$company.name logo"
/>
2020-07-21 18:29:20 +02:00
</div>
2020-09-04 13:18:17 +02:00
<div class="entity-label-wrapper">
<h1 class="entity-label">
<span>$entity_label</span>&nbsp;
<span>#$entity_number</span>
</h1>
2020-07-21 18:29:20 +02:00
2020-09-04 13:18:17 +02:00
<table id="entity-details" cellspacing="0"></table>
2020-07-21 18:29:20 +02:00
</div>
2020-09-04 13:18:17 +02:00
<table id="product-table" cellspacing="0"></table>
2020-09-04 13:18:17 +02:00
<footer id="footer"></footer>
</body>
2020-07-21 18:29:20 +02:00
</html>