Debian Codegraph @

addons/point_of_sale/static/src/app/screens/receipt_screen/receipt_screen.scss

raw
1 .pos-receipt-container {
2 direction: ltr;
3
4 > div {
5 background-color: #FFFFFF;
6 color: #000000;
7 }
8 }
9
10 .pos-receipt {
11 .order-container {
12 padding: 0;
13 pointer-events: none;
14
15 .orderline:hover {
16 background: none;
17 }
18
19 .orderline::before {
20 display: none;
21 }
22 }
23 }
24
25 @page {
26 padding: 15px;
27 }
28
29 @media print {
30 .pos-receipt {
31 contain: paint;
32 background-color: transparent;
33 }
34 .pos, .pos * {
35 position: static !important;
36 }
37 .render-container .pos-receipt * {
38 background-color: transparent !important;
39 color: black !important;
40 }
41 .render-container .pos-receipt {
42 margin: 0 !important;
43 margin-left: auto !important;
44 margin-right: auto !important;
45 border: none !important;
46 font-size: 14px !important;
47 width: 266px !important;
48 }
49 .render-container {
50 position: absolute !important;
51 top: 10px;
52 left: 10px;
53 }
54 .o-main-components-container {
55 position: absolute !important;
56 top: 0;
57 left: 0;
58 }
59 body > *:not(.o-main-components-container),
60 .o-main-components-container > *:not(.render-container-parent),
61 .render-container-parent > *:not(.render-container) {
62 display: none !important;
63 }
64 }