feat: added reviews adaptive
This commit is contained in:
@@ -111,7 +111,7 @@ img {
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
font-weight: 500;
|
||||
font-size: 55px;
|
||||
line-height: 122%;
|
||||
letter-spacing: 0.01em;
|
||||
@@ -119,6 +119,7 @@ h2 {
|
||||
text-align: center;
|
||||
|
||||
& > span {
|
||||
font-weight: 700;
|
||||
color: $blue;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
.reviews {
|
||||
margin: 100px 0 98px;
|
||||
overflow: hidden;
|
||||
|
||||
@include tablet {
|
||||
margin: 77px 0 92px;
|
||||
@@ -13,6 +14,69 @@
|
||||
}
|
||||
}
|
||||
|
||||
&__slider {
|
||||
& .swiper {
|
||||
overflow: visible;
|
||||
}
|
||||
}
|
||||
|
||||
&__slide {
|
||||
padding: 34px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 10px 40px;
|
||||
background-color: $white;
|
||||
|
||||
@include laptop {
|
||||
padding: 19px;
|
||||
}
|
||||
|
||||
&-video {
|
||||
height: 205px;
|
||||
margin: 0 0 15px;
|
||||
overflow: hidden;
|
||||
border-radius: 10px 40px;
|
||||
background-color: $blue;
|
||||
|
||||
@include laptop {
|
||||
height: 160px;
|
||||
}
|
||||
|
||||
@include tablet {
|
||||
height: 136px;
|
||||
}
|
||||
|
||||
& > * {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&-name {
|
||||
margin: 0 0 8px;
|
||||
font-weight: 600;
|
||||
font-size: 26px;
|
||||
line-height: 146%;
|
||||
color: $darkgrey;
|
||||
|
||||
@include tablet {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
&-text {
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
font-size: 17px;
|
||||
line-height: 146%;
|
||||
color: $grey;
|
||||
|
||||
@include tablet {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__slider-controls {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
90
assets/scss/_l-step-by-step.scss
Normal file
90
assets/scss/_l-step-by-step.scss
Normal file
@@ -0,0 +1,90 @@
|
||||
.step-by-step {
|
||||
display: none;
|
||||
margin: 98px 0 110px;
|
||||
|
||||
@include tablet {
|
||||
margin: 91px 0 60px;
|
||||
}
|
||||
|
||||
&__title {
|
||||
margin: 18px 0 22px;
|
||||
|
||||
@include tablet {
|
||||
margin: 21px 0;
|
||||
}
|
||||
}
|
||||
|
||||
&__wrapper {
|
||||
display: flex;
|
||||
gap: 84px;
|
||||
}
|
||||
|
||||
&__controls {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 36px;
|
||||
flex: 0 0 410px;
|
||||
|
||||
&-button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 20px;
|
||||
padding: 11px 29px 15px;
|
||||
border: 1px solid rgba(98, 98, 98, 0.25);
|
||||
border-radius: 8px 25px;
|
||||
transition: all ease-in-out 0.1s;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover,
|
||||
&.active:hover {
|
||||
background-color: $blue;
|
||||
border-color: $blue;
|
||||
}
|
||||
|
||||
&:active,
|
||||
&.active:active {
|
||||
background-color: $darkblue;
|
||||
border-color: $darkblue;
|
||||
}
|
||||
|
||||
&.active {
|
||||
border-color: rgba($color: $white, $alpha: 1);
|
||||
background-color: $white;
|
||||
}
|
||||
|
||||
&-number {
|
||||
font-weight: 500;
|
||||
font-size: 28px;
|
||||
line-height: 146%;
|
||||
color: $grey;
|
||||
}
|
||||
|
||||
&-text {
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 146%;
|
||||
color: $darkgrey;
|
||||
}
|
||||
|
||||
&.active &-number {
|
||||
font-weight: 700;
|
||||
color: $black;
|
||||
}
|
||||
|
||||
&.active &-text {
|
||||
font-weight: 500;
|
||||
color: $darkgrey;
|
||||
}
|
||||
|
||||
&:hover &-number,
|
||||
&:hover &-text {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__content {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
}
|
||||
@@ -63,6 +63,7 @@
|
||||
}
|
||||
|
||||
&--dark {
|
||||
background-color: $blue;
|
||||
color: $white;
|
||||
border-color: rgba($color: $white, $alpha: 0.3);
|
||||
|
||||
|
||||
@@ -21,3 +21,4 @@
|
||||
@import './l-advantages';
|
||||
@import './l-facts';
|
||||
@import './l-reviews';
|
||||
@import './l-step-by-step';
|
||||
|
||||
Reference in New Issue
Block a user