2026-01-21 07:51:52 +08:00
|
|
|
/* Query 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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Query Specific Styles */
|
|
|
|
|
.degree-container {
|
|
|
|
|
max-width: 1000px;
|
|
|
|
|
margin: 40px auto;
|
|
|
|
|
padding: 0 20px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.query-section {
|
|
|
|
|
background: rgba(15, 23, 42, 0.96);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
padding: 30px;
|
|
|
|
|
box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
|
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
border: 1px solid var(--card-border);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-title {
|
|
|
|
|
font-size: 32px;
|
|
|
|
|
background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
|
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
letter-spacing: -0.025em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-subtitle {
|
|
|
|
|
margin-bottom: 32px;
|
|
|
|
|
color: #94a3b8;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input-wrapper {
|
|
|
|
|
max-width: 700px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Element Plus Overrides for Dark Theme */
|
|
|
|
|
.search-input.el-input {
|
|
|
|
|
--el-input-border-color: rgba(148, 163, 184, 0.5);
|
|
|
|
|
--el-input-hover-border-color: rgba(56, 189, 248, 0.9);
|
|
|
|
|
--el-input-focus-border-color: rgba(56, 189, 248, 0.9);
|
|
|
|
|
--el-input-bg-color: rgba(15, 23, 42, 0.9);
|
|
|
|
|
--el-input-text-color: #e5e7eb;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-input .el-input__wrapper {
|
|
|
|
|
padding-left: 20px;
|
|
|
|
|
padding-right: 20px;
|
|
|
|
|
box-shadow: 0 2px 18px rgba(15, 23, 42, 0.6);
|
|
|
|
|
background-color: rgba(15, 23, 42, 0.9);
|
|
|
|
|
border: 1px solid rgba(148, 163, 184, 0.5);
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
border-radius: 24px 0 0 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-input .el-input-group__append {
|
|
|
|
|
background-color: rgba(56, 189, 248, 0.9);
|
|
|
|
|
border: 1px solid rgba(56, 189, 248, 0.9);
|
|
|
|
|
border-left: none;
|
|
|
|
|
border-radius: 0 24px 24px 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
box-shadow: 0 2px 18px rgba(15, 23, 42, 0.6);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-input .el-input-group__append .el-button {
|
|
|
|
|
border: none;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0 30px;
|
|
|
|
|
height: 48px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-input .el-input-group__append .el-button:hover {
|
|
|
|
|
background-color: rgba(14, 165, 233, 1);
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-input .el-input__inner {
|
|
|
|
|
height: 48px;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
color: #e5e7eb;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.example-tags {
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.example-tag {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
border-color: rgba(148, 163, 184, 0.6);
|
|
|
|
|
color: #cbd5f5;
|
|
|
|
|
background-color: rgba(15, 23, 42, 0.8);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.example-tag:hover {
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
border-color: rgba(56, 189, 248, 0.9);
|
|
|
|
|
color: #e0f2fe;
|
|
|
|
|
background-color: rgba(15, 23, 42, 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.result-section {
|
|
|
|
|
background: rgba(15, 23, 42, 0.96);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
padding: 30px;
|
|
|
|
|
box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
|
|
|
|
|
min-height: 200px;
|
|
|
|
|
border: 1px solid var(--card-border);
|
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.result-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
border-bottom: 1px solid #334155;
|
|
|
|
|
padding-bottom: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.result-title {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: #e5e7eb;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.loading-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 40px 0;
|
|
|
|
|
color: rgba(148, 163, 184, 0.9);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cursor-blink {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 2px;
|
|
|
|
|
height: 1em;
|
|
|
|
|
background-color: #38bdf8;
|
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
|
animation: blink 1s step-end infinite;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes blink {
|
|
|
|
|
0%, 100% { opacity: 1; }
|
|
|
|
|
50% { opacity: 0; }
|
|
|
|
|
}
|
|
|
|
|
|
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: 15px;
|
|
|
|
|
line-height: 1.8;
|
2026-01-21 07:51:52 +08:00
|
|
|
word-wrap: break-word;
|
2026-01-21 08:41:47 +08:00
|
|
|
color: #cbd5e1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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);
|
2026-01-21 07:51:52 +08:00
|
|
|
}
|
|
|
|
|
|
2026-01-21 08:41:47 +08:00
|
|
|
.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 */
|
2026-01-21 07:51:52 +08:00
|
|
|
.markdown-body table {
|
2026-01-21 08:41:47 +08:00
|
|
|
display: block;
|
2026-01-21 07:51:52 +08:00
|
|
|
width: 100%;
|
2026-01-21 08:41:47 +08:00
|
|
|
width: max-content;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
border-spacing: 0;
|
2026-01-21 07:51:52 +08:00
|
|
|
border-collapse: collapse;
|
2026-01-21 08:41:47 +08:00
|
|
|
margin-top: 0;
|
|
|
|
|
margin-bottom: 16px;
|
2026-01-21 07:51:52 +08:00
|
|
|
}
|
|
|
|
|
|
2026-01-21 08:41:47 +08:00
|
|
|
.markdown-body table th {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
background-color: rgba(15, 23, 42, 0.8);
|
2026-01-21 07:51:52 +08:00
|
|
|
}
|
|
|
|
|
|
2026-01-21 08:41:47 +08:00
|
|
|
.markdown-body table th,
|
|
|
|
|
.markdown-body table td {
|
|
|
|
|
padding: 10px 16px;
|
|
|
|
|
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;
|
2026-01-21 07:51:52 +08:00
|
|
|
}
|
|
|
|
|
|
2026-01-21 08:41:47 +08:00
|
|
|
.katex {
|
|
|
|
|
font-size: 1.1em !important;
|
2026-01-21 07:51:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ECharts Container in Result */
|
|
|
|
|
.echarts-container {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 400px;
|
|
|
|
|
margin: 24px 0;
|
|
|
|
|
background: rgba(15, 23, 42, 0.4);
|
|
|
|
|
border: 1px solid rgba(56, 189, 248, 0.1);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|