fix: [디자인QA] 복제된 슬라이드에도 활성화되는 현상 수정
This commit is contained in:
@@ -142,12 +142,12 @@ const handleMove = (
|
||||
transition: transform 0.6s ease-out;
|
||||
opacity: 0.3;
|
||||
}
|
||||
.center-focus:deep(.splide__slide.is-active) {
|
||||
.center-focus:deep(.splide__slide.is-active:not(.splide__slide--clone)) {
|
||||
width: var(--banner-width-mo-container);
|
||||
}
|
||||
.center-focus:deep(.splide__slide.is-active),
|
||||
.center-focus:deep(.splide__slide.is-next),
|
||||
.center-focus:deep(.splide__slide.is-prev) {
|
||||
.center-focus:deep(.splide__slide.is-active:not(.splide__slide--clone)),
|
||||
.center-focus:deep(.splide__slide.is-next:not(.splide__slide--clone)),
|
||||
.center-focus:deep(.splide__slide.is-prev:not(.splide__slide--clone)) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@@ -157,7 +157,8 @@ const handleMove = (
|
||||
background-color: #191919;
|
||||
transition: all 0.6s ease-out;
|
||||
}
|
||||
.center-focus:deep(.splide__slide.is-active) .slide-inner {
|
||||
.center-focus:deep(.splide__slide.is-active:not(.splide__slide--clone))
|
||||
.slide-inner {
|
||||
width: var(--banner-width-mo-active);
|
||||
height: var(--banner-height-mo-active);
|
||||
}
|
||||
@@ -166,7 +167,9 @@ const handleMove = (
|
||||
opacity: 0.5;
|
||||
transition: all 0.6s ease-out;
|
||||
}
|
||||
.center-focus:deep(.splide__slide.is-active) .slide-inner .inner-content {
|
||||
.center-focus:deep(.splide__slide.is-active:not(.splide__slide--clone))
|
||||
.slide-inner
|
||||
.inner-content {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@@ -181,10 +184,11 @@ const handleMove = (
|
||||
width: var(--banner-width-pc);
|
||||
height: var(--banner-height-pc);
|
||||
}
|
||||
.center-focus:deep(.splide__slide.is-active) {
|
||||
.center-focus:deep(.splide__slide.is-active:not(.splide__slide--clone)) {
|
||||
width: var(--banner-width-pc-container);
|
||||
}
|
||||
.center-focus:deep(.splide__slide.is-active) .slide-inner {
|
||||
.center-focus:deep(.splide__slide.is-active:not(.splide__slide--clone))
|
||||
.slide-inner {
|
||||
width: var(--banner-width-pc-active);
|
||||
height: var(--banner-height-pc-active);
|
||||
}
|
||||
|
||||
@@ -147,10 +147,11 @@ const handleMove = (
|
||||
height: var(--banner-height-mo);
|
||||
transition: all 0.6s ease-out;
|
||||
}
|
||||
.center-highlight:deep(.splide__slide.is-active) {
|
||||
.center-highlight:deep(.splide__slide.is-active:not(.splide__slide--clone)) {
|
||||
width: var(--banner-width-mo-container);
|
||||
}
|
||||
.center-highlight:deep(.splide__slide.is-active) .slide-inner {
|
||||
.center-highlight:deep(.splide__slide.is-active:not(.splide__slide--clone))
|
||||
.slide-inner {
|
||||
width: var(--banner-width-mo-active);
|
||||
height: var(--banner-height-mo-active);
|
||||
}
|
||||
@@ -166,10 +167,11 @@ const handleMove = (
|
||||
width: var(--banner-width-pc);
|
||||
height: var(--banner-height-pc);
|
||||
}
|
||||
.center-highlight:deep(.splide__slide.is-active) {
|
||||
.center-highlight:deep(.splide__slide.is-active:not(.splide__slide--clone)) {
|
||||
width: var(--banner-width-pc-container);
|
||||
}
|
||||
.center-highlight:deep(.splide__slide.is-active) .slide-inner {
|
||||
.center-highlight:deep(.splide__slide.is-active:not(.splide__slide--clone))
|
||||
.slide-inner {
|
||||
width: var(--banner-width-pc-active);
|
||||
height: var(--banner-height-pc-active);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user