166 lines
3.0 KiB
CSS
166 lines
3.0 KiB
CSS
:root {
|
|
--primary-color: #1A1A1A;
|
|
--accent-color: #E63946;
|
|
--secondary-bg: #F5F5F5;
|
|
--text-primary: #1A1A1A;
|
|
--text-secondary: #666666;
|
|
--white: #FFFFFF;
|
|
--border-radius: 8px;
|
|
--shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
background-color: var(--secondary-bg);
|
|
color: var(--text-primary);
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.navbar {
|
|
background-color: var(--white);
|
|
border-bottom: 1px solid #EAEAEA;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.brand-logo {
|
|
font-weight: 700;
|
|
font-size: 1.5rem;
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.menu-category-title {
|
|
font-weight: 700;
|
|
margin: 2rem 0 1rem;
|
|
font-size: 1.25rem;
|
|
border-bottom: 2px solid var(--accent-color);
|
|
display: inline-block;
|
|
}
|
|
|
|
.product-card {
|
|
background: var(--white);
|
|
border-radius: var(--border-radius);
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow);
|
|
transition: transform 0.2s ease;
|
|
border: 1px solid #EAEAEA;
|
|
height: 100%;
|
|
}
|
|
|
|
.product-card:hover {
|
|
transform: translateY(-4px);
|
|
}
|
|
|
|
.product-image {
|
|
width: 100%;
|
|
height: 180px;
|
|
background-color: #EEEEEE;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.product-info {
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.product-name {
|
|
font-weight: 600;
|
|
font-size: 1.1rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.product-desc {
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
margin-bottom: 1rem;
|
|
min-height: 3rem;
|
|
}
|
|
|
|
.product-price {
|
|
font-weight: 700;
|
|
color: var(--accent-color);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.btn-add {
|
|
background-color: var(--primary-color);
|
|
color: var(--white);
|
|
border-radius: var(--border-radius);
|
|
padding: 0.5rem 1rem;
|
|
font-weight: 600;
|
|
border: none;
|
|
}
|
|
|
|
.btn-add:hover {
|
|
background-color: #333333;
|
|
}
|
|
|
|
.cart-sidebar {
|
|
background: var(--white);
|
|
height: 100vh;
|
|
position: sticky;
|
|
top: 0;
|
|
border-left: 1px solid #EAEAEA;
|
|
padding: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.cart-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 1rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid #EEEEEE;
|
|
}
|
|
|
|
.cart-item-name {
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.cart-item-price {
|
|
font-weight: 700;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.cart-total {
|
|
margin-top: auto;
|
|
padding-top: 1rem;
|
|
border-top: 2px solid var(--primary-color);
|
|
font-weight: 700;
|
|
font-size: 1.25rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.order-badge {
|
|
background: var(--accent-color);
|
|
color: white;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Admin Styles */
|
|
.admin-table-container {
|
|
background: var(--white);
|
|
border-radius: var(--border-radius);
|
|
box-shadow: var(--shadow);
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.status-pending { color: #FFA500; font-weight: 600; }
|
|
.status-preparing { color: #007BFF; font-weight: 600; }
|
|
.status-ready { color: #28A745; font-weight: 600; }
|
|
|
|
.toast-container {
|
|
position: fixed;
|
|
bottom: 2rem;
|
|
right: 2rem;
|
|
z-index: 1050;
|
|
}
|