aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/scss/_carousel.scss
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-03-19 13:55:18 +0000
committerMario <mario@mariovavti.com>2023-03-19 13:55:18 +0000
commit89285f1408d21091bb80d45b391ddcbe06ba8d0f (patch)
treeb2eb07d9f3d91d77f89a4565a58e6e5231b20c1c /vendor/twbs/bootstrap/scss/_carousel.scss
parent0a679e503ef367eda3085c44af103ee53869a94f (diff)
parent17c0bb2069dcfe35d3febc5bfdb3a7295f15d49c (diff)
downloadvolse-hubzilla-89285f1408d21091bb80d45b391ddcbe06ba8d0f.tar.gz
volse-hubzilla-89285f1408d21091bb80d45b391ddcbe06ba8d0f.tar.bz2
volse-hubzilla-89285f1408d21091bb80d45b391ddcbe06ba8d0f.zip
Merge branch '8.2RC'8.2
Diffstat (limited to 'vendor/twbs/bootstrap/scss/_carousel.scss')
-rw-r--r--vendor/twbs/bootstrap/scss/_carousel.scss17
1 files changed, 13 insertions, 4 deletions
diff --git a/vendor/twbs/bootstrap/scss/_carousel.scss b/vendor/twbs/bootstrap/scss/_carousel.scss
index 3d8fb15a0..7f28061eb 100644
--- a/vendor/twbs/bootstrap/scss/_carousel.scss
+++ b/vendor/twbs/bootstrap/scss/_carousel.scss
@@ -42,7 +42,6 @@
display: block;
}
-/* rtl:begin:ignore */
.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
transform: translateX(100%);
@@ -53,8 +52,6 @@
transform: translateX(-100%);
}
-/* rtl:end:ignore */
-
//
// Alternate transitions
@@ -213,7 +210,7 @@
// Dark mode carousel
-.carousel-dark {
+@mixin carousel-dark() {
.carousel-control-prev-icon,
.carousel-control-next-icon {
filter: $carousel-dark-control-icon-filter;
@@ -227,3 +224,15 @@
color: $carousel-dark-caption-color;
}
}
+
+.carousel-dark {
+ @include carousel-dark();
+}
+
+@if $enable-dark-mode {
+ @include color-mode(dark) {
+ .carousel {
+ @include carousel-dark();
+ }
+ }
+}