| 1 |
.carousel-indicators [data-bs-target]]{ |
| 2 |
opacity: .3; |
| 3 |
width: 1rem; |
| 4 |
height: 0.375rem; |
| 5 |
margin: 0 0.3rem; |
| 6 |
padding: 0; |
| 7 |
transition: width .2s ease-in-out,background-color .2s ease-in-out; |
| 8 |
border: 0; |
| 9 |
border-radius: 50rem; |
| 10 |
} |
| 11 |
|
| 12 |
.carousel-indicators{ |
| 13 |
.active{ |
| 14 |
width: 2rem; |
| 15 |
opacity: .7; |
| 16 |
} |
| 17 |
} |
| 18 |
|
| 19 |
.bs-carousel { |
| 20 |
margin: 0 12% 0 12% !important; |
| 21 |
} |
| 22 |
.bs-carousel .carousel-inner { |
| 23 |
transform: translate3d(-10%, 0px, 0px); |
| 24 |
|
| 25 |
width: calc(1000%); |
| 26 |
transition-duration: 0.5s; |
| 27 |
|
| 28 |
display: flex !important; |
| 29 |
opacity: 1; |
| 30 |
position: relative; |
| 31 |
overflow: hidden; |
| 32 |
touch-action: manipulation; |
| 33 |
white-space: nowrap; |
| 34 |
} |
| 35 |
.bs-carousel .carousel-inner .carousel-item { |
| 36 |
padding-left: 0.5rem; |
| 37 |
padding-right: 0.5rem; |
| 38 |
|
| 39 |
width: calc(10%); |
| 40 |
|
| 41 |
display: inline-block !important; |
| 42 |
white-space: normal; |
| 43 |
-webkit-backface-visibility: hidden; |
| 44 |
backface-visibility: hidden; |
| 45 |
|
| 46 |
margin-right: 0; |
| 47 |
float: none; |
| 48 |
transition: opacity .15s ease-in-out; |
| 49 |
opacity: .6; |
| 50 |
} |
| 51 |
.bs-carousel .carousel-inner .carousel-item.active { |
| 52 |
opacity: 1; |
| 53 |
} |
| 54 |
.bs-carousel-wrapper .bs-carousel .carousel-item { |
| 55 |
-webkit-transform: none !important; |
| 56 |
-moz-transform: none !important; |
| 57 |
-ms-transform: none !important; |
| 58 |
-o-transform: none !important; |
| 59 |
transform: none !important; |
| 60 |
} |
| 61 |
|
| 62 |
// |
| 63 |
.carousel-item > .ratio { |
| 64 |
display: block; |
| 65 |
padding: 0; |
| 66 |
overflow: hidden; |
| 67 |
} |