Files
shopit-front/src/app/shared/components/cart/cart.component.scss

100 lines
1.3 KiB
SCSS

:host {
display: block;
width: 100%;
height: 100%;
}
.cart-header {
padding: 12px 8px 0 24px;
}
.cart-title {
color: #a0a0a0;
font-size: 13px;
letter-spacing: 0.04em;
}
.cart-close-btn {
width: 24px;
height: 24px;
font-size: 14px;
color: #a0a0a0;
}
.cart-header-actions {
gap: 14px;
}
.cart-edit-btn {
color: var(--bs-primary);
font-size: 11px;
font-weight: 500;
text-decoration: none;
}
.cart-items-container {
min-height: 0;
gap: 0;
scrollbar-color: #d5d5d5 transparent;
scrollbar-width: thin;
app-cart-item {
display: block;
}
&::-webkit-scrollbar {
width: 6px;
}
&::-webkit-scrollbar-thumb {
border-radius: 999px;
background-color: #d5d5d5;
}
}
.cart-empty-message {
align-self: center;
margin: 0;
padding: 24px;
color: #a0a0a0;
font-size: 14px;
text-align: center;
}
.cart-footer {
padding: 8px 22px 14px 24px;
}
.cart-summary-text-muted {
color: #a0a0a0;
font-size: 13px;
font-weight: 325;
}
.cart-summary-text-muted-bold {
color: #a0a0a0;
font-size: 13px;
font-weight: 700;
}
.cart-total-text {
color: #666666;
font-size: 15px;
font-weight: 700;
}
.cart-actions {
display: flex;
gap: 12px;
}
@media (max-width: 767.98px) {
.cart-actions {
flex-direction: column;
::ng-deep app-button {
width: 100%;
}
}
}