115 lines
2.1 KiB
CSS
115 lines
2.1 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
|
|
|
|
:root {
|
|
--sidebar-width: 240px;
|
|
--sidebar-bg: #ffffff;
|
|
--main-bg: #f8f9fa;
|
|
--border-color: #dee2e6;
|
|
--text-main: #212529;
|
|
--accent: #0d6efd;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
|
background-color: var(--main-bg);
|
|
color: var(--text-main);
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Layout */
|
|
#wrapper {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: stretch;
|
|
}
|
|
|
|
#sidebar {
|
|
min-width: var(--sidebar-width);
|
|
max-width: var(--sidebar-width);
|
|
background: var(--sidebar-bg);
|
|
border-right: 1px solid var(--border-color);
|
|
transition: all 0.3s;
|
|
height: 100vh;
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
#content {
|
|
width: 100%;
|
|
padding: 20px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Sidebar Styling */
|
|
.sidebar-header {
|
|
padding: 20px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
font-weight: 600;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.sidebar-menu {
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.sidebar-menu a {
|
|
padding: 10px 20px;
|
|
display: block;
|
|
color: var(--text-main);
|
|
text-decoration: none;
|
|
font-size: 0.9rem;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.sidebar-menu a:hover, .sidebar-menu a.active {
|
|
background: #f0f2f5;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.sidebar-menu a i {
|
|
margin-right: 10px;
|
|
width: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Dashboard Cards */
|
|
.card {
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
box-shadow: none;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.card-header {
|
|
background: #ffffff;
|
|
border-bottom: 1px solid var(--border-color);
|
|
font-weight: 500;
|
|
padding: 12px 15px;
|
|
}
|
|
|
|
/* Utilities */
|
|
.btn {
|
|
border-radius: 4px;
|
|
font-weight: 500;
|
|
font-size: 0.875rem;
|
|
padding: 8px 16px;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--text-main);
|
|
border-color: var(--text-main);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #000;
|
|
border-color: #000;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
#sidebar {
|
|
margin-left: calc(-1 * var(--sidebar-width));
|
|
}
|
|
#sidebar.active {
|
|
margin-left: 0;
|
|
}
|
|
} |