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
employees.less
534 lines
| 1 | @import "../common/_variables"; |
| 2 | |
| 3 | #am-employees { |
| 4 | .am-assigned-services > div { |
| 5 | padding: 10px; |
| 6 | border: 1px solid @color-divider-gray; |
| 7 | border-radius: 3px; |
| 8 | margin-top: 5px; |
| 9 | margin-bottom: 5px; |
| 10 | |
| 11 | .am-assigned-services__service-row { |
| 12 | margin-bottom: 0; |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | .am-employees-filter { |
| 17 | position: relative; |
| 18 | |
| 19 | .el-row { |
| 20 | .el-col { |
| 21 | .am-search { |
| 22 | .el-input { |
| 23 | width: 100%; |
| 24 | margin-bottom: 0; |
| 25 | @media @less-then-large { |
| 26 | margin-bottom: @margin-medium; |
| 27 | } |
| 28 | |
| 29 | &.calc-width { |
| 30 | @media @less-then-medium { |
| 31 | width: calc(~'100% - 59px'); |
| 32 | margin-right: @margin-small; |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | .el-button + .el-button { |
| 38 | margin-left: @margin-small; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | .el-select { |
| 43 | width: 100%; |
| 44 | margin-bottom: 0; |
| 45 | |
| 46 | &.calc-width { |
| 47 | width: calc(~'100% - 119px'); |
| 48 | margin-right: @margin-small; |
| 49 | @media @less-then-large { |
| 50 | width: 100%; |
| 51 | } |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | .el-input { |
| 56 | width: 100%; |
| 57 | margin-bottom: 0; |
| 58 | @media @less-then-medium { |
| 59 | margin-bottom: @margin-medium; |
| 60 | } |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | .am-filter-fields { |
| 65 | |
| 66 | } |
| 67 | |
| 68 | .el-button { |
| 69 | /*line-height: 0.9;*/ |
| 70 | |
| 71 | &.button-filter-toggle { |
| 72 | display: none; |
| 73 | @media @less-then-medium { |
| 74 | display: inline-block; |
| 75 | vertical-align: top; |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | &.change-view { |
| 80 | @media @less-then-large { |
| 81 | display: none; |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | .am-filter-buttons { |
| 88 | position: absolute; |
| 89 | right: 8px; |
| 90 | top: 0; |
| 91 | } |
| 92 | |
| 93 | .el-input-group__append { |
| 94 | .el-button { |
| 95 | display: inline-block; |
| 96 | |
| 97 | &:hover { |
| 98 | color: @color-blue; |
| 99 | } |
| 100 | } |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | .am-employees-table-view { |
| 105 | padding: 0; |
| 106 | @media @less-then-large { |
| 107 | border-top: 1px solid @color-divider-gray; |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | .am-employees-list-head { |
| 112 | padding: @padding-medium @padding-big; |
| 113 | border-bottom: 1px solid @color-divider-gray; |
| 114 | @media @less-then-large { |
| 115 | display: none; |
| 116 | } |
| 117 | |
| 118 | p { |
| 119 | margin: 0; |
| 120 | color: @color-text-second; |
| 121 | text-transform: uppercase; |
| 122 | font-size: @mini-fs; |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | .am-employee-row { |
| 127 | border-bottom: 1px solid @color-divider-gray; |
| 128 | padding: @padding-medium @padding-big; |
| 129 | position: relative; |
| 130 | |
| 131 | &.am-hidden-entity { |
| 132 | opacity: 0.6; |
| 133 | |
| 134 | &:after { |
| 135 | display: block; |
| 136 | width: 18px; |
| 137 | height: 18px; |
| 138 | position: absolute; |
| 139 | bottom: 26px; |
| 140 | right: 105px; |
| 141 | content: url('../../img/hide.svg'); |
| 142 | @media @less-then-small { |
| 143 | bottom: 42px; |
| 144 | } |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | .am-employee-col { |
| 149 | display: flex; |
| 150 | align-items: center; |
| 151 | min-height: 40px; |
| 152 | @media @less-then-large { |
| 153 | margin-bottom: @margin-medium; |
| 154 | } |
| 155 | @media @more-then-large { |
| 156 | flex-wrap: wrap; |
| 157 | } |
| 158 | |
| 159 | &.am-edit-btn { |
| 160 | justify-content: flex-end; |
| 161 | } |
| 162 | |
| 163 | h4 { |
| 164 | margin: @margin-small 0; |
| 165 | } |
| 166 | |
| 167 | img { |
| 168 | margin-right: @margin-small; |
| 169 | border-radius: 50%; |
| 170 | max-width: 32px; |
| 171 | } |
| 172 | |
| 173 | button { |
| 174 | float: right; |
| 175 | } |
| 176 | |
| 177 | .am-employee-id { |
| 178 | color: #7F8FA4; |
| 179 | font-size: 14px; |
| 180 | font-weight: 400; |
| 181 | } |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | .am-employee-status-label { |
| 186 | display: inline-block; |
| 187 | padding: @padding-small/2 @padding-small; |
| 188 | border-radius: @border-radius/2; |
| 189 | @media @less-then-small { |
| 190 | margin-bottom: @margin-small; |
| 191 | } |
| 192 | |
| 193 | &.available { |
| 194 | background-color: fade(@color-green, 10%); |
| 195 | color: @color-green; |
| 196 | } |
| 197 | |
| 198 | &.busy { |
| 199 | background-color: fade(@color-orange, 10%); |
| 200 | color: @color-orange; |
| 201 | } |
| 202 | |
| 203 | &.away, &.break, &.dayoff { |
| 204 | background-color: fade(@color-red, 10%); |
| 205 | color: @color-red; |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | .am-outlook-calendar-button { |
| 210 | padding: 0; |
| 211 | height: 40px; |
| 212 | border: 1px solid transparent; |
| 213 | max-width: 206px; |
| 214 | width: 100%; |
| 215 | background-color: #4285F4; |
| 216 | -webkit-border-radius: 1px; |
| 217 | border-radius: 1px; |
| 218 | box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .25); |
| 219 | -webkit-box-sizing: border-box; |
| 220 | box-sizing: border-box; |
| 221 | -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s; |
| 222 | transition: background-color .218s, border-color .218s, box-shadow .218s; |
| 223 | -webkit-user-select: none; |
| 224 | -webkit-appearance: none; |
| 225 | background-image: none; |
| 226 | cursor: pointer; |
| 227 | outline: none; |
| 228 | overflow: hidden; |
| 229 | position: relative; |
| 230 | text-align: center; |
| 231 | vertical-align: middle; |
| 232 | white-space: nowrap; |
| 233 | |
| 234 | &:hover { |
| 235 | background-color: #4285F4; |
| 236 | } |
| 237 | |
| 238 | &:focus { |
| 239 | background-color: #3367D6; |
| 240 | } |
| 241 | |
| 242 | &.connected { |
| 243 | background-color: #DC4E41; |
| 244 | |
| 245 | &:hover { |
| 246 | background-color: #DC4E41; |
| 247 | } |
| 248 | |
| 249 | &:focus { |
| 250 | background-color: #C53829; |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | .am-outlook-calendar-button-image { |
| 255 | float: left; |
| 256 | padding: 9px; |
| 257 | background: #fff; |
| 258 | border-radius: 1px; |
| 259 | } |
| 260 | |
| 261 | .am-outlook-calendar-button-text { |
| 262 | padding: 12px 0; |
| 263 | display: inline-block; |
| 264 | margin: 0; |
| 265 | } |
| 266 | } |
| 267 | |
| 268 | .am-google-calendar-button { |
| 269 | padding: 0; |
| 270 | height: 40px; |
| 271 | border: 1px solid #747775; |
| 272 | max-width: 206px; |
| 273 | width: 100%; |
| 274 | background-color: #ffffff; |
| 275 | -webkit-border-radius: 1px; |
| 276 | border-radius: 1px; |
| 277 | -webkit-box-sizing: border-box; |
| 278 | box-sizing: border-box; |
| 279 | -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s; |
| 280 | transition: background-color .218s, border-color .218s, box-shadow .218s; |
| 281 | -webkit-user-select: none; |
| 282 | -webkit-appearance: none; |
| 283 | background-image: none; |
| 284 | cursor: pointer; |
| 285 | outline: none; |
| 286 | overflow: hidden; |
| 287 | position: relative; |
| 288 | text-align: center; |
| 289 | vertical-align: middle; |
| 290 | white-space: nowrap; |
| 291 | |
| 292 | &:hover { |
| 293 | box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15); |
| 294 | background-color: rgba(48, 48, 48, 0.08); |
| 295 | } |
| 296 | |
| 297 | &:focus { |
| 298 | box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15); |
| 299 | background-color: rgba(48, 48, 48, 0.08); |
| 300 | } |
| 301 | |
| 302 | &.connected { |
| 303 | background-color: #131314; |
| 304 | border: 1px solid #8e918f; |
| 305 | |
| 306 | &:hover { |
| 307 | box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15); |
| 308 | background-color: #131314; |
| 309 | } |
| 310 | |
| 311 | &:focus { |
| 312 | box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15); |
| 313 | background-color: #131314; |
| 314 | } |
| 315 | } |
| 316 | |
| 317 | .am-google-calendar-button-image { |
| 318 | float: left; |
| 319 | padding: 9px; |
| 320 | background: transparent; |
| 321 | border-radius: 1px; |
| 322 | |
| 323 | img { |
| 324 | width: 20px; |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | .am-google-calendar-button-text { |
| 329 | padding: 12px 0; |
| 330 | display: inline-block; |
| 331 | margin: 0; |
| 332 | color: #131314; |
| 333 | |
| 334 | &.connected { |
| 335 | color: #e3e3e3; |
| 336 | } |
| 337 | } |
| 338 | } |
| 339 | |
| 340 | #am-google-calendar-connected { |
| 341 | .el-badge__content { |
| 342 | background-color: @color-green; |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | #am-google-calendar-disconnected { |
| 347 | .el-badge__content { |
| 348 | background-color: @color-red; |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | .am-google-calendar-tooltip { |
| 353 | margin: 28px 0 0 -12px; |
| 354 | } |
| 355 | |
| 356 | .am-apple-calendar-button { |
| 357 | padding: 0; |
| 358 | height: 40px; |
| 359 | border: 1px solid transparent; |
| 360 | max-width: 354px; |
| 361 | width: 100%; |
| 362 | background-color: #4285F4; |
| 363 | -webkit-border-radius: 1px; |
| 364 | border-radius: 1px; |
| 365 | box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .25); |
| 366 | -webkit-box-sizing: border-box; |
| 367 | box-sizing: border-box; |
| 368 | -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s; |
| 369 | transition: background-color .218s, border-color .218s, box-shadow .218s; |
| 370 | -webkit-user-select: none; |
| 371 | -webkit-appearance: none; |
| 372 | background-image: none; |
| 373 | cursor: pointer; |
| 374 | outline: none; |
| 375 | overflow: hidden; |
| 376 | position: relative; |
| 377 | text-align: center; |
| 378 | vertical-align: middle; |
| 379 | white-space: nowrap; |
| 380 | |
| 381 | &:hover { |
| 382 | background-color: #4285F4; |
| 383 | } |
| 384 | |
| 385 | &:focus { |
| 386 | background-color: #3367D6; |
| 387 | } |
| 388 | |
| 389 | &.connected { |
| 390 | background-color: #edeff3; |
| 391 | border: 1px solid #8e918f; |
| 392 | |
| 393 | &:hover { |
| 394 | box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15); |
| 395 | } |
| 396 | |
| 397 | &:focus { |
| 398 | box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15); |
| 399 | } |
| 400 | } |
| 401 | |
| 402 | .am-apple-calendar-button-image { |
| 403 | float: left; |
| 404 | padding: 9px; |
| 405 | background: transparent; |
| 406 | border-radius: 1px; |
| 407 | |
| 408 | img { |
| 409 | width: 20px; |
| 410 | } |
| 411 | } |
| 412 | |
| 413 | .am-apple-calendar-button-text { |
| 414 | padding: 12px 0; |
| 415 | display: inline-block; |
| 416 | margin: 0; |
| 417 | color: #ffffff; |
| 418 | |
| 419 | &.connected { |
| 420 | color: #131314; |
| 421 | } |
| 422 | } |
| 423 | } |
| 424 | |
| 425 | .am-employee-card { |
| 426 | margin-bottom: @margin-big; |
| 427 | padding: @padding-medium; |
| 428 | border-radius: 8px; |
| 429 | border: 1px solid @color-divider-gray; |
| 430 | position: relative; |
| 431 | display: flex; |
| 432 | align-items: center; |
| 433 | justify-content: flex-start; |
| 434 | cursor: pointer; |
| 435 | overflow: hidden; |
| 436 | min-height: 100px; |
| 437 | |
| 438 | &:hover { |
| 439 | background-color: @color-highlight; |
| 440 | } |
| 441 | |
| 442 | &.am-hidden-entity { |
| 443 | opacity: 0.6; |
| 444 | |
| 445 | &:after { |
| 446 | display: block; |
| 447 | width: 18px; |
| 448 | height: 18px; |
| 449 | position: absolute; |
| 450 | bottom: 16px; |
| 451 | right: 16px; |
| 452 | content: url('../../img/hide.svg'); |
| 453 | } |
| 454 | } |
| 455 | |
| 456 | @media @less-then-xsmall { |
| 457 | display: block; |
| 458 | } |
| 459 | |
| 460 | .am-employee-status-label { |
| 461 | position: absolute; |
| 462 | top: 12px; |
| 463 | right: 16px; |
| 464 | } |
| 465 | |
| 466 | img { |
| 467 | margin: 0 @margin-small; |
| 468 | border-radius: 50%; |
| 469 | width: 64px; |
| 470 | height: 64px; |
| 471 | min-width: 64px; |
| 472 | max-width: 64px; |
| 473 | @media @less-then-xsmall { |
| 474 | max-width: 48px; |
| 475 | } |
| 476 | } |
| 477 | |
| 478 | h4 { |
| 479 | margin: 0 @margin-small 0 @margin-small; |
| 480 | } |
| 481 | |
| 482 | p, p.am-email { |
| 483 | margin: 0 @margin-small 0 @margin-small; |
| 484 | color: @color-text-second; |
| 485 | font-size: @small-fs; |
| 486 | @media @less-then-xsmall { |
| 487 | font-size: @small-fs*0.9; |
| 488 | |
| 489 | } |
| 490 | } |
| 491 | |
| 492 | .am-employee-id { |
| 493 | color: #7F8FA4; |
| 494 | font-size: 14px; |
| 495 | font-weight: 400; |
| 496 | } |
| 497 | |
| 498 | &-info-content { |
| 499 | box-sizing: border-box; |
| 500 | overflow: hidden; |
| 501 | } |
| 502 | |
| 503 | &-badge { |
| 504 | max-width: 80%; |
| 505 | white-space: nowrap; |
| 506 | overflow: hidden; |
| 507 | text-overflow: ellipsis; |
| 508 | width: fit-content; |
| 509 | display: inherit; |
| 510 | padding: 0px 4px; |
| 511 | border-radius: 5px; |
| 512 | color: #FFF; |
| 513 | text-align: center; |
| 514 | font-family: @roboto; |
| 515 | font-size: 13px; |
| 516 | font-style: normal; |
| 517 | font-weight: 600; |
| 518 | line-height: 19px; |
| 519 | |
| 520 | &-list { |
| 521 | max-width: 200px; |
| 522 | } |
| 523 | } |
| 524 | } |
| 525 | |
| 526 | #pane-details { |
| 527 | .ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options { |
| 528 | max-height: 200px; |
| 529 | overflow-x: hidden; |
| 530 | } |
| 531 | } |
| 532 | } |
| 533 | |
| 534 |