_animations.less
7 years ago
_base.less
7 years ago
_country-flags.less
5 years ago
_elements.less
1 year ago
_overrides.less
1 year ago
_variables.less
4 years ago
font.less
5 years ago
rtl.less
3 years ago
_overrides.less
484 lines
| 1 | @import "_variables"; |
| 2 | |
| 3 | |
| 4 | .el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner { |
| 5 | box-shadow: none; |
| 6 | } |
| 7 | |
| 8 | .el-col { |
| 9 | overflow: hidden; |
| 10 | } |
| 11 | |
| 12 | .el-collapse-item__header { |
| 13 | height: auto; |
| 14 | line-height: inherit; |
| 15 | padding-left: 0; |
| 16 | background-color: transparent; |
| 17 | color: @color-text-prime; |
| 18 | cursor: pointer; |
| 19 | border-bottom: none; |
| 20 | font-size: inherit; |
| 21 | } |
| 22 | |
| 23 | .el-collapse-item__wrap { |
| 24 | border-bottom: none; |
| 25 | background-color: transparent; |
| 26 | } |
| 27 | |
| 28 | .el-collapse { |
| 29 | border: none; |
| 30 | } |
| 31 | |
| 32 | .el-collapse-item__header__arrow { |
| 33 | position: absolute; |
| 34 | } |
| 35 | |
| 36 | .el-collapse-item__content { |
| 37 | padding: 0; |
| 38 | } |
| 39 | |
| 40 | .el-input, .el-date-editor, .el-form-item .popover-container { |
| 41 | margin-bottom: @margin-medium; |
| 42 | } |
| 43 | |
| 44 | .el-form-item .c-weeks .popover-container, .el-form .c-title-popover.popover-container { |
| 45 | margin-bottom: 0; |
| 46 | } |
| 47 | |
| 48 | .el-input-number { |
| 49 | width: 100%; |
| 50 | } |
| 51 | |
| 52 | .el-button.el-button--primary { |
| 53 | color: @color-white; |
| 54 | background-color: @color-blue; |
| 55 | border-color: @color-blue; |
| 56 | |
| 57 | &:hover { |
| 58 | color: @color-white; |
| 59 | background-color: darken(@color-blue, 5%); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | .el-button.el-button--danger { |
| 64 | color: @color-white; |
| 65 | background-color: @color-red; |
| 66 | border-color: @color-red; |
| 67 | |
| 68 | &:hover { |
| 69 | color: @color-white; |
| 70 | background-color: darken(@color-red, 5%); |
| 71 | border-color: darken(@color-red, 5%); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | .el-button { |
| 76 | color: @color-text-second; |
| 77 | |
| 78 | &:hover { |
| 79 | color: @color-blue; |
| 80 | border-color: @color-blue; |
| 81 | } |
| 82 | |
| 83 | &.am-button-block { |
| 84 | span { |
| 85 | color: @color-text-prime; |
| 86 | } |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | .el-date-editor.el-input, .el-date-editor.el-input__inner, .el-date-editor--daterange.el-input, .el-date-editor--daterange.el-input__inner, .el-date-editor--timerange.el-input, .el-date-editor--timerange.el-input__inner, .el-date-editor.el-input, .el-date-editor.el-input__inner, .el-input__inner { |
| 91 | width: 100%; |
| 92 | } |
| 93 | |
| 94 | .el-form--label-top .el-form-item__label { |
| 95 | color: @color-text-prime; |
| 96 | padding: 0; |
| 97 | line-height: 2; |
| 98 | } |
| 99 | |
| 100 | .el-form-item__label { |
| 101 | |
| 102 | } |
| 103 | |
| 104 | .el-picker-panel, .el-popover, .el-select-dropdown, .el-tooltip__popper, .el-notification { |
| 105 | font-family: @roboto; |
| 106 | max-width: 100%; |
| 107 | } |
| 108 | |
| 109 | .am-tooltip-waiting-list { |
| 110 | max-width: 203px; |
| 111 | } |
| 112 | |
| 113 | .el-tabs__content { |
| 114 | padding-right: 1px; |
| 115 | } |
| 116 | |
| 117 | .el-tabs__item.is-active { |
| 118 | color: @color-blue; |
| 119 | } |
| 120 | |
| 121 | .el-tabs__active-bar { |
| 122 | background-color: @color-blue; |
| 123 | } |
| 124 | |
| 125 | .v-modal { |
| 126 | background: rgba(0, 0, 0, 0.3); |
| 127 | opacity: 1; |
| 128 | } |
| 129 | |
| 130 | .el-time-panel__btn.confirm { |
| 131 | color: @color-blue; |
| 132 | } |
| 133 | |
| 134 | input[type=text].el-select__input { |
| 135 | border: none; |
| 136 | -webkit-box-shadow: none; |
| 137 | box-shadow: none; |
| 138 | background-color: transparent; |
| 139 | padding-left: 2px; |
| 140 | } |
| 141 | |
| 142 | .el-tag--primary { |
| 143 | background-color: rgba(32, 160, 255, .1); |
| 144 | border-color: rgba(32, 160, 255, .2); |
| 145 | color: @color-blue; |
| 146 | font-size: 10px; |
| 147 | } |
| 148 | |
| 149 | .el-tag .el-icon-close { |
| 150 | font-size: 9px; |
| 151 | top: 1px; |
| 152 | } |
| 153 | |
| 154 | .el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover, .el-select-dropdown__item.hover, .el-select-dropdown__item:hover { |
| 155 | background-color: @color-highlight; |
| 156 | } |
| 157 | |
| 158 | .el-select-dropdown__empty { |
| 159 | padding: 10px; |
| 160 | } |
| 161 | |
| 162 | .el-select-dropdown { |
| 163 | .el-select-dropdown__item { |
| 164 | background-color: transparent; |
| 165 | color: inherit; |
| 166 | |
| 167 | &.hover { |
| 168 | background-color: transparent; |
| 169 | } |
| 170 | |
| 171 | &:hover { |
| 172 | background-color: @color-highlight; |
| 173 | } |
| 174 | |
| 175 | &.selected { |
| 176 | background-color: transparent; |
| 177 | color: inherit; |
| 178 | |
| 179 | &.hover { |
| 180 | background-color: transparent; |
| 181 | } |
| 182 | |
| 183 | &:hover { |
| 184 | background-color: @color-highlight; |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | &.is-disabled { |
| 189 | color: @color-gray; |
| 190 | } |
| 191 | |
| 192 | &.am-employee-badge-option { |
| 193 | padding: 0 8px; |
| 194 | max-width: 400px; |
| 195 | position: relative; |
| 196 | display: flex; |
| 197 | min-height: 34px; |
| 198 | align-items: center; |
| 199 | |
| 200 | span { |
| 201 | max-width: 100%; |
| 202 | white-space: nowrap; |
| 203 | overflow: hidden; |
| 204 | text-overflow: ellipsis; |
| 205 | display: inline-block; |
| 206 | padding: 0 4px; |
| 207 | color: #FFF; |
| 208 | text-align: center; |
| 209 | font-family: @roboto; |
| 210 | font-size: 13px; |
| 211 | font-style: normal; |
| 212 | font-weight: 600; |
| 213 | line-height: 19px; |
| 214 | border-radius: 5px; |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | .am-employee-badge { |
| 219 | padding: 0 4px; |
| 220 | align-items: center; |
| 221 | border-radius: 5px; |
| 222 | font-size: 13px; |
| 223 | line-height: 19px; |
| 224 | font-weight: 600; |
| 225 | color: #FFF; |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | .am-manage-employee-badges { |
| 230 | cursor: pointer; |
| 231 | width: 100%; |
| 232 | display: flex; |
| 233 | justify-content: flex-start; |
| 234 | align-items: center; |
| 235 | //color: #1A2C37; |
| 236 | padding: 0 8px; |
| 237 | box-sizing: border-box; |
| 238 | border-top: 1px solid #D1D5D7; |
| 239 | color: #1A2C37; |
| 240 | font-family: @roboto; |
| 241 | font-size: 13px; |
| 242 | font-style: normal; |
| 243 | font-weight: 600; |
| 244 | line-height: 24px; |
| 245 | &-icon { |
| 246 | margin-right: 4px; |
| 247 | } |
| 248 | |
| 249 | &.am-manage-badges-option { |
| 250 | height: 40px; |
| 251 | font-size: 14px; |
| 252 | } |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | .el-form-item { |
| 257 | margin-bottom: @margin-small/2; |
| 258 | } |
| 259 | |
| 260 | .el-input-group__prepend { |
| 261 | background-color: @color-light-gray; |
| 262 | border-color: #dddddd; |
| 263 | |
| 264 | .el-input { |
| 265 | margin-bottom: 0; |
| 266 | min-width: 75px; |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | .el-input-group__append { |
| 271 | background-color: @color-highlight; |
| 272 | |
| 273 | button.el-button { |
| 274 | border-radius: 0; |
| 275 | border-right: 1px solid @color-divider-gray; |
| 276 | padding: 12px @padding-medium; |
| 277 | |
| 278 | i { |
| 279 | vertical-align: middle; |
| 280 | } |
| 281 | |
| 282 | &:last-child { |
| 283 | border: none; |
| 284 | } |
| 285 | |
| 286 | &.active { |
| 287 | color: @color-blue; |
| 288 | } |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | .el-switch.is-checked .el-switch__core { |
| 293 | background-color: @color-blue; |
| 294 | border-color: @color-blue; |
| 295 | } |
| 296 | |
| 297 | button.el-button { |
| 298 | &.active { |
| 299 | color: @color-blue; |
| 300 | border-color: @color-blue; |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | .pac-container { |
| 305 | z-index: 9999999991 !important; |
| 306 | } |
| 307 | |
| 308 | .el-collapse-item:last-child { |
| 309 | margin-bottom: 0; |
| 310 | } |
| 311 | |
| 312 | .el-icon-plus { |
| 313 | font-weight: 600; |
| 314 | } |
| 315 | |
| 316 | .el-tabs__nav-wrap::after { |
| 317 | height: 1px; |
| 318 | background-color: @color-divider-gray; |
| 319 | } |
| 320 | |
| 321 | .el-select-dropdown__item span { |
| 322 | |
| 323 | } |
| 324 | |
| 325 | .el-dialog { |
| 326 | input[type=number] { |
| 327 | height: 40px; |
| 328 | line-height: 1; |
| 329 | padding: 0 10px; |
| 330 | } |
| 331 | } |
| 332 | |
| 333 | .el-date-editor .el-range__close-icon { |
| 334 | position: absolute; |
| 335 | top: 0; |
| 336 | right: 0; |
| 337 | } |
| 338 | |
| 339 | .el-form-item__content { |
| 340 | line-height: 1; |
| 341 | |
| 342 | .am-v-date-picker-suffix { |
| 343 | position: absolute; |
| 344 | top: 0; |
| 345 | right: 5px; |
| 346 | color: #E2E6EC; |
| 347 | cursor: pointer; |
| 348 | |
| 349 | &:hover { |
| 350 | color: #354052; |
| 351 | } |
| 352 | } |
| 353 | } |
| 354 | |
| 355 | .el-select--mini { |
| 356 | .el-select__tags { |
| 357 | top: 14px; |
| 358 | } |
| 359 | } |
| 360 | |
| 361 | .el-select__tags { |
| 362 | top: 20px; |
| 363 | overflow: hidden; |
| 364 | white-space: nowrap; |
| 365 | flex-wrap: nowrap; |
| 366 | left: 4px; |
| 367 | |
| 368 | .el-select__tags-text { |
| 369 | max-width: 150px; |
| 370 | overflow: hidden; |
| 371 | display: inline-block; |
| 372 | vertical-align: middle; |
| 373 | @media @less-then-xlarge { |
| 374 | max-width: 80px; |
| 375 | } |
| 376 | } |
| 377 | |
| 378 | .el-select__input { |
| 379 | margin-left: @margin-small/2; |
| 380 | max-width: 32px; |
| 381 | } |
| 382 | } |
| 383 | |
| 384 | .el-message-box { |
| 385 | @media @less-then-small { |
| 386 | width: 100%; |
| 387 | } |
| 388 | } |
| 389 | |
| 390 | // WP Overrides |
| 391 | input.readonly, input[readonly], textarea.readonly, textarea[readonly] { |
| 392 | background-color: transparent; |
| 393 | } |
| 394 | |
| 395 | .amelia-booking input, .amelia-booking textarea { |
| 396 | box-shadow: none; |
| 397 | } |
| 398 | |
| 399 | input[type=text], input[type=search], input[type=radio], input[type=tel], input[type=time], input[type=url], input[type=week], input[type=password], input[type=checkbox], input[type=color], input[type=date], input[type=datetime], input[type=datetime-local], input[type=email], input[type=month], input[type=number], select, textarea { |
| 400 | border-color: @color-divider-gray; |
| 401 | box-shadow: none; |
| 402 | color: @color-text-prime; |
| 403 | } |
| 404 | |
| 405 | input[type=text]:focus, input[type=search]:focus, input[type=radio]:focus, input[type=tel]:focus, input[type=time]:focus, input[type=url]:focus, input[type=week]:focus, input[type=password]:focus, input[type=checkbox]:focus, input[type=color]:focus, input[type=date]:focus, input[type=datetime]:focus, input[type=datetime-local]:focus, input[type=email]:focus, input[type=month]:focus, input[type=number]:focus, select:focus, textarea:focus { |
| 406 | border-color: @color-blue; |
| 407 | box-shadow: none; |
| 408 | } |
| 409 | |
| 410 | .amelia-booking input[type=radio], .amelia-booking input[type=checkbox] { |
| 411 | display: none; |
| 412 | } |
| 413 | |
| 414 | input, select { |
| 415 | margin: 0; |
| 416 | } |
| 417 | |
| 418 | dd, li { |
| 419 | margin-bottom: 0; |
| 420 | } |
| 421 | |
| 422 | .el-scrollbar { |
| 423 | & > .el-scrollbar__bar { |
| 424 | opacity: 1 !important; |
| 425 | } |
| 426 | } |
| 427 | |
| 428 | @media screen and (max-width: 782px) { |
| 429 | input[type=number] { |
| 430 | height: auto; |
| 431 | } |
| 432 | |
| 433 | .auto-fold #wpcontent { |
| 434 | padding-left: 0; |
| 435 | } |
| 436 | |
| 437 | #wpadminbar { |
| 438 | z-index: 2000; |
| 439 | } |
| 440 | } |
| 441 | |
| 442 | |
| 443 | /*!* Fix Input Zoom on devices older than iPhone 5: *! |
| 444 | @media screen and (device-aspect-ratio: 2/3) { |
| 445 | select, textarea, input[type="text"], input[type="password"], |
| 446 | input[type="datetime"], input[type="datetime-local"], |
| 447 | input[type="date"], input[type="month"], input[type="time"], |
| 448 | input[type="week"], input[type="number"], input[type="email"], |
| 449 | input[type="url"]{ font-size: 16px; } |
| 450 | } |
| 451 | |
| 452 | !* Fix Input Zoom on iPhone 5, 5C, 5S, iPod Touch 5g *! |
| 453 | @media screen and (device-aspect-ratio: 40/71) { |
| 454 | select, textarea, input[type="text"], input[type="password"], |
| 455 | input[type="datetime"], input[type="datetime-local"], |
| 456 | input[type="date"], input[type="month"], input[type="time"], |
| 457 | input[type="week"], input[type="number"], input[type="email"], |
| 458 | input[type="url"]{ font-size: 16px; } |
| 459 | } |
| 460 | |
| 461 | !* Fix Input Zoom on iPhone 6, iPhone 6s, iPhone 7 *! |
| 462 | @media screen and (device-aspect-ratio: 375/667) { |
| 463 | select, textarea, input[type="text"], input[type="password"], |
| 464 | input[type="datetime"], input[type="datetime-local"], |
| 465 | input[type="date"], input[type="month"], input[type="time"], |
| 466 | input[type="week"], input[type="number"], input[type="email"], |
| 467 | input[type="url"]{ font-size: 16px; } |
| 468 | }*/ |
| 469 | |
| 470 | @media screen and (max-width: 667px) { |
| 471 | select, textarea, input[type="text"], input[type="password"], |
| 472 | input[type="datetime"], input[type="datetime-local"], |
| 473 | input[type="date"], input[type="month"], input[type="time"], |
| 474 | input[type="week"], input[type="number"], input[type="email"], |
| 475 | input[type="url"], textarea { |
| 476 | font-size: 16px !important; |
| 477 | /* transform: scale(0.875); |
| 478 | transform-origin: top left; |
| 479 | width: 114.5% !important;*/ |
| 480 | } |
| 481 | } |
| 482 | |
| 483 | |
| 484 |