mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
293 lines
6.5 KiB
HTML
293 lines
6.5 KiB
HTML
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Example 3</title>
|
|
<style>
|
|
|
|
html {
|
|
-webkit-print-color-adjust: exact;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Junge;
|
|
src: url(Junge-Regular.ttf);
|
|
}
|
|
|
|
.clearfix:after {
|
|
content: "";
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
|
|
a {
|
|
color: #001028;
|
|
text-decoration: none;
|
|
}
|
|
|
|
body {
|
|
font-family: Junge;
|
|
position: relative;
|
|
width: 21cm;
|
|
height: 29.7cm;
|
|
margin: 0 auto;
|
|
color: #001028;
|
|
background: #FFFFFF;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.arrow {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.arrow.back {
|
|
text-align: right;
|
|
}
|
|
|
|
.inner-arrow {
|
|
padding-right: 10px;
|
|
height: 30px;
|
|
display: inline-block;
|
|
background-color: rgb(233, 125, 49);
|
|
text-align: center;
|
|
|
|
line-height: 30px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.arrow.back .inner-arrow {
|
|
background-color: rgb(233, 217, 49);
|
|
padding-right: 0;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.arrow:before,
|
|
.arrow:after {
|
|
content:'';
|
|
display: inline-block;
|
|
width: 0; height: 0;
|
|
border: 15px solid transparent;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.arrow:before {
|
|
border-top-color: rgb(233, 125, 49);
|
|
border-bottom-color: rgb(233, 125, 49);
|
|
border-right-color: rgb(233, 125, 49);
|
|
}
|
|
|
|
.arrow.back:before {
|
|
border-top-color: transparent;
|
|
border-bottom-color: transparent;
|
|
border-right-color: rgb(233, 217, 49);
|
|
border-left-color: transparent;
|
|
}
|
|
|
|
.arrow:after {
|
|
border-left-color: rgb(233, 125, 49);
|
|
}
|
|
|
|
.arrow.back:after {
|
|
border-left-color: rgb(233, 217, 49);
|
|
border-top-color: rgb(233, 217, 49);
|
|
border-bottom-color: rgb(233, 217, 49);
|
|
border-right-color: transparent;
|
|
}
|
|
|
|
.arrow span {
|
|
display: inline-block;
|
|
width: 80px;
|
|
margin-right: 20px;
|
|
text-align: right;
|
|
}
|
|
|
|
.arrow.back span {
|
|
margin-right: 0;
|
|
margin-left: 20px;
|
|
text-align: left;
|
|
}
|
|
|
|
h1 {
|
|
color: #5D6975;
|
|
font-family: Junge;
|
|
font-size: 2.4em;
|
|
line-height: 1.4em;
|
|
font-weight: normal;
|
|
text-align: center;
|
|
border-top: 1px solid #5D6975;
|
|
border-bottom: 1px solid #5D6975;
|
|
margin: 0 0 2em 0;
|
|
}
|
|
|
|
h1 small {
|
|
font-size: 0.45em;
|
|
line-height: 1.5em;
|
|
float: left;
|
|
}
|
|
|
|
h1 small:last-child {
|
|
float: right;
|
|
}
|
|
|
|
#project {
|
|
float: left;
|
|
}
|
|
|
|
#company {
|
|
float: right;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
table th,
|
|
table td {
|
|
text-align: center;
|
|
}
|
|
|
|
table th {
|
|
padding: 5px 20px;
|
|
color: #5D6975;
|
|
border-bottom: 1px solid #C1CED9;
|
|
white-space: nowrap;
|
|
font-weight: normal;
|
|
}
|
|
|
|
table .service,
|
|
table .desc {
|
|
text-align: left;
|
|
}
|
|
|
|
table td {
|
|
padding: 20px;
|
|
text-align: right;
|
|
}
|
|
|
|
table td.service,
|
|
table td.desc {
|
|
vertical-align: top;
|
|
}
|
|
|
|
table td.unit,
|
|
table td.qty,
|
|
table td.total {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
table td.sub {
|
|
border-top: 1px solid #C1CED9;
|
|
}
|
|
|
|
table td.grand {
|
|
border-top: 1px solid #5D6975;
|
|
}
|
|
|
|
table tr:nth-child(2n-1) td {
|
|
background: #EEEEEE;
|
|
}
|
|
|
|
table tr:last-child td {
|
|
background: #DDDDDD;
|
|
}
|
|
|
|
#details {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
footer {
|
|
color: #5D6975;
|
|
width: 100%;
|
|
height: 30px;
|
|
position: absolute;
|
|
bottom: 0;
|
|
border-top: 1px solid #C1CED9;
|
|
padding: 8px 0;
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<h1 class="clearfix"><small><span>DATE</span><br />August 17, 2015</small> INVOICE 3-2-1 <small><span>DUE DATE</span><br /> September 17, 2015</small></h1>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="service">SERVICE</th>
|
|
<th class="desc">DESCRIPTION</th>
|
|
<th>PRICE</th>
|
|
<th>QTY</th>
|
|
<th>TOTAL</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="service">Design</td>
|
|
<td class="desc">Creating a recognizable design solution based on the company's existing visual identity</td>
|
|
<td class="unit">$40.00</td>
|
|
<td class="qty">26</td>
|
|
<td class="total">$1,040.00</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="service">Development</td>
|
|
<td class="desc">Developing a Content Management System-based Website</td>
|
|
<td class="unit">$40.00</td>
|
|
<td class="qty">80</td>
|
|
<td class="total">$3,200.00</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="service">SEO</td>
|
|
<td class="desc">Optimize the site for search engines (SEO)</td>
|
|
<td class="unit">$40.00</td>
|
|
<td class="qty">20</td>
|
|
<td class="total">$800.00</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="service">Training</td>
|
|
<td class="desc">Initial training sessions for staff responsible for uploading web content</td>
|
|
<td class="unit">$40.00</td>
|
|
<td class="qty">4</td>
|
|
<td class="total">$160.00</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4" class="sub">SUBTOTAL</td>
|
|
<td class="sub total">$5,200.00</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4">TAX 25%</td>
|
|
<td class="total">$1,300.00</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4" class="grand total">GRAND TOTAL</td>
|
|
<td class="grand total">$6,500.00</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div id="details" class="clearfix">
|
|
<div id="project">
|
|
<div class="arrow"><div class="inner-arrow"><span>PROJECT</span> Website development</div></div>
|
|
<div class="arrow"><div class="inner-arrow"><span>CLIENT</span> John Doe</div></div>
|
|
<div class="arrow"><div class="inner-arrow"><span>ADDRESS</span> 796 Silver Harbour, TX 79273, US</div></div>
|
|
<div class="arrow"><div class="inner-arrow"><span>EMAIL</span> <a href="mailto:john@example.com">john@example.com</a></div></div>
|
|
</div>
|
|
<div id="company">
|
|
<div class="arrow back"><div class="inner-arrow">Company Name <span>COMPANY</span></div></div>
|
|
<div class="arrow back"><div class="inner-arrow">455 Foggy Heights, AZ 85004, US <span>ADDRESS</span></div></div>
|
|
<div class="arrow back"><div class="inner-arrow">(602) 519-0450 <span>PHONE</span></div></div>
|
|
<div class="arrow back"><div class="inner-arrow"><a href="mailto:company@example.com">company@example.com</a> <span>EMAIL</span></div></div>
|
|
</div>
|
|
</div>
|
|
<div id="notices">
|
|
<div>NOTICE:</div>
|
|
<div class="notice">A finance charge of 1.5% will be made on unpaid balances after 30 days.</div>
|
|
</div>
|
|
</main>
|
|
<footer>
|
|
Invoice was created on a computer and is valid without the signature and seal.
|
|
</footer>
|
|
</body>
|
|
</html> |