Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 1 | .pos { |
| 2 | padding: 15px; |
| 3 | } |
Faris Ansari | 03e7ec2 | 2017-08-10 17:17:34 +0530 | [diff] [blame] | 4 | .cart-container { |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 5 | padding: 0 15px; |
| 6 | display: inline-block; |
| 7 | width: 39%; |
| 8 | vertical-align: top; |
| 9 | } |
| 10 | .item-container { |
| 11 | padding: 0 15px; |
| 12 | display: inline-block; |
| 13 | width: 60%; |
| 14 | vertical-align: top; |
| 15 | } |
Faris Ansari | a0f8687 | 2017-08-10 18:28:05 +0530 | [diff] [blame] | 16 | .search-field { |
| 17 | width: 60%; |
| 18 | } |
| 19 | .search-field input::placeholder { |
| 20 | font-size: 12px; |
| 21 | } |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 22 | .item-group-field { |
Faris Ansari | a0f8687 | 2017-08-10 18:28:05 +0530 | [diff] [blame] | 23 | width: 40%; |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 24 | margin-left: 15px; |
| 25 | } |
Faris Ansari | 0f3d431 | 2017-08-14 18:25:59 +0530 | [diff] [blame] | 26 | .cart-wrapper { |
| 27 | margin-bottom: 10px; |
| 28 | } |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 29 | .cart-wrapper .list-item__content:not(:first-child) { |
| 30 | justify-content: flex-end; |
| 31 | } |
Faris Ansari | 6d2f6c2 | 2017-08-23 16:25:16 +0530 | [diff] [blame] | 32 | .cart-wrapper .list-item--head .list-item__content:nth-child(2) { |
| 33 | flex: 1.5; |
| 34 | } |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 35 | .cart-items { |
| 36 | height: 200px; |
| 37 | overflow: auto; |
| 38 | } |
Faris Ansari | 26df5b8 | 2017-08-23 13:12:12 +0530 | [diff] [blame] | 39 | .cart-items .list-item.current-item { |
| 40 | background-color: #fffce7; |
| 41 | } |
| 42 | .cart-items .list-item.current-item.qty input { |
| 43 | border: 1px solid #5E64FF; |
| 44 | font-weight: bold; |
| 45 | } |
| 46 | .cart-items .list-item.current-item.disc .discount { |
| 47 | font-weight: bold; |
| 48 | } |
| 49 | .cart-items .list-item.current-item.rate .rate { |
| 50 | font-weight: bold; |
| 51 | } |
Faris Ansari | 6d2f6c2 | 2017-08-23 16:25:16 +0530 | [diff] [blame] | 52 | .cart-items .list-item .quantity { |
| 53 | flex: 1.5; |
| 54 | } |
Faris Ansari | 0f3d431 | 2017-08-14 18:25:59 +0530 | [diff] [blame] | 55 | .cart-items input { |
Faris Ansari | 6d2f6c2 | 2017-08-23 16:25:16 +0530 | [diff] [blame] | 56 | text-align: right; |
Faris Ansari | 0f3d431 | 2017-08-14 18:25:59 +0530 | [diff] [blame] | 57 | height: 22px; |
| 58 | font-size: 12px; |
| 59 | } |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 60 | .fields { |
| 61 | display: flex; |
| 62 | } |
| 63 | .pos-items-wrapper { |
| 64 | max-height: 480px; |
Faris Ansari | 7bcb1cf | 2017-08-11 15:49:23 +0530 | [diff] [blame] | 65 | overflow-y: auto; |
| 66 | } |
| 67 | .pos-items { |
| 68 | overflow: hidden; |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 69 | } |
| 70 | .pos-item-wrapper { |
Faris Ansari | a0f8687 | 2017-08-10 18:28:05 +0530 | [diff] [blame] | 71 | display: flex; |
| 72 | flex-direction: column; |
| 73 | justify-content: space-between; |
Faris Ansari | 6e7db03 | 2017-08-10 11:22:03 +0530 | [diff] [blame] | 74 | } |
| 75 | .image-view-container { |
| 76 | display: block; |
| 77 | } |
| 78 | .image-view-container .image-field { |
| 79 | height: auto; |
| 80 | } |
| 81 | .empty-state { |
| 82 | height: 100%; |
| 83 | position: relative; |
| 84 | } |
| 85 | .empty-state span { |
| 86 | position: absolute; |
| 87 | color: #8D99A6; |
| 88 | font-size: 12px; |
| 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 | @keyframes yellow-fade { |
| 94 | 0% { |
| 95 | background-color: #fffce7; |
| 96 | } |
| 97 | 100% { |
| 98 | background-color: transparent; |
| 99 | } |
| 100 | } |
| 101 | .highlight { |
| 102 | animation: yellow-fade 1s ease-in 1; |
| 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 | .number-pad { |
| 110 | border-collapse: collapse; |
| 111 | cursor: pointer; |
| 112 | display: table; |
| 113 | margin: auto; |
| 114 | } |
| 115 | .num-row { |
| 116 | display: table-row; |
| 117 | } |
| 118 | .num-col { |
| 119 | display: table-cell; |
| 120 | border: 1px solid #d1d8dd; |
| 121 | } |
| 122 | .num-col > div { |
| 123 | width: 50px; |
| 124 | height: 50px; |
| 125 | text-align: center; |
| 126 | line-height: 50px; |
| 127 | } |
Faris Ansari | 26df5b8 | 2017-08-23 13:12:12 +0530 | [diff] [blame] | 128 | .num-col.active { |
| 129 | background-color: #fffce7; |
| 130 | } |
| 131 | .num-col.brand-primary { |
| 132 | background-color: #5E64FF; |
| 133 | color: #ffffff; |
| 134 | } |