Faris Ansari | 7c744ac | 2018-02-20 14:21:50 +0530 | [diff] [blame] | 1 | @import "variables.less"; |
Rushabh Mehta | 5d0e8de | 2016-04-11 17:34:25 +0530 | [diff] [blame] | 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 | |
Prateeksha Singh | 420c790 | 2018-04-05 14:44:16 +0530 | [diff] [blame] | 26 | .app-icon-svg { |
| 27 | display: inline-block; |
| 28 | margin: auto; |
| 29 | text-align: center; |
| 30 | border-radius: 16px; |
| 31 | cursor: pointer; |
| 32 | box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15); |
| 33 | } |
| 34 | |
| 35 | .app-icon-svg .hub-icon { |
| 36 | height: 72px; |
| 37 | width: 72px; |
| 38 | } |
| 39 | |
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 40 | .dashboard-list-item { |
| 41 | background-color: inherit; |
Rushabh Mehta | d1eba51 | 2016-06-13 17:46:55 +0530 | [diff] [blame] | 42 | padding: 5px 0px; |
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 43 | border-bottom: 1px solid @border-color; |
| 44 | } |
| 45 | |
Rushabh Mehta | d1eba51 | 2016-06-13 17:46:55 +0530 | [diff] [blame] | 46 | #page-stock-balance .dashboard-list-item { |
| 47 | padding: 5px 15px; |
| 48 | } |
| 49 | |
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 50 | .dashboard-list-item:last-child { |
| 51 | border-bottom: none; |
| 52 | } |
Rohit Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 53 | |
Neil Trini Lasrado | 2a9e0f6 | 2017-01-09 18:25:43 +0530 | [diff] [blame] | 54 | // assessment tool |
| 55 | .frappe-control[data-fieldname='result_html'] { |
| 56 | overflow: scroll; |
| 57 | } |
| 58 | .assessment-result-tool { |
| 59 | table-layout: fixed; |
| 60 | |
| 61 | input { |
| 62 | width: 100%; |
| 63 | border: 0; |
| 64 | outline: none; |
| 65 | text-align: right; |
| 66 | } |
| 67 | |
| 68 | th { |
| 69 | white-space: nowrap; |
| 70 | overflow: hidden; |
| 71 | text-overflow: ellipsis; |
| 72 | } |
| 73 | |
| 74 | .total-score, .grade, .score { |
| 75 | text-align: right; |
| 76 | } |
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 */ |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 80 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 81 | body[data-route="pos"] { |
| 82 | |
| 83 | .pos-bill-toolbar { |
| 84 | padding: 10px 0px; |
| 85 | height: 51px; |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 86 | } |
| 87 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 88 | .pos-bill-item:hover, .list-customers-table > .pos-list-row:hover { |
| 89 | background-color: #f5f7fa; |
| 90 | cursor: pointer; |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 91 | } |
| 92 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 93 | .pos-item-qty { |
| 94 | display: inline-block; |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 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 | .pos-qty-row > div { |
| 98 | padding: 5px 0px; |
| 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 | .pos-qty-btn { |
| 102 | margin-top: 3px; |
| 103 | cursor: pointer; |
| 104 | font-size: 120%; |
| 105 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 106 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 107 | .search-area .form-group { |
| 108 | max-width: 100% !important; |
| 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 | .tax-table { |
| 112 | margin-bottom: 10px; |
| 113 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 114 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 115 | .discount-field-col { |
| 116 | padding-left: 24px; |
| 117 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 118 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 119 | .discount-amount-area { |
| 120 | .input-group:first-child { |
| 121 | margin-bottom: 2px; |
| 122 | } |
| 123 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 124 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 125 | .payment-toolbar { |
| 126 | .row { |
| 127 | width: 323px; |
| 128 | margin: 0 auto; |
| 129 | } |
| 130 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 131 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 132 | .payment-mode { |
| 133 | cursor: pointer; |
| 134 | font-family: sans-serif; |
| 135 | font-size: 15px; |
| 136 | } |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 137 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 138 | .pos-payment-row .col-xs-6 { |
| 139 | padding :15px; |
| 140 | } |
| 141 | |
| 142 | .pos-payment-row { |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 143 | border-bottom:1px solid @border-color; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 144 | margin: 2px 0px 5px 0px; |
| 145 | height: 60px; |
| 146 | margin-top: 0px; |
| 147 | margin-bottom: 0px; |
| 148 | } |
| 149 | |
| 150 | .pos-payment-row:hover, .pos-keyboard-key:hover{ |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 151 | background-color: @light-bg; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 152 | cursor: pointer; |
| 153 | } |
| 154 | |
| 155 | .pos-keyboard-key, .delete-btn { |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 156 | border: 1px solid @border-color; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 157 | height:85px; |
| 158 | width:85px; |
| 159 | margin:10px 10px; |
| 160 | font-size:24px; |
| 161 | font-weight:200; |
| 162 | background-color: #FDFDFD; |
| 163 | border-color: #e8e8e8; |
| 164 | } |
| 165 | |
| 166 | .numeric-keypad { |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 167 | border: 1px solid @border-color; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 168 | height:69px; |
| 169 | width:69px; |
| 170 | font-size:20px; |
| 171 | font-weight:200; |
| 172 | background-color: #FDFDFD; |
| 173 | border-color: #e8e8e8; |
| 174 | margin-left:-4px; |
| 175 | } |
| 176 | |
| 177 | .pos-pay { |
| 178 | height:69px; |
| 179 | width:69px; |
| 180 | font-size:17px; |
| 181 | font-weight:200; |
| 182 | margin-left:-4px; |
| 183 | } |
| 184 | |
| 185 | .numeric-keypad { |
| 186 | height: 60px; |
| 187 | width: 60px; |
| 188 | font-size: 20px; |
| 189 | font-weight: 200; |
| 190 | border-radius: 0; |
| 191 | background-color: #fff; |
| 192 | margin-left:-4px; |
Faris Ansari | d79f239 | 2017-03-16 12:18:35 +0530 | [diff] [blame] | 193 | |
| 194 | @media (max-width: @screen-md) { |
| 195 | height: 45px; |
| 196 | width: 45px; |
| 197 | font-size: 14px; |
| 198 | } |
| 199 | |
| 200 | @media (max-width: @screen-sm) { |
| 201 | height: 40px; |
| 202 | width: 40px; |
| 203 | } |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 204 | } |
| 205 | |
| 206 | .numeric_keypad { |
| 207 | margin-left: -15px; |
| 208 | |
| 209 | & > .row > button { |
| 210 | border: none; |
| 211 | border-right: 1px solid @border-color; |
| 212 | border-bottom: 1px solid @border-color; |
| 213 | |
| 214 | &:first-child { |
| 215 | border-left: 1px solid @border-color; |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | & > .row:first-child > button { |
| 220 | border-top: 1px solid @border-color; |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | .pos-pay { |
| 225 | background-color: @brand-primary; |
| 226 | border: none; |
| 227 | } |
| 228 | |
| 229 | .multimode-payments { |
| 230 | padding-left: 30px; |
| 231 | } |
| 232 | |
| 233 | .payment-toolbar { |
| 234 | padding-right: 30px; |
| 235 | } |
| 236 | |
| 237 | .list-row-head.pos-invoice-list { |
| 238 | border-top: 1px solid @border-color; |
| 239 | } |
| 240 | |
| 241 | .modal-dialog { |
| 242 | width: 750px; |
| 243 | |
| 244 | @media (max-width: @screen-xs) { |
| 245 | width: auto; |
| 246 | |
| 247 | .modal-content { |
| 248 | height: auto; |
| 249 | } |
| 250 | } |
| 251 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 252 | |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 253 | @media (max-width: @screen-xs) { |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 254 | .amount-row h3 { |
| 255 | font-size: 15px; |
| 256 | } |
| 257 | .pos-keyboard-key, .delete-btn { |
| 258 | height: 50px; |
| 259 | } |
| 260 | .multimode-payments { |
| 261 | padding-left: 15px; |
| 262 | } |
| 263 | .payment-toolbar { |
| 264 | padding-right: 15px; |
| 265 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 266 | } |
| 267 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 268 | .amount-label { |
| 269 | font-size: 16px; |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 270 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 271 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 272 | .selected-payment-mode { |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 273 | background-color: @light-bg; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 274 | cursor: pointer; |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 275 | } |
| 276 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 277 | .pos-invoice-list { |
| 278 | padding: 15px 10px; |
| 279 | } |
| 280 | |
| 281 | .write_off_amount, .change_amount { |
| 282 | margin: 15px; |
| 283 | width: 130px; |
| 284 | } |
| 285 | |
| 286 | .pos-list-row { |
| 287 | display: table; |
| 288 | table-layout: fixed; |
| 289 | width: 100%; |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 290 | padding: 9px 15px; |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 291 | font-size: 12px; |
| 292 | margin: 0px; |
| 293 | border-bottom: 1px solid @border-color; |
| 294 | |
| 295 | .cell { |
| 296 | display: table-cell; |
| 297 | vertical-align: middle; |
| 298 | |
| 299 | &.price-cell { |
| 300 | width: 50%; |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | .subject { |
| 305 | width: 40% |
| 306 | } |
| 307 | |
| 308 | .list-row-checkbox, .list-select-all { |
| 309 | margin-right: 7px; |
| 310 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 311 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 312 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 313 | .pos-bill-header { |
| 314 | background-color: #f5f7fa; |
| 315 | border: 1px solid @border-color; |
| 316 | padding: 13px 15px; |
| 317 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 318 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 319 | .pos-list-row.active { |
| 320 | background-color: @light-yellow; |
| 321 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 322 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 323 | .totals-area { |
| 324 | border-right: 1px solid @border-color; |
| 325 | border-left: 1px solid @border-color; |
| 326 | margin-bottom: 15px; |
| 327 | } |
Faris Ansari | 339d9c9 | 2017-03-07 18:14:06 +0530 | [diff] [blame] | 328 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 329 | .tax-area .pos-list-row { |
| 330 | border: none; |
| 331 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 332 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 333 | .item-cart-items { |
| 334 | height: ~"calc(100vh - 526px)"; |
| 335 | overflow: auto; |
| 336 | border: 1px solid @border-color; |
| 337 | border-top: none; |
Faris Ansari | 125996e | 2017-05-16 07:29:15 +0530 | [diff] [blame] | 338 | |
| 339 | @media (max-width: @screen-xs) { |
| 340 | height: 30vh; |
| 341 | } |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 342 | } |
Faris Ansari | 4551010 | 2017-03-09 14:43:37 +0530 | [diff] [blame] | 343 | |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 344 | .no-items-message { |
| 345 | min-height: 200px; |
| 346 | display: flex; |
| 347 | align-items: center; |
| 348 | justify-content: center; |
| 349 | height: 100%; |
| 350 | } |
| 351 | |
| 352 | .pos-list-row:last-child { |
| 353 | border-bottom: none; |
| 354 | } |
| 355 | |
| 356 | .form-section-heading { |
| 357 | padding: 0; |
| 358 | } |
| 359 | |
| 360 | .item-list { |
| 361 | border: 1px solid @border-color; |
| 362 | border-top: none; |
| 363 | max-height: ~"calc(100vh - 190px)"; |
| 364 | overflow: auto; |
| 365 | |
| 366 | @media (max-width: @screen-xs) { |
| 367 | max-height: initial; |
| 368 | } |
| 369 | |
| 370 | .image-field { |
| 371 | height: 140px; |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 372 | |
Faris Ansari | 5687e2d | 2017-04-20 11:09:43 +0530 | [diff] [blame] | 373 | .placeholder-text { |
| 374 | font-size: 50px; |
| 375 | } |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 376 | } |
| 377 | |
| 378 | .pos-item-wrapper { |
| 379 | position: relative; |
| 380 | } |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 381 | } |
| 382 | |
| 383 | .pos-bill-toolbar { |
| 384 | margin-top: 10px; |
| 385 | } |
| 386 | |
| 387 | .search-item .form-group { |
| 388 | margin: 0; |
| 389 | } |
| 390 | |
| 391 | .item-list-area .pos-bill-header { |
| 392 | padding: 5px; |
| 393 | padding-left: 15px; |
| 394 | } |
| 395 | |
Faris Ansari | d79f239 | 2017-03-16 12:18:35 +0530 | [diff] [blame] | 396 | .pos-selected-item-action { |
| 397 | .pos-list-row:first-child { |
| 398 | padding-top: 0; |
| 399 | } |
| 400 | |
| 401 | &> .pos-list-row { |
| 402 | border: none; |
| 403 | |
| 404 | @media (max-width: @screen-md) { |
| 405 | padding: 5px 15px; |
| 406 | } |
| 407 | } |
Faris Ansari | 1fe1518 | 2017-03-10 14:50:39 +0530 | [diff] [blame] | 408 | } |
| 409 | |
| 410 | .edit-customer-btn { |
| 411 | position: absolute; |
| 412 | right: 57px; |
| 413 | top: 15px; |
| 414 | z-index: 100; |
| 415 | } |
| 416 | |
| 417 | .btn-more { |
| 418 | display: flex; |
| 419 | justify-content: center; |
| 420 | align-items: center; |
| 421 | cursor: pointer; |
| 422 | background-color: @light-bg; |
| 423 | min-height: 200px; |
| 424 | } |
| 425 | |
| 426 | .collapse-btn { |
| 427 | cursor: pointer; |
| 428 | } |
Faris Ansari | 655f86d | 2017-08-29 14:27:01 +0530 | [diff] [blame] | 429 | } |
| 430 | |
| 431 | .price-info { |
| 432 | position: absolute; |
| 433 | left: 0; |
| 434 | bottom: 0; |
| 435 | margin: 0 0 15px 15px; |
| 436 | background-color: rgba(141, 153, 166, 0.6); |
| 437 | padding: 5px 9px; |
| 438 | border-radius: 3px; |
| 439 | color: #fff; |
Prateeksha Singh | 9b4f3cf | 2017-09-18 16:41:04 +0530 | [diff] [blame] | 440 | |
| 441 | } |
| 442 | |
| 443 | // Leaderboard |
| 444 | |
| 445 | .leaderboard { |
| 446 | .result { |
| 447 | border-top: 1px solid #d1d8dd; |
| 448 | } |
| 449 | .list-item { |
| 450 | padding-left: 45px; |
| 451 | } |
| 452 | .list-item_content { |
| 453 | padding-right: 45px; |
| 454 | } |
Faris Ansari | fd345f8 | 2017-10-05 11:17:30 +0530 | [diff] [blame] | 455 | } |