_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
catalog.less
401 lines
| 1 | @import "_variables"; |
| 2 | |
| 3 | .am-mobile-collapsed { |
| 4 | .am-package-selected-col { |
| 5 | min-width: 300px; |
| 6 | width: 100%; |
| 7 | } |
| 8 | } |
| 9 | |
| 10 | #am-catalog { |
| 11 | padding: @padding-medium 0; |
| 12 | |
| 13 | #am-service-booking { |
| 14 | .am-blue-badge { |
| 15 | p { |
| 16 | padding: 2px 8px; |
| 17 | margin: 0 12px 0 0; |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | .am-appointment-service-name { |
| 22 | .el-popover__reference { |
| 23 | margin: 0; |
| 24 | } |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | .am-catalog-headline { |
| 29 | margin-bottom: @margin-big; |
| 30 | |
| 31 | h3 { |
| 32 | display: inline-block; |
| 33 | margin: 0; |
| 34 | padding: 0; |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | .am-category { |
| 39 | padding: @padding-medium; |
| 40 | border: 1px solid @color-divider-gray; |
| 41 | border-radius: @border-radius; |
| 42 | cursor: pointer; |
| 43 | margin-bottom: @margin-big; |
| 44 | transition: all 0.3s ease; |
| 45 | background-color: #FFFFFF; |
| 46 | |
| 47 | &:hover { |
| 48 | box-shadow: 0 0 30px 0 fade(@color-divider-gray, 90%); |
| 49 | |
| 50 | .am-category-title { |
| 51 | color: @color-accent; |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | .am-category-title { |
| 56 | font-size: @medium-fs; |
| 57 | line-height: @medium-fs + 8px; |
| 58 | font-weight: @medium; |
| 59 | margin: 0 0 @margin-small 0; |
| 60 | padding: 0; |
| 61 | border: none; |
| 62 | white-space: nowrap; |
| 63 | overflow-x: hidden; |
| 64 | text-overflow: ellipsis; |
| 65 | } |
| 66 | |
| 67 | span { |
| 68 | font-size: @small-fs; |
| 69 | line-height: @regular-fs; |
| 70 | font-weight: @regular; |
| 71 | padding: 0; |
| 72 | border: none; |
| 73 | margin: 0; |
| 74 | display: inline-block; |
| 75 | vertical-align: middle; |
| 76 | } |
| 77 | |
| 78 | .am-category-services-thumbs { |
| 79 | padding: 0 0 0 12px; |
| 80 | margin: @margin-small 0 0 0; |
| 81 | |
| 82 | img { |
| 83 | width: 36px; |
| 84 | height: 36px; |
| 85 | display: inline-block; |
| 86 | vertical-align: middle; |
| 87 | margin-left: -12px; |
| 88 | border-radius: 50%; |
| 89 | border: 3px solid #FFFFFF; |
| 90 | } |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | .am-spinner { |
| 95 | text-align: center; |
| 96 | padding-top: @padding-big*4; |
| 97 | padding-bottom: @padding-big*4; |
| 98 | } |
| 99 | |
| 100 | |
| 101 | .am-payment-type { |
| 102 | |
| 103 | &-radio { |
| 104 | border-radius: 8px; |
| 105 | margin: 0 8px 8px 0; |
| 106 | |
| 107 | &-checked { |
| 108 | border: 1px solid @color-accent; |
| 109 | background-color: fade(@color-accent, 8%); |
| 110 | |
| 111 | span { |
| 112 | color: @color-accent; |
| 113 | } |
| 114 | |
| 115 | .el-radio__inner { |
| 116 | border-color: @color-accent; |
| 117 | background: @color-accent; |
| 118 | &:after { |
| 119 | transform: translate(-50%,-50%) scale(1); |
| 120 | } |
| 121 | } |
| 122 | } |
| 123 | } |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | #am-category { |
| 128 | padding: @padding-medium 0; |
| 129 | |
| 130 | .am-category-headline { |
| 131 | margin-bottom: @margin-big; |
| 132 | |
| 133 | .am-back { |
| 134 | display: inline-block; |
| 135 | margin-right: @margin-big; |
| 136 | font-size: @small-fs; |
| 137 | font-weight: @medium; |
| 138 | cursor: pointer; |
| 139 | transition: all 0.3s ease; |
| 140 | |
| 141 | &:hover { |
| 142 | color: @color-accent; |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | h3 { |
| 147 | display: inline-block; |
| 148 | margin: 0; |
| 149 | padding: 0; |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | .am-category-service-wrapper { |
| 154 | display: flex; |
| 155 | flex-wrap: wrap; |
| 156 | } |
| 157 | |
| 158 | .am-category-service-inner { |
| 159 | display: flex; |
| 160 | padding-bottom: @margin-big; |
| 161 | } |
| 162 | |
| 163 | .am-category-service { |
| 164 | position: relative; |
| 165 | width: 100%; |
| 166 | height: 100%; |
| 167 | background: #FFFFFF; |
| 168 | border-radius: @border-radius; |
| 169 | border: 1px solid @color-divider-gray; |
| 170 | cursor: pointer; |
| 171 | overflow: hidden; |
| 172 | |
| 173 | &:hover { |
| 174 | box-shadow: 0 0 30px 0 fade(@color-divider-gray, 90%); |
| 175 | |
| 176 | .am-category-service-hover { |
| 177 | display: block; |
| 178 | opacity: 1; |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | .am-category-service-hover { |
| 183 | opacity: 0; |
| 184 | transition: all 0.3s ease; |
| 185 | position: absolute; |
| 186 | z-index: 1; |
| 187 | top: 0; |
| 188 | bottom: 0; |
| 189 | left: 0; |
| 190 | right: 0; |
| 191 | background: fade(@color-text-prime, 70%); |
| 192 | |
| 193 | span.am-category-service-title { |
| 194 | width: 100%; |
| 195 | text-align: center; |
| 196 | margin-top: @margin-big; |
| 197 | padding: 0 @padding-medium; |
| 198 | color: @color-white; |
| 199 | white-space: normal; |
| 200 | overflow-x: visible; |
| 201 | box-sizing: border-box; |
| 202 | /*position: absolute; |
| 203 | top: 10%; |
| 204 | left: 50%; |
| 205 | margin-right: -50%; |
| 206 | -webkit-transform: translate(-50%, -50%); |
| 207 | transform: translate(-50%, -50%);*/ |
| 208 | } |
| 209 | |
| 210 | .el-button { |
| 211 | color: @color-white; |
| 212 | border-color: @color-white; |
| 213 | background: transparent; |
| 214 | position: absolute; |
| 215 | bottom: 24px; |
| 216 | left: 50%; |
| 217 | margin-right: -50%; |
| 218 | transform: translateX(-50%); |
| 219 | |
| 220 | span { |
| 221 | color: @color-white; |
| 222 | } |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | .am-category-color-wrapper { |
| 227 | display: flex; |
| 228 | justify-content: space-between; |
| 229 | width: 100%; |
| 230 | position: absolute; |
| 231 | top: 0; |
| 232 | left: 0; |
| 233 | transform: translateY(-50%); |
| 234 | align-items: center; |
| 235 | padding: 0 @padding-medium; |
| 236 | } |
| 237 | |
| 238 | .am-category-service-color { |
| 239 | color: #FFFFFF; |
| 240 | text-transform: uppercase; |
| 241 | border-radius: 50%; |
| 242 | background-color: @color-accent; |
| 243 | display: block; |
| 244 | width: 52px; |
| 245 | height: 52px; |
| 246 | text-align: center; |
| 247 | line-height: 53px; |
| 248 | |
| 249 | &.am-category-package-color { |
| 250 | display: flex; |
| 251 | |
| 252 | img { |
| 253 | margin: auto; |
| 254 | } |
| 255 | } |
| 256 | } |
| 257 | |
| 258 | .am-category-item-type { |
| 259 | font-size: @mini-fs; |
| 260 | font-weight: bold; |
| 261 | line-height: 1; |
| 262 | letter-spacing: 1px; |
| 263 | text-transform: uppercase; |
| 264 | color: #FFFFFF; |
| 265 | background-color: @color-blue; |
| 266 | border-radius: 4px; |
| 267 | padding: 7px 12px; |
| 268 | } |
| 269 | |
| 270 | .am-category-service-image { |
| 271 | background-image: linear-gradient(90deg, fade(@color-accent, 65%) 0%, @color-accent 100%); |
| 272 | background-size: cover; |
| 273 | background-position: center; |
| 274 | background-repeat: no-repeat; |
| 275 | width: 100%; |
| 276 | height: 140px; |
| 277 | } |
| 278 | |
| 279 | .am-category-service-info { |
| 280 | position: relative; |
| 281 | height: ~"calc(100% - 140px)"; |
| 282 | padding: @padding-big @padding-medium; |
| 283 | background-color: #FFFFFF; |
| 284 | } |
| 285 | |
| 286 | am-category-service-title-price { |
| 287 | margin: 12px 0 @margin-small; |
| 288 | } |
| 289 | |
| 290 | .am-category-package-title-price { |
| 291 | display: flex; |
| 292 | align-items: center; |
| 293 | justify-content: space-between; |
| 294 | } |
| 295 | |
| 296 | .am-category-service-title { |
| 297 | font-size: @medium-fs; |
| 298 | font-weight: @regular; |
| 299 | line-height: 1.45; |
| 300 | text-overflow: ellipsis; |
| 301 | white-space: nowrap; |
| 302 | overflow-x: hidden; |
| 303 | align-self: flex-start; |
| 304 | margin: 0 @margin-medium 0 0; |
| 305 | padding: 0; |
| 306 | border: none; |
| 307 | } |
| 308 | |
| 309 | .am-category-package-price { |
| 310 | display: flex; |
| 311 | flex: 0 0 auto; |
| 312 | flex-direction: column; |
| 313 | align-items: flex-end; |
| 314 | font-size: @medium-fs; |
| 315 | line-height: 1.45; |
| 316 | color: @color-text-prime; |
| 317 | } |
| 318 | |
| 319 | span { |
| 320 | font-size: @small-fs; |
| 321 | line-height: @regular-fs; |
| 322 | font-weight: @regular; |
| 323 | padding: 0; |
| 324 | border: none; |
| 325 | margin: 0; |
| 326 | display: inline-block; |
| 327 | vertical-align: middle; |
| 328 | color: @color-icon; |
| 329 | } |
| 330 | |
| 331 | .am-category-package-service-item { |
| 332 | position: relative; |
| 333 | margin-right: 8px; |
| 334 | font-size: @small-fs; |
| 335 | |
| 336 | &:after { |
| 337 | content: ','; |
| 338 | position: absolute; |
| 339 | bottom: 0; |
| 340 | right: -4px; |
| 341 | } |
| 342 | |
| 343 | &:last-child { |
| 344 | &:after { |
| 345 | content: ''; |
| 346 | } |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | .am-category-services-thumbs { |
| 351 | padding: 0 0 0 12px; |
| 352 | margin: @margin-small 0 0 0; |
| 353 | overflow: hidden; |
| 354 | white-space: nowrap; |
| 355 | |
| 356 | img { |
| 357 | width: 36px; |
| 358 | height: 36px; |
| 359 | display: inline-block; |
| 360 | vertical-align: middle; |
| 361 | margin-left: -12px; |
| 362 | border-radius: 50%; |
| 363 | border: 3px solid #FFFFFF; |
| 364 | } |
| 365 | } |
| 366 | } |
| 367 | |
| 368 | .am-spinner { |
| 369 | text-align: center; |
| 370 | padding-top: @padding-big*4; |
| 371 | padding-bottom: @padding-big*4; |
| 372 | margin: 0 auto; |
| 373 | position: relative; |
| 374 | |
| 375 | .am-spin { |
| 376 | width: 80px; |
| 377 | padding: 0; |
| 378 | margin: 0; |
| 379 | |
| 380 | path { |
| 381 | stroke: @color-accent; |
| 382 | } |
| 383 | } |
| 384 | |
| 385 | .am-hourglass { |
| 386 | position: absolute; |
| 387 | top: 50%; |
| 388 | left: 50%; |
| 389 | width: 18px; |
| 390 | height: 24px; |
| 391 | padding: 0; |
| 392 | margin-left: -9px; |
| 393 | margin-top: -16px; |
| 394 | |
| 395 | path { |
| 396 | fill: @color-accent; |
| 397 | } |
| 398 | } |
| 399 | } |
| 400 | } |
| 401 |