Skip to content

Commit

Permalink
Merge pull request #1157 from equalizedigital/dev/video-carousel
Browse files Browse the repository at this point in the history
Dev/video carousel
  • Loading branch information
tronsymphony authored Apr 5, 2024
2 parents 966c1a6 + f00f3aa commit 9ec9cd9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/css/editor-style.css

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -8162,7 +8162,7 @@ select.tab-block-container-tab-block_header-buttons_mobile_select {
display: inline-flex; }
.video_carousel_template .video-carousel-swiper-container {
width: 100%;
max-width: 940px;
max-width: 1120px;
margin: 0 auto; }
.video_carousel_template .video-carousel-swiper-container .swiper-wrapper .slide_main_container {
position: relative; }
Expand All @@ -8183,7 +8183,7 @@ select.tab-block-container-tab-block_header-buttons_mobile_select {
opacity: .5; }
@media (min-width: 769px) {
.video_carousel_template .video-carousel-swiper-container .swiper-wrapper .swiper-slide {
width: 235px; } }
width: 260px; } }
.video_carousel_template .video-carousel-swiper-container .swiper-wrapper .swiper-slide.keyboard-focused {
opacity: 1; }
.video_carousel_template .video-carousel-swiper-container .swiper-wrapper .swiper-slide.swiper-slide-visible, .video_carousel_template .video-carousel-swiper-container .swiper-wrapper .swiper-slide.swiper-slide-active {
Expand Down Expand Up @@ -8263,6 +8263,7 @@ select.tab-block-container-tab-block_header-buttons_mobile_select {
bottom: 0;
z-index: 242;
background: #625089CC;
border-radius: 10px;
opacity: 0; }
.video_carousel_template .image-object:hover:after {
opacity: 1; }
Expand Down
5 changes: 3 additions & 2 deletions assets/scss/blocks/video-carousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

.video-carousel-swiper-container {
width: 100%;
max-width: 940px;
max-width: 1120px;
margin: 0 auto;

.swiper-wrapper {
Expand Down Expand Up @@ -93,7 +93,7 @@
.swiper-slide {
opacity: .5;
@include media(">tablet") {
width: 235px;
width: 260px;
// width: 17vw !important;
}
&.keyboard-focused{
Expand Down Expand Up @@ -211,6 +211,7 @@
bottom: 0;
z-index: 242;
background: #625089CC;
border-radius: 10px;
opacity: 0;
}

Expand Down

0 comments on commit 9ec9cd9

Please sign in to comment.