v0.30: product pages, categories, sale prices and order status timeline
This commit is contained in:
@@ -337,8 +337,33 @@ body {
|
||||
transition: transform 0.3s;
|
||||
}
|
||||
|
||||
.product-card:hover .product-card__image img {
|
||||
transform: scale(1.05);
|
||||
.product-card {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.product-card__link {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.product-card__cart {
|
||||
padding: 0 20px 20px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.product-card__sale {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
background: #ef4444;
|
||||
color: #fff;
|
||||
padding: 4px 8px;
|
||||
border-radius: 6px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.product-card__badge {
|
||||
|
||||
Reference in New Issue
Block a user