You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
aliseptik/local/templates/.default/css/custom.css

184 lines
3.2 KiB

.footer-items {
display: flex;
flex-direction: column;
row-gap: 60px;
}
.cart-page--empty .cart-page__quantity,
.cart-page--empty .cart-page__content-wrapper {
display: none;
}
.cart-page--empty .cart-empty{
display: flex !important;
}
.cart-page__item-quantity {
padding: 0;
width: 79px;
height: 39px;
display: flex;
text-align: center;
border: 0;
}
.header__basket {
display: flex;
}
.button[disabled] {
opacity: .5;
pointer-events: none;
}
.button.is-loading {
position: relative;
}
.button.is-loading::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 1em;
height: 1em;
margin-top: -0.5em;
margin-left: -0.5em;
border: 2px solid transparent;
border-top-color: #097359;
border-radius: 50%;
animation: spin 0.6s linear infinite;
z-index: 1;
}
.cart-toast-container {
position: fixed;
top: 20px;
right: 20px;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 10px;
}
.cart-toast {
color: #fff;
padding: 12px 16px;
border-radius: 8px;
min-width: 220px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
position: relative;
opacity: 0;
transform: translateY(-10px);
transition: opacity 0.3s ease, transform 0.3s ease;
overflow: hidden;
}
.cart-toast.show {
opacity: 1;
transform: translateY(0);
}
.cart-toast__progress {
position: absolute;
bottom: 0;
left: 0;
height: 3px;
background: #fff;
width: 0;
animation: toast-progress 3s linear forwards;
}
.cart-toast--success {
background-color: #097359;
}
.cart-toast--error {
background-color: #d32f2f;
}
.cart--loading {
position: relative;
}
.cart--loading::before {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
background-color: rgba(255,255,255, .7);
}
.cart--loading::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 1em;
height: 1em;
margin-top: -0.5em;
margin-left: -0.5em;
border: 2px solid transparent;
border-top-color: #097359;
border-radius: 50%;
animation: spin 0.6s linear infinite;
z-index: 1;
}
.product-tabs__data-item--docs .product-tabs__data-items {
display: flex;
flex-direction: column;
row-gap: 30px;
}
.rating--0::before {
width: 0;
}
.rating--0::after {
width: 94px;
}
@keyframes toast-progress {
from {
width: 0;
}
to {
width: 100%;
}
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@media (max-width: 1366px) {
.footer__bottom {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 744px) {
.footer-items {
row-gap: 40px;
}
}
@media (max-width: 540px) {
.footer-items {
row-gap: 20px;
}
.cart-popup {
max-width: 100%;
height: 100%;
}
.cart-popup__form label {
max-width: 100%;
}
}