Co-authored-by: Sharang Parnerkar <parnerkarsharang@gmail.com> Reviewed-on: #1
214 lines
3.7 KiB
CSS
214 lines
3.7 KiB
CSS
/* ===== Fonts ===== */
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
background-color: #0f1116;
|
|
color: #e2e8f0;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: 'Space Grotesk', sans-serif;
|
|
}
|
|
|
|
/* ===== App Shell ===== */
|
|
.app-shell {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* ===== Sidebar ===== */
|
|
.sidebar {
|
|
width: 260px;
|
|
min-width: 260px;
|
|
background-color: #0a0c10;
|
|
border-right: 1px solid #1e222d;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
/* -- Sidebar Header -- */
|
|
.sidebar-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 24px 20px 20px;
|
|
border-bottom: 1px solid #1e222d;
|
|
}
|
|
|
|
.avatar-circle {
|
|
width: 38px;
|
|
height: 38px;
|
|
min-width: 38px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, #91a4d2, #6d85c6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.avatar-initials {
|
|
font-family: 'Space Grotesk', sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #0a0c10;
|
|
}
|
|
|
|
.sidebar-email {
|
|
font-size: 13px;
|
|
color: #8892a8;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* -- Sidebar Navigation -- */
|
|
.sidebar-nav {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 12px 10px;
|
|
gap: 2px;
|
|
}
|
|
|
|
.sidebar-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 14px;
|
|
border-radius: 8px;
|
|
color: #8892a8;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
}
|
|
|
|
.sidebar-link:hover {
|
|
background-color: #1e222d;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.sidebar-link.active {
|
|
background-color: rgba(145, 164, 210, 0.12);
|
|
color: #91a4d2;
|
|
}
|
|
|
|
/* -- Sidebar Logout -- */
|
|
.sidebar-logout {
|
|
padding: 4px 10px;
|
|
border-top: 1px solid #1e222d;
|
|
}
|
|
|
|
.logout-btn {
|
|
color: #8892a8;
|
|
}
|
|
|
|
.logout-btn:hover {
|
|
color: #f87171;
|
|
background-color: rgba(248, 113, 113, 0.08);
|
|
}
|
|
|
|
/* -- Sidebar Footer -- */
|
|
.sidebar-footer {
|
|
padding: 16px 20px;
|
|
border-top: 1px solid #1e222d;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.sidebar-social {
|
|
display: flex;
|
|
gap: 16px;
|
|
}
|
|
|
|
.social-link {
|
|
color: #5a6478;
|
|
transition: color 0.15s ease;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.social-link:hover {
|
|
color: #91a4d2;
|
|
}
|
|
|
|
.sidebar-version {
|
|
font-size: 11px;
|
|
color: #3d4556;
|
|
font-family: 'Inter', monospace;
|
|
}
|
|
|
|
/* ===== Main Content ===== */
|
|
.main-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 40px 48px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* ===== Overview Page ===== */
|
|
.overview-page {
|
|
max-width: 960px;
|
|
}
|
|
|
|
.overview-heading {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #f1f5f9;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
/* ===== Dashboard Grid ===== */
|
|
.dashboard-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.dashboard-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ===== Dashboard Card ===== */
|
|
.dashboard-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 24px;
|
|
background-color: #1e222d;
|
|
border: 1px solid #2a2f3d;
|
|
border-radius: 12px;
|
|
text-decoration: none;
|
|
color: #e2e8f0;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.dashboard-card:hover {
|
|
border-color: #91a4d2;
|
|
box-shadow: 0 0 20px rgba(145, 164, 210, 0.10);
|
|
}
|
|
|
|
.card-icon {
|
|
color: #91a4d2;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #f1f5f9;
|
|
margin: 0;
|
|
}
|
|
|
|
.card-description {
|
|
font-size: 14px;
|
|
color: #8892a8;
|
|
margin: 0;
|
|
}
|