38457-vm/assets/css/custom.css
Flatlogic Bot 4e3818aac9 SiWarga
2026-02-15 18:49:39 +00:00

120 lines
2.2 KiB
CSS

:root {
--primary-color: #0f172a;
--secondary-color: #3b82f6;
--bg-color: #f8fafc;
--surface-color: #ffffff;
--border-color: #e2e8f0;
--text-main: #1e293b;
--text-muted: #64748b;
}
body {
font-family: 'Inter', -apple-system, sans-serif;
background-color: var(--bg-color);
color: var(--text-main);
margin: 0;
padding: 0;
}
.sidebar {
width: 260px;
height: 100vh;
background-color: var(--primary-color);
color: white;
position: fixed;
left: 0;
top: 0;
padding: 1.5rem;
z-index: 1000;
}
.sidebar-brand {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 2rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.nav-link {
color: #94a3b8;
padding: 0.75rem 1rem;
border-radius: 0.375rem;
display: flex;
align-items: center;
gap: 0.75rem;
text-decoration: none;
transition: all 0.2s;
margin-bottom: 0.25rem;
}
.nav-link:hover, .nav-link.active {
background-color: rgba(255, 255, 255, 0.1);
color: white;
}
.main-content {
margin-left: 260px;
padding: 2rem;
}
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}
.card {
background-color: var(--surface-color);
border: 1px solid var(--border-color);
border-radius: 0.375rem;
padding: 1.5rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.btn-primary {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
padding: 0.5rem 1.25rem;
font-weight: 500;
}
.table thead th {
background-color: #f1f5f9;
font-weight: 600;
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.05em;
color: var(--text-muted);
border-bottom-width: 1px;
}
.stats-card {
display: flex;
flex-direction: column;
}
.stats-card .label {
font-size: 0.875rem;
color: var(--text-muted);
margin-bottom: 0.5rem;
}
.last-child-no-border:last-child {
border-bottom: none !important;
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}
.user-profile {
padding: 0.5rem;
border-radius: 2rem;
transition: background-color 0.2s;
}
.user-profile:hover {
background-color: #f1f5f9;
}