blob: 613a5ffa6e6c4d4e2f8638ddd6f64e067738ab48 [file] [log] [blame]
pawan081f40c2018-02-09 11:56:32 +05301[data-route="point-of-sale"] .layout-main-section-wrapper {
2 margin-bottom: 0;
3}
4[data-route="point-of-sale"] .pos-items-wrapper {
5 max-height: calc(100vh - 210px);
6}
7.pos {
8 padding: 15px;
9}
10.list-item {
11 min-height: 40px;
12 height: auto;
13}
14.cart-container {
15 padding: 0 15px;
16 display: inline-block;
17 width: 39%;
18 vertical-align: top;
19}
20.item-container {
21 padding: 0 15px;
22 display: inline-block;
23 width: 60%;
24 vertical-align: top;
25}
26.search-field {
27 width: 60%;
28}
29.search-field input::placeholder {
30 font-size: 12px;
31}
32.item-group-field {
33 width: 40%;
34 margin-left: 15px;
35}
36.cart-wrapper {
37 margin-bottom: 12px;
38}
39.cart-wrapper .list-item__content:not(:first-child) {
40 justify-content: flex-end;
41}
42.cart-wrapper .list-item--head .list-item__content:nth-child(2) {
43 flex: 1.5;
44}
45.cart-items {
46 height: 150px;
47 overflow: auto;
48}
49.cart-items .list-item.current-item {
50 background-color: #fffce7;
51}
52.cart-items .list-item.current-item.qty input {
53 border: 1px solid #5E64FF;
54 font-weight: bold;
55}
56.cart-items .list-item.current-item.disc .discount {
57 font-weight: bold;
58}
59.cart-items .list-item.current-item.rate .rate {
60 font-weight: bold;
61}
62.cart-items .list-item .quantity {
63 flex: 1.5;
64}
65.cart-items input {
66 text-align: right;
67 height: 22px;
68 font-size: 12px;
69}
70.fields {
71 display: flex;
72}
73.pos-items-wrapper {
74 max-height: 480px;
75 overflow-y: auto;
76}
77.pos-items {
78 overflow: hidden;
79}
80.pos-item-wrapper {
81 display: flex;
82 flex-direction: column;
83 position: relative;
84 width: 25%;
85}
86.image-view-container {
87 display: block;
88}
89.image-view-container .image-field {
90 height: auto;
91}
92.empty-state {
93 height: 100%;
94 position: relative;
95}
96.empty-state span {
97 position: absolute;
98 color: #8D99A6;
99 font-size: 12px;
100 top: 50%;
101 left: 50%;
102 transform: translate(-50%, -50%);
103}
104@keyframes yellow-fade {
105 0% {
106 background-color: #fffce7;
107 }
108 100% {
109 background-color: transparent;
110 }
111}
112.highlight {
113 animation: yellow-fade 1s ease-in 1;
114}
115input[type=number]::-webkit-inner-spin-button,
116input[type=number]::-webkit-outer-spin-button {
117 -webkit-appearance: none;
118 margin: 0;
119}
120.number-pad {
121 border-collapse: collapse;
122 cursor: pointer;
123 display: table;
124}
125.num-row {
126 display: table-row;
127}
128.num-col {
129 display: table-cell;
130 border: 1px solid #d1d8dd;
131}
132.num-col > div {
133 width: 50px;
134 height: 50px;
135 text-align: center;
136 line-height: 50px;
137}
138.num-col.active {
139 background-color: #fffce7;
140}
141.num-col.brand-primary {
142 background-color: #5E64FF;
143 color: #ffffff;
144}
145.discount-amount .discount-inputs {
146 display: flex;
147 flex-direction: column;
148 padding: 15px 0;
149}
150.discount-amount input:first-child {
151 margin-bottom: 10px;
152}
153.taxes-and-totals {
154 border-top: 1px solid #d1d8dd;
155}
156.taxes-and-totals .taxes {
157 display: flex;
158 flex-direction: column;
159 padding: 15px 0;
160 align-items: flex-end;
161}
162.taxes-and-totals .taxes > div:first-child {
163 margin-bottom: 10px;
164}
165.grand-total {
166 border-top: 1px solid #d1d8dd;
167}
168.grand-total .list-item {
169 height: 60px;
170}
171.grand-total .grand-total-value {
172 font-size: 18px;
173}
174.rounded-total-value {
175 font-size: 18px;
176}
177.quantity-total {
178 font-size: 18px;
179}