ORIENT/themes/modern2/template/css (old)/components/2-layout/slider.scss

46 lines
767 B
SCSS

.animaSlider {
height: 560px;
&__outer {
position: relative;
}
&__item {
height: 560px;
padding: 5px;
&-image {
height: 100%;
width: 66.6%;
-moz-transition: 0.4s linear;
transition: 0.4s linear;
img {
@include fullImage;
}
}
&.slick-slide {
width: 66.6%;
}
&-category {
position: absolute;
left: 30px;
bottom: 30px;
background: $main-color;
color: $text-color-white;
font-weight: 400;
font-size: $h4-size;
line-height: $h4-height;
padding: 5px 20px;
}
&.slick-active {
.animaSlider__item-image {
width: 100%;
img {
}
}
}
}
.slick-list {
padding: 0 33.3% 0 0;
}
}