blob: 6c616c9e32a3e33bbc5cc80bfcb55f1f88050980 [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
Anand Doshi906c2ba2015-07-17 15:11:24 +053020.erpnext-icon {
Faris Ansariadcb3c62017-03-06 21:02:17 +053021 width: 24px;
Anand Doshi906c2ba2015-07-17 15:11:24 +053022 margin-right: 0px;
23 margin-top: -3px;
24}
Nabin Hait3769d872015-12-18 13:12:02 +053025
Rushabh Mehta3d2622c2016-04-25 17:53:42 +053026.dashboard-list-item {
27 background-color: inherit;
Rushabh Mehtad1eba512016-06-13 17:46:55 +053028 padding: 5px 0px;
Rushabh Mehta3d2622c2016-04-25 17:53:42 +053029 border-bottom: 1px solid @border-color;
30}
31
Rushabh Mehtad1eba512016-06-13 17:46:55 +053032#page-stock-balance .dashboard-list-item {
33 padding: 5px 15px;
34}
35
Rushabh Mehta3d2622c2016-04-25 17:53:42 +053036.dashboard-list-item:last-child {
37 border-bottom: none;
38}
Rohit Waghchauref2aa1762016-05-20 23:55:45 +053039
Neil Trini Lasrado2a9e0f62017-01-09 18:25:43 +053040// assessment tool
41.frappe-control[data-fieldname='result_html'] {
42 overflow: scroll;
43}
44.assessment-result-tool {
45 table-layout: fixed;
46
47 input {
48 width: 100%;
49 border: 0;
50 outline: none;
51 text-align: right;
52 }
53
54 th {
55 white-space: nowrap;
56 overflow: hidden;
57 text-overflow: ellipsis;
58 }
59
60 .total-score, .grade, .score {
61 text-align: right;
62 }
Faris Ansari1f261a82017-03-06 18:01:58 +053063}
64
Faris Ansari1fe15182017-03-10 14:50:39 +053065/* pos */
Faris Ansari1f261a82017-03-06 18:01:58 +053066
Faris Ansari1fe15182017-03-10 14:50:39 +053067body[data-route="pos"] {
68
69 .pos-bill-toolbar {
70 padding: 10px 0px;
71 height: 51px;
Faris Ansari1f261a82017-03-06 18:01:58 +053072 }
73
Faris Ansari1fe15182017-03-10 14:50:39 +053074 .pos-bill-item:hover, .list-customers-table > .pos-list-row:hover {
75 background-color: #f5f7fa;
76 cursor: pointer;
Faris Ansari1f261a82017-03-06 18:01:58 +053077 }
78
Faris Ansari1fe15182017-03-10 14:50:39 +053079 .pos-item-qty {
80 display: inline-block;
Faris Ansari1f261a82017-03-06 18:01:58 +053081 }
Faris Ansari1f261a82017-03-06 18:01:58 +053082
Faris Ansari1fe15182017-03-10 14:50:39 +053083 .pos-qty-row > div {
84 padding: 5px 0px;
85 }
Faris Ansari1f261a82017-03-06 18:01:58 +053086
Faris Ansari1fe15182017-03-10 14:50:39 +053087 .pos-qty-btn {
88 margin-top: 3px;
89 cursor: pointer;
90 font-size: 120%;
91 }
Faris Ansari1f261a82017-03-06 18:01:58 +053092
Faris Ansari1fe15182017-03-10 14:50:39 +053093 .search-area .form-group {
94 max-width: 100% !important;
95 }
Faris Ansari1f261a82017-03-06 18:01:58 +053096
Faris Ansari1fe15182017-03-10 14:50:39 +053097 .tax-table {
98 margin-bottom: 10px;
99 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530100
Faris Ansari1fe15182017-03-10 14:50:39 +0530101 .discount-field-col {
102 padding-left: 24px;
103 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530104
Faris Ansari1fe15182017-03-10 14:50:39 +0530105 .discount-amount-area {
106 .input-group:first-child {
107 margin-bottom: 2px;
108 }
109 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530110
Faris Ansari1fe15182017-03-10 14:50:39 +0530111 .payment-toolbar {
112 .row {
113 width: 323px;
114 margin: 0 auto;
115 }
116 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530117
Faris Ansari1fe15182017-03-10 14:50:39 +0530118 .payment-mode {
119 cursor: pointer;
120 font-family: sans-serif;
121 font-size: 15px;
122 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530123
Faris Ansari1fe15182017-03-10 14:50:39 +0530124 .pos-payment-row .col-xs-6 {
125 padding :15px;
126 }
127
128 .pos-payment-row {
Rushabh Mehtab3c8f442017-06-21 17:22:38 +0530129 border-bottom:1px solid @border-color;
Faris Ansari1fe15182017-03-10 14:50:39 +0530130 margin: 2px 0px 5px 0px;
131 height: 60px;
132 margin-top: 0px;
133 margin-bottom: 0px;
134 }
135
136 .pos-payment-row:hover, .pos-keyboard-key:hover{
Rushabh Mehtab3c8f442017-06-21 17:22:38 +0530137 background-color: @light-bg;
Faris Ansari1fe15182017-03-10 14:50:39 +0530138 cursor: pointer;
139 }
140
141 .pos-keyboard-key, .delete-btn {
Rushabh Mehtab3c8f442017-06-21 17:22:38 +0530142 border: 1px solid @border-color;
Faris Ansari1fe15182017-03-10 14:50:39 +0530143 height:85px;
144 width:85px;
145 margin:10px 10px;
146 font-size:24px;
147 font-weight:200;
148 background-color: #FDFDFD;
149 border-color: #e8e8e8;
150 }
151
152 .numeric-keypad {
Rushabh Mehtab3c8f442017-06-21 17:22:38 +0530153 border: 1px solid @border-color;
Faris Ansari1fe15182017-03-10 14:50:39 +0530154 height:69px;
155 width:69px;
156 font-size:20px;
157 font-weight:200;
158 background-color: #FDFDFD;
159 border-color: #e8e8e8;
160 margin-left:-4px;
161 }
162
163 .pos-pay {
164 height:69px;
165 width:69px;
166 font-size:17px;
167 font-weight:200;
168 margin-left:-4px;
169 }
170
171 .numeric-keypad {
172 height: 60px;
173 width: 60px;
174 font-size: 20px;
175 font-weight: 200;
176 border-radius: 0;
177 background-color: #fff;
178 margin-left:-4px;
Faris Ansarid79f2392017-03-16 12:18:35 +0530179
180 @media (max-width: @screen-md) {
181 height: 45px;
182 width: 45px;
183 font-size: 14px;
184 }
185
186 @media (max-width: @screen-sm) {
187 height: 40px;
188 width: 40px;
189 }
Faris Ansari1fe15182017-03-10 14:50:39 +0530190 }
191
192 .numeric_keypad {
193 margin-left: -15px;
194
195 & > .row > button {
196 border: none;
197 border-right: 1px solid @border-color;
198 border-bottom: 1px solid @border-color;
199
200 &:first-child {
201 border-left: 1px solid @border-color;
202 }
203 }
204
205 & > .row:first-child > button {
206 border-top: 1px solid @border-color;
207 }
208 }
209
210 .pos-pay {
211 background-color: @brand-primary;
212 border: none;
213 }
214
215 .multimode-payments {
216 padding-left: 30px;
217 }
218
219 .payment-toolbar {
220 padding-right: 30px;
221 }
222
223 .list-row-head.pos-invoice-list {
224 border-top: 1px solid @border-color;
225 }
226
227 .modal-dialog {
228 width: 750px;
229
230 @media (max-width: @screen-xs) {
231 width: auto;
232
233 .modal-content {
234 height: auto;
235 }
236 }
237 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530238
Faris Ansari45510102017-03-09 14:43:37 +0530239 @media (max-width: @screen-xs) {
Faris Ansari1fe15182017-03-10 14:50:39 +0530240 .amount-row h3 {
241 font-size: 15px;
242 }
243 .pos-keyboard-key, .delete-btn {
244 height: 50px;
245 }
246 .multimode-payments {
247 padding-left: 15px;
248 }
249 .payment-toolbar {
250 padding-right: 15px;
251 }
Faris Ansari45510102017-03-09 14:43:37 +0530252 }
253
Faris Ansari1fe15182017-03-10 14:50:39 +0530254 .amount-label {
255 font-size: 16px;
Faris Ansari339d9c92017-03-07 18:14:06 +0530256 }
Faris Ansari45510102017-03-09 14:43:37 +0530257
Faris Ansari1fe15182017-03-10 14:50:39 +0530258 .selected-payment-mode {
Rushabh Mehtab3c8f442017-06-21 17:22:38 +0530259 background-color: @light-bg;
Faris Ansari1fe15182017-03-10 14:50:39 +0530260 cursor: pointer;
Faris Ansari45510102017-03-09 14:43:37 +0530261 }
262
Faris Ansari1fe15182017-03-10 14:50:39 +0530263 .pos-invoice-list {
264 padding: 15px 10px;
265 }
266
267 .write_off_amount, .change_amount {
268 margin: 15px;
269 width: 130px;
270 }
271
272 .pos-list-row {
273 display: table;
274 table-layout: fixed;
275 width: 100%;
Faris Ansari45510102017-03-09 14:43:37 +0530276 padding: 9px 15px;
Faris Ansari1fe15182017-03-10 14:50:39 +0530277 font-size: 12px;
278 margin: 0px;
279 border-bottom: 1px solid @border-color;
280
281 .cell {
282 display: table-cell;
283 vertical-align: middle;
284
285 &.price-cell {
286 width: 50%;
287 }
288 }
289
290 .subject {
291 width: 40%
292 }
293
294 .list-row-checkbox, .list-select-all {
295 margin-right: 7px;
296 }
Faris Ansari45510102017-03-09 14:43:37 +0530297 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530298
Faris Ansari1fe15182017-03-10 14:50:39 +0530299 .pos-bill-header {
300 background-color: #f5f7fa;
301 border: 1px solid @border-color;
302 padding: 13px 15px;
303 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530304
Faris Ansari1fe15182017-03-10 14:50:39 +0530305 .pos-list-row.active {
306 background-color: @light-yellow;
307 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530308
Faris Ansari1fe15182017-03-10 14:50:39 +0530309 .totals-area {
310 border-right: 1px solid @border-color;
311 border-left: 1px solid @border-color;
312 margin-bottom: 15px;
313 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530314
Faris Ansari1fe15182017-03-10 14:50:39 +0530315 .tax-area .pos-list-row {
316 border: none;
317 }
Faris Ansari45510102017-03-09 14:43:37 +0530318
Faris Ansari1fe15182017-03-10 14:50:39 +0530319 .item-cart-items {
320 height: ~"calc(100vh - 526px)";
321 overflow: auto;
322 border: 1px solid @border-color;
323 border-top: none;
Faris Ansari125996e2017-05-16 07:29:15 +0530324
325 @media (max-width: @screen-xs) {
326 height: 30vh;
327 }
Faris Ansari1fe15182017-03-10 14:50:39 +0530328 }
Faris Ansari45510102017-03-09 14:43:37 +0530329
Faris Ansari1fe15182017-03-10 14:50:39 +0530330 .no-items-message {
331 min-height: 200px;
332 display: flex;
333 align-items: center;
334 justify-content: center;
335 height: 100%;
336 }
337
338 .pos-list-row:last-child {
339 border-bottom: none;
340 }
341
342 .form-section-heading {
343 padding: 0;
344 }
345
346 .item-list {
347 border: 1px solid @border-color;
348 border-top: none;
349 max-height: ~"calc(100vh - 190px)";
350 overflow: auto;
351
352 @media (max-width: @screen-xs) {
353 max-height: initial;
354 }
355
356 .image-field {
357 height: 140px;
Rushabh Mehtab3c8f442017-06-21 17:22:38 +0530358
Faris Ansari5687e2d2017-04-20 11:09:43 +0530359 .placeholder-text {
360 font-size: 50px;
361 }
Faris Ansari1fe15182017-03-10 14:50:39 +0530362 }
363
364 .pos-item-wrapper {
365 position: relative;
366 }
367
368 .price-info {
369 position: absolute;
370 left: 0;
371 bottom: 0;
372 margin: 0 0 15px 15px;
373 background-color: rgba(141, 153, 166, 0.6);
374 padding: 5px 9px;
375 border-radius: 3px;
376 color: #fff;
377 }
378 }
379
380 .pos-bill-toolbar {
381 margin-top: 10px;
382 }
383
384 .search-item .form-group {
385 margin: 0;
386 }
387
388 .item-list-area .pos-bill-header {
389 padding: 5px;
390 padding-left: 15px;
391 }
392
Faris Ansarid79f2392017-03-16 12:18:35 +0530393 .pos-selected-item-action {
394 .pos-list-row:first-child {
395 padding-top: 0;
396 }
397
398 &> .pos-list-row {
399 border: none;
400
401 @media (max-width: @screen-md) {
402 padding: 5px 15px;
403 }
404 }
Faris Ansari1fe15182017-03-10 14:50:39 +0530405 }
406
407 .edit-customer-btn {
408 position: absolute;
409 right: 57px;
410 top: 15px;
411 z-index: 100;
412 }
413
414 .btn-more {
415 display: flex;
416 justify-content: center;
417 align-items: center;
418 cursor: pointer;
419 background-color: @light-bg;
420 min-height: 200px;
421 }
422
423 .collapse-btn {
424 cursor: pointer;
425 }
Neil Trini Lasrado2a9e0f62017-01-09 18:25:43 +0530426}