feat: implement cart overlay and dropdown with styling for improved user experience

This commit is contained in:
2026-07-02 09:59:24 -03:00
parent 5ac6704300
commit f2cc42e0cc
8 changed files with 146 additions and 7 deletions

View File

@@ -22,8 +22,16 @@
.cart-item-media {
width: var(--item-media-width);
height: var(--item-media-height);
border-radius: 6px 0 0 6px;
background-color: #d9d9d9;
border-radius: 6px;
background-color: #ffffff;
border: 1px solid #eaeaea;
overflow: hidden;
img {
width: 100%;
height: 100%;
object-fit: contain;
}
}
.cart-item-discount-badge {

View File

@@ -38,6 +38,10 @@
<span class="cart-total-text">TOTAL:</span>
<span class="cart-total-text">{{ formattedTotal() }}</span>
</div>
<div class="cart-actions mt-3">
<ng-content />
</div>
</footer>
</section>

View File

@@ -1,7 +1,6 @@
:host {
display: block;
width: 100%;
max-width: 370px;
height: 100%;
}
@@ -59,3 +58,8 @@
font-size: 15px;
font-weight: 700;
}
.cart-actions {
display: flex;
gap: 12px;
}