blob: b19372b295eda799c7379490eda4b4dacb4f1efa [file] [log] [blame]
Faris Ansari6e7db032017-08-10 11:22:03 +05301.pos {
2 padding: 15px;
3}
Faris Ansari03e7ec22017-08-10 17:17:34 +05304.cart-container {
Faris Ansari6e7db032017-08-10 11:22:03 +05305 padding: 0 15px;
6 display: inline-block;
7 width: 39%;
8 vertical-align: top;
9}
10.item-container {
11 padding: 0 15px;
12 display: inline-block;
13 width: 60%;
14 vertical-align: top;
15}
Faris Ansaria0f86872017-08-10 18:28:05 +053016.search-field {
17 width: 60%;
18}
19.search-field input::placeholder {
20 font-size: 12px;
21}
Faris Ansari6e7db032017-08-10 11:22:03 +053022.item-group-field {
Faris Ansaria0f86872017-08-10 18:28:05 +053023 width: 40%;
Faris Ansari6e7db032017-08-10 11:22:03 +053024 margin-left: 15px;
25}
Faris Ansari0f3d4312017-08-14 18:25:59 +053026.cart-wrapper {
27 margin-bottom: 10px;
28}
Faris Ansari6e7db032017-08-10 11:22:03 +053029.cart-wrapper .list-item__content:not(:first-child) {
30 justify-content: flex-end;
31}
Faris Ansari6d2f6c22017-08-23 16:25:16 +053032.cart-wrapper .list-item--head .list-item__content:nth-child(2) {
33 flex: 1.5;
34}
Faris Ansari6e7db032017-08-10 11:22:03 +053035.cart-items {
36 height: 200px;
37 overflow: auto;
38}
Faris Ansari26df5b82017-08-23 13:12:12 +053039.cart-items .list-item.current-item {
40 background-color: #fffce7;
41}
42.cart-items .list-item.current-item.qty input {
43 border: 1px solid #5E64FF;
44 font-weight: bold;
45}
46.cart-items .list-item.current-item.disc .discount {
47 font-weight: bold;
48}
49.cart-items .list-item.current-item.rate .rate {
50 font-weight: bold;
51}
Faris Ansari6d2f6c22017-08-23 16:25:16 +053052.cart-items .list-item .quantity {
53 flex: 1.5;
54}
Faris Ansari0f3d4312017-08-14 18:25:59 +053055.cart-items input {
Faris Ansari6d2f6c22017-08-23 16:25:16 +053056 text-align: right;
Faris Ansari0f3d4312017-08-14 18:25:59 +053057 height: 22px;
58 font-size: 12px;
59}
Faris Ansari6e7db032017-08-10 11:22:03 +053060.fields {
61 display: flex;
62}
63.pos-items-wrapper {
64 max-height: 480px;
Faris Ansari7bcb1cf2017-08-11 15:49:23 +053065 overflow-y: auto;
66}
67.pos-items {
68 overflow: hidden;
Faris Ansari6e7db032017-08-10 11:22:03 +053069}
70.pos-item-wrapper {
Faris Ansaria0f86872017-08-10 18:28:05 +053071 display: flex;
72 flex-direction: column;
73 justify-content: space-between;
Faris Ansari6e7db032017-08-10 11:22:03 +053074}
75.image-view-container {
76 display: block;
77}
78.image-view-container .image-field {
79 height: auto;
80}
81.empty-state {
82 height: 100%;
83 position: relative;
84}
85.empty-state span {
86 position: absolute;
87 color: #8D99A6;
88 font-size: 12px;
89 top: 50%;
90 left: 50%;
91 transform: translate(-50%, -50%);
92}
Faris Ansari0f3d4312017-08-14 18:25:59 +053093@keyframes yellow-fade {
94 0% {
95 background-color: #fffce7;
96 }
97 100% {
98 background-color: transparent;
99 }
100}
101.highlight {
102 animation: yellow-fade 1s ease-in 1;
103}
104input[type=number]::-webkit-inner-spin-button,
105input[type=number]::-webkit-outer-spin-button {
106 -webkit-appearance: none;
107 margin: 0;
108}
109.number-pad {
110 border-collapse: collapse;
111 cursor: pointer;
112 display: table;
113 margin: auto;
114}
115.num-row {
116 display: table-row;
117}
118.num-col {
119 display: table-cell;
120 border: 1px solid #d1d8dd;
121}
122.num-col > div {
123 width: 50px;
124 height: 50px;
125 text-align: center;
126 line-height: 50px;
127}
Faris Ansari26df5b82017-08-23 13:12:12 +0530128.num-col.active {
129 background-color: #fffce7;
130}
131.num-col.brand-primary {
132 background-color: #5E64FF;
133 color: #ffffff;
134}