blob: de165144f1c42ed59d19e62ba4e18e2e70c453e4 [file] [log] [blame]
Faris Ansari6e7db032017-08-10 11:22:03 +05301@import "../../../../frappe/frappe/public/less/variables.less";
2
3.pos {
4 // display: flex;
5 padding: 15px;
6}
7
Faris Ansari03e7ec22017-08-10 17:17:34 +05308.cart-container {
Faris Ansari6e7db032017-08-10 11:22:03 +05309 padding: 0 15px;
10 // flex: 2;
11 display: inline-block;
12 width: 39%;
13 vertical-align: top;
14}
15
16.item-container {
17 padding: 0 15px;
18 // flex: 3;
19 display: inline-block;
20 width: 60%;
21 vertical-align: top;
22}
23
Faris Ansaria0f86872017-08-10 18:28:05 +053024.search-field {
25 width: 60%;
26
27 input::placeholder {
28 font-size: @text-medium;
29 }
30}
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}
36
37.cart-wrapper {
Faris Ansari0f3d4312017-08-14 18:25:59 +053038 margin-bottom: 10px;
Faris Ansari6e7db032017-08-10 11:22:03 +053039 .list-item__content:not(:first-child) {
40 justify-content: flex-end;
41 }
42}
43
44.cart-items {
45 height: 200px;
46 overflow: auto;
Faris Ansari0f3d4312017-08-14 18:25:59 +053047
48 input {
49 height: 22px;
50 font-size: @text-medium;
51 }
Faris Ansari6e7db032017-08-10 11:22:03 +053052}
53
54.fields {
55 display: flex;
56}
57
58.pos-items-wrapper {
59 max-height: 480px;
Faris Ansari7bcb1cf2017-08-11 15:49:23 +053060 overflow-y: auto;
61}
62
63.pos-items {
64 overflow: hidden;
Faris Ansari6e7db032017-08-10 11:22:03 +053065}
66
67.pos-item-wrapper {
Faris Ansaria0f86872017-08-10 18:28:05 +053068 display: flex;
69 flex-direction: column;
70 justify-content: space-between;
Faris Ansari6e7db032017-08-10 11:22:03 +053071}
72
73.image-view-container {
74 display: block;
75}
76
77.image-view-container .image-field {
78 height: auto;
79}
80
81.empty-state {
82 height: 100%;
83 position: relative;
84
85 span {
86 position: absolute;
87 color: @text-muted;
88 font-size: @text-medium;
89 top: 50%;
90 left: 50%;
91 transform: translate(-50%, -50%);
92 }
Faris Ansari0f3d4312017-08-14 18:25:59 +053093}
94
95@keyframes yellow-fade {
96 0% {background-color: @light-yellow;}
97 100% {background-color: transparent;}
98}
99
100.highlight {
101 animation: yellow-fade 1s ease-in 1;
102}
103
104input[type=number]::-webkit-inner-spin-button,
105input[type=number]::-webkit-outer-spin-button {
106 -webkit-appearance: none;
107 margin: 0;
108}
109
110// number pad
111
112.number-pad {
113 border-collapse: collapse;
114 cursor: pointer;
115 display: table;
116 margin: auto;
117}
118.num-row {
119 display: table-row;
120}
121.num-col {
122 display: table-cell;
123 border: 1px solid @border-color;
124
125 & > div {
126 width: 50px;
127 height: 50px;
128 text-align: center;
129 line-height: 50px;
130 }
Faris Ansari6e7db032017-08-10 11:22:03 +0530131}