blob: f66abc80816d0d8dc54f65f9f653fdde40ed0d10 [file] [log] [blame]
Faris Ansarid733b7d2017-08-27 13:56:33 +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}
Faris Ansari6e7db032017-08-10 11:22:03 +05307.pos {
8 padding: 15px;
9}
Faris Ansarid733b7d2017-08-27 13:56:33 +053010.list-item {
11 min-height: 40px;
12 height: auto;
13}
Faris Ansari03e7ec22017-08-10 17:17:34 +053014.cart-container {
Faris Ansari6e7db032017-08-10 11:22:03 +053015 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}
Faris Ansaria0f86872017-08-10 18:28:05 +053026.search-field {
27 width: 60%;
28}
29.search-field input::placeholder {
30 font-size: 12px;
31}
Faris Ansari6e7db032017-08-10 11:22:03 +053032.item-group-field {
Faris Ansaria0f86872017-08-10 18:28:05 +053033 width: 40%;
Faris Ansari6e7db032017-08-10 11:22:03 +053034 margin-left: 15px;
35}
Faris Ansari0f3d4312017-08-14 18:25:59 +053036.cart-wrapper {
37 margin-bottom: 10px;
38}
Faris Ansari6e7db032017-08-10 11:22:03 +053039.cart-wrapper .list-item__content:not(:first-child) {
40 justify-content: flex-end;
41}
Faris Ansari6d2f6c22017-08-23 16:25:16 +053042.cart-wrapper .list-item--head .list-item__content:nth-child(2) {
43 flex: 1.5;
44}
Faris Ansari6e7db032017-08-10 11:22:03 +053045.cart-items {
Faris Ansarid733b7d2017-08-27 13:56:33 +053046 height: 150px;
Faris Ansari6e7db032017-08-10 11:22:03 +053047 overflow: auto;
48}
Faris Ansari26df5b82017-08-23 13:12:12 +053049.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}
Faris Ansari6d2f6c22017-08-23 16:25:16 +053062.cart-items .list-item .quantity {
63 flex: 1.5;
64}
Faris Ansari0f3d4312017-08-14 18:25:59 +053065.cart-items input {
Faris Ansari6d2f6c22017-08-23 16:25:16 +053066 text-align: right;
Faris Ansari0f3d4312017-08-14 18:25:59 +053067 height: 22px;
68 font-size: 12px;
69}
Faris Ansari6e7db032017-08-10 11:22:03 +053070.fields {
71 display: flex;
72}
73.pos-items-wrapper {
74 max-height: 480px;
Faris Ansari7bcb1cf2017-08-11 15:49:23 +053075 overflow-y: auto;
76}
77.pos-items {
78 overflow: hidden;
Faris Ansari6e7db032017-08-10 11:22:03 +053079}
80.pos-item-wrapper {
Faris Ansaria0f86872017-08-10 18:28:05 +053081 display: flex;
82 flex-direction: column;
Faris Ansari655f86d2017-08-29 14:27:01 +053083 position: relative;
84 width: 25%;
Faris Ansari6e7db032017-08-10 11:22:03 +053085}
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}
Faris Ansari0f3d4312017-08-14 18:25:59 +0530104@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 margin: auto;
125}
126.num-row {
127 display: table-row;
128}
129.num-col {
130 display: table-cell;
131 border: 1px solid #d1d8dd;
132}
133.num-col > div {
134 width: 50px;
135 height: 50px;
136 text-align: center;
137 line-height: 50px;
138}
Faris Ansari26df5b82017-08-23 13:12:12 +0530139.num-col.active {
140 background-color: #fffce7;
141}
142.num-col.brand-primary {
143 background-color: #5E64FF;
144 color: #ffffff;
145}
Faris Ansarid733b7d2017-08-27 13:56:33 +0530146.discount-amount .discount-inputs {
147 display: flex;
148 flex-direction: column;
149 padding: 15px 0;
150}
151.discount-amount input:first-child {
152 margin-bottom: 10px;
153}
154.taxes-and-totals {
155 border-top: 1px solid #d1d8dd;
156}
157.taxes-and-totals .taxes {
158 display: flex;
159 flex-direction: column;
160 padding: 15px 0;
161 align-items: flex-end;
162}
163.taxes-and-totals .taxes > div:first-child {
164 margin-bottom: 10px;
165}
166.grand-total {
167 border-top: 1px solid #d1d8dd;
168}
169.grand-total .list-item {
170 height: 60px;
171}
172.grand-total .grand-total-value {
173 font-size: 24px;
174}