From ad97722b1b35aff50d0adf13a19715f7b8373c07 Mon Sep 17 00:00:00 2001 From: Richard Sassine Date: Tue, 4 May 2021 18:00:38 +0300 Subject: initial commit --- .../src/old_snippets/s_images_carousel/000.scss | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 theme_common/static/src/old_snippets/s_images_carousel/000.scss (limited to 'theme_common/static/src/old_snippets/s_images_carousel') diff --git a/theme_common/static/src/old_snippets/s_images_carousel/000.scss b/theme_common/static/src/old_snippets/s_images_carousel/000.scss new file mode 100644 index 0000000..5007997 --- /dev/null +++ b/theme_common/static/src/old_snippets/s_images_carousel/000.scss @@ -0,0 +1,26 @@ +.s_images_carousel { + height: 400px; + &.carousel { + @include media-breakpoint-down(md) { + height: auto !important; + } + .carousel-inner, + .carousel-item { + height: 100%; + } + } + @include media-breakpoint-up(lg) { + img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + } + } + .carousel-caption { + background-color: #fff; + color: $body-color; + padding: 5px 0; + bottom: 55px; + } +} -- cgit v1.2.3