blob: 5c4622d97ec367bee57978b3eb44d5e9cb5646b7 [file] [log] [blame]
Rushabh Mehta5d0e8de2016-04-11 17:34:25 +05301@import "../../../../frappe/frappe/public/less/variables.less";
2
Anand Doshida858cc2015-02-24 17:50:44 +05303.erpnext-footer {
4 margin: 11px auto;
5 text-align: center;
6}
7
8.show-all-reports {
9 margin-top: 5px;
10 font-size: 11px;
11}
12
13/* toolbar */
14.toolbar-splash {
15 width: 32px;
16 height: 32px;
17 margin: -10px auto;
18}
19
20/* pos */
Rushabh Mehta203cc962016-04-07 15:25:43 +053021
Rushabh Mehta203cc962016-04-07 15:25:43 +053022.pos-item-wrapper {
23 padding: 5px;
Anand Doshida858cc2015-02-24 17:50:44 +053024}
25
26.pos-item {
Anand Doshida858cc2015-02-24 17:50:44 +053027 overflow: hidden;
28 text-overflow: ellipsis;
29 cursor: pointer;
30 padding: 5px;
Rushabh Mehta203cc962016-04-07 15:25:43 +053031 padding-bottom: 15px;
Anand Doshida858cc2015-02-24 17:50:44 +053032 border: 1px solid #d1d8dd;
Rushabh Mehta203cc962016-04-07 15:25:43 +053033 margin-bottom: 5px;
Anand Doshida858cc2015-02-24 17:50:44 +053034}
35
36.pos-item-text {
37 padding: 0px 5px;
38}
39
40.pos-item .item-code {
41 margin-bottom: 0px;
42}
43
44.pos-item .no-image {
45 background-color: #fafbfc;
46 border: 1px dashed #d1d8dd;
47}
48
49.pos-item-image {
Rushabh Mehta203cc962016-04-07 15:25:43 +053050 width: 100%;
51 height: 0px;
52 padding: 50% 0;
53 text-align: center;
54 line-height: 0;
Rushabh Mehta5d0e8de2016-04-11 17:34:25 +053055 color: @text-extra-muted;
Rushabh Mehta203cc962016-04-07 15:25:43 +053056 font-size: 30px;
Faris Ansarid2173872016-08-09 14:15:31 +053057 background-size: contain;
Anand Doshida858cc2015-02-24 17:50:44 +053058 border: 1px solid transparent;
Faris Ansarid2173872016-08-09 14:15:31 +053059 background-position: center;
60 background-repeat: no-repeat;
Anand Doshida858cc2015-02-24 17:50:44 +053061}
62
Anand Doshida858cc2015-02-24 17:50:44 +053063.pos-item-toolbar {
Faris Ansari1f261a82017-03-06 18:01:58 +053064 height: 51px; // remove later
Anand Doshida858cc2015-02-24 17:50:44 +053065 padding: 10px 0px;
66 border-bottom: 1px solid #d1d8dd;
67}
68
Anand Doshida858cc2015-02-24 17:50:44 +053069.pos-toolbar, .pos-bill-toolbar {
70 padding: 10px 0px;
rohitwaghchaurec13dbd42017-02-01 18:07:22 +053071 // border-bottom: 1px solid #d1d8dd;
Anand Doshida858cc2015-02-24 17:50:44 +053072 height: 51px;
73}
74
75.pos-item-toolbar .form-group {
76 margin-bottom: 0px;
77}
Rohit Waghchauree30f83a2017-02-24 18:02:50 +053078.edit-pos-item {
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +053079 height: 50px;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +053080 font-size: 14px;
81 border-top: 1px solid @border-color;
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +053082 padding-top: 12px;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +053083}
84
85.pos-bill-item:hover {
86 background-color: #f5f7fa;
87 cursor: pointer;
88}
89
Anand Doshida858cc2015-02-24 17:50:44 +053090.pos-item-qty {
91 display: inline-block;
92}
93
94.pos-qty-row > div {
95 padding: 5px 0px;
96}
97
98.pos-qty-btn {
99 margin-top: 3px;
100 cursor: pointer;
101 font-size: 120%;
102}
103
104.pos .search-area .form-group {
105 max-width: 100% !important;
106}
107
108.pos .tax-table {
109 margin-bottom: 10px;
110}
111
Anand Doshi906c2ba2015-07-17 15:11:24 +0530112.erpnext-icon {
Faris Ansariadcb3c62017-03-06 21:02:17 +0530113 width: 24px;
Anand Doshi906c2ba2015-07-17 15:11:24 +0530114 margin-right: 0px;
115 margin-top: -3px;
116}
Nabin Hait3769d872015-12-18 13:12:02 +0530117
118.pos .discount-amount-area {
119 .discount-field-col {
120 padding-left: 0px;
121 }
Rushabh Mehta203cc962016-04-07 15:25:43 +0530122
Nabin Hait3769d872015-12-18 13:12:02 +0530123 .input-group {
124 margin-top: 2px;
125 }
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530126}
127
128.dashboard-list-item {
129 background-color: inherit;
Rushabh Mehtad1eba512016-06-13 17:46:55 +0530130 padding: 5px 0px;
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530131 border-bottom: 1px solid @border-color;
132}
133
Rushabh Mehtad1eba512016-06-13 17:46:55 +0530134#page-stock-balance .dashboard-list-item {
135 padding: 5px 15px;
136}
137
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530138.dashboard-list-item:last-child {
139 border-bottom: none;
140}
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530141
142.payment-toolbar {
Faris Ansari8e282c22016-07-24 11:36:19 +0530143 .row {
144 width: 323px;
145 margin: 0 auto;
146 }
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530147}
148
149.payment-mode {
150 cursor: pointer;
151 font-family: sans-serif;
152 font-size: 15px;
153}
154
155.pos-payment-row .col-xs-6 {
Rohit Waghchaurebaef2622016-08-05 15:41:36 +0530156 padding :15px;
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530157}
158
159.pos-payment-row {
160 border-bottom:1px solid #d1d8dd;
Rohit Waghchaure9fe40d52016-06-13 21:37:10 +0530161 margin: 2px 0px 5px 0px;
162 height: 60px;
Rohit Waghchaurebaef2622016-08-05 15:41:36 +0530163 margin-top: 0px;
164 margin-bottom: 0px;
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530165}
166
167.pos-payment-row:hover, .pos-keyboard-key:hover{
168 background-color: #FAFBFC;
169 cursor: pointer;
170}
171
172.pos-keyboard-key, .delete-btn {
173 border: 1px solid #d1d8dd;
Rohit Waghchaure56a79742017-02-28 16:51:17 +0530174 height:85px;
175 width:85px;
176 margin:10px 10px;
177 font-size:24px;
178 font-weight:200;
179 background-color: #FDFDFD;
180 border-color: #e8e8e8;
181}
182
183.numeric-keypad {
184 border: 1px solid #d1d8dd;
Rohit Waghchaure86ab6a92017-02-24 18:02:50 +0530185 height:69px;
186 width:69px;
187 font-size:20px;
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +0530188 font-weight:200;
189 background-color: #FDFDFD;
190 border-color: #e8e8e8;
Rohit Waghchaure86ab6a92017-02-24 18:02:50 +0530191 margin-left:-4px;
192}
193
194.pos-pay {
195 height:69px;
196 width:69px;
197 font-size:17px;
198 font-weight:200;
199 margin-left:-4px;
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +0530200}
201
Faris Ansari1f261a82017-03-06 18:01:58 +0530202
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +0530203.numeric-keypad {
Faris Ansari1f261a82017-03-06 18:01:58 +0530204 height: 60px;
205 width: 60px;
206 font-size: 20px;
207 font-weight: 200;
208 border-radius: 0;
209 background-color: #fff;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530210 margin-left:-4px;
211}
212
Faris Ansari1f261a82017-03-06 18:01:58 +0530213.numeric_keypad {
214 margin-left: -15px;
215
216 & > .row > button {
217 border: none;
218 border-right: 1px solid @border-color;
219 border-bottom: 1px solid @border-color;
220
221 &:first-child {
222 border-left: 1px solid @border-color;
223 }
224 }
225
226 & > .row:first-child > button {
227 border-top: 1px solid @border-color;
228 }
229}
230
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530231.pos-pay {
Faris Ansari1f261a82017-03-06 18:01:58 +0530232 background-color: @brand-primary;
233 border: none;
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530234}
235
Faris Ansari8e282c22016-07-24 11:36:19 +0530236.multimode-payments {
237 padding-left: 30px;
238}
239
240.payment-toolbar {
241 padding-right: 30px;
242}
243
rohitwaghchaurec13dbd42017-02-01 18:07:22 +0530244.list-row-head.pos-invoice-list {
245 border-top: 1px solid @border-color;
246}
247
Faris Ansari8e282c22016-07-24 11:36:19 +0530248body[data-route="pos"] .modal-dialog {
249 width: 750px;
250
251 @media (max-width: @screen-xs) {
252 width: auto;
253
254 .modal-content {
255 height: auto;
256 }
257 }
258}
259
260@media (max-width: @screen-xs) {
261 .amount-row h3 {
262 font-size: 15px;
263 }
264 .pos-keyboard-key, .delete-btn {
265 height: 50px;
266 }
267 .multimode-payments {
268 padding-left: 15px;
269 }
270 .payment-toolbar {
271 padding-right: 15px;
272 }
273}
274
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530275.amount-label {
276 font-size: 16px;
277}
278
279.selected-payment-mode {
280 background-color: #FAFBFC;
281 cursor: pointer;
282}
283
284.pos-invoice-list {
285 padding: 15px 10px;
286}
Rohit Waghchaurebaef2622016-08-05 15:41:36 +0530287
288.write_off_amount, .change_amount {
289 margin: 15px;
290 width: 130px;
291}
Neil Trini Lasrado2a9e0f62017-01-09 18:25:43 +0530292
293// assessment tool
294.frappe-control[data-fieldname='result_html'] {
295 overflow: scroll;
296}
297.assessment-result-tool {
298 table-layout: fixed;
299
300 input {
301 width: 100%;
302 border: 0;
303 outline: none;
304 text-align: right;
305 }
306
307 th {
308 white-space: nowrap;
309 overflow: hidden;
310 text-overflow: ellipsis;
311 }
312
313 .total-score, .grade, .score {
314 text-align: right;
315 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530316}
317
318.pos-list-row {
319 display: table;
320 table-layout: fixed;
321 width: 100%;
322 padding: 9px 15px;
323 font-size: 12px;
324 margin: 0px;
325 border-bottom: 1px solid @border-color;
326
327 .cell {
328 display: table-cell;
329 vertical-align: middle;
330 }
331
332 .subject {
333 width: 50%
334 }
335
336 .list-row-checkbox, .list-select-all {
337 margin-right: 7px;
338 }
339}
340
341.pos-bill-header {
342 background-color: #f5f7fa;
343 border: 1px solid @border-color;
Faris Ansari339d9c92017-03-07 18:14:06 +0530344 padding: 13px 15px;
Faris Ansari1f261a82017-03-06 18:01:58 +0530345}
346
Faris Ansari339d9c92017-03-07 18:14:06 +0530347.pos-list-row.active {
Faris Ansari1f261a82017-03-06 18:01:58 +0530348 background-color: @light-yellow;
349}
350
351.totals-area {
352 border-right: 1px solid @border-color;
353 border-left: 1px solid @border-color;
354 margin-bottom: 15px;
355}
356
Faris Ansari1f261a82017-03-06 18:01:58 +0530357.item-cart-items {
Faris Ansari45510102017-03-09 14:43:37 +0530358 height: ~"calc(100vh - 526px)";
Faris Ansari1f261a82017-03-06 18:01:58 +0530359 overflow: auto;
360 border: 1px solid @border-color;
361 border-top: none;
362
Faris Ansari45510102017-03-09 14:43:37 +0530363}
364.pos .no-items-message {
365 min-height: 200px;
366 display: flex;
367 align-items: center;
368 justify-content: center;
369 height: 100%;
Faris Ansari1f261a82017-03-06 18:01:58 +0530370}
371
372.pos .items .pos-list-row:last-child {
373 border-bottom: none;
374}
375
376.pos .form-section-heading {
377 padding: 0;
378}
379
380.pos {
381 overflow: hidden;
382}
383
384.pos .item-list {
Faris Ansari45510102017-03-09 14:43:37 +0530385 border: 1px solid @border-color;
386 border-top: none;
387 max-height: ~"calc(100vh - 190px)";
Faris Ansari339d9c92017-03-07 18:14:06 +0530388 overflow: auto;
389
Faris Ansari45510102017-03-09 14:43:37 +0530390 @media (max-width: @screen-xs) {
391 max-height: initial;
392 }
393
Faris Ansari339d9c92017-03-07 18:14:06 +0530394 .image-field {
395 height: 140px;
396 }
Faris Ansari45510102017-03-09 14:43:37 +0530397
398 .pos-item-wrapper {
399 position: relative;
400 }
401
402 .price-info {
403 position: absolute;
404 right: 0;
405 bottom: 0;
406 background-color: rgba(0, 0, 0, 0.1);
407 padding: 9px 15px;
408 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530409}
410
411.pos-bill-toolbar {
412 margin-top: 10px;
413}
414
415.pos .search-item .form-group {
416 margin: 0;
417}
418
419.item-list-area .pos-bill-header {
420 padding: 5px;
421 padding-left: 15px;
422}
423
424.pos-selected-item-action > .pos-list-row {
425 border: none;
Faris Ansari45510102017-03-09 14:43:37 +0530426}
427
428.edit-customer-btn {
429 position: absolute;
430 right: 57px;
431 top: 15px;
432 z-index: 100;
433}
434
435.btn-more {
436 display: flex;
437 justify-content: center;
438 align-items: center;
439 cursor: pointer;
440 background-color: @light-bg;
441 min-height: 200px;
Neil Trini Lasrado2a9e0f62017-01-09 18:25:43 +0530442}