Faris Ansari | 519cc09 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 1 | @import "../../../../frappe/frappe/public/less/variables.less"; |
| 2 | |
| 3 | .pos { |
| 4 | // display: flex; |
| 5 | padding: 15px; |
| 6 | } |
| 7 | |
Faris Ansari | 65c4bd6 | 2017-08-10 17:17:34 +0530 | [diff] [blame] | 8 | .cart-container { |
Faris Ansari | 519cc09 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 9 | 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 Ansari | f7c7ff4 | 2017-08-10 18:28:05 +0530 | [diff] [blame] | 24 | .search-field { |
| 25 | width: 60%; |
| 26 | |
| 27 | input::placeholder { |
| 28 | font-size: @text-medium; |
| 29 | } |
| 30 | } |
| 31 | |
Faris Ansari | 519cc09 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 32 | .item-group-field { |
Faris Ansari | f7c7ff4 | 2017-08-10 18:28:05 +0530 | [diff] [blame] | 33 | width: 40%; |
Faris Ansari | 519cc09 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 34 | margin-left: 15px; |
| 35 | } |
| 36 | |
| 37 | .cart-wrapper { |
| 38 | .list-item__content:not(:first-child) { |
| 39 | justify-content: flex-end; |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | .cart-items { |
| 44 | height: 200px; |
| 45 | overflow: auto; |
Faris Ansari | 519cc09 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 46 | } |
| 47 | |
| 48 | .fields { |
| 49 | display: flex; |
| 50 | } |
| 51 | |
| 52 | .pos-items-wrapper { |
| 53 | max-height: 480px; |
Faris Ansari | 5a13087 | 2017-08-11 15:49:23 +0530 | [diff] [blame^] | 54 | overflow-y: auto; |
| 55 | } |
| 56 | |
| 57 | .pos-items { |
| 58 | overflow: hidden; |
Faris Ansari | 519cc09 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 59 | } |
| 60 | |
| 61 | .pos-item-wrapper { |
Faris Ansari | f7c7ff4 | 2017-08-10 18:28:05 +0530 | [diff] [blame] | 62 | display: flex; |
| 63 | flex-direction: column; |
| 64 | justify-content: space-between; |
Faris Ansari | 519cc09 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 65 | } |
| 66 | |
| 67 | .image-view-container { |
| 68 | display: block; |
| 69 | } |
| 70 | |
| 71 | .image-view-container .image-field { |
| 72 | height: auto; |
| 73 | } |
| 74 | |
| 75 | .empty-state { |
| 76 | height: 100%; |
| 77 | position: relative; |
| 78 | |
| 79 | span { |
| 80 | position: absolute; |
| 81 | color: @text-muted; |
| 82 | font-size: @text-medium; |
| 83 | top: 50%; |
| 84 | left: 50%; |
| 85 | transform: translate(-50%, -50%); |
| 86 | } |
| 87 | } |