2026-01-21 07:51:52 +08:00
|
|
|
/* Dashboard CSS */
|
|
|
|
|
:root {
|
|
|
|
|
--bg-color: #0f172a;
|
|
|
|
|
--card-bg: #1e293b;
|
|
|
|
|
--card-border: #334155;
|
|
|
|
|
--text-primary: #f1f5f9;
|
|
|
|
|
--text-secondary: #94a3b8;
|
|
|
|
|
--accent-color: #3b82f6;
|
|
|
|
|
--accent-hover: #2563eb;
|
|
|
|
|
--success-color: #10b981;
|
|
|
|
|
--table-header-bg: #0f172a;
|
|
|
|
|
--table-row-hover: #334155;
|
|
|
|
|
--scrollbar-thumb: #475569;
|
|
|
|
|
--scrollbar-track: #0f172a;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
height: 100vh;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background-image: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#app {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Header */
|
|
|
|
|
.dashboard-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0 8px;
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard-title {
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
background: linear-gradient(to right, #60a5fa, #a78bfa);
|
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-link {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
transition: color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-link:hover {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Controls */
|
|
|
|
|
.controls {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-primary {
|
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
border: none;
|
|
|
|
|
background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
|
|
|
|
|
color: white;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
|
box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
box-shadow: 0 4px 6px rgba(59, 130, 246, 0.4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-primary:disabled {
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
transform: none;
|
|
|
|
|
filter: grayscale(0.5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Layout */
|
|
|
|
|
.main-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex: 1;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.left-panel {
|
|
|
|
|
flex: 3;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.right-panel {
|
|
|
|
|
flex: 2;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
background-color: var(--card-bg);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
border: 1px solid var(--card-border);
|
|
|
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
|
|
|
padding: 20px;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-21 08:41:47 +08:00
|
|
|
/* Station List & Trends */
|
2026-01-21 07:51:52 +08:00
|
|
|
.station-list {
|
2026-01-21 08:41:47 +08:00
|
|
|
flex: 3;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
background-color: var(--card-bg);
|
|
|
|
|
border: 1px solid var(--card-border);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.trend-section {
|
|
|
|
|
flex: 2;
|
2026-01-21 07:51:52 +08:00
|
|
|
min-height: 0;
|
|
|
|
|
background-color: var(--card-bg);
|
|
|
|
|
border: 1px solid var(--card-border);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.station-list-header {
|
|
|
|
|
padding: 16px 20px;
|
|
|
|
|
border-bottom: 1px solid var(--card-border);
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
background-color: rgba(15, 23, 42, 0.5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.station-table-container {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.station-table {
|
|
|
|
|
width: 100%;
|
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.station-table th {
|
|
|
|
|
background-color: var(--table-header-bg);
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
position: sticky;
|
|
|
|
|
top: 0;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
border-bottom: 1px solid var(--card-border);
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.station-table td {
|
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
border-bottom: 1px solid var(--card-border);
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.station-table tbody tr:hover td {
|
|
|
|
|
background-color: var(--table-row-hover);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Chart */
|
|
|
|
|
#chart {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-height: 300px;
|
|
|
|
|
background-color: var(--card-bg);
|
|
|
|
|
border: 1px solid var(--card-border);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* AI Analysis */
|
|
|
|
|
.ai-title {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ai-title::before {
|
|
|
|
|
content: '';
|
|
|
|
|
display: block;
|
|
|
|
|
width: 4px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ai-box {
|
|
|
|
|
flex: 1;
|
|
|
|
|
background-color: rgba(15, 23, 42, 0.3);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
border: 1px solid var(--card-border);
|
|
|
|
|
padding: 16px;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
line-height: 1.7;
|
|
|
|
|
color: #cbd5e1;
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
scrollbar-color: var(--scrollbar-thumb) transparent;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-21 08:41:47 +08:00
|
|
|
/* Markdown & LaTeX Rendering */
|
2026-01-21 07:51:52 +08:00
|
|
|
.markdown-body {
|
2026-01-21 08:41:47 +08:00
|
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
line-height: 1.8;
|
2026-01-21 07:51:52 +08:00
|
|
|
word-wrap: break-word;
|
|
|
|
|
color: #cbd5e1;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-21 08:41:47 +08:00
|
|
|
.markdown-body h1, .markdown-body h2, .markdown-body h3,
|
|
|
|
|
.markdown-body h4, .markdown-body h5, .markdown-body h6 {
|
|
|
|
|
margin-top: 24px;
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
line-height: 1.25;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.markdown-body h1 { font-size: 1.8em; border-bottom: 1px solid var(--card-border); padding-bottom: 0.3em; }
|
|
|
|
|
.markdown-body h2 { font-size: 1.4em; border-bottom: 1px solid var(--card-border); padding-bottom: 0.3em; }
|
|
|
|
|
.markdown-body h3 { font-size: 1.2em; }
|
|
|
|
|
|
|
|
|
|
.markdown-body p { margin-top: 0; margin-bottom: 16px; }
|
|
|
|
|
|
2026-01-21 07:51:52 +08:00
|
|
|
.markdown-body ul, .markdown-body ol {
|
|
|
|
|
padding-left: 2em;
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
}
|
2026-01-21 08:41:47 +08:00
|
|
|
|
2026-01-21 07:51:52 +08:00
|
|
|
.markdown-body li { margin: 0.25em 0; }
|
2026-01-21 08:41:47 +08:00
|
|
|
|
|
|
|
|
.markdown-body strong { font-weight: 600; color: #fff; }
|
|
|
|
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
|
|
padding: 0 1em;
|
|
|
|
|
color: #94a3b8;
|
|
|
|
|
border-left: 0.25em solid #3b82f6;
|
|
|
|
|
margin: 0 0 16px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.markdown-body code {
|
|
|
|
|
padding: 0.2em 0.4em;
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 85%;
|
|
|
|
|
background-color: rgba(148, 163, 184, 0.1);
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Markdown Table Styles */
|
|
|
|
|
.markdown-body table {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 100%;
|
|
|
|
|
width: max-content;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
border-spacing: 0;
|
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.markdown-body table th {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
background-color: rgba(15, 23, 42, 0.8);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.markdown-body table th,
|
|
|
|
|
.markdown-body table td {
|
|
|
|
|
padding: 6px 13px;
|
|
|
|
|
border: 1px solid var(--card-border);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.markdown-body table tr {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
border-top: 1px solid var(--card-border);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
|
|
|
background-color: rgba(30, 41, 59, 0.3);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* LaTeX Styles */
|
|
|
|
|
.katex-block {
|
|
|
|
|
margin: 1em 0;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
overflow-y: hidden;
|
|
|
|
|
padding: 8px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.katex {
|
|
|
|
|
font-size: 1.1em !important;
|
|
|
|
|
}
|
2026-01-21 07:51:52 +08:00
|
|
|
|
|
|
|
|
/* Custom Scrollbar */
|
|
|
|
|
::-webkit-scrollbar { width: 8px; height: 8px; }
|
|
|
|
|
::-webkit-scrollbar-track { background: transparent; }
|
|
|
|
|
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 4px; }
|
|
|
|
|
::-webkit-scrollbar-thumb:hover { background: #64748b; }
|