793 lines
14 KiB
CSS
793 lines
14 KiB
CSS
|
|
:root {
|
||
|
|
--primary-color: #3b82f6;
|
||
|
|
/* Lighter blue for better contrast */
|
||
|
|
--primary-hover: #2563eb;
|
||
|
|
--secondary-color: #64748b;
|
||
|
|
--bg-color: #f8fafc;
|
||
|
|
--card-bg: #ffffff;
|
||
|
|
--text-color: #0f172a;
|
||
|
|
/* Darker text for readability */
|
||
|
|
--text-muted: #64748b;
|
||
|
|
--border-color: #e2e8f0;
|
||
|
|
--success-color: #10b981;
|
||
|
|
--warning-color: #f59e0b;
|
||
|
|
--danger-color: #ef4444;
|
||
|
|
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
||
|
|
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
||
|
|
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
||
|
|
--sidebar-width: 260px;
|
||
|
|
}
|
||
|
|
|
||
|
|
* {
|
||
|
|
box-sizing: border-box;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||
|
|
background-color: var(--bg-color);
|
||
|
|
color: var(--text-color);
|
||
|
|
line-height: 1.6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-container {
|
||
|
|
display: flex;
|
||
|
|
min-height: 100vh;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Sidebar */
|
||
|
|
.sidebar {
|
||
|
|
width: var(--sidebar-width);
|
||
|
|
background-color: var(--card-bg);
|
||
|
|
border-right: 1px solid var(--border-color);
|
||
|
|
padding: 24px;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
position: fixed;
|
||
|
|
height: 100vh;
|
||
|
|
z-index: 50;
|
||
|
|
transition: transform 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Mobile Toggle & Overlay */
|
||
|
|
.mobile-menu-btn {
|
||
|
|
display: none;
|
||
|
|
position: fixed;
|
||
|
|
bottom: 20px;
|
||
|
|
right: 20px;
|
||
|
|
width: 50px;
|
||
|
|
height: 50px;
|
||
|
|
background-color: var(--primary-color);
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
border-radius: 50%;
|
||
|
|
box-shadow: var(--shadow-lg);
|
||
|
|
z-index: 60;
|
||
|
|
cursor: pointer;
|
||
|
|
font-size: 1.2rem;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
transition: transform 0.2s, background-color 0.2s;
|
||
|
|
}
|
||
|
|
|
||
|
|
.mobile-menu-btn:active {
|
||
|
|
transform: scale(0.95);
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-overlay {
|
||
|
|
display: none;
|
||
|
|
position: fixed;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
background-color: rgba(0, 0, 0, 0.5);
|
||
|
|
z-index: 40;
|
||
|
|
backdrop-filter: blur(2px);
|
||
|
|
opacity: 0;
|
||
|
|
transition: opacity 0.3s;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-overlay.active {
|
||
|
|
display: block;
|
||
|
|
opacity: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logo {
|
||
|
|
font-size: 1.5rem;
|
||
|
|
font-weight: 700;
|
||
|
|
color: var(--primary-color);
|
||
|
|
margin-bottom: 40px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-menu {
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
padding: 12px 16px;
|
||
|
|
color: var(--text-muted);
|
||
|
|
text-decoration: none;
|
||
|
|
border-radius: 8px;
|
||
|
|
margin-bottom: 8px;
|
||
|
|
transition: all 0.2s;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-item:hover,
|
||
|
|
.nav-item.active {
|
||
|
|
background-color: #eff6ff;
|
||
|
|
color: var(--primary-color);
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
.scheduler-status {
|
||
|
|
background-color: #f8fafc;
|
||
|
|
padding: 16px;
|
||
|
|
border-radius: 12px;
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
.status-header {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
margin-bottom: 8px;
|
||
|
|
font-weight: 600;
|
||
|
|
font-size: 0.9rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.status-dot {
|
||
|
|
width: 8px;
|
||
|
|
height: 8px;
|
||
|
|
border-radius: 50%;
|
||
|
|
background-color: #ccc;
|
||
|
|
}
|
||
|
|
|
||
|
|
.status-dot.active {
|
||
|
|
background-color: var(--success-color);
|
||
|
|
box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
|
||
|
|
}
|
||
|
|
|
||
|
|
.status-time {
|
||
|
|
font-size: 0.8rem;
|
||
|
|
color: var(--text-muted);
|
||
|
|
margin-bottom: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Main Content */
|
||
|
|
.main-content {
|
||
|
|
flex: 1;
|
||
|
|
margin-left: var(--sidebar-width);
|
||
|
|
padding: 30px;
|
||
|
|
max-width: 1600px;
|
||
|
|
/* Increased max-width */
|
||
|
|
width: 100%;
|
||
|
|
transition: margin-left 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.page {
|
||
|
|
display: none;
|
||
|
|
animation: fadeIn 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.page.active {
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes fadeIn {
|
||
|
|
from {
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(10px);
|
||
|
|
}
|
||
|
|
|
||
|
|
to {
|
||
|
|
opacity: 1;
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.page-header {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
margin-bottom: 30px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.page-header h1 {
|
||
|
|
font-size: 1.8rem;
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Cards & Stats */
|
||
|
|
.stats-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(3, 1fr);
|
||
|
|
gap: 20px;
|
||
|
|
margin-bottom: 30px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.card {
|
||
|
|
background-color: var(--card-bg);
|
||
|
|
border-radius: 16px;
|
||
|
|
/* More modern radius */
|
||
|
|
padding: 24px;
|
||
|
|
box-shadow: var(--shadow-sm);
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
transition: box-shadow 0.3s ease, transform 0.2s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.card:hover {
|
||
|
|
box-shadow: var(--shadow-md);
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-card {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-icon {
|
||
|
|
width: 60px;
|
||
|
|
height: 60px;
|
||
|
|
border-radius: 12px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
font-size: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bg-blue {
|
||
|
|
background-color: #eff6ff;
|
||
|
|
color: var(--primary-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
.bg-green {
|
||
|
|
background-color: #f0fdf4;
|
||
|
|
color: var(--success-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
.bg-purple {
|
||
|
|
background-color: #f3e8ff;
|
||
|
|
color: #a855f7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-info h3 {
|
||
|
|
font-size: 1.8rem;
|
||
|
|
margin-bottom: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-info p {
|
||
|
|
color: var(--text-muted);
|
||
|
|
font-size: 0.9rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 2fr 1fr;
|
||
|
|
gap: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Buttons */
|
||
|
|
.btn-primary {
|
||
|
|
background-color: var(--primary-color);
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
padding: 10px 20px;
|
||
|
|
border-radius: 8px;
|
||
|
|
cursor: pointer;
|
||
|
|
font-weight: 500;
|
||
|
|
transition: background 0.2s;
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
text-decoration: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-primary:hover {
|
||
|
|
background-color: var(--primary-hover);
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-secondary {
|
||
|
|
background-color: #e2e8f0;
|
||
|
|
color: var(--text-color);
|
||
|
|
border: none;
|
||
|
|
padding: 10px 20px;
|
||
|
|
border-radius: 8px;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-xs {
|
||
|
|
padding: 4px 8px;
|
||
|
|
font-size: 0.8rem;
|
||
|
|
border-radius: 4px;
|
||
|
|
border: 1px solid var(--primary-color);
|
||
|
|
background: transparent;
|
||
|
|
color: var(--primary-color);
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.full-width {
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Forms */
|
||
|
|
.form-group {
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-group label {
|
||
|
|
display: block;
|
||
|
|
margin-bottom: 8px;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-group input,
|
||
|
|
.form-group textarea,
|
||
|
|
.form-group select {
|
||
|
|
width: 100%;
|
||
|
|
padding: 10px;
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
border-radius: 8px;
|
||
|
|
font-family: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Tables */
|
||
|
|
.table-container {
|
||
|
|
overflow-x: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
table {
|
||
|
|
width: 100%;
|
||
|
|
border-collapse: collapse;
|
||
|
|
}
|
||
|
|
|
||
|
|
th,
|
||
|
|
td {
|
||
|
|
padding: 16px;
|
||
|
|
text-align: left;
|
||
|
|
border-bottom: 1px solid var(--border-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
th {
|
||
|
|
color: var(--text-muted);
|
||
|
|
font-weight: 600;
|
||
|
|
font-size: 0.9rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Reports Grid */
|
||
|
|
.reports-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||
|
|
gap: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.report-card {
|
||
|
|
background-color: var(--card-bg);
|
||
|
|
border-radius: 12px;
|
||
|
|
padding: 20px;
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.report-card:hover {
|
||
|
|
transform: translateY(-2px);
|
||
|
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.report-header {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
margin-bottom: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tag {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
padding: 2px 8px;
|
||
|
|
border-radius: 4px;
|
||
|
|
background-color: #f1f5f9;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tag.analysis-done {
|
||
|
|
background-color: #dcfce7;
|
||
|
|
color: #166534;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tag.analysis-pending {
|
||
|
|
background-color: #fef9c3;
|
||
|
|
color: #854d0e;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tag.analysis-processing {
|
||
|
|
background-color: #dbeafe;
|
||
|
|
color: #1d4ed8;
|
||
|
|
animation: pulse 1.5s ease-in-out infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes pulse {
|
||
|
|
|
||
|
|
0%,
|
||
|
|
100% {
|
||
|
|
opacity: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
50% {
|
||
|
|
opacity: 0.6;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.report-title {
|
||
|
|
font-weight: 600;
|
||
|
|
margin-bottom: 8px;
|
||
|
|
line-height: 1.4;
|
||
|
|
}
|
||
|
|
|
||
|
|
.report-meta {
|
||
|
|
font-size: 0.85rem;
|
||
|
|
color: var(--text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Modal - Enhanced UX */
|
||
|
|
.modal {
|
||
|
|
display: none;
|
||
|
|
position: fixed;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
background-color: rgba(0, 0, 0, 0.6);
|
||
|
|
backdrop-filter: blur(4px);
|
||
|
|
z-index: 1000;
|
||
|
|
align-items: flex-start;
|
||
|
|
justify-content: center;
|
||
|
|
padding: 40px 20px;
|
||
|
|
overflow-y: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal.active {
|
||
|
|
display: flex;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-content {
|
||
|
|
background-color: var(--card-bg);
|
||
|
|
padding: 32px;
|
||
|
|
border-radius: 16px;
|
||
|
|
width: 500px;
|
||
|
|
max-width: 100%;
|
||
|
|
position: relative;
|
||
|
|
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
||
|
|
animation: modalSlideIn 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes modalSlideIn {
|
||
|
|
from {
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(-20px);
|
||
|
|
}
|
||
|
|
|
||
|
|
to {
|
||
|
|
opacity: 1;
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-content.large {
|
||
|
|
width: 1000px;
|
||
|
|
max-height: none;
|
||
|
|
/* Allow full height */
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Enhanced Close Button */
|
||
|
|
.close {
|
||
|
|
position: absolute;
|
||
|
|
top: 16px;
|
||
|
|
right: 16px;
|
||
|
|
width: 36px;
|
||
|
|
height: 36px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
font-size: 1.5rem;
|
||
|
|
cursor: pointer;
|
||
|
|
color: var(--text-muted);
|
||
|
|
background: #f1f5f9;
|
||
|
|
border-radius: 8px;
|
||
|
|
transition: all 0.2s;
|
||
|
|
z-index: 10;
|
||
|
|
}
|
||
|
|
|
||
|
|
.close:hover {
|
||
|
|
background: #e2e8f0;
|
||
|
|
color: var(--text-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Modal Header */
|
||
|
|
.modal-header {
|
||
|
|
margin-bottom: 24px;
|
||
|
|
padding-right: 40px;
|
||
|
|
/* Space for close button */
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-header h2 {
|
||
|
|
font-size: 1.25rem;
|
||
|
|
margin-bottom: 12px;
|
||
|
|
line-height: 1.4;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-tags {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Modal Body - Improved Readability */
|
||
|
|
.modal-body {
|
||
|
|
max-height: 60vh;
|
||
|
|
overflow-y: auto;
|
||
|
|
padding-right: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-body::-webkit-scrollbar {
|
||
|
|
width: 6px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-body::-webkit-scrollbar-track {
|
||
|
|
background: #f1f5f9;
|
||
|
|
border-radius: 3px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-body::-webkit-scrollbar-thumb {
|
||
|
|
background: #cbd5e1;
|
||
|
|
border-radius: 3px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-body::-webkit-scrollbar-thumb:hover {
|
||
|
|
background: #94a3b8;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Modal Footer */
|
||
|
|
.modal-footer {
|
||
|
|
display: flex;
|
||
|
|
gap: 12px;
|
||
|
|
margin-top: 24px;
|
||
|
|
padding-top: 20px;
|
||
|
|
border-top: 1px solid var(--border-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Tabs */
|
||
|
|
.tabs {
|
||
|
|
display: flex;
|
||
|
|
gap: 10px;
|
||
|
|
border-bottom: 1px solid var(--border-color);
|
||
|
|
margin-bottom: 20px;
|
||
|
|
margin-top: -10px;
|
||
|
|
/* 拉近与 Header 的距离 */
|
||
|
|
}
|
||
|
|
|
||
|
|
.tab-btn {
|
||
|
|
padding: 10px 16px;
|
||
|
|
background: none;
|
||
|
|
border: none;
|
||
|
|
border-bottom: 2px solid transparent;
|
||
|
|
cursor: pointer;
|
||
|
|
font-weight: 500;
|
||
|
|
color: var(--text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.tab-btn.active {
|
||
|
|
color: var(--primary-color);
|
||
|
|
border-bottom-color: var(--primary-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
.tab-content {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tab-content.active {
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Markdown Styles */
|
||
|
|
.markdown-body {
|
||
|
|
font-size: 0.95rem;
|
||
|
|
color: #334155;
|
||
|
|
line-height: 1.7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.markdown-body h2 {
|
||
|
|
margin-top: 24px;
|
||
|
|
margin-bottom: 16px;
|
||
|
|
font-size: 1.25rem;
|
||
|
|
color: #1e293b;
|
||
|
|
border-bottom: 1px solid #e2e8f0;
|
||
|
|
padding-bottom: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.markdown-body h3 {
|
||
|
|
margin-top: 20px;
|
||
|
|
margin-bottom: 12px;
|
||
|
|
font-size: 1.1rem;
|
||
|
|
color: #334155;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.markdown-body ul,
|
||
|
|
.markdown-body ol {
|
||
|
|
padding-left: 24px;
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.markdown-body li {
|
||
|
|
margin-bottom: 6px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.markdown-body p {
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.markdown-body strong {
|
||
|
|
color: #0f172a;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.markdown-body blockquote {
|
||
|
|
border-left: 4px solid #3b82f6;
|
||
|
|
background: #eff6ff;
|
||
|
|
padding: 12px 16px;
|
||
|
|
margin-left: 0;
|
||
|
|
margin-bottom: 16px;
|
||
|
|
border-radius: 0 4px 4px 0;
|
||
|
|
color: #475569;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Modern Filters */
|
||
|
|
.filters-container {
|
||
|
|
display: flex;
|
||
|
|
gap: 12px;
|
||
|
|
align-items: center;
|
||
|
|
background: #fff;
|
||
|
|
padding: 6px;
|
||
|
|
border-radius: 12px;
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
box-shadow: var(--shadow-sm);
|
||
|
|
}
|
||
|
|
|
||
|
|
.filter-group {
|
||
|
|
position: relative;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.filter-icon {
|
||
|
|
position: absolute;
|
||
|
|
left: 12px;
|
||
|
|
color: var(--text-muted);
|
||
|
|
font-size: 0.85rem;
|
||
|
|
pointer-events: none;
|
||
|
|
z-index: 10;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modern-select {
|
||
|
|
appearance: none;
|
||
|
|
-webkit-appearance: none;
|
||
|
|
-moz-appearance: none;
|
||
|
|
background-color: transparent;
|
||
|
|
border: 1px solid transparent;
|
||
|
|
padding: 8px 32px 8px 12px;
|
||
|
|
border-radius: 8px;
|
||
|
|
font-size: 0.9rem;
|
||
|
|
color: var(--text-color);
|
||
|
|
cursor: pointer;
|
||
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
|
||
|
|
background-repeat: no-repeat;
|
||
|
|
background-position: right 8px center;
|
||
|
|
background-size: 14px;
|
||
|
|
transition: all 0.2s;
|
||
|
|
min-width: 120px;
|
||
|
|
font-family: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
.filter-group:first-child .modern-select {
|
||
|
|
padding-left: 32px;
|
||
|
|
/* For the filter icon */
|
||
|
|
}
|
||
|
|
|
||
|
|
.modern-select:hover {
|
||
|
|
background-color: #f8fafc;
|
||
|
|
border-color: #e2e8f0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modern-select:focus {
|
||
|
|
outline: none;
|
||
|
|
background-color: #fff;
|
||
|
|
border-color: var(--primary-color);
|
||
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.list-container {
|
||
|
|
max-height: 400px;
|
||
|
|
overflow-y: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.log-item {
|
||
|
|
font-size: 0.85rem;
|
||
|
|
padding: 8px 0;
|
||
|
|
border-bottom: 1px solid #f1f5f9;
|
||
|
|
}
|
||
|
|
|
||
|
|
.log-time {
|
||
|
|
color: var(--text-muted);
|
||
|
|
font-size: 0.75rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Responsive Design */
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.sidebar {
|
||
|
|
transform: translateX(-100%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar.active {
|
||
|
|
transform: translateX(0);
|
||
|
|
}
|
||
|
|
|
||
|
|
.mobile-menu-btn {
|
||
|
|
display: flex;
|
||
|
|
}
|
||
|
|
|
||
|
|
.main-content {
|
||
|
|
margin-left: 0;
|
||
|
|
padding: 20px;
|
||
|
|
padding-bottom: 80px;
|
||
|
|
/* Space for mobile button */
|
||
|
|
}
|
||
|
|
|
||
|
|
.stats-grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.reports-grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.page-header {
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: flex-start;
|
||
|
|
gap: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.page-header .actions,
|
||
|
|
.filters-container {
|
||
|
|
width: 100%;
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.filter-group {
|
||
|
|
flex: 1;
|
||
|
|
min-width: 120px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modern-select {
|
||
|
|
width: 100%;
|
||
|
|
background-color: #f8fafc;
|
||
|
|
/* Slightly easier to see on mobile */
|
||
|
|
border-color: #e2e8f0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-content {
|
||
|
|
width: 95%;
|
||
|
|
padding: 20px;
|
||
|
|
}
|
||
|
|
}
|