amelia-booking.less
2 years ago
appointments.less
1 year ago
calendar.less
2 years ago
customers.less
1 year ago
customize.less
1 year ago
dashboard.less
2 years ago
dialogs.less
1 year ago
elementor.less
2 years ago
email-notifications.less
1 year ago
employees.less
1 year ago
events.less
1 year ago
finance.less
1 year ago
import.less
4 years ago
licence.less
2 years ago
lite-vs-premium.less
2 years ago
locations.less
6 years ago
recurring.less
6 years ago
services.less
1 year ago
settings.less
1 year ago
whats-new.less
2 years ago
appointments.less
529 lines
| 1 | @import "../common/_variables"; |
| 2 | @import "../backend/recurring.less"; |
| 3 | |
| 4 | #am-appointments { |
| 5 | @media @less-then-small { |
| 6 | .am-dialog-scrollable { |
| 7 | padding: @padding-small; |
| 8 | } |
| 9 | } |
| 10 | |
| 11 | .am-appointment-customer { |
| 12 | .el-select__input { |
| 13 | margin-left: -2px; |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | .am-appointment-id { |
| 18 | display: none; |
| 19 | &-details { |
| 20 | @media @less-then-small { |
| 21 | display: none !important; |
| 22 | } |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | .am-appointments-filter { |
| 27 | .el-row { |
| 28 | .el-col { |
| 29 | .el-input, |
| 30 | .el-select, |
| 31 | .el-date-editor { |
| 32 | width: 100%; |
| 33 | display: inline-block; |
| 34 | vertical-align: top; |
| 35 | |
| 36 | &.calc-width { |
| 37 | width: calc(~'100% - 63px'); |
| 38 | @media @less-then-medium { |
| 39 | width: calc(~'100% - 123px'); |
| 40 | } |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | .el-button { |
| 45 | margin-left: @margin-small + 4px; |
| 46 | } |
| 47 | |
| 48 | .el-button { |
| 49 | &.button-filter-toggle { |
| 50 | line-height: 0.9; |
| 51 | display: none; |
| 52 | @media @less-then-medium { |
| 53 | display: inline-block; |
| 54 | } |
| 55 | } |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | .v-calendar-column { |
| 61 | .el-form-item { |
| 62 | margin-bottom: @margin-medium; |
| 63 | } |
| 64 | |
| 65 | .popover-container { |
| 66 | margin-bottom: 0; |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | .am-filter-fields { |
| 71 | .el-input, |
| 72 | .el-date-editor { |
| 73 | margin-bottom: 0; |
| 74 | @media @less-then-small { |
| 75 | margin-bottom: @margin-medium; |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | .el-date-editor { |
| 80 | @media @less-then-large { |
| 81 | margin-bottom: @margin-medium; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | .am-package-appointment-filters { |
| 86 | .el-col { |
| 87 | .el-form-item { |
| 88 | @media @less-then-large { |
| 89 | margin-bottom: @margin-medium; |
| 90 | } |
| 91 | @media @less-then-small { |
| 92 | margin-bottom: 0; |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | .v-calendar-column { |
| 97 | .el-form-item { |
| 98 | @media @less-then-medium { |
| 99 | margin-bottom: @margin-medium; |
| 100 | } |
| 101 | } |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | .el-input-group__append { |
| 107 | .el-button { |
| 108 | display: inline-block; |
| 109 | |
| 110 | &:hover { |
| 111 | color: @color-blue; |
| 112 | } |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | .am-appointments-list-head { |
| 118 | padding: @padding-medium @padding-big; |
| 119 | @media @less-then-large { |
| 120 | display: none; |
| 121 | } |
| 122 | |
| 123 | p { |
| 124 | margin: 0; |
| 125 | color: @color-text-second; |
| 126 | text-transform: uppercase; |
| 127 | font-size: @mini-fs; |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | .am-appointments-list-day-title { |
| 132 | padding: @padding-small/2 @padding-big @padding-small/2 @padding-big; |
| 133 | background-color: @color-light-gray; |
| 134 | |
| 135 | .el-checkbox { |
| 136 | margin-right: @margin-small/2; |
| 137 | vertical-align: initial; |
| 138 | } |
| 139 | |
| 140 | .el-checkbox__label { |
| 141 | display: none; |
| 142 | } |
| 143 | |
| 144 | h2 { |
| 145 | line-height: 2; |
| 146 | font-size: 16px; |
| 147 | color: @color-text-second; |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | .am-appointments { |
| 152 | padding: 0; |
| 153 | .am-appointments-list { |
| 154 | .am-appointment { |
| 155 | position: relative; |
| 156 | padding-left: 32px; |
| 157 | |
| 158 | &::before { |
| 159 | content: ''; |
| 160 | display: block; |
| 161 | width: 24px; |
| 162 | height: ~"calc(100% - 8px)"; |
| 163 | position: absolute; |
| 164 | top: 4px; |
| 165 | left: 4px; |
| 166 | border-radius: 4px; |
| 167 | background: blue; |
| 168 | } |
| 169 | |
| 170 | &.am-mixed-appointment { |
| 171 | &::before { |
| 172 | background: linear-gradient(to right bottom, #E1F0FF 50%, #CFF5B7 50%); |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | &.am-front-appointment { |
| 177 | &::before { |
| 178 | background: #CFF5B7; |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | &.am-back-appointment { |
| 183 | &::before { |
| 184 | background: #E1F0FF; |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | &.is-active { |
| 189 | .am-appointment-data { |
| 190 | h3.grouped:after { |
| 191 | background-color: inherit; |
| 192 | } |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | .am-appointment-data { |
| 197 | .am-appointment-data-phone { |
| 198 | display: none; |
| 199 | } |
| 200 | |
| 201 | .el-checkbox { |
| 202 | margin-right: @margin-small/2; |
| 203 | } |
| 204 | |
| 205 | .el-checkbox__label { |
| 206 | display: none; |
| 207 | } |
| 208 | |
| 209 | h3 { |
| 210 | margin-bottom: 0; |
| 211 | overflow: hidden; |
| 212 | max-width: 100%; |
| 213 | height: 24px; |
| 214 | |
| 215 | &.grouped { |
| 216 | padding-right: @padding-medium; |
| 217 | white-space: nowrap; |
| 218 | overflow: hidden !important; |
| 219 | text-overflow: ellipsis; |
| 220 | |
| 221 | svg { |
| 222 | width: 16px; |
| 223 | } |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | p { |
| 228 | margin-bottom: 0; |
| 229 | } |
| 230 | |
| 231 | .el-button { |
| 232 | margin-top: 0; |
| 233 | @media @less-then-medium { |
| 234 | padding-left: @padding-medium - 4px; |
| 235 | padding-right: @padding-medium - 4px; |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | .el-select { |
| 240 | display: block; |
| 241 | |
| 242 | .el-input { |
| 243 | margin-bottom: 0; |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | .am-appointment-checkbox { |
| 248 | @media only screen and ( max-width: 1367px) { |
| 249 | display: block; |
| 250 | margin-bottom: 2px; |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | .am-appointment-time { |
| 255 | line-height: 1.6; |
| 256 | display: inline-block; |
| 257 | padding: 0 @padding-small/2; |
| 258 | border-radius: @border-radius/2; |
| 259 | |
| 260 | &.approved { |
| 261 | background-color: fade(@color-green, 10%); |
| 262 | color: @color-green; |
| 263 | } |
| 264 | |
| 265 | &.pending { |
| 266 | background-color: fade(@color-orange, 10%); |
| 267 | color: @color-orange; |
| 268 | } |
| 269 | |
| 270 | &.canceled { |
| 271 | background-color: fade(@color-red, 10%); |
| 272 | color: @color-red; |
| 273 | } |
| 274 | |
| 275 | &.rejected { |
| 276 | background-color: fade(@color-text-prime, 10%); |
| 277 | color: @color-text-prime; |
| 278 | } |
| 279 | |
| 280 | &.no-show { |
| 281 | background-color: fade(@color-gray, 10%); |
| 282 | color: @color-dark-gray; |
| 283 | } |
| 284 | |
| 285 | &.paid { |
| 286 | background-color: fade(@color-green, 10%); |
| 287 | color: @color-green; |
| 288 | } |
| 289 | |
| 290 | &.partiallyPaid { |
| 291 | background-color: fade(@color-blue, 10%); |
| 292 | color: @color-blue; |
| 293 | } |
| 294 | |
| 295 | @media @less-then-medium { |
| 296 | font-size: @mini-fs; |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | .am-assigned { |
| 301 | display: flex; |
| 302 | align-items: center; |
| 303 | |
| 304 | img { |
| 305 | margin-right: @margin-small; |
| 306 | } |
| 307 | |
| 308 | .am-employee-card-badge { |
| 309 | width: fit-content; |
| 310 | display: inherit; |
| 311 | padding: 0px 4px; |
| 312 | border-radius: 5px; |
| 313 | color: #FFF; |
| 314 | text-align: center; |
| 315 | font-family: @roboto; |
| 316 | font-size: 13px; |
| 317 | font-style: normal; |
| 318 | font-weight: 600; |
| 319 | line-height: 19px; |
| 320 | white-space: nowrap; |
| 321 | overflow: hidden; |
| 322 | text-overflow: ellipsis; |
| 323 | max-width: 95%; |
| 324 | } |
| 325 | } |
| 326 | |
| 327 | .am-appointments-flex-row-middle-align { |
| 328 | min-height: 44px; |
| 329 | @media @less-then-small { |
| 330 | margin-bottom: 0; |
| 331 | } |
| 332 | } |
| 333 | |
| 334 | .am-edit-btn { |
| 335 | text-align: right; |
| 336 | margin-right: @margin-medium*2; |
| 337 | @media @less-then-large { |
| 338 | margin-right: @margin-small; |
| 339 | } |
| 340 | } |
| 341 | |
| 342 | .am-customer-status { |
| 343 | margin-right: @margin-medium; |
| 344 | color: @color-green; |
| 345 | text-transform: capitalize; |
| 346 | line-height: 1.8; |
| 347 | display: inline-block; |
| 348 | padding: 0 @padding-small/4; |
| 349 | border-radius: @border-radius/2; |
| 350 | min-width: 60px; |
| 351 | text-align: center; |
| 352 | |
| 353 | &.pending { |
| 354 | background-color: fade(@color-orange, 10%); |
| 355 | color: @color-orange; |
| 356 | } |
| 357 | |
| 358 | &.approved { |
| 359 | background-color: fade(@color-green, 10%); |
| 360 | color: @color-green; |
| 361 | } |
| 362 | |
| 363 | &.canceled { |
| 364 | background-color: fade(@color-red, 10%); |
| 365 | color: @color-red; |
| 366 | } |
| 367 | |
| 368 | &.rejected { |
| 369 | background-color: fade(@color-text-prime, 10%); |
| 370 | color: @color-text-prime; |
| 371 | } |
| 372 | |
| 373 | &.no-show { |
| 374 | background-color: fade(@color-gray, 10%); |
| 375 | color: @color-dark-gray; |
| 376 | } |
| 377 | } |
| 378 | |
| 379 | .am-appointment-payment, |
| 380 | .am-appointment-package { |
| 381 | .am-appointment-package-wrap{ |
| 382 | display: flex; |
| 383 | align-items: center; |
| 384 | } |
| 385 | .am-appointment-package-wrap { |
| 386 | h4 { |
| 387 | width: auto; |
| 388 | } |
| 389 | img { |
| 390 | margin-left: 5px; |
| 391 | } |
| 392 | } |
| 393 | .am-appointment-payment-wrap { |
| 394 | display: flex; |
| 395 | align-items: end; |
| 396 | img { |
| 397 | &.am-appointment-payment-icons { |
| 398 | width: 20px; |
| 399 | height: 20px; |
| 400 | margin-left: 0; |
| 401 | } |
| 402 | } |
| 403 | &-price { |
| 404 | overflow: hidden; |
| 405 | text-overflow: ellipsis; |
| 406 | } |
| 407 | } |
| 408 | img { |
| 409 | display: inline-block; |
| 410 | vertical-align: middle; |
| 411 | margin-right: @margin-small/2; |
| 412 | width: 16px; |
| 413 | height: 16px; |
| 414 | } |
| 415 | } |
| 416 | } |
| 417 | |
| 418 | &-package-purchased-status { |
| 419 | width: fit-content; |
| 420 | max-width: 80%; |
| 421 | line-height: 22px; |
| 422 | border-radius: 4px; |
| 423 | padding: 0 4px; |
| 424 | margin-top: 2px; |
| 425 | |
| 426 | &-unlimited { |
| 427 | background-color: fade(@color-green, 10%); |
| 428 | color: @color-green; |
| 429 | } |
| 430 | |
| 431 | &-active { |
| 432 | background-color: fade(@color-orange, 10%); |
| 433 | color: @color-orange; |
| 434 | } |
| 435 | |
| 436 | &-expired { |
| 437 | background-color: fade(@color-red, 10%); |
| 438 | color: @color-red; |
| 439 | } |
| 440 | } |
| 441 | } |
| 442 | } |
| 443 | } |
| 444 | |
| 445 | h3 span.am-customer-name, h3.am-customer-name { |
| 446 | position: relative; |
| 447 | padding: 0px 4px 0 24px; |
| 448 | height: 22px; |
| 449 | width: fit-content; |
| 450 | max-width: 80%; |
| 451 | border-radius: 6px; |
| 452 | white-space: nowrap; |
| 453 | overflow: hidden; |
| 454 | text-overflow: ellipsis; |
| 455 | display: block; |
| 456 | line-height: 24px; |
| 457 | |
| 458 | &.am-customer-blocked { |
| 459 | padding: 0px 4px 0 20px; |
| 460 | &::before { |
| 461 | content: url("../../img/block.svg"); |
| 462 | } |
| 463 | } |
| 464 | |
| 465 | &.am-no-show { |
| 466 | |
| 467 | &-gray { |
| 468 | border: 1px solid #D1D5D7; |
| 469 | background: #FBFBFB; |
| 470 | &::before { |
| 471 | content: url("../../img/am-user-single-no-show.svg"); |
| 472 | } |
| 473 | } |
| 474 | &-yellow { |
| 475 | border: 1px solid #F7E4A2; |
| 476 | background: #FDF9E8; |
| 477 | &::before { |
| 478 | content: url("../../img/am-user-double-no-show.svg"); |
| 479 | } |
| 480 | } |
| 481 | &-red { |
| 482 | border: 1px solid #F1A29D; |
| 483 | background: #FCE8E7; |
| 484 | &::before { |
| 485 | content: url("../../img/am-user-multiple-no-show.svg"); |
| 486 | } |
| 487 | } |
| 488 | } |
| 489 | |
| 490 | &::before { |
| 491 | height: 24px; |
| 492 | position: absolute; |
| 493 | left: 0; |
| 494 | display: block; |
| 495 | } |
| 496 | } |
| 497 | } |
| 498 | |
| 499 | @media @less-then-large { |
| 500 | .el-col:first-child { |
| 501 | .am-appointments-flex-row-middle-align { |
| 502 | margin-bottom: @margin-medium; |
| 503 | } |
| 504 | } |
| 505 | } |
| 506 | |
| 507 | .am-appointments-flex-row-middle-align { |
| 508 | display: flex; |
| 509 | align-items: center; |
| 510 | min-height: 20px; |
| 511 | @media @less-then-large { |
| 512 | align-items: inherit; |
| 513 | } |
| 514 | @media @less-then-small { |
| 515 | display: block; |
| 516 | &:first-of-type { |
| 517 | margin-bottom: 0; |
| 518 | } |
| 519 | } |
| 520 | |
| 521 | .el-col { |
| 522 | @media @less-then-small { |
| 523 | margin-bottom: @margin-medium; |
| 524 | } |
| 525 | } |
| 526 | } |
| 527 | |
| 528 | |
| 529 |