99 lines
2.5 KiB
CSS
99 lines
2.5 KiB
CSS
@media print {
|
|
@page {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
size: auto;
|
|
}
|
|
html, body {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
height: auto !important;
|
|
overflow: visible !important;
|
|
background-color: transparent !important;
|
|
-webkit-print-color-adjust: exact !important;
|
|
print-color-adjust: exact !important;
|
|
}
|
|
.pos-receipt-container {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
height: auto !important;
|
|
}
|
|
.render-container {
|
|
position: static !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
height: auto !important;
|
|
}
|
|
.render-container-parent {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
height: auto !important;
|
|
}
|
|
.pos-receipt {
|
|
padding-top: 0 !important;
|
|
padding-right: 0 !important;
|
|
padding-bottom: 0 !important;
|
|
padding-left: 0 !important;
|
|
margin: 0 !important;
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
background-color: transparent !important;
|
|
}
|
|
.render-container .pos-receipt {
|
|
margin: 0 !important;
|
|
padding-bottom: 0 !important;
|
|
border: none !important;
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
}
|
|
}
|
|
|
|
.pos-receipt {
|
|
padding-top: 0 !important;
|
|
padding-right: 0 !important;
|
|
padding-bottom: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/* Enlarge order lines font size for high legibility (readable by 40+ years old) */
|
|
.pos-receipt .orderlines,
|
|
.pos-receipt .orderline,
|
|
.pos-receipt .pos-receipt-orderline,
|
|
.pos-receipt .orderlines li {
|
|
font-size: 135% !important;
|
|
font-weight: bold !important;
|
|
line-height: 1.3 !important;
|
|
}
|
|
|
|
.pos-receipt .orderline *,
|
|
.pos-receipt .pos-receipt-orderline *,
|
|
.pos-receipt .orderlines li * {
|
|
font-size: 100% !important;
|
|
font-weight: bold !important;
|
|
}
|
|
|
|
/* Styled notes for readability */
|
|
.pos-receipt .customer-note,
|
|
.pos-receipt .internal-note,
|
|
.pos-receipt .info-list,
|
|
.pos-receipt li.customer-note {
|
|
font-size: 110% !important;
|
|
font-weight: normal !important;
|
|
}
|
|
|
|
/* Force bottom padding/margins to 0 to prevent footer white spaces */
|
|
.pos-receipt {
|
|
padding-bottom: 0 !important;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
@media print {
|
|
.pos-receipt {
|
|
padding-bottom: 0 !important;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
}
|
|
|