mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 07:10:33 +00:00
feat: invoice, estimate and receipt printing.
This commit is contained in:
57
server/resources/scss/layouts/paper-layout.scss
Normal file
57
server/resources/scss/layouts/paper-layout.scss
Normal file
@@ -0,0 +1,57 @@
|
||||
@import "../base.scss";
|
||||
|
||||
body {
|
||||
background: #f8f9fa;
|
||||
font-family: 'Noto Sans', sans-serif;
|
||||
text-align: left;
|
||||
|
||||
@media print {
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.page {
|
||||
background: white;
|
||||
display: block;
|
||||
margin: 0.5cm auto;
|
||||
box-shadow: rgba(122, 136, 146, 0.15) 0px 1px 3px 1px;
|
||||
width: 21cm;
|
||||
height: 29.7cm;
|
||||
|
||||
@media print {
|
||||
margin: 0;
|
||||
box-shadow: 0 0 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
&[size="A4"] {
|
||||
width: 21cm;
|
||||
height: 29.7cm;
|
||||
}
|
||||
|
||||
&[size="A4"][layout="landscape"] {
|
||||
width: 29.7cm;
|
||||
height: 21cm;
|
||||
}
|
||||
|
||||
&[size="A3"] {
|
||||
width: 29.7cm;
|
||||
height: 42cm;
|
||||
}
|
||||
|
||||
&[size="A3"][layout="landscape"] {
|
||||
width: 42cm;
|
||||
height: 29.7cm;
|
||||
}
|
||||
|
||||
&[size="A5"] {
|
||||
width: 14.8cm;
|
||||
height: 21cm;
|
||||
}
|
||||
|
||||
&[size="A5"][layout="landscape"] {
|
||||
width: 21cm;
|
||||
height: 14.8cm;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user