сделал подписку + js
This commit is contained in:
@@ -2253,4 +2253,75 @@ button{
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.subscription{
|
||||
|
||||
}
|
||||
.subscription__item{
|
||||
display: flex;
|
||||
|
||||
color: var(--text-black);
|
||||
font-family: var(--font-family);
|
||||
font-weight: 500;
|
||||
line-height: 120%;
|
||||
}
|
||||
.subscription__item:nth-last-child(n + 2){
|
||||
border-bottom: 1px solid var(--background-9);
|
||||
}
|
||||
.subscription__item span{
|
||||
font-weight: 700;
|
||||
}
|
||||
.subscription__item span small{
|
||||
font-size: 16px;
|
||||
}
|
||||
.subscription__status{
|
||||
color: var(--text-black);
|
||||
}
|
||||
.subscription__status--close{
|
||||
color: var(--text-red);
|
||||
}
|
||||
.subscription__status--end{
|
||||
color: var(--text-green);
|
||||
}
|
||||
.subscription__toggle{
|
||||
width: 100%;
|
||||
}
|
||||
.subscription__toggle-header{
|
||||
|
||||
}
|
||||
.subscription__toggle-product{
|
||||
align-items: start;
|
||||
}
|
||||
.subscription__toggle-product > *:not(:first-child){
|
||||
padding-top: 14px;
|
||||
}
|
||||
.subscription__toggle-title{
|
||||
font-family: var(--font-family);
|
||||
font-weight: 600;
|
||||
line-height: 133%;
|
||||
}
|
||||
.subscription__toggle-wrapper{
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
transition: all .3s;
|
||||
}
|
||||
.subscription__toggle-content{
|
||||
|
||||
}
|
||||
|
||||
.tabs__buttons{
|
||||
margin: -12px;
|
||||
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.tabs__content-wrap{
|
||||
margin-top: 24px;
|
||||
}
|
||||
.tabs__content{
|
||||
display: none;
|
||||
}
|
||||
.tabs__content.active{
|
||||
display: block;
|
||||
}
|
||||
@@ -248,7 +248,6 @@
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
line-height: 125%;
|
||||
color: #121212;
|
||||
color: var(--text-black);
|
||||
|
||||
text-decoration: none;
|
||||
@@ -892,7 +891,6 @@ main{
|
||||
font-size: 36px;
|
||||
line-height: 111%;
|
||||
text-transform: uppercase;
|
||||
color: #121212;
|
||||
}
|
||||
.detail-block-price__price::after{
|
||||
content: '₽';
|
||||
@@ -1947,13 +1945,53 @@ main{
|
||||
|
||||
}
|
||||
|
||||
.subscription{
|
||||
margin-top: 12px;
|
||||
}
|
||||
.subscription__item{
|
||||
padding: 12px 0;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.subscription__item{
|
||||
font-size: 20px;
|
||||
}
|
||||
.subscription__toggle{
|
||||
color: var(--text-black);
|
||||
}
|
||||
.subscription__toggle-header{
|
||||
|
||||
}
|
||||
.subscription__toggle-title{
|
||||
font-size: 24px;
|
||||
}
|
||||
.subscription__toggle-wrapper{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Стили для лептопов */
|
||||
/* @media only screen and (min-width: 992px) and (max-width: 1400px) {
|
||||
|
||||
} */
|
||||
}
|
||||
.subscription__toggle-content{
|
||||
padding: 24px 0 12px 0;
|
||||
}
|
||||
.subscription__toggle-product{
|
||||
align-items: start;
|
||||
}
|
||||
.subscription__toggle-product > *:nth-child(3){
|
||||
margin-left: auto;
|
||||
align-items: center;
|
||||
}
|
||||
.subscription__toggle .cabinet-card-order-detail-main-product-description__what {
|
||||
font-size: 16px;
|
||||
line-height: 125%;
|
||||
}
|
||||
.subscription__toggle .cabinet-card-order-detail-main-product-description__with-what {
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
}
|
||||
.subscription__toggle .cabinet-card-order-detail-main-product__count{
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
line-height: 100%;
|
||||
}
|
||||
.subscription__toggle .cabinet-card-order-detail-main-product__price{
|
||||
font-weight: 500;
|
||||
font-size: 20px;
|
||||
line-height: 120%;
|
||||
}
|
||||
Reference in New Issue
Block a user