2021-08-18 20:38:12 +02:00
|
|
|
@import "~bootstrap/scss/carousel";
|
2021-08-09 18:04:09 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Bootstrap carousel improvement
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*.carousel-item {
|
|
|
|
&.active {
|
|
|
|
display: flex !important;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
|
|
|
|
$carousel-title-color: $white !default;
|
|
|
|
$carousel-slide-min-height: 4rem !default;
|
|
|
|
$carousel-text-shadow: 1px 1px $black !default;
|
|
|
|
$carousel-controls-font-size: 3rem;
|
|
|
|
$carousel-controls-zindex: 11 !default;
|
|
|
|
$carousel-controls-shadow: 1px 1px $black !default;
|
|
|
|
$carousel-controls-hover-bg: transparentize($black, 0.4) !default;
|
|
|
|
$carousel-slide-img-loading-max-height: 25vh !default;
|
|
|
|
|
|
|
|
.carousel-slide {
|
2021-08-18 20:38:12 +02:00
|
|
|
align-items: flex-start;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
min-height: $carousel-slide-min-height;
|
|
|
|
|
|
|
|
> .container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
height: auto !important;
|
|
|
|
width: 100% !important;
|
2021-08-09 18:04:09 +02:00
|
|
|
}
|
2021-08-18 20:38:12 +02:00
|
|
|
}
|
2021-08-09 18:04:09 +02:00
|
|
|
|
2021-08-18 20:38:12 +02:00
|
|
|
.img {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-08-09 18:04:09 +02:00
|
|
|
|
2021-08-18 20:38:12 +02:00
|
|
|
img.loading {
|
|
|
|
max-height: $carousel-slide-img-loading-max-height;
|
|
|
|
}
|
2021-08-09 18:04:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.carousel-control-prev,
|
|
|
|
.carousel-control-next {
|
2021-08-18 20:38:12 +02:00
|
|
|
font-size: $carousel-controls-font-size;
|
|
|
|
text-shadow: $carousel-controls-shadow;
|
|
|
|
z-index: $carousel-controls-zindex;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: $carousel-controls-hover-bg;
|
|
|
|
}
|
2021-08-09 18:04:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.carousel-indicators li {
|
2021-08-18 20:38:12 +02:00
|
|
|
box-shadow: none;
|
2021-08-09 18:04:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.carousel-title {
|
2021-08-18 20:38:12 +02:00
|
|
|
color: $carousel-title-color;
|
2021-08-09 18:04:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.carousel-title,
|
|
|
|
.carousel-content {
|
2021-08-18 20:38:12 +02:00
|
|
|
text-shadow: $carousel-text-shadow;
|
2021-08-09 18:04:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.carousel-caption {
|
2021-08-18 20:38:12 +02:00
|
|
|
bottom: 0;
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
width: 50%;
|
2021-08-09 18:04:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.slide-link__media {
|
2021-08-18 20:38:12 +02:00
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
2021-08-09 18:04:09 +02:00
|
|
|
}
|