Dodawanie do porównania

This commit is contained in:
2025-11-13 15:21:46 +01:00
parent c1659c211a
commit dbb87f8356
3 changed files with 115 additions and 21 deletions

View File

@@ -139,10 +139,37 @@
}
.product__favorite{
display: block;
color: #111;
&::before{
content: '\E86D';
font-family: FontAwesome;
font-size: 2.6rem;
// font-size: 2.6rem;
font-size: 3rem;
height: 2.9rem;
}
&:hover{
opacity: 0.6;
}
}
.idm-products-banner__compare-btn{
.idm-products-banner__compare-icon{
height: 100%;
}
&.--success {
svg {
display: none;
}
&::before {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M10.0516 18.5L4.35156 12.8L5.77656 11.375L10.0516 15.65L19.2266 6.475L20.6516 7.9L10.0516 18.5Z' fill='%23009263'/%3E%3C/svg%3E");
width: 3rem;
height: 3rem;
}
}
&.--loading:not(.--success) { }
&:not(.--success):hover {
opacity: 0.6;
}
}