Criptomart/red-supermercados-coop#4 add pos_order_backend_receipt
This commit is contained in:
parent
6aec5669be
commit
7ad70064a7
9 changed files with 640 additions and 0 deletions
73
pos_order_backend_receipt/static/src/css/receipt.css
Normal file
73
pos_order_backend_receipt/static/src/css/receipt.css
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
|
||||
.receipt {
|
||||
direction: ltr;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background-color: #f0eeee;
|
||||
font-family: "Lato", "Lucida Grande", Helvetica, Verdana, Arial;
|
||||
color: #555555;
|
||||
font-size: 12px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.receipt .right-align {
|
||||
text-align: right;
|
||||
}
|
||||
.receipt .center-align {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* The receipt */
|
||||
|
||||
.receipt .receipt-container {
|
||||
font-size: 0.75em;
|
||||
text-align: center;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.receipt .sale-ticket {
|
||||
text-align: left;
|
||||
width: 350px;
|
||||
background-color: white;
|
||||
margin: 0px;
|
||||
padding: 15px;
|
||||
font-size: 14px;
|
||||
display: inline-block;
|
||||
font-family: "Inconsolata";
|
||||
border: solid 1px rgb(220, 220, 220);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.receipt .sale-ticket pre {
|
||||
font-family: "Inconsolata";
|
||||
}
|
||||
.receipt .sale-ticket .emph {
|
||||
font-size: 20px;
|
||||
margin: 5px;
|
||||
}
|
||||
.receipt .sale-ticket table {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
table-layout: fixed;
|
||||
}
|
||||
.receipt .sale-ticket table td {
|
||||
border: 0;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/* Company logo full width inside ticket */
|
||||
.receipt .sale-ticket .company_logo {
|
||||
display: block;
|
||||
width: 100%; /* Fill container width */
|
||||
max-width: 100%;
|
||||
height: auto; /* Keep aspect ratio */
|
||||
object-fit: contain;/* Avoid distortion */
|
||||
margin: 0 0 10px 0; /* Space below logo */
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue