feat(frontend): replace lazy loading with zibll lazysizes
This commit is contained in:
@@ -43,35 +43,6 @@
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
/* Lazy preloader */
|
||||
.new-swiper .swiper-lazy-preloader {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
margin: -21px 0 0 -21px;
|
||||
border: 3px solid rgba(255, 255, 255, 0.3);
|
||||
border-top-color: #fff;
|
||||
border-radius: 50%;
|
||||
animation: aksrt-swiper-spin 0.8s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes aksrt-swiper-spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.new-swiper .swiper-lazy {
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.new-swiper .swiper-lazy.lazyloaded,
|
||||
.new-swiper .swiper-slide-visible .swiper-lazy {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.new-swiper .pagination-thumbnail-item {
|
||||
width: 60px;
|
||||
height: 40px;
|
||||
|
||||
Reference in New Issue
Block a user