Files
2026-07-30 16:26:21 +02:00

184 lines
3.0 KiB
CSS

body {
background-color: #f5f6fa;
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.admin-sidebar {
position: fixed;
top: 0;
left: 0;
width: 240px;
min-height: 100vh;
z-index: 1030;
display: flex;
flex-direction: column;
color: #fff;
}
.sidebar-header {
padding: 1.25rem 1rem;
font-weight: 600;
font-size: 1.1rem;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-nav {
flex: 1;
padding: 0.75rem 0;
overflow-y: auto;
}
.nav-section {
padding: 0.5rem 1rem 0.25rem;
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.08em;
opacity: 0.6;
}
.sidebar-nav .nav-link {
color: rgba(255,255,255,0.85);
padding: 0.6rem 1rem;
font-size: 0.9rem;
transition: all 0.15s ease;
display: block;
text-decoration: none;
}
.sidebar-nav .nav-link:hover {
color: #fff;
background: rgba(255,255,255,0.1);
}
.sidebar-nav .nav-link.active {
color: #fff;
border-left: 3px solid #fff;
background: rgba(255,255,255,0.12);
font-weight: 500;
}
.sidebar-footer {
padding: 0.75rem 1rem;
border-top: 1px solid rgba(255,255,255,0.1);
text-align: center;
opacity: 0.6;
}
.admin-main {
margin-left: 240px;
padding: 2rem;
min-height: 100vh;
}
.stat-card {
background: #fff;
border-radius: 0.5rem;
padding: 1.25rem;
display: flex;
align-items: center;
gap: 1rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.08);
transition: box-shadow 0.2s ease;
}
.stat-card:hover {
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.stat-icon {
width: 48px;
height: 48px;
border-radius: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.4rem;
flex-shrink: 0;
}
.stat-body {
flex: 1;
min-width: 0;
}
.stat-value {
font-size: 1.5rem;
font-weight: 700;
line-height: 1.2;
}
.stat-label {
font-size: 0.85rem;
color: #6c757d;
}
.card {
border: none;
border-radius: 0.5rem;
}
.card-header {
border-bottom: 1px solid #e9ecef;
font-weight: 500;
border-radius: 0.5rem 0.5rem 0 0 !important;
padding: 0.75rem 1.25rem;
}
.badge {
font-weight: 500;
}
.map-tooltip {
position: absolute;
background: rgba(0,0,0,0.8);
color: #fff;
padding: 0.3rem 0.6rem;
border-radius: 0.25rem;
font-size: 0.85rem;
pointer-events: none;
z-index: 1050;
white-space: nowrap;
}
.world-map-wrapper {
position: relative;
}
.table > :not(caption) > * > * {
vertical-align: middle;
}
.progress {
border-radius: 4px;
background-color: #e9ecef;
}
.progress-bar {
border-radius: 4px;
}
.pagination {
margin-bottom: 0;
}
@media (max-width: 767.98px) {
.admin-sidebar {
position: relative;
width: 100%;
min-height: auto;
}
.admin-main {
margin-left: 0;
padding: 1rem;
}
.stat-card {
padding: 1rem;
}
.stat-value {
font-size: 1.2rem;
}
}