188 lines
3.5 KiB
CSS
188 lines
3.5 KiB
CSS
.admin-container {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 280px;
|
|
background: hsla(222, 47%, 10%, 0.85);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border-right: 1px solid var(--border-color);
|
|
padding: 40px 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 40px;
|
|
}
|
|
|
|
.brand {
|
|
font-size: 1.7rem;
|
|
font-weight: 800;
|
|
background: var(--primary-gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.nav-menu {
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.nav-item a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 14px 20px;
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
font-size: 0.95rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-item a:hover, .nav-item.active a {
|
|
color: var(--text-main);
|
|
background: hsla(217, 32%, 18%, 0.6);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.top-bar {
|
|
height: 80px;
|
|
background: hsla(222, 47%, 8%, 0.4);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
border-bottom: 1px solid var(--border-color);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 40px;
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.avatar {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 50%;
|
|
background: var(--primary-gradient);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
|
|
font-family: 'Outfit', sans-serif;
|
|
}
|
|
|
|
.content-body {
|
|
flex: 1;
|
|
padding: 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 40px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.dashboard-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.dashboard-header h1 {
|
|
font-size: 2.4rem;
|
|
font-weight: 700;
|
|
background: linear-gradient(135deg, #fff 60%, hsl(215, 20%, 75%));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.dashboard-header p {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Metric Cards Grid */
|
|
.metrics-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.metric-card {
|
|
padding: 28px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.metric-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 4px;
|
|
height: 100%;
|
|
background: var(--primary-gradient);
|
|
}
|
|
|
|
.metric-title {
|
|
font-size: 0.85rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.metric-value {
|
|
font-size: 2.2rem;
|
|
font-weight: 700;
|
|
color: var(--text-main);
|
|
font-family: 'Outfit', sans-serif;
|
|
}
|
|
|
|
.metric-footer {
|
|
font-size: 0.8rem;
|
|
color: var(--success);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* Charts Grid */
|
|
.charts-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.chart-card {
|
|
padding: 28px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
min-height: 320px;
|
|
}
|
|
|
|
.chart-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: var(--text-main);
|
|
}
|