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