forked from eddiesigner/liebling
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8107e80
commit 6197381
Showing
2 changed files
with
36 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,52 @@ | ||
.m-featured-slider.swiper { | ||
position: relative; | ||
overflow: hidden !important; | ||
height: calc(100vw * 9 / 16); | ||
height: 350px; | ||
margin: -40px -#{$mobile-space} 40px; | ||
@include transition(all 0.25s cubic-bezier(0.02, 0.01, 0.47, 1)); | ||
@include bs(var(--article-shadow-normal)); | ||
|
||
|
||
&:hover { | ||
@include respond-to('medium') { | ||
@include transform(translateY(-5px)); | ||
@include bs(var(--article-shadow-hover)); | ||
} | ||
@include respond-to("medium") { | ||
@include transform(translateY(-5px)); | ||
@include bs(var(--article-shadow-hover)); | ||
} | ||
} | ||
|
||
@include respond-to('medium') { | ||
width: calc(420px * 16 / 9); | ||
height: 420px; | ||
margin: -40px 10px 20px 10px; | ||
border-radius: 10px; | ||
@include respond-to("medium") { | ||
width: 100%; | ||
height: 420px; | ||
margin: -40px 10px 20px 10px; | ||
border-radius: 10px; | ||
} | ||
|
||
@include respond-to('large') { | ||
width: calc(420px * 16 / 9); | ||
margin: 0 20px 40px 20px; | ||
overflow: unset; | ||
@include respond-to("large") { | ||
width: calc(100% - (100% / 3) - 40px); | ||
margin: 0 20px 40px 20px; | ||
overflow: unset; | ||
} | ||
} | ||
|
||
.m-featured-slider:not(:root:root) { | ||
} | ||
.m-featured-slider:not(:root:root) { | ||
overflow: hidden !important; | ||
} | ||
|
||
.m-featured-slider__list { | ||
} | ||
.m-featured-slider__list { | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 0; | ||
height: 100%; | ||
|
||
@include respond-to('medium') { | ||
border-radius: 10px; | ||
overflow: hidden; | ||
|
||
@include respond-to("medium") { | ||
border-radius: 10px; | ||
} | ||
} | ||
|
||
.m-featured-slider__list__item { | ||
} | ||
.m-featured-slider__list__item { | ||
height: 100%; | ||
overflow: hidden; | ||
|
||
@include respond-to('medium') { | ||
border-radius: 10px; | ||
@include respond-to("medium") { | ||
border-radius: 10px; | ||
} | ||
} | ||
} | ||
|