_animations.less
7 years ago
_base.less
4 years ago
_customize.less
4 years ago
_elements.less
1 year ago
_overrides.less
4 years ago
_utils.less
6 years ago
_variables.less
4 years ago
amelia-booking.less
1 year ago
booking.less
2 years ago
cabinet.less
1 year ago
catalog.less
2 years ago
dialog-appointment.less
3 years ago
dialog-attendees.less
2 years ago
dialog-event.less
3 years ago
events.less
2 years ago
quill.less
4 years ago
rtl.less
4 years ago
search.less
2 years ago
service.less
4 years ago
_base.less
380 lines
| 1 | @import "_variables"; |
| 2 | |
| 3 | * { |
| 4 | -webkit-font-smoothing: antialiased; |
| 5 | -moz-osx-font-smoothing: grayscale; |
| 6 | } |
| 7 | |
| 8 | * { |
| 9 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0); |
| 10 | -webkit-tap-highlight-color: transparent; |
| 11 | outline: 0; |
| 12 | |
| 13 | &:focus { |
| 14 | outline: none; |
| 15 | } |
| 16 | |
| 17 | -webkit-font-smoothing: antialiased; |
| 18 | text-shadow: rgba(0, 0, 0, .01) 0 0 1px; |
| 19 | } |
| 20 | |
| 21 | html { |
| 22 | scroll-behavior: auto; |
| 23 | } |
| 24 | |
| 25 | body .amelia-app-booking, |
| 26 | html .amelia-app-booking { |
| 27 | font-size: @regular-fs; |
| 28 | } |
| 29 | |
| 30 | .amelia-app-booking #amelia-booking-wrap, #am-modal.am-modal.am-in-body { |
| 31 | |
| 32 | font-family: @font; |
| 33 | |
| 34 | //Font family |
| 35 | h1, h2, h3, h4, p, span, div, section, ul, li, a { |
| 36 | font-family: @font; |
| 37 | } |
| 38 | |
| 39 | h1 { |
| 40 | font-size: @h1-fs; |
| 41 | line-height: @h1-lh; |
| 42 | font-weight: @h1-fw; |
| 43 | color: @h1-color; |
| 44 | margin: 0; |
| 45 | } |
| 46 | |
| 47 | h2 { |
| 48 | font-size: @h2-fs; |
| 49 | line-height: @h2-lh; |
| 50 | font-weight: @h2-fw; |
| 51 | color: @h2-color; |
| 52 | margin: 0; |
| 53 | |
| 54 | &:before { |
| 55 | display: none !important; |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | h3 { |
| 60 | font-size: @h3-fs; |
| 61 | line-height: @h3-lh; |
| 62 | font-weight: @h3-fw; |
| 63 | color: @h3-color; |
| 64 | } |
| 65 | |
| 66 | h4 { |
| 67 | font-size: @h4-fs; |
| 68 | line-height: @h4-lh; |
| 69 | font-weight: @h4-fw; |
| 70 | color: @h4-color; |
| 71 | } |
| 72 | |
| 73 | div { |
| 74 | color: @color-text-prime; |
| 75 | } |
| 76 | |
| 77 | p { |
| 78 | color: @color-text-prime; |
| 79 | font-size: @small-fs; |
| 80 | } |
| 81 | |
| 82 | a { |
| 83 | color: @color-blue; |
| 84 | font-size: @regular-fs; |
| 85 | text-decoration: none !important;; |
| 86 | box-shadow: none !important; |
| 87 | |
| 88 | &:hover { |
| 89 | text-decoration: underline !important; |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | span { |
| 94 | color: @color-text-prime; |
| 95 | } |
| 96 | |
| 97 | ul, ol { |
| 98 | margin: 0; |
| 99 | padding: 0; |
| 100 | } |
| 101 | |
| 102 | ul, li { |
| 103 | list-style: none; |
| 104 | padding-left: 0; |
| 105 | color: @color-text-prime; |
| 106 | } |
| 107 | |
| 108 | a:hover { |
| 109 | text-decoration: none; |
| 110 | } |
| 111 | |
| 112 | //form elements |
| 113 | input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="url"], textarea, select, .form-control, .am-stripe-card { |
| 114 | font-family: @font; |
| 115 | //font-size: @small-fs; |
| 116 | font-weight: @regular; |
| 117 | color: @color-text-prime; |
| 118 | //line-height: 1; |
| 119 | width: 100%; |
| 120 | height: 40px; |
| 121 | background-color: #fff; |
| 122 | background-image: none; |
| 123 | border-radius: 4px; |
| 124 | border: 1px solid @color-divider-gray; |
| 125 | -webkit-box-sizing: border-box; |
| 126 | box-sizing: border-box; |
| 127 | display: inline-block; |
| 128 | outline: 0; |
| 129 | padding: 0 @padding-medium; |
| 130 | margin: 0; |
| 131 | -webkit-appearance: none; |
| 132 | -webkit-transition: border-color .2s cubic-bezier(.645, .045, .355, 1); |
| 133 | transition: border-color .2s cubic-bezier(.645, .045, .355, 1); |
| 134 | box-shadow: none; |
| 135 | } |
| 136 | |
| 137 | textarea { |
| 138 | padding-top: @padding-medium - 4px; |
| 139 | padding-bottom: @padding-medium - 4px; |
| 140 | height: auto; |
| 141 | display: block; |
| 142 | } |
| 143 | |
| 144 | .el-textarea__inner { |
| 145 | &:focus { |
| 146 | border-color: @color-accent; |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | .el-input-group--append .el-input__inner, .el-input-group__prepend { |
| 151 | border-top-right-radius: 0; |
| 152 | border-bottom-right-radius: 0; |
| 153 | } |
| 154 | |
| 155 | .el-dialog__headerbtn { |
| 156 | font-weight: @regular; |
| 157 | |
| 158 | &:hover { |
| 159 | background: transparent; |
| 160 | color: #ffffff; |
| 161 | |
| 162 | .el-dialog__close { |
| 163 | color: @color-accent; |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | } |
| 168 | |
| 169 | .el-select { |
| 170 | position: relative; |
| 171 | width: 100%; |
| 172 | } |
| 173 | |
| 174 | .el-select .el-input__inner:focus { |
| 175 | border-color: @color-accent; |
| 176 | } |
| 177 | |
| 178 | .el-select .el-input.is-focus .el-input__inner { |
| 179 | border-color: @color-accent; |
| 180 | } |
| 181 | |
| 182 | .el-input-number .el-input__inner { |
| 183 | |
| 184 | } |
| 185 | |
| 186 | .el-input-number.is-controls-right .el-input__inner { |
| 187 | padding-left: 15px; |
| 188 | padding-right: 50px; |
| 189 | } |
| 190 | |
| 191 | .el-input--small .el-input__inner { |
| 192 | height: 32px; |
| 193 | min-height: 32px; |
| 194 | } |
| 195 | |
| 196 | .el-input--prefix .el-input__inner { |
| 197 | padding-left: 30px; |
| 198 | } |
| 199 | |
| 200 | .el-input--suffix .el-input__inner { |
| 201 | padding-right: 30px; |
| 202 | } |
| 203 | |
| 204 | input[type="file"].el-upload__input { |
| 205 | display: none; |
| 206 | } |
| 207 | |
| 208 | .el-checkbox__label { |
| 209 | font-weight: @regular; |
| 210 | text-transform: none; |
| 211 | } |
| 212 | |
| 213 | .el-checkbox__input.is-checked .el-checkbox__inner, |
| 214 | .el-checkbox__input.is-indeterminate .el-checkbox__inner { |
| 215 | background-color: @color-accent; |
| 216 | border-color: @color-accent; |
| 217 | } |
| 218 | |
| 219 | .el-checkbox__input.is-checked + .el-checkbox__label { |
| 220 | color: @color-accent; |
| 221 | } |
| 222 | |
| 223 | label.el-form-item__label { |
| 224 | max-width: 100%; |
| 225 | margin: 0 0 @margin-small; |
| 226 | padding: 0; |
| 227 | font-size: 16px; |
| 228 | color: @color-text-second; |
| 229 | line-height: 1; |
| 230 | } |
| 231 | |
| 232 | .el-input { |
| 233 | &.is-disabled { |
| 234 | .el-input__inner { |
| 235 | background-color: #f5f7fa; |
| 236 | border-color: #e4e7ed; |
| 237 | color: #c0c4cc; |
| 238 | cursor: not-allowed; |
| 239 | } |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | .am-stripe-card { |
| 244 | .StripeElement { |
| 245 | padding: 11px 0 11px 0; |
| 246 | } |
| 247 | } |
| 248 | |
| 249 | .am-confirmation-booking { |
| 250 | min-height: 500px; |
| 251 | |
| 252 | .el-form-item__content { |
| 253 | max-height: 40px; |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | .am-confirm-booking-events-list { |
| 258 | min-height: unset; |
| 259 | } |
| 260 | |
| 261 | //Custom Fields |
| 262 | .am-custom-fields { |
| 263 | margin-bottom: @margin-medium; |
| 264 | |
| 265 | .el-form-item__content { |
| 266 | max-height: none !important; |
| 267 | } |
| 268 | |
| 269 | .am-front-texarea { |
| 270 | .el-form-item__content { |
| 271 | max-height: none !important; |
| 272 | } |
| 273 | } |
| 274 | |
| 275 | .el-checkbox, .el-radio { |
| 276 | width: 100%; |
| 277 | font-size: @small-fs; |
| 278 | font-weight: 400; |
| 279 | line-height: 1.5; |
| 280 | margin-left: 0; |
| 281 | } |
| 282 | |
| 283 | .el-checkbox-group, .el-radio-group { |
| 284 | display: block; |
| 285 | } |
| 286 | |
| 287 | .am-text-content { |
| 288 | border-radius: 4px; |
| 289 | border: 1px solid @color-divider-gray; |
| 290 | padding: @padding-small; |
| 291 | margin-bottom: @margin-medium; |
| 292 | |
| 293 | p { |
| 294 | font-size: @small-fs; |
| 295 | line-height: 1.5; |
| 296 | } |
| 297 | } |
| 298 | |
| 299 | .el-radio__input.is-checked .el-radio__inner { |
| 300 | background: @color-accent; |
| 301 | border-color: @color-accent; |
| 302 | } |
| 303 | |
| 304 | .el-radio__input.is-checked .el-checkbox__inner, |
| 305 | .el-radio__input.is-indeterminate .el-radio__inner { |
| 306 | background-color: @color-accent; |
| 307 | border-color: @color-accent; |
| 308 | } |
| 309 | |
| 310 | .el-radio__input.is-checked + .el-radio__label { |
| 311 | color: @color-accent; |
| 312 | } |
| 313 | |
| 314 | .el-radio__label, .el-checkbox__label { |
| 315 | white-space: pre-line; |
| 316 | } |
| 317 | } |
| 318 | |
| 319 | //Error |
| 320 | .am-payment-error { |
| 321 | position: absolute; |
| 322 | top: 0; |
| 323 | left: 0; |
| 324 | width: 100%; |
| 325 | z-index: 2; |
| 326 | |
| 327 | .el-alert { |
| 328 | background-color: @color-red; |
| 329 | color: @color-white; |
| 330 | border-radius: 0; |
| 331 | |
| 332 | .el-alert__closebtn, span { |
| 333 | color: @color-white; |
| 334 | font-size: @small-fs; |
| 335 | word-break: break-word; |
| 336 | } |
| 337 | } |
| 338 | } |
| 339 | } |
| 340 | |
| 341 | //out of wrapper |
| 342 | |
| 343 | .time-select-item.selected:not(.disabled) { |
| 344 | color: @color-accent; |
| 345 | } |
| 346 | |
| 347 | .el-select-dropdown { |
| 348 | .el-select-dropdown__item.selected { |
| 349 | color: @color-accent; |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | .el-select-dropdown, .el-popper { |
| 354 | z-index: 2111111111 !important; |
| 355 | } |
| 356 | .am-modal { |
| 357 | z-index: 2111111111 !important; |
| 358 | } |
| 359 | |
| 360 | .am-no-services { |
| 361 | box-shadow: #eaeaea 0 6px 20px 0, #eaeaea 0 5px 25px 0; |
| 362 | text-align: center; |
| 363 | padding: 56px; |
| 364 | |
| 365 | p, h4, h3, h2, h1 { |
| 366 | margin-bottom: @margin-small; |
| 367 | padding: 0; |
| 368 | } |
| 369 | |
| 370 | h1 { |
| 371 | font-weight: bold; |
| 372 | } |
| 373 | |
| 374 | a { |
| 375 | font-size: @small-fs; |
| 376 | } |
| 377 | } |
| 378 | |
| 379 | |
| 380 |