105 lines
2.0 KiB
CSS
105 lines
2.0 KiB
CSS
:root {
|
|
--primary-color: #0f172a;
|
|
--accent-color: #10b981;
|
|
--bg-light: #f8fafc;
|
|
--sidebar-width: 260px;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
background-color: var(--bg-light);
|
|
color: #334155;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.wrapper {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: stretch;
|
|
}
|
|
|
|
#sidebar {
|
|
min-width: var(--sidebar-width);
|
|
max-width: var(--sidebar-width);
|
|
min-height: 100vh;
|
|
transition: all 0.3s;
|
|
background-color: var(--primary-color) !important;
|
|
}
|
|
|
|
#sidebar.active {
|
|
margin-left: calc(-1 * var(--sidebar-width));
|
|
}
|
|
|
|
#sidebar .nav-link {
|
|
font-size: 0.9rem;
|
|
color: rgba(255, 255, 255, 0.7) !important;
|
|
margin-bottom: 5px;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
#sidebar .nav-link:hover, #sidebar .active .nav-link {
|
|
color: #fff !important;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
#content {
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.navbar {
|
|
background-color: #fff;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.stats-card {
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.stats-card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.icon-box {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.bg-soft-success { background-color: #ecfdf5; }
|
|
.bg-soft-primary { background-color: #eff6ff; }
|
|
.bg-soft-info { background-color: #ecfeff; }
|
|
.bg-soft-warning { background-color: #fffbeb; }
|
|
|
|
.table thead th {
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.025em;
|
|
font-weight: 600;
|
|
color: #64748b;
|
|
border-bottom-width: 1px;
|
|
}
|
|
|
|
.btn {
|
|
font-weight: 500;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.card {
|
|
border-radius: 12px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
#sidebar {
|
|
margin-left: calc(-1 * var(--sidebar-width));
|
|
}
|
|
#sidebar.active {
|
|
margin-left: 0;
|
|
}
|
|
} |