Ohm1998's picture
dude i want to create website that has login screen like this https://ohmasadataanalyst.github.io/SC-dashboard/login/ oncethe user login it opens a page of sidebar excatly like the one in this code
fb766c5 verified
/* Custom styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary: #f97316;
--primary-light: #fb923c;
--bg-dark: #1f2937;
--bg-content: #111827;
--text-primary: #f9fafb;
--text-secondary: #d1d5db;
}
body {
font-family: 'Inter', sans-serif;
background-color: white;
color: #1f2937;
}
/* Orange theme overrides */
.sidebar-nav a.active {
background-color: var(--primary) !important;
color: white !important;
}
.kpi-card-detailed {
background: white;
border: 1px solid #e5e7eb;
}
.kpi-card-detailed:hover {
border-color: var(--primary);
}
.btn-primary {
background-color: var(--primary);
border-color: var(--primary);
}
.btn-primary:hover {
background-color: var(--primary-light);
border-color: var(--primary-light);
}
/* PDF Upload Section */
.pdf-upload-section {
background: white;
border-radius: 12px;
padding: 2rem;
margin-bottom: 2rem;
border: 1px solid #e5e7eb;
}
.pdf-upload-form {
display: flex;
flex-direction: column;
gap: 1rem;
}
.pdf-viewer {
width: 100%;
height: 500px;
border: 1px solid #e5e7eb;
border-radius: 8px;
margin-top: 2rem;
}
/* Trend Chart */
.trend-chart-container {
margin-top: 2rem;
padding: 1rem;
background: white;
border-radius: 8px;
border: 1px solid #e5e7eb;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
/* Animation for cards */
.card-hover {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}