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 { |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 129 | border-bottom:1px solid @border-color; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 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{ |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 137 | background-color: @light-bg; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 138 | cursor: pointer; |
| 139 | } |
| 140 | |
| 141 | .pos-keyboard-key, .delete-btn { |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 142 | border: 1px solid @border-color; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 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 { |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 153 | border: 1px solid @border-color; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 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; |
Faris Ansari | d79f239 | 2017-03-16 12:18:35 +0530 | [diff] [blame] | 179 | |
| 180 | @media (max-width: @screen-md) { |
| 181 | height: 45px; |
| 182 | width: 45px; |
| 183 | font-size: 14px; |
| 184 | } |
| 185 | |
| 186 | @media (max-width: @screen-sm) { |
| 187 | height: 40px; |
| 188 | width: 40px; |
| 189 | } |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 190 | } |
| 191 | |
| 192 | .numeric_keypad { |
| 193 | margin-left: -15px; |
| 194 | |
| 195 | & > .row > button { |
| 196 | border: none; |
| 197 | border-right: 1px solid @border-color; |
| 198 | border-bottom: 1px solid @border-color; |
| 199 | |
| 200 | &:first-child { |
| 201 | border-left: 1px solid @border-color; |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | & > .row:first-child > button { |
| 206 | border-top: 1px solid @border-color; |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | .pos-pay { |
| 211 | background-color: @brand-primary; |
| 212 | border: none; |
| 213 | } |
| 214 | |
| 215 | .multimode-payments { |
| 216 | padding-left: 30px; |
| 217 | } |
| 218 | |
| 219 | .payment-toolbar { |
| 220 | padding-right: 30px; |
| 221 | } |
| 222 | |
| 223 | .list-row-head.pos-invoice-list { |
| 224 | border-top: 1px solid @border-color; |
| 225 | } |
| 226 | |
| 227 | .modal-dialog { |
| 228 | width: 750px; |
| 229 | |
| 230 | @media (max-width: @screen-xs) { |
| 231 | width: auto; |
| 232 | |
| 233 | .modal-content { |
| 234 | height: auto; |
| 235 | } |
| 236 | } |
| 237 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 238 | |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 239 | @media (max-width: @screen-xs) { |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 240 | .amount-row h3 { |
| 241 | font-size: 15px; |
| 242 | } |
| 243 | .pos-keyboard-key, .delete-btn { |
| 244 | height: 50px; |
| 245 | } |
| 246 | .multimode-payments { |
| 247 | padding-left: 15px; |
| 248 | } |
| 249 | .payment-toolbar { |
| 250 | padding-right: 15px; |
| 251 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 252 | } |
| 253 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 254 | .amount-label { |
| 255 | font-size: 16px; |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 256 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 257 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 258 | .selected-payment-mode { |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 259 | background-color: @light-bg; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 260 | cursor: pointer; |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 261 | } |
| 262 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 263 | .pos-invoice-list { |
| 264 | padding: 15px 10px; |
| 265 | } |
| 266 | |
| 267 | .write_off_amount, .change_amount { |
| 268 | margin: 15px; |
| 269 | width: 130px; |
| 270 | } |
| 271 | |
| 272 | .pos-list-row { |
| 273 | display: table; |
| 274 | table-layout: fixed; |
| 275 | width: 100%; |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 276 | padding: 9px 15px; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 277 | font-size: 12px; |
| 278 | margin: 0px; |
| 279 | border-bottom: 1px solid @border-color; |
| 280 | |
| 281 | .cell { |
| 282 | display: table-cell; |
| 283 | vertical-align: middle; |
| 284 | |
| 285 | &.price-cell { |
| 286 | width: 50%; |
| 287 | } |
| 288 | } |
| 289 | |
| 290 | .subject { |
| 291 | width: 40% |
| 292 | } |
| 293 | |
| 294 | .list-row-checkbox, .list-select-all { |
| 295 | margin-right: 7px; |
| 296 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 297 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 298 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 299 | .pos-bill-header { |
| 300 | background-color: #f5f7fa; |
| 301 | border: 1px solid @border-color; |
| 302 | padding: 13px 15px; |
| 303 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 304 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 305 | .pos-list-row.active { |
| 306 | background-color: @light-yellow; |
| 307 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 308 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 309 | .totals-area { |
| 310 | border-right: 1px solid @border-color; |
| 311 | border-left: 1px solid @border-color; |
| 312 | margin-bottom: 15px; |
| 313 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 314 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 315 | .tax-area .pos-list-row { |
| 316 | border: none; |
| 317 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 318 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 319 | .item-cart-items { |
| 320 | height: ~"calc(100vh - 526px)"; |
| 321 | overflow: auto; |
| 322 | border: 1px solid @border-color; |
| 323 | border-top: none; |
Faris Ansari | 125996e | 2017-05-16 07:29:15 +0530 | [diff] [blame] | 324 | |
| 325 | @media (max-width: @screen-xs) { |
| 326 | height: 30vh; |
| 327 | } |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 328 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 329 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 330 | .no-items-message { |
| 331 | min-height: 200px; |
| 332 | display: flex; |
| 333 | align-items: center; |
| 334 | justify-content: center; |
| 335 | height: 100%; |
| 336 | } |
| 337 | |
| 338 | .pos-list-row:last-child { |
| 339 | border-bottom: none; |
| 340 | } |
| 341 | |
| 342 | .form-section-heading { |
| 343 | padding: 0; |
| 344 | } |
| 345 | |
| 346 | .item-list { |
| 347 | border: 1px solid @border-color; |
| 348 | border-top: none; |
| 349 | max-height: ~"calc(100vh - 190px)"; |
| 350 | overflow: auto; |
| 351 | |
| 352 | @media (max-width: @screen-xs) { |
| 353 | max-height: initial; |
| 354 | } |
| 355 | |
| 356 | .image-field { |
| 357 | height: 140px; |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 358 | |
Faris Ansari | 5687e2d | 2017-04-20 11:09:43 +0530 | [diff] [blame] | 359 | .placeholder-text { |
| 360 | font-size: 50px; |
| 361 | } |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 362 | } |
| 363 | |
| 364 | .pos-item-wrapper { |
| 365 | position: relative; |
| 366 | } |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 367 | } |
| 368 | |
| 369 | .pos-bill-toolbar { |
| 370 | margin-top: 10px; |
| 371 | } |
| 372 | |
| 373 | .search-item .form-group { |
| 374 | margin: 0; |
| 375 | } |
| 376 | |
| 377 | .item-list-area .pos-bill-header { |
| 378 | padding: 5px; |
| 379 | padding-left: 15px; |
| 380 | } |
| 381 | |
Faris Ansari | d79f239 | 2017-03-16 12:18:35 +0530 | [diff] [blame] | 382 | .pos-selected-item-action { |
| 383 | .pos-list-row:first-child { |
| 384 | padding-top: 0; |
| 385 | } |
| 386 | |
| 387 | &> .pos-list-row { |
| 388 | border: none; |
| 389 | |
| 390 | @media (max-width: @screen-md) { |
| 391 | padding: 5px 15px; |
| 392 | } |
| 393 | } |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 394 | } |
| 395 | |
| 396 | .edit-customer-btn { |
| 397 | position: absolute; |
| 398 | right: 57px; |
| 399 | top: 15px; |
| 400 | z-index: 100; |
| 401 | } |
| 402 | |
| 403 | .btn-more { |
| 404 | display: flex; |
| 405 | justify-content: center; |
| 406 | align-items: center; |
| 407 | cursor: pointer; |
| 408 | background-color: @light-bg; |
| 409 | min-height: 200px; |
| 410 | } |
| 411 | |
| 412 | .collapse-btn { |
| 413 | cursor: pointer; |
| 414 | } |
Faris Ansari | 655f86d | 2017-08-29 14:27:01 +0530 | [diff] [blame] | 415 | } |
| 416 | |
| 417 | .price-info { |
| 418 | position: absolute; |
| 419 | left: 0; |
| 420 | bottom: 0; |
| 421 | margin: 0 0 15px 15px; |
| 422 | background-color: rgba(141, 153, 166, 0.6); |
| 423 | padding: 5px 9px; |
| 424 | border-radius: 3px; |
| 425 | color: #fff; |
Prateeksha Singh | 9b4f3cf | 2017-09-18 16:41:04 +0530 | [diff] [blame] | 426 | |
| 427 | } |
| 428 | |
| 429 | // Leaderboard |
| 430 | |
| 431 | .leaderboard { |
| 432 | .result { |
| 433 | border-top: 1px solid #d1d8dd; |
| 434 | } |
| 435 | .list-item { |
| 436 | padding-left: 45px; |
| 437 | } |
| 438 | .list-item_content { |
| 439 | padding-right: 45px; |
| 440 | } |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 441 | } |