136 lines
2.0 KiB
CSS
136 lines
2.0 KiB
CSS
.cart-overview {
|
|
padding: 8px 4px;
|
|
}
|
|
|
|
.cart-summary {
|
|
background-color: #f7f9fc;
|
|
border-radius: 6px;
|
|
padding: 12px;
|
|
margin-bottom: 16px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.count-info {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.food-count, .drink-count {
|
|
font-weight: 500;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.total-price {
|
|
font-weight: bold;
|
|
font-size: 1.1rem;
|
|
text-align: center;
|
|
margin-top: 8px;
|
|
color: #2c7be5;
|
|
}
|
|
|
|
.cart-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.calculate-change-button, .clear-cart-button {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.calculate-change-button {
|
|
background-color: #2c7be5;
|
|
color: white;
|
|
}
|
|
|
|
.clear-cart-button {
|
|
background-color: #ff5252;
|
|
color: white;
|
|
}
|
|
|
|
.calculate-change-button:active {
|
|
background-color: #1b5eb5;
|
|
}
|
|
|
|
.clear-cart-button:active {
|
|
background-color: #e53935;
|
|
}
|
|
|
|
.cart-items {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.cart-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: #f7f9fc;
|
|
padding: 12px;
|
|
border-radius: 6px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.item-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
flex: 1;
|
|
}
|
|
|
|
.item-name {
|
|
font-weight: 500;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.item-option {
|
|
font-size: 0.85rem;
|
|
color: #666;
|
|
}
|
|
|
|
.item-price {
|
|
font-weight: bold;
|
|
color: #2c7be5;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.item-quantity {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.item-quantity button {
|
|
width: 26px;
|
|
height: 26px;
|
|
border: none;
|
|
border-radius: 50%;
|
|
background-color: #2c7be5;
|
|
color: white;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.item-quantity button:active {
|
|
background-color: #1b5eb5;
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.empty-cart {
|
|
text-align: center;
|
|
padding: 20px;
|
|
color: #888;
|
|
font-style: italic;
|
|
font-size: 0.9rem;
|
|
}
|