45 lines
721 B
SCSS
45 lines
721 B
SCSS
/** @format */
|
|
|
|
.carousel {
|
|
position: relative;
|
|
height: 100vh;
|
|
&-button {
|
|
position: absolute !important;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
z-index: 100;
|
|
&.right {
|
|
right: 0.5em;
|
|
}
|
|
&.left {
|
|
left: 0;
|
|
}
|
|
}
|
|
&-indicator {
|
|
height: 2px;
|
|
width: 100%;
|
|
border-radius: 10px;
|
|
transition: background $transition-time-fast,
|
|
height $transition-time-fast;
|
|
&:hover {
|
|
cursor: pointer;
|
|
height: 5px;
|
|
background: rgb(255 255 255 / 0.8) !important;
|
|
}
|
|
&-container {
|
|
display: flex;
|
|
position: absolute;
|
|
bottom: 1em;
|
|
width: calc(100vw - 8em);
|
|
left: 1em;
|
|
right: 1em;
|
|
gap: 1em;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
&.active {
|
|
height: 5px;
|
|
}
|
|
}
|
|
}
|