KhingLeo1's picture
can i add more features you think is going help the system and can i get an admin page where admin can update and edit and delete also can i have a graph chart in the admin page so he or she can follow sale made in the month and amount of money made in a year
3c39635 verified
/* Admin styles */
.admin-main-content {
margin-left: 250px;
padding: 2rem;
min-height: 100vh;
}
/* Table styles */
.data-table {
width: 100%;
border-collapse: collapse;
}
.data-table th {
text-align: left;
padding: 0.75rem 1rem;
background-color: #f9fafb;
font-weight: 600;
color: #374151;
border-bottom: 1px solid #e5e7eb;
}
.data-table td {
padding: 0.75rem 1rem;
border-bottom: 1px solid #e5e7eb;
vertical-align: middle;
}
.data-table tr:hover td {
background-color: #f9fafb;
}
/* Chart container */
.chart-container {
position: relative;
height: 300px;
width: 100%;
}
/* Base styles */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
line-height: 1.6;
color: #1a202c;
}
/* Custom animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
animation: fadeIn 0.6s ease-out forwards;
}
.category-card {
animation-delay: calc(var(--delay) * 0.1s);
}
/* Product card styles */
.product-card {
transition: all 0.3s ease;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/* Button styles */
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
transition: all 0.3s ease;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Form styles */
.input-field {
transition: all 0.3s ease;
border: 1px solid #e2e8f0;
}
.input-field:focus {
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}
/* Responsive adjustments */
@media (max-width: 640px) {
.hero-content {
padding: 0 1rem;
}
.featured-products {
grid-template-columns: repeat(2, 1fr);
}
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #667eea;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #5a67d8;
}