Sha256: aff4b7923f7b8d19626c7f63ae81f841955c296b11f7ee97bcf5740be448adf5
Contents?: true
Size: 1.7 KB
Versions: 40
Compression:
Stored size: 1.7 KB
Contents
/*------------------------------------ Carousel indicators v25 ------------------------------------*/ .u-carousel-indicators-v25, .u-carousel-indicators-v25--white { white-space: nowrap; li { position: relative; display: inline-block; width: 16px; height: 16px; margin: 0 5px; &::before { content: ""; position: absolute; left: 0; display: block; width: 100%; height: 100%; border-radius: 50%; opacity: 0; visibility: hidden; transform: translateY(-200%); transition: transform .3s ease, opacity .3s ease, visibility 0s .3s; } span { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; text-indent: -9999px; transition: transform .3s ease, opacity .3s ease, background-color .3s ease; &::before, &::after { content: ""; display: none; } } &.slick-active { &::before { opacity: 1; visibility: visible; transition: transform .3s ease, opacity .3s ease; transform: translateY(0); } span { opacity: 0; transform: translateY(200%); } } } } .u-carousel-indicators-v25--white { li { &::before { background-color: $g-color-primary; } span { background: rgba($g-color-white, .5); &::before { background-color: $g-color-primary; } &:focus { background-color: $g-color-primary; } } &:hover { span { background-color: $g-color-white; } } &.slick-active { span { background-color: $g-color-primary; } } } }
Version data entries
40 entries across 40 versions & 1 rubygems