Rushabh Mehta | 5d0e8de | 2016-04-11 17:34:25 +0530 | [diff] [blame] | 1 | @import "../../../../frappe/frappe/public/less/variables.less"; |
| 2 | |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 3 | .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 Doshi | 906c2ba | 2015-07-17 15:11:24 +0530 | [diff] [blame] | 20 | .erpnext-icon { |
Faris Ansari | adcb3c6 | 2017-03-06 21:02:17 +0530 | [diff] [blame] | 21 | width: 24px; |
Anand Doshi | 906c2ba | 2015-07-17 15:11:24 +0530 | [diff] [blame] | 22 | margin-right: 0px; |
| 23 | margin-top: -3px; |
| 24 | } |
Nabin Hait | 3769d87 | 2015-12-18 13:12:02 +0530 | [diff] [blame] | 25 | |
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 26 | .dashboard-list-item { |
| 27 | background-color: inherit; |
Rushabh Mehta | d1eba51 | 2016-06-13 17:46:55 +0530 | [diff] [blame] | 28 | padding: 5px 0px; |
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 29 | border-bottom: 1px solid @border-color; |
| 30 | } |
| 31 | |
Rushabh Mehta | d1eba51 | 2016-06-13 17:46:55 +0530 | [diff] [blame] | 32 | #page-stock-balance .dashboard-list-item { |
| 33 | padding: 5px 15px; |
| 34 | } |
| 35 | |
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 36 | .dashboard-list-item:last-child { |
| 37 | border-bottom: none; |
| 38 | } |
Rohit Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 39 | |
Neil Trini Lasrado | 2a9e0f6 | 2017-01-09 18:25:43 +0530 | [diff] [blame] | 40 | // 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 Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 63 | } |
| 64 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 65 | /* pos */ |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 66 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 67 | body[data-route="pos"] { |
| 68 | |
| 69 | .pos-bill-toolbar { |
| 70 | padding: 10px 0px; |
| 71 | height: 51px; |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 72 | } |
| 73 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 74 | .pos-bill-item:hover, .list-customers-table > .pos-list-row:hover { |
| 75 | background-color: #f5f7fa; |
| 76 | cursor: pointer; |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 77 | } |
| 78 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 79 | .pos-item-qty { |
| 80 | display: inline-block; |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 81 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 82 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 83 | .pos-qty-row > div { |
| 84 | padding: 5px 0px; |
| 85 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 86 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 87 | .pos-qty-btn { |
| 88 | margin-top: 3px; |
| 89 | cursor: pointer; |
| 90 | font-size: 120%; |
| 91 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 92 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 93 | .search-area .form-group { |
| 94 | max-width: 100% !important; |
| 95 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 96 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 97 | .tax-table { |
| 98 | margin-bottom: 10px; |
| 99 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 100 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 101 | .discount-field-col { |
| 102 | padding-left: 24px; |
| 103 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 104 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 105 | .discount-amount-area { |
| 106 | .input-group:first-child { |
| 107 | margin-bottom: 2px; |
| 108 | } |
| 109 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 110 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 111 | .payment-toolbar { |
| 112 | .row { |
| 113 | width: 323px; |
| 114 | margin: 0 auto; |
| 115 | } |
| 116 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 117 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 118 | .payment-mode { |
| 119 | cursor: pointer; |
| 120 | font-family: sans-serif; |
| 121 | font-size: 15px; |
| 122 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 123 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 124 | .pos-payment-row .col-xs-6 { |
| 125 | padding :15px; |
| 126 | } |
| 127 | |
| 128 | .pos-payment-row { |
| 129 | border-bottom:1px solid #d1d8dd; |
| 130 | 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{ |
| 137 | background-color: #FAFBFC; |
| 138 | cursor: pointer; |
| 139 | } |
| 140 | |
| 141 | .pos-keyboard-key, .delete-btn { |
| 142 | border: 1px solid #d1d8dd; |
| 143 | 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 { |
| 153 | border: 1px solid #d1d8dd; |
| 154 | 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; |
| 179 | } |
| 180 | |
| 181 | .numeric_keypad { |
| 182 | margin-left: -15px; |
| 183 | |
| 184 | & > .row > button { |
| 185 | border: none; |
| 186 | border-right: 1px solid @border-color; |
| 187 | border-bottom: 1px solid @border-color; |
| 188 | |
| 189 | &:first-child { |
| 190 | border-left: 1px solid @border-color; |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | & > .row:first-child > button { |
| 195 | border-top: 1px solid @border-color; |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | .pos-pay { |
| 200 | background-color: @brand-primary; |
| 201 | border: none; |
| 202 | } |
| 203 | |
| 204 | .multimode-payments { |
| 205 | padding-left: 30px; |
| 206 | } |
| 207 | |
| 208 | .payment-toolbar { |
| 209 | padding-right: 30px; |
| 210 | } |
| 211 | |
| 212 | .list-row-head.pos-invoice-list { |
| 213 | border-top: 1px solid @border-color; |
| 214 | } |
| 215 | |
| 216 | .modal-dialog { |
| 217 | width: 750px; |
| 218 | |
| 219 | @media (max-width: @screen-xs) { |
| 220 | width: auto; |
| 221 | |
| 222 | .modal-content { |
| 223 | height: auto; |
| 224 | } |
| 225 | } |
| 226 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 227 | |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 228 | @media (max-width: @screen-xs) { |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 229 | .amount-row h3 { |
| 230 | font-size: 15px; |
| 231 | } |
| 232 | .pos-keyboard-key, .delete-btn { |
| 233 | height: 50px; |
| 234 | } |
| 235 | .multimode-payments { |
| 236 | padding-left: 15px; |
| 237 | } |
| 238 | .payment-toolbar { |
| 239 | padding-right: 15px; |
| 240 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 241 | } |
| 242 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 243 | .amount-label { |
| 244 | font-size: 16px; |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 245 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 246 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 247 | .selected-payment-mode { |
| 248 | background-color: #FAFBFC; |
| 249 | cursor: pointer; |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 250 | } |
| 251 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 252 | .pos-invoice-list { |
| 253 | padding: 15px 10px; |
| 254 | } |
| 255 | |
| 256 | .write_off_amount, .change_amount { |
| 257 | margin: 15px; |
| 258 | width: 130px; |
| 259 | } |
| 260 | |
| 261 | .pos-list-row { |
| 262 | display: table; |
| 263 | table-layout: fixed; |
| 264 | width: 100%; |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 265 | padding: 9px 15px; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 266 | font-size: 12px; |
| 267 | margin: 0px; |
| 268 | border-bottom: 1px solid @border-color; |
| 269 | |
| 270 | .cell { |
| 271 | display: table-cell; |
| 272 | vertical-align: middle; |
| 273 | |
| 274 | &.price-cell { |
| 275 | width: 50%; |
| 276 | } |
| 277 | } |
| 278 | |
| 279 | .subject { |
| 280 | width: 40% |
| 281 | } |
| 282 | |
| 283 | .list-row-checkbox, .list-select-all { |
| 284 | margin-right: 7px; |
| 285 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 286 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 287 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 288 | .pos-bill-header { |
| 289 | background-color: #f5f7fa; |
| 290 | border: 1px solid @border-color; |
| 291 | padding: 13px 15px; |
| 292 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 293 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 294 | .pos-list-row.active { |
| 295 | background-color: @light-yellow; |
| 296 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 297 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 298 | .totals-area { |
| 299 | border-right: 1px solid @border-color; |
| 300 | border-left: 1px solid @border-color; |
| 301 | margin-bottom: 15px; |
| 302 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 303 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 304 | .tax-area .pos-list-row { |
| 305 | border: none; |
| 306 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 307 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 308 | .item-cart-items { |
| 309 | height: ~"calc(100vh - 526px)"; |
| 310 | overflow: auto; |
| 311 | border: 1px solid @border-color; |
| 312 | border-top: none; |
| 313 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 314 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 315 | .no-items-message { |
| 316 | min-height: 200px; |
| 317 | display: flex; |
| 318 | align-items: center; |
| 319 | justify-content: center; |
| 320 | height: 100%; |
| 321 | } |
| 322 | |
| 323 | .pos-list-row:last-child { |
| 324 | border-bottom: none; |
| 325 | } |
| 326 | |
| 327 | .form-section-heading { |
| 328 | padding: 0; |
| 329 | } |
| 330 | |
| 331 | .item-list { |
| 332 | border: 1px solid @border-color; |
| 333 | border-top: none; |
| 334 | max-height: ~"calc(100vh - 190px)"; |
| 335 | overflow: auto; |
| 336 | |
| 337 | @media (max-width: @screen-xs) { |
| 338 | max-height: initial; |
| 339 | } |
| 340 | |
| 341 | .image-field { |
| 342 | height: 140px; |
| 343 | } |
| 344 | |
| 345 | .pos-item-wrapper { |
| 346 | position: relative; |
| 347 | } |
| 348 | |
| 349 | .price-info { |
| 350 | position: absolute; |
| 351 | left: 0; |
| 352 | bottom: 0; |
| 353 | margin: 0 0 15px 15px; |
| 354 | background-color: rgba(141, 153, 166, 0.6); |
| 355 | padding: 5px 9px; |
| 356 | border-radius: 3px; |
| 357 | color: #fff; |
| 358 | } |
| 359 | } |
| 360 | |
| 361 | .pos-bill-toolbar { |
| 362 | margin-top: 10px; |
| 363 | } |
| 364 | |
| 365 | .search-item .form-group { |
| 366 | margin: 0; |
| 367 | } |
| 368 | |
| 369 | .item-list-area .pos-bill-header { |
| 370 | padding: 5px; |
| 371 | padding-left: 15px; |
| 372 | } |
| 373 | |
| 374 | .pos-selected-item-action > .pos-list-row { |
| 375 | border: none; |
| 376 | } |
| 377 | |
| 378 | .edit-customer-btn { |
| 379 | position: absolute; |
| 380 | right: 57px; |
| 381 | top: 15px; |
| 382 | z-index: 100; |
| 383 | } |
| 384 | |
| 385 | .btn-more { |
| 386 | display: flex; |
| 387 | justify-content: center; |
| 388 | align-items: center; |
| 389 | cursor: pointer; |
| 390 | background-color: @light-bg; |
| 391 | min-height: 200px; |
| 392 | } |
| 393 | |
| 394 | .collapse-btn { |
| 395 | cursor: pointer; |
| 396 | } |
Neil Trini Lasrado | 2a9e0f6 | 2017-01-09 18:25:43 +0530 | [diff] [blame] | 397 | } |