blob: 8ed5f1adb05680cba1b97712bb3320e7cf67efd1 [file] [log] [blame]
Faris Ansari7c744ac2018-02-20 14:21:50 +05301@import "variables.less";
Rushabh Mehta5d0e8de2016-04-11 17:34:25 +05302
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
Prateeksha Singh420c7902018-04-05 14:44:16 +053026.app-icon-svg {
27 display: inline-block;
Nabin Hait34c551d2019-07-03 10:34:31 +053028 margin: auto;
29 text-align: center;
30 border-radius: 16px;
31 cursor: pointer;
Prateeksha Singh420c7902018-04-05 14:44:16 +053032 box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15);
33}
34
35.app-icon-svg .hub-icon {
36 height: 72px;
37 width: 72px;
38}
39
Rushabh Mehta3d2622c2016-04-25 17:53:42 +053040.dashboard-list-item {
41 background-color: inherit;
Rushabh Mehtad1eba512016-06-13 17:46:55 +053042 padding: 5px 0px;
Rushabh Mehta3d2622c2016-04-25 17:53:42 +053043 border-bottom: 1px solid @border-color;
44}
45
Rushabh Mehtad1eba512016-06-13 17:46:55 +053046#page-stock-balance .dashboard-list-item {
47 padding: 5px 15px;
48}
49
Rushabh Mehta3d2622c2016-04-25 17:53:42 +053050.dashboard-list-item:last-child {
51 border-bottom: none;
52}
Rohit Waghchauref2aa1762016-05-20 23:55:45 +053053
Neil Trini Lasrado2a9e0f62017-01-09 18:25:43 +053054// assessment tool
55.frappe-control[data-fieldname='result_html'] {
56 overflow: scroll;
57}
58.assessment-result-tool {
59 table-layout: fixed;
60
61 input {
62 width: 100%;
63 border: 0;
64 outline: none;
65 text-align: right;
66 }
67
68 th {
69 white-space: nowrap;
70 overflow: hidden;
71 text-overflow: ellipsis;
72 }
73
74 .total-score, .grade, .score {
75 text-align: right;
76 }
Faris Ansari1f261a82017-03-06 18:01:58 +053077}
78
Faris Ansari1fe15182017-03-10 14:50:39 +053079/* pos */
Faris Ansari1f261a82017-03-06 18:01:58 +053080
Faris Ansari1fe15182017-03-10 14:50:39 +053081body[data-route="pos"] {
82
83 .pos-bill-toolbar {
84 padding: 10px 0px;
85 height: 51px;
Faris Ansari1f261a82017-03-06 18:01:58 +053086 }
87
Faris Ansari1fe15182017-03-10 14:50:39 +053088 .pos-bill-item:hover, .list-customers-table > .pos-list-row:hover {
89 background-color: #f5f7fa;
90 cursor: pointer;
Faris Ansari1f261a82017-03-06 18:01:58 +053091 }
92
Faris Ansari1fe15182017-03-10 14:50:39 +053093 .pos-item-qty {
94 display: inline-block;
Faris Ansari1f261a82017-03-06 18:01:58 +053095 }
Faris Ansari1f261a82017-03-06 18:01:58 +053096
Faris Ansari1fe15182017-03-10 14:50:39 +053097 .pos-qty-row > div {
98 padding: 5px 0px;
99 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530100
Faris Ansari1fe15182017-03-10 14:50:39 +0530101 .pos-qty-btn {
102 margin-top: 3px;
103 cursor: pointer;
104 font-size: 120%;
105 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530106
Faris Ansari1fe15182017-03-10 14:50:39 +0530107 .search-area .form-group {
108 max-width: 100% !important;
109 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530110
Faris Ansari1fe15182017-03-10 14:50:39 +0530111 .tax-table {
112 margin-bottom: 10px;
113 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530114
Faris Ansari1fe15182017-03-10 14:50:39 +0530115 .discount-field-col {
116 padding-left: 24px;
117 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530118
Faris Ansari1fe15182017-03-10 14:50:39 +0530119 .discount-amount-area {
120 .input-group:first-child {
121 margin-bottom: 2px;
122 }
123 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530124
Faris Ansari1fe15182017-03-10 14:50:39 +0530125 .payment-toolbar {
126 .row {
127 width: 323px;
128 margin: 0 auto;
129 }
130 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530131
Faris Ansari1fe15182017-03-10 14:50:39 +0530132 .payment-mode {
133 cursor: pointer;
134 font-family: sans-serif;
135 font-size: 15px;
136 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530137
Faris Ansari1fe15182017-03-10 14:50:39 +0530138 .pos-payment-row .col-xs-6 {
139 padding :15px;
140 }
141
142 .pos-payment-row {
Rushabh Mehtab3c8f442017-06-21 17:22:38 +0530143 border-bottom:1px solid @border-color;
Faris Ansari1fe15182017-03-10 14:50:39 +0530144 margin: 2px 0px 5px 0px;
145 height: 60px;
146 margin-top: 0px;
147 margin-bottom: 0px;
148 }
149
150 .pos-payment-row:hover, .pos-keyboard-key:hover{
Rushabh Mehtab3c8f442017-06-21 17:22:38 +0530151 background-color: @light-bg;
Faris Ansari1fe15182017-03-10 14:50:39 +0530152 cursor: pointer;
153 }
154
155 .pos-keyboard-key, .delete-btn {
Rushabh Mehtab3c8f442017-06-21 17:22:38 +0530156 border: 1px solid @border-color;
Faris Ansari1fe15182017-03-10 14:50:39 +0530157 height:85px;
158 width:85px;
159 margin:10px 10px;
160 font-size:24px;
161 font-weight:200;
162 background-color: #FDFDFD;
163 border-color: #e8e8e8;
164 }
165
166 .numeric-keypad {
Rushabh Mehtab3c8f442017-06-21 17:22:38 +0530167 border: 1px solid @border-color;
Faris Ansari1fe15182017-03-10 14:50:39 +0530168 height:69px;
169 width:69px;
170 font-size:20px;
171 font-weight:200;
172 background-color: #FDFDFD;
173 border-color: #e8e8e8;
174 margin-left:-4px;
175 }
176
177 .pos-pay {
178 height:69px;
179 width:69px;
180 font-size:17px;
181 font-weight:200;
182 margin-left:-4px;
183 }
184
185 .numeric-keypad {
186 height: 60px;
187 width: 60px;
188 font-size: 20px;
189 font-weight: 200;
190 border-radius: 0;
191 background-color: #fff;
192 margin-left:-4px;
Faris Ansarid79f2392017-03-16 12:18:35 +0530193
194 @media (max-width: @screen-md) {
195 height: 45px;
196 width: 45px;
197 font-size: 14px;
198 }
199
200 @media (max-width: @screen-sm) {
201 height: 40px;
202 width: 40px;
203 }
Faris Ansari1fe15182017-03-10 14:50:39 +0530204 }
205
206 .numeric_keypad {
207 margin-left: -15px;
208
209 & > .row > button {
210 border: none;
211 border-right: 1px solid @border-color;
212 border-bottom: 1px solid @border-color;
213
214 &:first-child {
215 border-left: 1px solid @border-color;
216 }
217 }
218
219 & > .row:first-child > button {
220 border-top: 1px solid @border-color;
221 }
222 }
223
224 .pos-pay {
225 background-color: @brand-primary;
226 border: none;
227 }
228
229 .multimode-payments {
230 padding-left: 30px;
231 }
232
233 .payment-toolbar {
234 padding-right: 30px;
235 }
236
237 .list-row-head.pos-invoice-list {
238 border-top: 1px solid @border-color;
239 }
240
241 .modal-dialog {
242 width: 750px;
243
244 @media (max-width: @screen-xs) {
245 width: auto;
246
247 .modal-content {
248 height: auto;
249 }
250 }
251 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530252
Faris Ansari45510102017-03-09 14:43:37 +0530253 @media (max-width: @screen-xs) {
Faris Ansari1fe15182017-03-10 14:50:39 +0530254 .amount-row h3 {
255 font-size: 15px;
256 }
257 .pos-keyboard-key, .delete-btn {
258 height: 50px;
259 }
260 .multimode-payments {
261 padding-left: 15px;
262 }
263 .payment-toolbar {
264 padding-right: 15px;
265 }
Faris Ansari45510102017-03-09 14:43:37 +0530266 }
267
Faris Ansari1fe15182017-03-10 14:50:39 +0530268 .amount-label {
269 font-size: 16px;
Faris Ansari339d9c92017-03-07 18:14:06 +0530270 }
Faris Ansari45510102017-03-09 14:43:37 +0530271
Faris Ansari1fe15182017-03-10 14:50:39 +0530272 .selected-payment-mode {
Rushabh Mehtab3c8f442017-06-21 17:22:38 +0530273 background-color: @light-bg;
Faris Ansari1fe15182017-03-10 14:50:39 +0530274 cursor: pointer;
Faris Ansari45510102017-03-09 14:43:37 +0530275 }
276
Faris Ansari1fe15182017-03-10 14:50:39 +0530277 .pos-invoice-list {
278 padding: 15px 10px;
279 }
280
281 .write_off_amount, .change_amount {
282 margin: 15px;
283 width: 130px;
284 }
285
286 .pos-list-row {
287 display: table;
288 table-layout: fixed;
289 width: 100%;
Faris Ansari45510102017-03-09 14:43:37 +0530290 padding: 9px 15px;
Faris Ansari1fe15182017-03-10 14:50:39 +0530291 font-size: 12px;
292 margin: 0px;
293 border-bottom: 1px solid @border-color;
294
295 .cell {
296 display: table-cell;
297 vertical-align: middle;
298
299 &.price-cell {
300 width: 50%;
301 }
302 }
303
304 .subject {
305 width: 40%
306 }
307
308 .list-row-checkbox, .list-select-all {
309 margin-right: 7px;
310 }
Faris Ansari45510102017-03-09 14:43:37 +0530311 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530312
Faris Ansari1fe15182017-03-10 14:50:39 +0530313 .pos-bill-header {
314 background-color: #f5f7fa;
315 border: 1px solid @border-color;
316 padding: 13px 15px;
317 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530318
Faris Ansari1fe15182017-03-10 14:50:39 +0530319 .pos-list-row.active {
320 background-color: @light-yellow;
321 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530322
Faris Ansari1fe15182017-03-10 14:50:39 +0530323 .totals-area {
324 border-right: 1px solid @border-color;
325 border-left: 1px solid @border-color;
326 margin-bottom: 15px;
327 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530328
Faris Ansari1fe15182017-03-10 14:50:39 +0530329 .tax-area .pos-list-row {
330 border: none;
331 }
Faris Ansari45510102017-03-09 14:43:37 +0530332
Faris Ansari1fe15182017-03-10 14:50:39 +0530333 .item-cart-items {
334 height: ~"calc(100vh - 526px)";
335 overflow: auto;
336 border: 1px solid @border-color;
337 border-top: none;
Faris Ansari125996e2017-05-16 07:29:15 +0530338
339 @media (max-width: @screen-xs) {
340 height: 30vh;
341 }
Faris Ansari1fe15182017-03-10 14:50:39 +0530342 }
Faris Ansari45510102017-03-09 14:43:37 +0530343
Faris Ansari1fe15182017-03-10 14:50:39 +0530344 .no-items-message {
345 min-height: 200px;
346 display: flex;
347 align-items: center;
348 justify-content: center;
349 height: 100%;
350 }
351
352 .pos-list-row:last-child {
353 border-bottom: none;
354 }
355
356 .form-section-heading {
357 padding: 0;
358 }
359
360 .item-list {
361 border: 1px solid @border-color;
362 border-top: none;
363 max-height: ~"calc(100vh - 190px)";
364 overflow: auto;
365
366 @media (max-width: @screen-xs) {
367 max-height: initial;
368 }
369
370 .image-field {
371 height: 140px;
Rushabh Mehtab3c8f442017-06-21 17:22:38 +0530372
Faris Ansari5687e2d2017-04-20 11:09:43 +0530373 .placeholder-text {
374 font-size: 50px;
375 }
Faris Ansari1fe15182017-03-10 14:50:39 +0530376 }
377
378 .pos-item-wrapper {
379 position: relative;
380 }
Faris Ansari1fe15182017-03-10 14:50:39 +0530381 }
382
383 .pos-bill-toolbar {
384 margin-top: 10px;
385 }
386
387 .search-item .form-group {
388 margin: 0;
389 }
390
391 .item-list-area .pos-bill-header {
392 padding: 5px;
393 padding-left: 15px;
394 }
395
Faris Ansarid79f2392017-03-16 12:18:35 +0530396 .pos-selected-item-action {
397 .pos-list-row:first-child {
398 padding-top: 0;
399 }
400
401 &> .pos-list-row {
402 border: none;
403
404 @media (max-width: @screen-md) {
405 padding: 5px 15px;
406 }
407 }
Faris Ansari1fe15182017-03-10 14:50:39 +0530408 }
409
410 .edit-customer-btn {
411 position: absolute;
412 right: 57px;
413 top: 15px;
414 z-index: 100;
415 }
416
417 .btn-more {
418 display: flex;
419 justify-content: center;
420 align-items: center;
421 cursor: pointer;
422 background-color: @light-bg;
423 min-height: 200px;
424 }
425
426 .collapse-btn {
427 cursor: pointer;
428 }
Faris Ansari3df13272018-10-29 15:15:10 +0530429
430 @media (max-width: @screen-xs) {
431 .page-actions {
432 max-width: 110px;
433 }
434 }
Faris Ansari655f86d2017-08-29 14:27:01 +0530435}
436
437.price-info {
438 position: absolute;
439 left: 0;
440 bottom: 0;
441 margin: 0 0 15px 15px;
442 background-color: rgba(141, 153, 166, 0.6);
443 padding: 5px 9px;
444 border-radius: 3px;
445 color: #fff;
Prateeksha Singh9b4f3cf2017-09-18 16:41:04 +0530446
447}
448
449// Leaderboard
450
451.leaderboard {
452 .result {
453 border-top: 1px solid #d1d8dd;
454 }
455 .list-item {
456 padding-left: 45px;
457 }
458 .list-item_content {
459 padding-right: 45px;
460 }
Nabin Hait34c551d2019-07-03 10:34:31 +0530461}