mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
68 lines
1.7 KiB
SCSS
68 lines
1.7 KiB
SCSS
.carousel {
|
|
}
|
|
|
|
.carousel-indicators-vertical {
|
|
inset-inline-start: auto;
|
|
top: 0;
|
|
margin: 0 1rem 0 0;
|
|
flex-direction: column;
|
|
|
|
[data-bs-target] {
|
|
margin: $carousel-indicator-spacer 0 $carousel-indicator-spacer;
|
|
width: $carousel-indicator-height;
|
|
height: $carousel-indicator-width;
|
|
border: 0;
|
|
border-inline-start: $carousel-indicator-hit-area-height var(--#{$prefix}border-style) transparent;
|
|
border-inline-end: $carousel-indicator-hit-area-height var(--#{$prefix}border-style) transparent;
|
|
}
|
|
}
|
|
|
|
.carousel-indicators-dot {
|
|
[data-bs-target] {
|
|
width: $carousel-indicator-dot-width;
|
|
height: $carousel-indicator-dot-width;
|
|
border-radius: $border-radius-pill;
|
|
border: $carousel-indicator-hit-area-height var(--#{$prefix}border-style) transparent;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.carousel-indicators-thumb {
|
|
[data-bs-target] {
|
|
width: $carousel-indicator-thumb-width * 0.5;
|
|
height: auto;
|
|
background: no-repeat center/cover;
|
|
border: 0;
|
|
border-radius: var(--#{$prefix}border-radius);
|
|
box-shadow: $box-shadow;
|
|
margin: 0 $carousel-indicator-spacer;
|
|
opacity: $carousel-indicator-thumb-opacity;
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
width: $carousel-indicator-thumb-width;
|
|
}
|
|
|
|
&:before {
|
|
content: '';
|
|
padding-top: var(--#{$prefix}aspect-ratio, 100%);
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
&.carousel-indicators-vertical {
|
|
[data-bs-target] {
|
|
margin: $carousel-indicator-spacer 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.carousel-caption-background {
|
|
background: red;
|
|
position: absolute;
|
|
inset-inline-start: 0;
|
|
inset-inline-end: 0;
|
|
bottom: 0;
|
|
height: 90%;
|
|
background: linear-gradient(0deg, rgba($dark, 0.9), rgba($dark, 0));
|
|
}
|