1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

added image preloader to swiper

This commit is contained in:
Fedor Katurov 2022-12-14 17:21:56 +06:00
parent f5ca735049
commit 585f9b57cb
4 changed files with 106 additions and 26 deletions

View file

@ -124,6 +124,10 @@
transition: box-shadow 1s;
box-shadow: transparentize(black, 0.7) 0 3px 5px;
&.loading {
opacity: 0;
}
:global(.swiper-slide-active) & {
box-shadow: transparentize(black, 0.9) 0 10px 5px 4px,
transparentize(black, 0.7) 0 5px 5px, $gray_90 0 -1px 2px, $gray_90 0 -1px;