162 lines
2.6 KiB
SCSS
162 lines
2.6 KiB
SCSS
|
.screenshots {
|
||
|
background: #a3b8c7;
|
||
|
padding: 70px 0 120px;
|
||
|
border-radius: 50px;
|
||
|
margin: 0 80px;
|
||
|
@include desktop-xl {
|
||
|
margin: 0 50px;
|
||
|
}
|
||
|
@include desktop-lg {
|
||
|
margin: 0 30px;
|
||
|
}
|
||
|
@include desktop {
|
||
|
border-radius: 25px;
|
||
|
}
|
||
|
@include mobile {
|
||
|
margin: 0 15px;
|
||
|
padding: 50px 0 80px;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
&-title {
|
||
|
margin-bottom: 55px;
|
||
|
|
||
|
@include mobile-xs {
|
||
|
margin-top: 50px;
|
||
|
}
|
||
|
|
||
|
h2 {
|
||
|
text-align: center;
|
||
|
margin-bottom: 20px;
|
||
|
|
||
|
@include tablet {
|
||
|
font-size: 35px;
|
||
|
line-height: 44px;
|
||
|
}
|
||
|
@include mobile {
|
||
|
font-size: 30px;
|
||
|
line-height: 42px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
p {
|
||
|
text-align: center;
|
||
|
font-size: 17px;
|
||
|
line-height: 30px;
|
||
|
|
||
|
@include mobile {
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-wrapper {
|
||
|
position: relative;
|
||
|
width: 70%;
|
||
|
margin: 0 auto;
|
||
|
@include desktop-xl {
|
||
|
width: 80%;
|
||
|
}
|
||
|
@include desktop-lg {
|
||
|
width: 100%;
|
||
|
}
|
||
|
@include desktop {
|
||
|
width: 80%;
|
||
|
}
|
||
|
@include tablet {
|
||
|
width: 100%;
|
||
|
}
|
||
|
@include mobile {
|
||
|
width: 70%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-slider-frame {
|
||
|
position: absolute;
|
||
|
left: 50%;
|
||
|
top: calc(50% - 1px);
|
||
|
transform: translate(-50%, -50%);
|
||
|
width: calc(20% - 18px);
|
||
|
z-index: 1;
|
||
|
display: block;
|
||
|
pointer-events: none;
|
||
|
@include desktop-xl {
|
||
|
top: 50%;
|
||
|
width: calc(20% - 22px);
|
||
|
}
|
||
|
|
||
|
@include desktop {
|
||
|
width: calc(33% - 15px);
|
||
|
}
|
||
|
|
||
|
@include tablet {
|
||
|
width: calc(33% - 20px);
|
||
|
}
|
||
|
|
||
|
@include mobile {
|
||
|
width: calc(100% - 18px);
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
max-width: 100%;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-slider {
|
||
|
&-item {
|
||
|
padding: 0 15px;
|
||
|
outline: none;
|
||
|
|
||
|
img {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
|
||
|
@include tablet {
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.slick-dots {
|
||
|
position: absolute;
|
||
|
bottom: -90px;
|
||
|
@include mobile {
|
||
|
bottom: -50px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.slick-dots li {
|
||
|
display: inline-block;
|
||
|
margin: 0 5px;
|
||
|
width: unset;
|
||
|
height: unset;
|
||
|
}
|
||
|
|
||
|
.slick-dots li button {
|
||
|
background: $primary-color;
|
||
|
text-indent: -999999999px;
|
||
|
width: 15px;
|
||
|
height: 7px;
|
||
|
outline: 0;
|
||
|
border-radius: 2px;
|
||
|
transition: 0.5s ease;
|
||
|
padding: 0;
|
||
|
opacity: 0.3;
|
||
|
&::before {
|
||
|
content: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.slick-dots li.slick-active button {
|
||
|
background: $primary-color;
|
||
|
width: 40px;
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
.slick-list {
|
||
|
@include mobile {
|
||
|
overflow: visible;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|