Faris Ansari | 6e7db03 | 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 | 03e7ec2 | 2017-08-10 17:17:34 +0530 | [diff] [blame] | 8 | .cart-container { |
Faris Ansari | 6e7db03 | 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 | a0f8687 | 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 | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 32 | .item-group-field { |
Faris Ansari | a0f8687 | 2017-08-10 18:28:05 +0530 | [diff] [blame] | 33 | width: 40%; |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 34 | margin-left: 15px; |
| 35 | } |
| 36 | |
| 37 | .cart-wrapper { |
Faris Ansari | 0f3d431 | 2017-08-14 18:25:59 +0530 | [diff] [blame] | 38 | margin-bottom: 10px; |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 39 | .list-item__content:not(:first-child) { |
| 40 | justify-content: flex-end; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | .cart-items { |
| 45 | height: 200px; |
| 46 | overflow: auto; |
Faris Ansari | 0f3d431 | 2017-08-14 18:25:59 +0530 | [diff] [blame] | 47 | |
| 48 | input { |
| 49 | height: 22px; |
| 50 | font-size: @text-medium; |
| 51 | } |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 52 | } |
| 53 | |
| 54 | .fields { |
| 55 | display: flex; |
| 56 | } |
| 57 | |
| 58 | .pos-items-wrapper { |
| 59 | max-height: 480px; |
Faris Ansari | 7bcb1cf | 2017-08-11 15:49:23 +0530 | [diff] [blame] | 60 | overflow-y: auto; |
| 61 | } |
| 62 | |
| 63 | .pos-items { |
| 64 | overflow: hidden; |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 65 | } |
| 66 | |
| 67 | .pos-item-wrapper { |
Faris Ansari | a0f8687 | 2017-08-10 18:28:05 +0530 | [diff] [blame] | 68 | display: flex; |
| 69 | flex-direction: column; |
| 70 | justify-content: space-between; |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 71 | } |
| 72 | |
| 73 | .image-view-container { |
| 74 | display: block; |
| 75 | } |
| 76 | |
| 77 | .image-view-container .image-field { |
| 78 | height: auto; |
| 79 | } |
| 80 | |
| 81 | .empty-state { |
| 82 | height: 100%; |
| 83 | position: relative; |
| 84 | |
| 85 | span { |
| 86 | position: absolute; |
| 87 | color: @text-muted; |
| 88 | font-size: @text-medium; |
| 89 | top: 50%; |
| 90 | left: 50%; |
| 91 | transform: translate(-50%, -50%); |
| 92 | } |
Faris Ansari | 0f3d431 | 2017-08-14 18:25:59 +0530 | [diff] [blame] | 93 | } |
| 94 | |
| 95 | @keyframes yellow-fade { |
| 96 | 0% {background-color: @light-yellow;} |
| 97 | 100% {background-color: transparent;} |
| 98 | } |
| 99 | |
| 100 | .highlight { |
| 101 | animation: yellow-fade 1s ease-in 1; |
| 102 | } |
| 103 | |
| 104 | input[type=number]::-webkit-inner-spin-button, |
| 105 | input[type=number]::-webkit-outer-spin-button { |
| 106 | -webkit-appearance: none; |
| 107 | margin: 0; |
| 108 | } |
| 109 | |
| 110 | // number pad |
| 111 | |
| 112 | .number-pad { |
| 113 | border-collapse: collapse; |
| 114 | cursor: pointer; |
| 115 | display: table; |
| 116 | margin: auto; |
| 117 | } |
| 118 | .num-row { |
| 119 | display: table-row; |
| 120 | } |
| 121 | .num-col { |
| 122 | display: table-cell; |
| 123 | border: 1px solid @border-color; |
| 124 | |
| 125 | & > div { |
| 126 | width: 50px; |
| 127 | height: 50px; |
| 128 | text-align: center; |
| 129 | line-height: 50px; |
| 130 | } |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 131 | } |