103 lines
1.8 KiB
CSS
103 lines
1.8 KiB
CSS
/* 페이지네이션 버튼 - 모바일 퍼스트 */
|
|
.splide-pagination-bullets {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-top: 24px;
|
|
z-index: 5;
|
|
}
|
|
|
|
.splide-pagination-bullets.type-full {
|
|
position: absolute;
|
|
bottom: 32px;
|
|
left: 0;
|
|
}
|
|
|
|
.splide-pagination-bullet {
|
|
position: relative;
|
|
width: 8px;
|
|
height: 8px;
|
|
background: var(--primary);
|
|
border-radius: 50%;
|
|
opacity: 1;
|
|
}
|
|
|
|
.splide-pagination-bullet:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.splide-pagination-bullet.is-active:after {
|
|
opacity: 0;
|
|
}
|
|
|
|
/* 네비게이션 버튼 - 모바일 퍼스트 */
|
|
.splide-arrow {
|
|
display: none;
|
|
/* position: absolute;
|
|
top: 50%;
|
|
width: 40px;
|
|
height: 40px;
|
|
transform: translateY(-50%);
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
cursor: pointer;
|
|
z-index: 5;
|
|
background-color: var(--primary); */
|
|
}
|
|
|
|
/* .type-full .arrow-prev {
|
|
left: 20px;
|
|
}
|
|
.type-full.arrow-next {
|
|
right: 20px;
|
|
} */
|
|
|
|
/* 데스크톱 스타일 */
|
|
@media (min-width: 1024px) {
|
|
.splide-pagination-bullets {
|
|
gap: 24px;
|
|
margin-top: 32px;
|
|
}
|
|
|
|
.splide-pagination-bullets.position-absolute {
|
|
bottom: 48px;
|
|
}
|
|
|
|
.splide-pagination-bullet {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
.splide-arrow {
|
|
display: block;
|
|
position: absolute;
|
|
top: 50%;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-color: var(--primary);
|
|
transform: translateY(-50%);
|
|
cursor: pointer;
|
|
z-index: 5;
|
|
}
|
|
|
|
.type-full .arrow-prev {
|
|
left: 40px;
|
|
}
|
|
|
|
.type-full .arrow-next {
|
|
right: 40px;
|
|
}
|
|
}
|