144 lines
2.8 KiB
CSS
144 lines
2.8 KiB
CSS
/* AGRO LINK CENTER Custom Styles */
|
|
|
|
:root {
|
|
--agro-primary: #2E7D32; /* Deep Green */
|
|
--agro-secondary: #81C784; /* Light Green */
|
|
--agro-accent: #FFC107; /* Amber for highlights */
|
|
--agro-bg: #F8F9FA;
|
|
--agro-text: #1C1C1E;
|
|
--sidebar-width: 260px;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Roboto', sans-serif;
|
|
background-color: var(--agro-bg);
|
|
color: var(--agro-text);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: 'Inter', sans-serif;
|
|
font-weight: 600;
|
|
color: #1b4d20;
|
|
}
|
|
|
|
/* Sidebar */
|
|
.sidebar {
|
|
width: var(--sidebar-width);
|
|
background: white;
|
|
height: 100vh;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
border-right: 1px solid #e0e0e0;
|
|
z-index: 1000;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sidebar-brand {
|
|
padding: 1.5rem;
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--agro-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.sidebar-brand i {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.nav-link {
|
|
color: #555;
|
|
padding: 0.8rem 1.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
transition: all 0.2s;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.nav-link:hover, .nav-link.active {
|
|
background-color: #e8f5e9;
|
|
color: var(--agro-primary);
|
|
border-right: 3px solid var(--agro-primary);
|
|
}
|
|
|
|
.nav-link i {
|
|
width: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Main Content */
|
|
.main-content {
|
|
margin-left: var(--sidebar-width);
|
|
padding: 2rem;
|
|
}
|
|
|
|
/* Cards */
|
|
.stat-card {
|
|
background: white;
|
|
border: none;
|
|
border-radius: 12px;
|
|
box-shadow: 0 2px 12px rgba(0,0,0,0.04);
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.stat-card:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.stat-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.bg-light-green { background-color: #E8F5E9; color: var(--agro-primary); }
|
|
.bg-light-blue { background-color: #E3F2FD; color: #1976D2; }
|
|
.bg-light-orange { background-color: #FFF3E0; color: #F57C00; }
|
|
|
|
/* Table */
|
|
.table-custom th {
|
|
background-color: #f9fafb;
|
|
font-weight: 600;
|
|
color: #666;
|
|
border-top: none;
|
|
}
|
|
|
|
.table-custom td {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.badge-status {
|
|
padding: 0.4em 0.8em;
|
|
border-radius: 20px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
.badge-active { background-color: #E8F5E9; color: #2E7D32; }
|
|
.badge-pending { background-color: #FFF3E0; color: #EF6C00; }
|
|
.badge-suspended { background-color: #FFEBEE; color: #C62828; }
|
|
|
|
/* Button */
|
|
.btn-primary {
|
|
background-color: var(--agro-primary);
|
|
border-color: var(--agro-primary);
|
|
}
|
|
.btn-primary:hover {
|
|
background-color: #1b4d20;
|
|
border-color: #1b4d20;
|
|
}
|
|
|
|
/* Mobile responsive */
|
|
@media (max-width: 768px) {
|
|
.sidebar { transform: translateX(-100%); transition: transform 0.3s; }
|
|
.main-content { margin-left: 0; }
|
|
.sidebar.show { transform: translateX(0); }
|
|
} |