blob: 8b1ecdc0393f08f442a720ace4aa23b6558d58b2 [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
Faris Ansari1f261a82017-03-06 18:01:58 +053022// .pos-item-area {
23// padding: 0px 10px;
24// }
Rushabh Mehta203cc962016-04-07 15:25:43 +053025
26.pos-item-wrapper {
27 padding: 5px;
Anand Doshida858cc2015-02-24 17:50:44 +053028}
29
30.pos-item {
Anand Doshida858cc2015-02-24 17:50:44 +053031 overflow: hidden;
32 text-overflow: ellipsis;
33 cursor: pointer;
34 padding: 5px;
Rushabh Mehta203cc962016-04-07 15:25:43 +053035 padding-bottom: 15px;
Anand Doshida858cc2015-02-24 17:50:44 +053036 border: 1px solid #d1d8dd;
Rushabh Mehta203cc962016-04-07 15:25:43 +053037 margin-bottom: 5px;
Anand Doshida858cc2015-02-24 17:50:44 +053038}
39
40.pos-item-text {
41 padding: 0px 5px;
42}
43
44.pos-item .item-code {
45 margin-bottom: 0px;
46}
47
48.pos-item .no-image {
49 background-color: #fafbfc;
50 border: 1px dashed #d1d8dd;
51}
52
53.pos-item-image {
Rushabh Mehta203cc962016-04-07 15:25:43 +053054 width: 100%;
55 height: 0px;
56 padding: 50% 0;
57 text-align: center;
58 line-height: 0;
Rushabh Mehta5d0e8de2016-04-11 17:34:25 +053059 color: @text-extra-muted;
Rushabh Mehta203cc962016-04-07 15:25:43 +053060 font-size: 30px;
Faris Ansarid2173872016-08-09 14:15:31 +053061 background-size: contain;
Anand Doshida858cc2015-02-24 17:50:44 +053062 border: 1px solid transparent;
Faris Ansarid2173872016-08-09 14:15:31 +053063 background-position: center;
64 background-repeat: no-repeat;
Anand Doshida858cc2015-02-24 17:50:44 +053065}
66
67.pos-item-area {
Faris Ansari1f261a82017-03-06 18:01:58 +053068 // border: 1px solid #d1d8dd;
69 // border-top: none;
Anand Doshida858cc2015-02-24 17:50:44 +053070}
71
72.pos-item-toolbar {
Faris Ansari1f261a82017-03-06 18:01:58 +053073 height: 51px; // remove later
Anand Doshida858cc2015-02-24 17:50:44 +053074 padding: 10px 0px;
75 border-bottom: 1px solid #d1d8dd;
76}
77
Faris Ansari1f261a82017-03-06 18:01:58 +053078// .item-list-area, .list-customers {
79// padding: 15px 0px;
80// overflow-y: scroll;
81// height: ~"calc(100vh - 162px)";
82// }
Anand Doshida858cc2015-02-24 17:50:44 +053083
84.pos-toolbar, .pos-bill-toolbar {
85 padding: 10px 0px;
rohitwaghchaurec13dbd42017-02-01 18:07:22 +053086 // border-bottom: 1px solid #d1d8dd;
Anand Doshida858cc2015-02-24 17:50:44 +053087 height: 51px;
88}
89
90.pos-item-toolbar .form-group {
91 margin-bottom: 0px;
92}
93
94.pos-bill-wrapper {
Faris Ansari1f261a82017-03-06 18:01:58 +053095 // border: 1px solid #d1d8dd;
96 // border-top: none;
97 // margin-right: -1px;
Anand Doshida858cc2015-02-24 17:50:44 +053098}
99
100.pos-bill {
Faris Ansari1f261a82017-03-06 18:01:58 +0530101 // border-top: 1px solid @border-color;
102 // margin-left: -15px;
103 // margin-right: -15px;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530104}
105
106.edit-pos-item {
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +0530107 height: 50px;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530108 font-size: 14px;
109 border-top: 1px solid @border-color;
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +0530110 padding-top: 12px;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530111}
112
113.pos-bill-item:hover {
114 background-color: #f5f7fa;
115 cursor: pointer;
116}
117
Anand Doshida858cc2015-02-24 17:50:44 +0530118.pos-item-qty {
119 display: inline-block;
120}
121
122.pos-qty-row > div {
123 padding: 5px 0px;
124}
125
126.pos-qty-btn {
127 margin-top: 3px;
128 cursor: pointer;
129 font-size: 120%;
130}
131
132.pos .search-area .form-group {
133 max-width: 100% !important;
134}
135
136.pos .tax-table {
137 margin-bottom: 10px;
138}
139
Anand Doshi906c2ba2015-07-17 15:11:24 +0530140.erpnext-icon {
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530141 width: 24px;ack
Anand Doshi906c2ba2015-07-17 15:11:24 +0530142 margin-right: 0px;
143 margin-top: -3px;
144}
Nabin Hait3769d872015-12-18 13:12:02 +0530145
146.pos .discount-amount-area {
147 .discount-field-col {
148 padding-left: 0px;
149 }
Rushabh Mehta203cc962016-04-07 15:25:43 +0530150
Nabin Hait3769d872015-12-18 13:12:02 +0530151 .input-group {
152 margin-top: 2px;
153 }
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530154}
155
156.dashboard-list-item {
157 background-color: inherit;
Rushabh Mehtad1eba512016-06-13 17:46:55 +0530158 padding: 5px 0px;
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530159 border-bottom: 1px solid @border-color;
160}
161
Rushabh Mehtad1eba512016-06-13 17:46:55 +0530162#page-stock-balance .dashboard-list-item {
163 padding: 5px 15px;
164}
165
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530166.dashboard-list-item:last-child {
167 border-bottom: none;
168}
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530169
170.payment-toolbar {
Faris Ansari8e282c22016-07-24 11:36:19 +0530171 .row {
172 width: 323px;
173 margin: 0 auto;
174 }
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530175}
176
177.payment-mode {
178 cursor: pointer;
179 font-family: sans-serif;
180 font-size: 15px;
181}
182
183.pos-payment-row .col-xs-6 {
Rohit Waghchaurebaef2622016-08-05 15:41:36 +0530184 padding :15px;
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530185}
186
187.pos-payment-row {
188 border-bottom:1px solid #d1d8dd;
Rohit Waghchaure9fe40d52016-06-13 21:37:10 +0530189 margin: 2px 0px 5px 0px;
190 height: 60px;
Rohit Waghchaurebaef2622016-08-05 15:41:36 +0530191 margin-top: 0px;
192 margin-bottom: 0px;
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530193}
194
195.pos-payment-row:hover, .pos-keyboard-key:hover{
196 background-color: #FAFBFC;
197 cursor: pointer;
198}
199
200.pos-keyboard-key, .delete-btn {
201 border: 1px solid #d1d8dd;
Rohit Waghchaure86ab6a92017-02-24 18:02:50 +0530202 height:69px;
203 width:69px;
204 font-size:20px;
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +0530205 font-weight:200;
206 background-color: #FDFDFD;
207 border-color: #e8e8e8;
Rohit Waghchaure86ab6a92017-02-24 18:02:50 +0530208 margin-left:-4px;
209}
210
211.pos-pay {
212 height:69px;
213 width:69px;
214 font-size:17px;
215 font-weight:200;
216 margin-left:-4px;
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +0530217}
218
Faris Ansari1f261a82017-03-06 18:01:58 +0530219
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +0530220.numeric-keypad {
Faris Ansari1f261a82017-03-06 18:01:58 +0530221 // border: 1px solid #d1d8dd;
222 height: 60px;
223 width: 60px;
224 font-size: 20px;
225 font-weight: 200;
226 border-radius: 0;
227 background-color: #fff;
228 // background-color: #FDFDFD;
229 // border-color: #e8e8e8;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530230 margin-left:-4px;
231}
232
Faris Ansari1f261a82017-03-06 18:01:58 +0530233.numeric_keypad {
234 margin-left: -15px;
235
236 & > .row > button {
237 border: none;
238 border-right: 1px solid @border-color;
239 border-bottom: 1px solid @border-color;
240
241 &:first-child {
242 border-left: 1px solid @border-color;
243 }
244 }
245
246 & > .row:first-child > button {
247 border-top: 1px solid @border-color;
248 }
249}
250
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530251.pos-pay {
Faris Ansari1f261a82017-03-06 18:01:58 +0530252
253 background-color: @brand-primary;
254 border: none;
255
256 // height:69px;
257 // width:69px;
258 // font-size:17px;
259 // font-weight:200;
260 // margin-left:-4px;
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530261}
262
Faris Ansari8e282c22016-07-24 11:36:19 +0530263.multimode-payments {
264 padding-left: 30px;
265}
266
267.payment-toolbar {
268 padding-right: 30px;
269}
270
rohitwaghchaurec13dbd42017-02-01 18:07:22 +0530271.list-row-head.pos-invoice-list {
272 border-top: 1px solid @border-color;
273}
274
Faris Ansari8e282c22016-07-24 11:36:19 +0530275body[data-route="pos"] .modal-dialog {
276 width: 750px;
277
278 @media (max-width: @screen-xs) {
279 width: auto;
280
281 .modal-content {
282 height: auto;
283 }
284 }
285}
286
287@media (max-width: @screen-xs) {
288 .amount-row h3 {
289 font-size: 15px;
290 }
291 .pos-keyboard-key, .delete-btn {
292 height: 50px;
293 }
294 .multimode-payments {
295 padding-left: 15px;
296 }
297 .payment-toolbar {
298 padding-right: 15px;
299 }
300}
301
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530302.amount-label {
303 font-size: 16px;
304}
305
306.selected-payment-mode {
307 background-color: #FAFBFC;
308 cursor: pointer;
309}
310
311.pos-invoice-list {
312 padding: 15px 10px;
313}
Rohit Waghchaurebaef2622016-08-05 15:41:36 +0530314
315.write_off_amount, .change_amount {
316 margin: 15px;
317 width: 130px;
318}
Neil Trini Lasrado2a9e0f62017-01-09 18:25:43 +0530319
320// assessment tool
321.frappe-control[data-fieldname='result_html'] {
322 overflow: scroll;
323}
324.assessment-result-tool {
325 table-layout: fixed;
326
327 input {
328 width: 100%;
329 border: 0;
330 outline: none;
331 text-align: right;
332 }
333
334 th {
335 white-space: nowrap;
336 overflow: hidden;
337 text-overflow: ellipsis;
338 }
339
340 .total-score, .grade, .score {
341 text-align: right;
342 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530343}
344
345.pos-list-row {
346 display: table;
347 table-layout: fixed;
348 width: 100%;
349 padding: 9px 15px;
350 font-size: 12px;
351 margin: 0px;
352 border-bottom: 1px solid @border-color;
353
354 .cell {
355 display: table-cell;
356 vertical-align: middle;
357 }
358
359 .subject {
360 width: 50%
361 }
362
363 .list-row-checkbox, .list-select-all {
364 margin-right: 7px;
365 }
366}
367
368.pos-bill-header {
369 background-color: #f5f7fa;
370 border: 1px solid @border-color;
371}
372
373.pos-bill-item.active {
374 background-color: @light-yellow;
375}
376
377.totals-area {
378 border-right: 1px solid @border-color;
379 border-left: 1px solid @border-color;
380 margin-bottom: 15px;
381}
382
383body[data-route="pos"] .page-body {
384 height: ~"calc(100vh - 40px)";
385}
386
387.item-cart-items {
388 height: 30vh;
389 overflow: auto;
390 border: 1px solid @border-color;
391 border-top: none;
392
393 .no-items-message {
394 display: flex;
395 align-items: center;
396 justify-content: center;
397 height: 100%;
398 }
399}
400
401.pos .items .pos-list-row:last-child {
402 border-bottom: none;
403}
404
405.pos .form-section-heading {
406 padding: 0;
407}
408
409.pos {
410 overflow: hidden;
411}
412
413.pos .item-list {
414 border-left: 1px solid @border-color;
415 border-right: 1px solid @border-color;
Neil Trini Lasrado2a9e0f62017-01-09 18:25:43 +0530416}