сделал reviews для пк

This commit is contained in:
Kirill Pet
2024-12-18 22:38:55 +03:00
parent c082f320f6
commit 8ec1dd88d6
8 changed files with 336 additions and 5 deletions

View File

@@ -92,6 +92,9 @@ body{
text-decoration: none;
}
.title--center{
text-align: center;
}
.text-1{
font-weight: 400;
color: var(--text-white);

View File

@@ -566,11 +566,142 @@
}
/* free */
/* text and form */
.text-form{
/* reviews */
.reviews{
margin-top: 56px;
position: relative;
overflow: hidden;
}
.reviews__item{
display: flex;
padding-bottom: 88px;
}
.reviews-item__content{
width: 100%;
}
.reviews-item-content__header{
display: flex;
align-items: center;
}
.reviews-item-content-header__img{
width: 112px;
height: 112px;
border-radius: 4px;
}
.reviews-item-content-header__block{
margin-left: 40px;
width: 100%;
}
.reviews-item-content-header__item{
margin-top: 16px;
width: 100%;
display: flex;
justify-content: space-between;
}
.reviews-item-content-header__item:first-child{
margin-top: 0;
}
.reviews-item-content-header__pin{
padding-left: 40px;
display: flex;
align-items: center;
background-image: url(/assets/img/icon/pin.svg);
background-repeat: no-repeat;
background-position: left;
}
.reviews-item-content__text{
margin-top: 40px;
}
.reviews-item__img{
margin-left: 164px;
width: 577px;
height: 600px;
border-radius: 4px;
object-fit: cover;
flex-shrink: 0;
}
.reviews .swiper-pagination{
position: absolute;
right: 32px;
bottom: 104px;
padding-right: 32px;
text-align: end;
}
.reviews .swiper-pagination-bullet{
width: 97px;
height: 4px;
background-color: #111114;
opacity: 1 !important;
border-radius: 0;
}
.reviews .swiper-pagination-bullet-active{
background-color: var(--text-white);
}
.reviews__counter{
position: absolute;
bottom: 0px;
width: 100%;
display: flex;
justify-content: center;
font-weight: 400;
font-size: 24px;
color: var(--text-white);
}
.reviews__counter--grey{
color: var(--link);
}
.reviews .swiper-button-next::after, .reviews .swiper-button-prev::after{
position: static;
font-size: 0;
}
.reviews .swiper-button-next, .reviews .swiper-button-prev{
position: static;
margin-top: 0;
width: 32px;
height: 32px;
}
.reviews .swiper-button-next{
margin-left: 40px;
background-image: url(/assets/img/icon/slider-righ.svg);
background-repeat: no-repeat;
}
.reviews .swiper-button-prev{
margin-right: 40px;
background-image: url(/assets/img/icon/slider-left.svg);
background-repeat: no-repeat;
}
/* reviews */
/* text and form */
.text-form{
margin-top: 88px;
display: flex;
}
.text-form__content{
width: 100%;