151 lines
3.3 KiB
CSS
151 lines
3.3 KiB
CSS
@import '@mantine/core/styles.css';
|
|
@import '@mantine/charts/styles.css';
|
|
:root {
|
|
--font-inter: 'Inter', system-ui, -apple-system, sans-serif;
|
|
|
|
/* Monitoring System Colors */
|
|
--blue-primary: #2563EB;
|
|
--purple-primary: #7C3AED;
|
|
--gradient-blue-purple: linear-gradient(135deg, var(--blue-primary) 0%, var(--purple-primary) 100%);
|
|
|
|
/* Backgrounds & Cards (Light Mode) */
|
|
--bg-light: #F8FAFC;
|
|
--card-light: #FFFFFF;
|
|
|
|
/* Backgrounds & Cards (Dark Mode) */
|
|
--bg-dark: #0F172A;
|
|
--card-dark: #1E293B;
|
|
|
|
/* Transitions */
|
|
--transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
/* Base Resets */
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
font-family: var(--font-inter);
|
|
/* background-color handled by Mantine */
|
|
color: var(--mantine-color-text);
|
|
}
|
|
|
|
body {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Custom Scrollbars */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(124, 58, 237, 0.2);
|
|
border-radius: 10px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(124, 58, 237, 0.4);
|
|
}
|
|
|
|
/* Premium Dashboard Utilities */
|
|
.glass {
|
|
background: var(--mantine-color-default);
|
|
backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(128, 128, 128, 0.1);
|
|
border-radius: 24px; /* XL rounding for cards */
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.gradient-text {
|
|
background: var(--gradient-blue-purple);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.gradient-bg {
|
|
background: var(--gradient-blue-purple);
|
|
}
|
|
|
|
.premium-card {
|
|
transition: var(--transition-smooth);
|
|
}
|
|
.premium-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 24px -10px rgba(124, 58, 237, 0.3);
|
|
}
|
|
|
|
.sidebar-nav-item {
|
|
position: relative;
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.sidebar-nav-item.active {
|
|
background: var(--gradient-blue-purple);
|
|
color: white;
|
|
}
|
|
|
|
/* Responsive Table */
|
|
.data-table {
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.data-table thead th {
|
|
background: rgba(124, 58, 237, 0.05);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
font-size: 11px;
|
|
letter-spacing: 0.05em;
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.data-table tbody tr {
|
|
transition: var(--transition-smooth);
|
|
}
|
|
.data-table tbody tr:hover {
|
|
background: rgba(124, 58, 237, 0.03);
|
|
}
|
|
|
|
/* Village Cards */
|
|
.village-card {
|
|
transition: var(--transition-smooth);
|
|
background: var(--mantine-color-body);
|
|
border-color: rgba(128, 128, 128, 0.12) !important;
|
|
}
|
|
.village-card:hover {
|
|
transform: translateY(-6px);
|
|
box-shadow: 0 16px 32px -12px rgba(37, 99, 235, 0.25);
|
|
border-color: rgba(37, 99, 235, 0.3) !important;
|
|
}
|
|
|
|
.village-list-row {
|
|
transition: var(--transition-smooth);
|
|
background: var(--mantine-color-body);
|
|
border-color: rgba(128, 128, 128, 0.12) !important;
|
|
}
|
|
.village-list-row:hover {
|
|
transform: translateX(4px);
|
|
box-shadow: 0 4px 16px -6px rgba(37, 99, 235, 0.2);
|
|
border-color: rgba(37, 99, 235, 0.3) !important;
|
|
}
|
|
|
|
/* Village Detail Page Grid */
|
|
.village-detail-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
align-items: start;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.village-detail-grid {
|
|
grid-template-columns: 3fr 1fr;
|
|
}
|
|
}
|