overlay js + css правки

This commit is contained in:
Kirill Pet
2024-10-08 23:17:45 +03:00
parent 7beff60d00
commit db58f5c463
4 changed files with 114 additions and 7 deletions

View File

@@ -807,8 +807,6 @@ button{
opacity: 0;
transition: opacity .2s ease-out;
pointer-events: none;
white-space: nowrap;
}
.modal.active{
opacity: 1;

View File

@@ -326,6 +326,8 @@
background-color: var(--background-grey);
border-radius: 24px;
overflow: hidden;
position: relative;
}
.product__item::before{
@@ -349,6 +351,9 @@
.product__item:hover::before{
opacity: 1;
}
.product__item.active::before{
opacity: 0;
}
.product-item__block-label{
position: absolute;
top: 16px;
@@ -449,7 +454,7 @@
}
.product-item__overlay{
position: absolute;
top: 0;
top: 100%;
left: 0;
width: 100%;
@@ -466,6 +471,11 @@
background-color: rgba(242, 242, 242, 0.8);
z-index: 10;
transition: top .4s ease-out;
}
.product-item__overlay.active{
top: 0;
}
.product-item-overlay__header{}
.product-item-overlay__tags{