blob: e2d301df0daba8ae9676a5c51a9cf7d6ae9f7738 [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 {
Rushabh Mehta01545382017-11-29 16:42:02 +053037 margin-bottom: 12px;
Faris Ansari0f3d4312017-08-14 18:25:59 +053038}
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;
Faris Ansari0f3d4312017-08-14 18:25:59 +0530124}
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}
Faris Ansari26df5b82017-08-23 13:12:12 +0530138.num-col.active {
139 background-color: #fffce7;
140}
141.num-col.brand-primary {
142 background-color: #5E64FF;
143 color: #ffffff;
144}
Faris Ansarid733b7d2017-08-27 13:56:33 +0530145.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 {
rohitwaghchaure7b78f6b2018-01-12 16:28:16 +0530172 font-size: 18px;
173}
174.rounded-total-value {
175 font-size: 18px;
Faris Ansarid733b7d2017-08-27 13:56:33 +0530176}