summaryrefslogtreecommitdiff
path: root/theme_common/static/src/old_snippets/s_images_carousel
diff options
context:
space:
mode:
authorRichard Sassine <richardsassine@tutanota.com>2021-05-04 18:00:38 +0300
committerRichard Sassine <richardsassine@tutanota.com>2021-05-04 18:00:38 +0300
commitad97722b1b35aff50d0adf13a19715f7b8373c07 (patch)
treeedf36f1114b896a01602e31dafd74efe45736427 /theme_common/static/src/old_snippets/s_images_carousel
initial commit
Diffstat (limited to 'theme_common/static/src/old_snippets/s_images_carousel')
-rw-r--r--theme_common/static/src/old_snippets/s_images_carousel/000.scss26
1 files changed, 26 insertions, 0 deletions
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;
+ }
+}