53 lines
1,002 B
SCSS
53 lines
1,002 B
SCSS
.m-featured-slider {
|
|
position: relative;
|
|
overflow: hidden !important;
|
|
height: 350px;
|
|
margin: -40px -#{$mobile-space} 40px;
|
|
@include transition(all .25s cubic-bezier(.02,.01,.47,1));
|
|
|
|
&:hover {
|
|
@include respond-to('medium') {
|
|
@include transform(translateY(-5px));
|
|
@include bs(var(--article-shadow-hover));
|
|
}
|
|
}
|
|
|
|
@include respond-to('medium') {
|
|
width: 100%;
|
|
height: 420px;
|
|
margin: -40px 10px 20px 10px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
@include respond-to('large') {
|
|
width: calc(100% - (100% / 3) - 40px);
|
|
margin: 0 20px 40px 20px;
|
|
overflow: unset;
|
|
}
|
|
}
|
|
|
|
.m-featured-slider:not(:root:root) {
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.m-featured-slider__list {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
height: 100%;
|
|
|
|
@include respond-to('medium') {
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
.m-featured-slider__list__item {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
|
|
@include respond-to('medium') {
|
|
border-radius: 10px;
|
|
}
|
|
}
|