parent
2f8042ea60
commit
a56660f5fd
@ -0,0 +1,91 @@ |
||||
.modal__aside { |
||||
position: fixed; |
||||
top: 0; |
||||
right: 0; |
||||
height: 100%; |
||||
transform: translateX(100%); /* Изначально скрыто справа */ |
||||
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; |
||||
background: white; /* Или твой стиль фона */ |
||||
z-index: 1000; |
||||
} |
||||
|
||||
.modal__aside.active { |
||||
transform: translateX(0); /* Показываем, сдвигая влево */ |
||||
} |
||||
|
||||
.modal__item { |
||||
opacity: 0; |
||||
filter: blur(10px); |
||||
transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out; |
||||
} |
||||
|
||||
.modal__item.active { |
||||
opacity: 1; |
||||
filter: blur(0); |
||||
} |
||||
|
||||
@media (max-width: 720px) { |
||||
.modal__aside { |
||||
width: 100% !important; /* Полная ширина на мобильных */ |
||||
} |
||||
} |
||||
|
||||
@media (min-width: 721px) { |
||||
.modal__aside { |
||||
width: 400px; /* Минимальная ширина или твоя фиксированная ширина */ |
||||
} |
||||
} |
||||
|
||||
@media(max-width:768px){ |
||||
.footer-top { |
||||
flex-direction: column; |
||||
} |
||||
.footer-bottom { |
||||
flex-direction: column; |
||||
} |
||||
.footer-content__wrap { |
||||
flex-direction: column; |
||||
} |
||||
.home__title.invisible { |
||||
font-size:28px; |
||||
} |
||||
.home .container { |
||||
padding: 0px 30px 180px!important; |
||||
} |
||||
.container { |
||||
max-width: 100%!important; |
||||
margin: 0!important; |
||||
} |
||||
.about_slider .carousel .carousel-item { |
||||
border-radius: 100% !important; |
||||
} |
||||
.about_slider .carousel .carousel-item img { |
||||
width: 99px!important; |
||||
height: 99px!important; |
||||
} |
||||
.reviews_block .reviews_items { |
||||
flex-wrap: unset; |
||||
gap: 20px!important; |
||||
} |
||||
.gift_line-img { |
||||
display: none!important; |
||||
} |
||||
.discount__sale .discount_text { |
||||
order: 1; |
||||
margin-top: 0; |
||||
font-size: 18px!important; |
||||
color: var(--interface-main_black, #121212); |
||||
font-family: "Craftwork Grotesk"; |
||||
font-style: normal; |
||||
font-weight: 500; |
||||
line-height: normal; |
||||
max-width: 100%; |
||||
} |
||||
.discount__sale .discount_form { |
||||
flex-direction: column; |
||||
gap: 21px!important; |
||||
} |
||||
.modal__basket { |
||||
width: 100%!important; |
||||
} |
||||
} |
Loading…
Reference in new issue