save
This commit is contained in:
@@ -101,6 +101,7 @@
|
||||
--text-dark: #2b2b3b;
|
||||
--text-grey: #999;
|
||||
--text-0: #000;
|
||||
--text-3: #333;
|
||||
--text-6: #666;
|
||||
|
||||
/* background */
|
||||
@@ -123,7 +124,7 @@ button{
|
||||
.wrapper{
|
||||
margin: 0 auto;
|
||||
|
||||
max-width: 1280px;
|
||||
max-width: 1600px;
|
||||
}
|
||||
|
||||
/* компоненты */
|
||||
@@ -467,100 +468,12 @@ button{
|
||||
}
|
||||
/* breadcrumbs */
|
||||
|
||||
|
||||
/* product */
|
||||
.product{
|
||||
padding: 24px;
|
||||
}
|
||||
.product__header{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.product__tag{
|
||||
padding-top: 48px;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.product-tag__item{
|
||||
padding: 4px 12px;
|
||||
|
||||
border-radius: 16px;
|
||||
|
||||
/* background: linear-gradient(346.57% 244.17% to 149.73% -58.39%, rgb(15, 88, 129) 0%, rgb(30, 164, 156) 51.21689438819885%, rgb(118, 206, 117) 80.70731163024902%, rgb(236, 243, 159) 91.14583134651184%); */
|
||||
}
|
||||
.product__title{
|
||||
font-family: var(--font-family);
|
||||
font-weight: 700;
|
||||
font-size: 36px;
|
||||
line-height: 111%;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
color: var(--text-black);
|
||||
}
|
||||
.product__main{
|
||||
margin: 24px -24px -24px;
|
||||
|
||||
width: 100%;
|
||||
|
||||
display: flex;
|
||||
align-items: start;
|
||||
}
|
||||
.product__item{
|
||||
margin: 24px;
|
||||
|
||||
width: calc(33.3% - 48px);
|
||||
|
||||
background-color: var(--background-grey);
|
||||
|
||||
border-radius: 24px;
|
||||
}
|
||||
.product-item__product-card{
|
||||
height: 274px;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.product-item__images{
|
||||
height: 242px;
|
||||
object-fit: contain;
|
||||
}
|
||||
.product-item__content-card{
|
||||
padding: 15px;
|
||||
}
|
||||
.product-item__title{
|
||||
margin-top: 8px;
|
||||
|
||||
font-family: var(--font-family);
|
||||
font-weight: 500;
|
||||
font-size: 20px;
|
||||
line-height: 120%;
|
||||
color: var(--text-black);
|
||||
}
|
||||
.product-item__price{
|
||||
margin-top: 8px;
|
||||
|
||||
font-family: var(--font-family);
|
||||
font-weight: 700;
|
||||
font-size: 20px;
|
||||
line-height: 200%;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-black);
|
||||
}
|
||||
.product-item__price::after{
|
||||
content: '₽';
|
||||
}
|
||||
.product-item__bye{
|
||||
margin-top: 8px;
|
||||
}
|
||||
/* product */
|
||||
|
||||
/* compound */
|
||||
.compound{
|
||||
margin: -5px;
|
||||
|
||||
min-height: 33.95px;
|
||||
|
||||
display: flex;
|
||||
align-items: start;
|
||||
}
|
||||
@@ -591,18 +504,21 @@ button{
|
||||
|
||||
/* button */
|
||||
.button{
|
||||
font-family: var(--font-family);
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
line-height: 120%;
|
||||
color: var(--text-black);
|
||||
|
||||
border-radius: 20px;
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
.button--100-perc{
|
||||
width: 100%;
|
||||
}
|
||||
.button--white{
|
||||
padding: 12px 24px;
|
||||
padding: 11px 24px;
|
||||
|
||||
text-align: center;
|
||||
|
||||
@@ -614,4 +530,214 @@ button{
|
||||
.button--white:hover{
|
||||
opacity: .8;
|
||||
}
|
||||
/* button */
|
||||
.button--gradient{
|
||||
background: var(--gradient-turquoise);
|
||||
border: none;
|
||||
|
||||
transition: opacity .2s ease-out;
|
||||
}
|
||||
.button--gradient:hover{
|
||||
opacity: .8;
|
||||
}
|
||||
.button--base{
|
||||
padding: 12px 24px;
|
||||
}
|
||||
.button--high{
|
||||
height: 56px;
|
||||
|
||||
padding: 16px 56px 24px 24px;
|
||||
|
||||
font-weight: 700;
|
||||
text-align: start;
|
||||
|
||||
position: relative;
|
||||
}
|
||||
.button--filter::after{
|
||||
content: '';
|
||||
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
right: 24px;
|
||||
|
||||
width: 24px;
|
||||
aspect-ratio: 1;
|
||||
|
||||
background-image: url(../img/svg/main/filter.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
.to-know{
|
||||
width: 100%;
|
||||
|
||||
padding: 12px 24px 7px 24px;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
border: none;
|
||||
|
||||
transition: opacity .2s ease-out;
|
||||
}
|
||||
.to-know:hover{
|
||||
opacity: .8;
|
||||
}
|
||||
.to-know p{
|
||||
padding-bottom: 4px;
|
||||
|
||||
font-family: var(--font-family);
|
||||
font-weight: 700;
|
||||
font-size: 20px;
|
||||
line-height: 120%;
|
||||
color: var(--text-black);
|
||||
|
||||
border-bottom: 1px var(--text-black) solid;
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
/* button */
|
||||
|
||||
/* select */
|
||||
.select{
|
||||
max-width: 144px;
|
||||
|
||||
position: relative;
|
||||
}
|
||||
.select__state{
|
||||
width: 100%;
|
||||
|
||||
padding: 11px 47px 11px 13px;
|
||||
|
||||
pointer-events:none;
|
||||
|
||||
border: 1px solid var(--background-black);
|
||||
border-radius: 20px;
|
||||
|
||||
font-family: var(--font-family);
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
line-height: 120%;
|
||||
color: var(--text-black);
|
||||
|
||||
position: relative;
|
||||
|
||||
transition: opacity .2s ease-out;
|
||||
}
|
||||
.select:hover .select__state{
|
||||
opacity: .8;
|
||||
}
|
||||
.select::after{
|
||||
content: '';
|
||||
|
||||
position: absolute;
|
||||
top: 20.5px;
|
||||
right: 21.5px;
|
||||
|
||||
width: 17px;
|
||||
height: 10px;
|
||||
|
||||
background-image: url(../img/svg/main/arrow-black.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
.state__block{
|
||||
position: absolute;
|
||||
top: 48px;
|
||||
left: 0;
|
||||
|
||||
width: 100%;
|
||||
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.state__content{
|
||||
padding: 8px;
|
||||
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1), 0 0 2px 0 rgba(0, 0, 0, 0.2);
|
||||
background-color: var(--background-white);
|
||||
|
||||
list-style-type: none;
|
||||
}
|
||||
.state__content li{
|
||||
margin-top: 8px;
|
||||
}
|
||||
.state__content li:first-child{
|
||||
margin-top: 0;
|
||||
}
|
||||
.state__button{
|
||||
width: 100%;
|
||||
|
||||
padding: 4px 32px 4px 4px;
|
||||
|
||||
background: none;
|
||||
border: none;
|
||||
|
||||
font-family: var(--font-family);
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
line-height: 120%;
|
||||
color: var(--text-dark);
|
||||
text-align: start;
|
||||
|
||||
border-radius: 6px;
|
||||
|
||||
transition: background-color .2s ease-out;
|
||||
|
||||
position: relative;
|
||||
}
|
||||
.state__button:hover,
|
||||
.state__button.active{
|
||||
background-color: var(--background-grey);
|
||||
}
|
||||
|
||||
.state__button.active::before{
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 8px;
|
||||
width: 16px;
|
||||
height: 12px;
|
||||
background-image: url(../img/svg/main/arrow-selected.svg);
|
||||
}
|
||||
|
||||
/* select */
|
||||
|
||||
/* counter */
|
||||
.counter{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.counter__input{
|
||||
width: 48px;
|
||||
|
||||
font-family: var(--font-family);
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
line-height: 120%;
|
||||
text-align: center;
|
||||
color: var(--text-black);
|
||||
|
||||
pointer-events: none;
|
||||
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
.counter__button{
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
border: 1px solid var(--text-3);
|
||||
border-radius: 24px;
|
||||
|
||||
background: var(--background-white);
|
||||
|
||||
transition: opacity .2s ease-out;
|
||||
}
|
||||
.counter__button:hover{
|
||||
opacity: .8;
|
||||
}
|
||||
/* counter */
|
||||
@@ -17,7 +17,7 @@
|
||||
width: calc(100% - 48px);
|
||||
height: 1px;
|
||||
|
||||
background: #333;
|
||||
background: var(--text-3);
|
||||
}
|
||||
|
||||
.header__content{
|
||||
@@ -90,6 +90,8 @@
|
||||
transition: height .2s ease-out;
|
||||
|
||||
background-color: var(--background-white);
|
||||
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.header__pc-menu{
|
||||
@@ -236,9 +238,326 @@
|
||||
}
|
||||
/* header end */
|
||||
|
||||
/* product */
|
||||
.product{
|
||||
padding: 24px;
|
||||
}
|
||||
.product__header{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.product__tag{
|
||||
margin: 36px -12px -12px -12px;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.product-tag__item{
|
||||
margin: 12px;
|
||||
|
||||
/* писать сюда... */
|
||||
padding: 1px;
|
||||
|
||||
border-radius: 16px;
|
||||
|
||||
background: var(--gradient-blue);
|
||||
}
|
||||
.product-tag-item__content{
|
||||
padding: 3px 11px;
|
||||
|
||||
background: var(--background-white);
|
||||
|
||||
border-radius: 15px;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.product-tag-item__text{
|
||||
font-family: var(--font-family);
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
line-height: 120%;
|
||||
background: var(--gradient-blue);
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
.product-tag-item__button{
|
||||
margin: 2px 0 2px 4px;
|
||||
|
||||
width: 20px;
|
||||
aspect-ratio: 1;
|
||||
|
||||
background: none;
|
||||
border: none;
|
||||
|
||||
background-image: url(../img/svg/main/gradient-x.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
.product__title{
|
||||
font-family: var(--font-family);
|
||||
font-weight: 700;
|
||||
font-size: 36px;
|
||||
line-height: 111%;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
color: var(--text-black);
|
||||
}
|
||||
.product__main{
|
||||
margin: 36px -12px -12px;
|
||||
|
||||
width: 100%;
|
||||
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.product__item{
|
||||
margin: 12px;
|
||||
|
||||
width: calc(25% - 24px);
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
background-color: var(--background-grey);
|
||||
border-radius: 24px;
|
||||
|
||||
position: relative;
|
||||
}
|
||||
.product__item::before{
|
||||
content: '';
|
||||
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
width: calc(100% - 2px);
|
||||
height: calc(100% - 2px);
|
||||
|
||||
border: 1px solid #000;
|
||||
border-radius: 24px;
|
||||
|
||||
pointer-events: none;
|
||||
transition: opacity .2s ease-out;
|
||||
|
||||
opacity: 0;
|
||||
}
|
||||
.product__item:hover::before{
|
||||
opacity: 1;
|
||||
}
|
||||
.product-item__block-label{
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 16px;
|
||||
}
|
||||
.product-item__label{
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 16px;
|
||||
|
||||
margin: -2px;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
z-index: 10;
|
||||
}
|
||||
.product-item-label__tag{
|
||||
margin: 2px;
|
||||
|
||||
padding: 4px 8px;
|
||||
|
||||
font-family: var(--font-family);
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
line-height: 133%;
|
||||
color: #f4f1f0;
|
||||
|
||||
border-radius: 16px;
|
||||
}
|
||||
.product-item-label__tag--new{
|
||||
background: var(--gradient-blue);
|
||||
}
|
||||
.product-item-label__tag--sale{
|
||||
background: var(--gradient-red);
|
||||
}
|
||||
.product-item__product-card{
|
||||
height: 274px;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.product-item__images{
|
||||
height: 242px;
|
||||
object-fit: contain;
|
||||
}
|
||||
.product-item__content-card{
|
||||
padding: 15.5px;
|
||||
}
|
||||
.product-item__title{
|
||||
margin-top: 8px;
|
||||
|
||||
font-family: var(--font-family);
|
||||
font-weight: 500;
|
||||
font-size: 20px;
|
||||
line-height: 120%;
|
||||
color: var(--text-black);
|
||||
}
|
||||
.product-item__title:first-child{
|
||||
margin-top: 0;
|
||||
}
|
||||
.product-item__price{
|
||||
margin-top: 8px;
|
||||
|
||||
font-family: var(--font-family);
|
||||
font-weight: 700;
|
||||
font-size: 20px;
|
||||
line-height: 200%;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-black);
|
||||
}
|
||||
.product-item__price::after{
|
||||
content: '₽';
|
||||
}
|
||||
.product-item__bye{
|
||||
margin-top: 8px;
|
||||
}
|
||||
.product__item.hiding .product-item__images{
|
||||
filter: grayscale(1)
|
||||
}
|
||||
.product__item.hiding .product-item__price{
|
||||
color: var(--text-grey);
|
||||
}
|
||||
.product-item__overlay{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
padding: 24px;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
border-radius: 24px;
|
||||
backdrop-filter: blur(25px);
|
||||
background-color: rgba(242, 242, 242, 0.8);
|
||||
|
||||
z-index: 10;
|
||||
}
|
||||
.product-item-overlay__header{}
|
||||
.product-item-overlay__tags{
|
||||
margin: 4px -6px -6px -6px;
|
||||
|
||||
font-family: var(--font-family);
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
line-height: 133%;
|
||||
color: var(--text-3);
|
||||
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
list-style-type: none;
|
||||
}
|
||||
.product-item-overlay__tags li{
|
||||
margin: 4px 6px;
|
||||
|
||||
position: relative;
|
||||
}
|
||||
.product-item-overlay__tags li:nth-child(n+2)::before{
|
||||
content: '';
|
||||
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
left: -8px;
|
||||
|
||||
width: 4px;
|
||||
aspect-ratio: 1;
|
||||
|
||||
background-color: var(--text-3);
|
||||
border-radius: 50%;
|
||||
}
|
||||
.product-item-overlay__tags li:nth-child(n+2)::after{
|
||||
content: '';
|
||||
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: -8px;
|
||||
|
||||
width: 4px;
|
||||
aspect-ratio: 1;
|
||||
|
||||
background-color: var(--text-3);
|
||||
border-radius: 50%;
|
||||
}
|
||||
.product-item-overlay__tags li:last-child::after,
|
||||
.product-item-overlay__tags li:last-child::before{
|
||||
display: none;
|
||||
}
|
||||
.product-item-overlay__price{
|
||||
margin-top: 32px;
|
||||
|
||||
font-family: var(--font-family);
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
line-height: 100%;
|
||||
text-transform: uppercase;
|
||||
text-align: right;
|
||||
color: var(--text-black);
|
||||
}
|
||||
.product-item-overlay__price::after{
|
||||
content: '₽';
|
||||
}
|
||||
.product-item-overlay__block-button{
|
||||
margin-top: 32px;
|
||||
}
|
||||
.product-item-overlay__button{
|
||||
margin-top: 16px;
|
||||
}
|
||||
.product-item-overlay__button:first-child{
|
||||
margin-top: 0;
|
||||
}
|
||||
.product-item-overlay__input-block{
|
||||
|
||||
}
|
||||
.product-item-overlay__field{
|
||||
margin-top: 24px;
|
||||
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.product-item-overlay__field:first-child{
|
||||
margin-top: 0;
|
||||
}
|
||||
.product-item-overlay-field__title{
|
||||
font-family: var(--font-family);
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
line-height: 125%;
|
||||
color: var(--text-0);
|
||||
}
|
||||
.product-item__form{
|
||||
|
||||
}
|
||||
/* product */
|
||||
|
||||
@media only screen and (max-width: 1600px) {
|
||||
.product__item{
|
||||
margin: 12px;
|
||||
|
||||
width: calc(33.3% - 24px);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user