35888-vm/assets/css/custom.css
2025-11-20 22:00:34 +00:00

131 lines
2.3 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
:root {
--primary-color: #6cc24a;
--secondary-color: #2c3e50;
--sidebar-width: 280px;
}
body {
font-family: 'Poppins', sans-serif;
background-color: #f0f2f5;
color: #495057;
}
.sidebar {
position: fixed;
top: 0;
left: 0;
height: 100%;
width: var(--sidebar-width);
background-color: var(--secondary-color);
padding-top: 1rem;
transition: all 0.3s;
}
.sidebar .nav-link {
color: #adb5bd;
font-weight: 500;
padding: 0.75rem 1.5rem;
display: flex;
align-items: center;
}
.sidebar .nav-link i {
margin-right: 0.75rem;
font-size: 1.1rem;
width: 20px;
text-align: center;
}
.sidebar .nav-link:hover, .sidebar .nav-link.active {
color: #fff;
background-color: rgba(255, 255, 255, 0.05);
}
.sidebar .navbar-brand {
color: #fff !important;
font-weight: 700;
padding: 0.5rem 1.5rem;
font-size: 1.5rem;
margin-bottom: 1rem;
}
.main-content {
margin-left: var(--sidebar-width);
padding: 2rem;
transition: all 0.3s;
}
.top-navbar {
background-color: #fff;
border-radius: 0.5rem;
margin-bottom: 2rem;
padding: 0.75rem 1.5rem;
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.kpi-card {
border: none;
border-radius: 0.75rem;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
margin-bottom: 2rem;
}
.kpi-card .card-body {
display: flex;
align-items: center;
}
.kpi-card .kpi-icon {
font-size: 2.5rem;
padding: 1rem;
border-radius: 50%;
margin-right: 1.5rem;
color: #fff;
}
.kpi-card .kpi-value {
font-size: 2rem;
font-weight: 700;
}
.kpi-card .kpi-label {
font-weight: 500;
color: #6c757d;
}
.card {
border-radius: 0.75rem;
border: none;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.btn-primary {
background-color: var(--primary-color);
border-color: var(--primary-color);
padding: 0.5rem 1.5rem;
font-weight: 600;
}
.btn-primary:hover {
background-color: #58a83a;
border-color: #58a83a;
}
.table thead th {
border-bottom: 2px solid #dee2e6;
font-weight: 600;
}
.table-hover tbody tr:hover {
background-color: #f8f9fa;
}
.modal-header {
border-bottom: none;
}
.modal-footer {
border-top: none;
}