You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3370 lines
63 KiB
3370 lines
63 KiB
/* ============================================
|
|
期货智析 - 科技感界面样式
|
|
风格:低调鲜明、赛博朋克科技感
|
|
============================================ */
|
|
|
|
:root {
|
|
--bg-primary: #06080d;
|
|
--bg-secondary: #0c1017;
|
|
--bg-card: rgba(15, 20, 30, 0.7);
|
|
--bg-card-hover: rgba(20, 28, 42, 0.8);
|
|
--border-color: rgba(56, 189, 248, 0.1);
|
|
--border-glow: rgba(56, 189, 248, 0.3);
|
|
|
|
--text-primary: #e2e8f0;
|
|
--text-secondary: #94a3b8;
|
|
--text-muted: #64748b;
|
|
|
|
--cyan: #06b6d4;
|
|
--cyan-glow: rgba(6, 182, 212, 0.4);
|
|
--purple: #8b5cf6;
|
|
--purple-glow: rgba(139, 92, 246, 0.4);
|
|
--green: #10b981;
|
|
--green-glow: rgba(16, 185, 129, 0.4);
|
|
--red: #ef4444;
|
|
--red-glow: rgba(239, 68, 68, 0.4);
|
|
--amber: #f59e0b;
|
|
--amber-glow: rgba(245, 158, 11, 0.4);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
line-height: 1.5;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* 背景网格和光效 */
|
|
.bg-grid {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image:
|
|
linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
|
|
background-size: 40px 40px;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
.bg-glow {
|
|
position: fixed;
|
|
top: -50%;
|
|
left: -50%;
|
|
width: 200%;
|
|
height: 200%;
|
|
background: radial-gradient(ellipse at 30% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
|
|
radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
.app-container {
|
|
position: relative;
|
|
z-index: 1;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* ============================================
|
|
顶部导航
|
|
============================================ */
|
|
.top-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 24px;
|
|
height: 56px;
|
|
background: rgba(6, 8, 13, 0.8);
|
|
backdrop-filter: blur(12px);
|
|
border-bottom: 1px solid var(--border-color);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.nav-left {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.logo-icon {
|
|
position: relative;
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
|
|
border: 1px solid var(--border-glow);
|
|
border-radius: 10px;
|
|
color: var(--cyan);
|
|
font-size: 16px;
|
|
}
|
|
|
|
.logo-pulse {
|
|
position: absolute;
|
|
inset: -2px;
|
|
border-radius: 12px;
|
|
background: linear-gradient(135deg, var(--cyan), var(--purple));
|
|
opacity: 0;
|
|
animation: pulse 3s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 0; transform: scale(1); }
|
|
50% { opacity: 0.3; transform: scale(1.05); }
|
|
}
|
|
|
|
.logo-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.logo-title {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
background: linear-gradient(135deg, var(--text-primary), var(--cyan));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.logo-subtitle {
|
|
font-size: 9px;
|
|
color: var(--text-muted);
|
|
letter-spacing: 1.5px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.nav-center {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
border-radius: 8px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.nav-item:hover {
|
|
color: var(--text-primary);
|
|
background: rgba(56, 189, 248, 0.08);
|
|
}
|
|
|
|
.nav-item.active {
|
|
color: var(--cyan);
|
|
background: rgba(6, 182, 212, 0.1);
|
|
}
|
|
|
|
.nav-icon {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.nav-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.system-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 10px;
|
|
background: rgba(16, 185, 129, 0.1);
|
|
border: 1px solid rgba(16, 185, 129, 0.2);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.status-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
background: var(--green);
|
|
border-radius: 50%;
|
|
animation: blink 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes blink {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.4; }
|
|
}
|
|
|
|
.status-text {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: var(--green);
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.datetime {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.nav-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.nav-btn:hover {
|
|
color: var(--cyan);
|
|
background: rgba(6, 182, 212, 0.1);
|
|
}
|
|
|
|
/* ============================================
|
|
主内容区
|
|
============================================ */
|
|
.main-content {
|
|
flex: 1;
|
|
padding: 20px 24px;
|
|
max-width: 1440px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.view {
|
|
display: none;
|
|
}
|
|
|
|
.view.active {
|
|
display: block;
|
|
}
|
|
|
|
/* ============================================
|
|
搜索栏
|
|
============================================ */
|
|
.search-section {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.search-box {
|
|
flex: 1;
|
|
max-width: 480px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 14px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 10px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.search-box:focus-within {
|
|
border-color: var(--cyan);
|
|
box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
|
|
}
|
|
|
|
.search-box i {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.search-box input {
|
|
flex: 1;
|
|
background: none;
|
|
border: none;
|
|
outline: none;
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.search-box input::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.search-box kbd {
|
|
padding: 2px 6px;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.view-controls {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.view-btn {
|
|
width: auto;
|
|
height: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 8px 14px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.view-btn i {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.view-btn span {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.view-btn:hover {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.view-btn.active {
|
|
background: rgba(6, 182, 212, 0.15);
|
|
border-color: var(--cyan);
|
|
color: var(--cyan);
|
|
}
|
|
|
|
/* ============================================
|
|
筛选栏
|
|
============================================ */
|
|
.filter-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.filter-tabs {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.filter-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 14px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
color: var(--text-secondary);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.filter-tab:hover {
|
|
border-color: var(--text-muted);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.filter-tab.active {
|
|
background: rgba(6, 182, 212, 0.12);
|
|
border-color: var(--cyan);
|
|
color: var(--cyan);
|
|
}
|
|
|
|
.filter-tab i {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.filter-count {
|
|
padding: 1px 6px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.sort-select {
|
|
position: relative;
|
|
}
|
|
|
|
.sort-select select {
|
|
padding: 8px 32px 8px 12px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
outline: none;
|
|
cursor: pointer;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 10px center;
|
|
background-size: 12px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.sort-select select:hover {
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
.sort-select select:focus {
|
|
border-color: var(--cyan);
|
|
box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
|
|
}
|
|
|
|
.sort-select select option {
|
|
background: var(--bg-card);
|
|
color: var(--text-primary);
|
|
padding: 8px;
|
|
}
|
|
|
|
/* 下拉菜单展开样式 */
|
|
.sort-select select:focus option {
|
|
background: var(--bg-card);
|
|
}
|
|
|
|
.sort-select select option:hover,
|
|
.sort-select select option:checked {
|
|
background: rgba(6, 182, 212, 0.1) !important;
|
|
}
|
|
|
|
/* ============================================
|
|
统计概览
|
|
============================================ */
|
|
.stats-overview {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.stat-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 14px 18px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 12px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.stat-card:hover {
|
|
border-color: var(--border-glow);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.stat-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(56, 189, 248, 0.1);
|
|
border-radius: 10px;
|
|
color: var(--cyan);
|
|
font-size: 16px;
|
|
}
|
|
|
|
.stat-card.up .stat-icon {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
color: var(--green);
|
|
}
|
|
|
|
.stat-card.down .stat-icon {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: var(--red);
|
|
}
|
|
|
|
.stat-card.neutral .stat-icon {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: var(--amber);
|
|
}
|
|
|
|
.stat-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ============================================
|
|
品种卡片网格
|
|
============================================ */
|
|
.futures-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
.futures-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 14px;
|
|
padding: 18px;
|
|
cursor: pointer;
|
|
transition: all 0.25s;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.futures-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, transparent, var(--cyan), transparent);
|
|
opacity: 0;
|
|
transition: opacity 0.25s;
|
|
}
|
|
|
|
.futures-card:hover {
|
|
background: var(--bg-card-hover);
|
|
border-color: var(--border-glow);
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.futures-card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.card-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.card-symbol {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.symbol-tag {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.15));
|
|
border: 1px solid var(--border-glow);
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--cyan);
|
|
}
|
|
|
|
.card-name {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.card-code {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.card-price {
|
|
text-align: right;
|
|
}
|
|
|
|
.price-value {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.price-change {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.up { color: var(--green); }
|
|
.down { color: var(--red); }
|
|
.neutral { color: var(--amber); }
|
|
|
|
.suggestion-badge {
|
|
display: inline-block;
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.suggestion-badge.up {
|
|
background: rgba(16, 185, 129, 0.12);
|
|
color: var(--green);
|
|
border: 1px solid rgba(16, 185, 129, 0.25);
|
|
}
|
|
|
|
.suggestion-badge.down {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: var(--red);
|
|
border: 1px solid rgba(239, 68, 68, 0.25);
|
|
}
|
|
|
|
.suggestion-badge.neutral {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: var(--amber);
|
|
border: 1px solid rgba(245, 158, 11, 0.2);
|
|
}
|
|
|
|
.card-metrics {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.metric-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.metric-label {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.metric-bar {
|
|
height: 4px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.metric-fill {
|
|
height: 100%;
|
|
border-radius: 2px;
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
.metric-fill.up { background: var(--green); }
|
|
.metric-fill.down { background: var(--red); }
|
|
.metric-fill.orange { background: var(--amber); }
|
|
|
|
.metric-value {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.period-trends {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.period-tag {
|
|
flex: 1;
|
|
padding: 5px 8px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
font-size: 11px;
|
|
text-align: center;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.period-tag.up {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
border-color: rgba(16, 185, 129, 0.25);
|
|
color: var(--green);
|
|
}
|
|
|
|
.period-tag.down {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border-color: rgba(239, 68, 68, 0.25);
|
|
color: var(--red);
|
|
}
|
|
|
|
.period-tag.neutral {
|
|
background: rgba(245, 158, 11, 0.08);
|
|
border-color: rgba(245, 158, 11, 0.2);
|
|
color: var(--amber);
|
|
}
|
|
|
|
.card-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.key-levels {
|
|
display: flex;
|
|
gap: 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.key-levels span {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.key-levels .label {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.detail-link {
|
|
font-size: 12px;
|
|
color: var(--cyan);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
/* ============================================
|
|
详情视图
|
|
============================================ */
|
|
.back-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
color: var(--text-secondary);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
margin-bottom: 16px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.back-btn:hover {
|
|
background: var(--bg-card-hover);
|
|
color: var(--text-primary);
|
|
border-color: var(--border-glow);
|
|
}
|
|
|
|
.detail-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px 24px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 14px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 24px;
|
|
}
|
|
|
|
.symbol-info {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 10px;
|
|
}
|
|
|
|
.symbol-name {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.symbol-code {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
padding: 2px 8px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.price-main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: baseline;
|
|
gap: 12px;
|
|
}
|
|
|
|
.price-value {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.price-change {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.quote-grid {
|
|
display: flex;
|
|
gap: 24px;
|
|
}
|
|
|
|
.quote-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.quote-label {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.quote-value {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* 周期选择 */
|
|
.period-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.period-label {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.period-btns {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.period-btn {
|
|
padding: 6px 16px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
color: var(--text-secondary);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.period-btn:hover {
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
.period-btn.active {
|
|
background: rgba(6, 182, 212, 0.15);
|
|
border-color: var(--cyan);
|
|
color: var(--cyan);
|
|
}
|
|
|
|
/* 详情主体 */
|
|
.detail-body {
|
|
display: grid;
|
|
grid-template-columns: 1fr 360px;
|
|
gap: 16px;
|
|
}
|
|
|
|
.chart-container {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 14px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.chart-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.chart-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.chart-legend {
|
|
display: flex;
|
|
gap: 14px;
|
|
}
|
|
|
|
.legend-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.legend-dot {
|
|
width: 10px;
|
|
height: 3px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.legend-dot.ma5 { background: #f59e0b; }
|
|
.legend-dot.ma10 { background: #3b82f6; }
|
|
.legend-dot.ma20 { background: #8b5cf6; }
|
|
|
|
.kline-chart {
|
|
width: 100%;
|
|
height: 480px;
|
|
}
|
|
|
|
/* 分析侧边栏 */
|
|
.analysis-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.panel-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 14px;
|
|
padding: 16px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.panel-card:hover {
|
|
border-color: var(--border-glow);
|
|
}
|
|
|
|
.panel-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
margin-bottom: 14px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.panel-header i {
|
|
color: var(--cyan);
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* AI建议卡片 */
|
|
.suggestion-card .suggestion-content {
|
|
text-align: center;
|
|
padding: 16px;
|
|
background: rgba(6, 182, 212, 0.06);
|
|
border: 1px solid rgba(6, 182, 212, 0.15);
|
|
border-radius: 10px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.suggestion-badge {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.suggestion-badge.up { color: var(--green); }
|
|
.suggestion-badge.down { color: var(--red); }
|
|
.suggestion-badge.neutral { color: var(--amber); }
|
|
|
|
.suggestion-reason {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.trade-params {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.param-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 8px 10px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.param-label {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.param-value {
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* 技术指标 */
|
|
.indicators-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.indicator-cell {
|
|
padding: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.indicator-label {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.indicator-value {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.indicator-detail {
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* 关键点位 */
|
|
.levels-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.level-group-label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 6px;
|
|
display: block;
|
|
}
|
|
|
|
.level-group.resistance .level-group-label { color: var(--red); }
|
|
.level-group.support .level-group-label { color: var(--green); }
|
|
|
|
.level-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 6px 10px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.level-item span:first-child {
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.level-item span:last-child {
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.level-item.pivot-point {
|
|
background: rgba(139, 92, 246, 0.1);
|
|
border: 1px solid rgba(139, 92, 246, 0.2);
|
|
border-radius: 8px;
|
|
padding: 8px 12px;
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.level-item.pivot-point span:first-child {
|
|
color: var(--purple);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.level-item.pivot-point span:last-child {
|
|
color: var(--purple);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.level-divider {
|
|
height: 1px;
|
|
background: var(--border-color);
|
|
margin: 4px 0;
|
|
}
|
|
|
|
/* 多周期趋势 */
|
|
.trends-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.trend-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 8px 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.trend-period {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.trend-badge {
|
|
padding: 3px 10px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.trend-badge.up {
|
|
background: rgba(16, 185, 129, 0.12);
|
|
color: var(--green);
|
|
}
|
|
|
|
.trend-badge.down {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: var(--red);
|
|
}
|
|
|
|
.trend-badge.neutral {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: var(--amber);
|
|
}
|
|
|
|
/* 趋势评分 */
|
|
.score-display {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.score-ring {
|
|
position: relative;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
|
|
.score-ring svg {
|
|
transform: rotate(-90deg);
|
|
}
|
|
|
|
.score-bg {
|
|
fill: none;
|
|
stroke: rgba(255, 255, 255, 0.06);
|
|
stroke-width: 8;
|
|
}
|
|
|
|
.score-fill {
|
|
fill: none;
|
|
stroke: url(#scoreGradient);
|
|
stroke-width: 8;
|
|
stroke-linecap: round;
|
|
stroke-dasharray: 283;
|
|
stroke-dashoffset: 283;
|
|
transition: stroke-dashoffset 0.8s ease-out;
|
|
}
|
|
|
|
.score-value {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.score-label {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ============================================
|
|
响应式
|
|
============================================ */
|
|
@media (max-width: 1200px) {
|
|
.detail-body {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.analysis-sidebar {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.stats-overview {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.futures-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.analysis-sidebar {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.detail-header {
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.quote-grid {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.filter-bar {
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
简洁风格主题 - Revolut 设计系统
|
|
============================================ */
|
|
body.theme-minimal {
|
|
--bg-primary: #ffffff;
|
|
--bg-secondary: #f4f4f4;
|
|
--bg-card: #ffffff;
|
|
--bg-card-hover: #f4f4f4;
|
|
--border-color: #c9c9cd;
|
|
--border-glow: #c9c9cd;
|
|
|
|
--text-primary: #191c1f;
|
|
--text-secondary: #505a63;
|
|
--text-muted: #8d969e;
|
|
|
|
--cyan: #494fdf;
|
|
--cyan-glow: rgba(73, 79, 223, 0.2);
|
|
--purple: #494fdf;
|
|
--purple-glow: rgba(73, 79, 223, 0.2);
|
|
--green: #00a87e;
|
|
--green-glow: rgba(0, 168, 126, 0.2);
|
|
--red: #e23b4a;
|
|
--red-glow: rgba(226, 59, 74, 0.2);
|
|
--amber: #ec7e00;
|
|
--amber-glow: rgba(236, 126, 0, 0.2);
|
|
}
|
|
|
|
body.theme-minimal {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
|
|
letter-spacing: 0.16px;
|
|
}
|
|
|
|
body.theme-minimal .bg-grid,
|
|
body.theme-minimal .bg-glow {
|
|
display: none;
|
|
}
|
|
|
|
body.theme-minimal .top-nav {
|
|
background: var(--bg-primary);
|
|
border-bottom-color: var(--border-color);
|
|
}
|
|
|
|
body.theme-minimal .logo-icon {
|
|
background: var(--bg-secondary);
|
|
border-color: var(--border-color);
|
|
border-radius: 12px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .logo-pulse {
|
|
display: none;
|
|
}
|
|
|
|
body.theme-minimal .logo-title {
|
|
background: none;
|
|
-webkit-text-fill-color: var(--text-primary);
|
|
font-family: 'Inter', sans-serif;
|
|
font-weight: 500;
|
|
}
|
|
|
|
body.theme-minimal .logo-subtitle {
|
|
color: var(--text-muted);
|
|
letter-spacing: 0.24px;
|
|
}
|
|
|
|
body.theme-minimal .nav-item {
|
|
font-family: 'Inter', sans-serif;
|
|
font-weight: 500;
|
|
letter-spacing: 0.16px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
body.theme-minimal .nav-item:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .nav-item.active {
|
|
background: var(--bg-card-hover);
|
|
border-radius: 9999px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .system-status {
|
|
background: var(--bg-secondary);
|
|
border-color: var(--border-color);
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
body.theme-minimal .system-status .status-dot {
|
|
background: var(--green);
|
|
}
|
|
|
|
body.theme-minimal .system-status .status-text {
|
|
color: var(--green);
|
|
}
|
|
|
|
body.theme-minimal .search-box {
|
|
background: var(--bg-secondary);
|
|
border-radius: 9999px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
body.theme-minimal .search-box:focus-within {
|
|
box-shadow: 0 0 0 0.125rem rgba(73, 79, 223, 0.2);
|
|
}
|
|
|
|
body.theme-minimal .search-box i {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
body.theme-minimal .view-btn,
|
|
body.theme-minimal .filter-tab {
|
|
background: var(--bg-secondary);
|
|
border-radius: 9999px;
|
|
box-shadow: none;
|
|
padding: 10px 16px;
|
|
color: var(--text-secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
body.theme-minimal .view-btn:hover,
|
|
body.theme-minimal .filter-tab:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .view-btn i {
|
|
font-size: 14px;
|
|
}
|
|
|
|
body.theme-minimal .view-btn span {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
body.theme-minimal .stat-card {
|
|
background: var(--bg-secondary);
|
|
box-shadow: none;
|
|
border-radius: 20px;
|
|
padding: 20px 24px;
|
|
}
|
|
|
|
body.theme-minimal .stat-card:hover {
|
|
box-shadow: none;
|
|
transform: none;
|
|
background: var(--bg-card-hover);
|
|
}
|
|
|
|
body.theme-minimal .stat-icon {
|
|
background: var(--bg-card);
|
|
border-radius: 12px;
|
|
color: var(--cyan);
|
|
}
|
|
|
|
body.theme-minimal .stat-card.up .stat-icon {
|
|
color: var(--green);
|
|
}
|
|
|
|
body.theme-minimal .stat-card.down .stat-icon {
|
|
color: var(--red);
|
|
}
|
|
|
|
body.theme-minimal .stat-card.neutral .stat-icon {
|
|
color: var(--amber);
|
|
}
|
|
|
|
body.theme-minimal .futures-card {
|
|
background: var(--bg-secondary);
|
|
box-shadow: none;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
body.theme-minimal .futures-card::before {
|
|
display: none;
|
|
}
|
|
|
|
body.theme-minimal .futures-card:hover {
|
|
box-shadow: none;
|
|
transform: none;
|
|
background: var(--bg-card-hover);
|
|
}
|
|
|
|
body.theme-minimal .symbol-tag {
|
|
background: var(--bg-card);
|
|
border-color: var(--border-color);
|
|
border-radius: 12px;
|
|
color: var(--cyan);
|
|
}
|
|
|
|
body.theme-minimal .period-tag {
|
|
background: var(--bg-card);
|
|
border-radius: 9999px;
|
|
padding: 6px 12px;
|
|
}
|
|
|
|
body.theme-minimal .detail-link {
|
|
color: var(--cyan);
|
|
}
|
|
|
|
body.theme-minimal .detail-header {
|
|
background: var(--bg-secondary);
|
|
box-shadow: none;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
body.theme-minimal .symbol-code {
|
|
background: var(--bg-card);
|
|
border-radius: 9999px;
|
|
padding: 4px 12px;
|
|
}
|
|
|
|
body.theme-minimal .period-btn {
|
|
background: var(--bg-secondary);
|
|
border-radius: 9999px;
|
|
padding: 10px 20px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
body.theme-minimal .period-btn:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .chart-container {
|
|
background: var(--bg-secondary);
|
|
box-shadow: none;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
body.theme-minimal .panel-card {
|
|
background: var(--bg-secondary);
|
|
box-shadow: none;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
body.theme-minimal .panel-card:hover {
|
|
box-shadow: none;
|
|
}
|
|
|
|
body.theme-minimal .panel-header i {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .suggestion-card .suggestion-content {
|
|
background: var(--bg-card);
|
|
border-color: var(--border-color);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
body.theme-minimal .indicator-cell {
|
|
background: var(--bg-card);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
body.theme-minimal .level-item {
|
|
background: var(--bg-card);
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
body.theme-minimal .level-item.pivot-point {
|
|
background: rgba(124, 58, 237, 0.08);
|
|
border-color: rgba(124, 58, 237, 0.2);
|
|
}
|
|
|
|
body.theme-minimal .trend-row {
|
|
background: var(--bg-card);
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
body.theme-minimal .param-row {
|
|
background: var(--bg-card);
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
body.theme-minimal .back-btn {
|
|
background: var(--bg-secondary);
|
|
box-shadow: none;
|
|
border-radius: 9999px;
|
|
padding: 14px 32px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
body.theme-minimal .back-btn:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .datetime {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
body.theme-minimal .nav-btn {
|
|
border-radius: 9999px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
body.theme-minimal .nav-btn:hover {
|
|
background: var(--bg-card-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .sort-select select {
|
|
background: var(--bg-secondary);
|
|
border-color: var(--border-color);
|
|
border-radius: 9999px;
|
|
padding: 10px 36px 10px 16px;
|
|
font-family: 'Inter', sans-serif;
|
|
font-weight: 500;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23505a63' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 14px center;
|
|
background-size: 12px;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
body.theme-minimal .sort-select select:hover {
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
/* AI历史记录详情弹窗样式 */
|
|
.ai-history-detail {
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.detail-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.detail-header h4 {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.detail-header h4 i {
|
|
color: var(--cyan);
|
|
}
|
|
|
|
.detail-time {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.detail-summary {
|
|
background: rgba(6, 182, 212, 0.05);
|
|
border-left: 3px solid var(--cyan);
|
|
padding: 12px 16px;
|
|
margin-bottom: 16px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.detail-summary i {
|
|
color: var(--cyan);
|
|
font-size: 14px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.detail-summary p {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
flex: 1;
|
|
}
|
|
|
|
.detail-suggestion {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.suggestion-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
border-radius: 8px;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.suggestion-card.long {
|
|
border-color: var(--green);
|
|
background: rgba(16, 185, 129, 0.05);
|
|
}
|
|
|
|
.suggestion-card.short {
|
|
border-color: var(--red);
|
|
background: rgba(239, 68, 68, 0.05);
|
|
}
|
|
|
|
.suggestion-card.neutral {
|
|
border-color: var(--amber);
|
|
background: rgba(245, 158, 11, 0.05);
|
|
}
|
|
|
|
.suggestion-card i {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.suggestion-card.long i {
|
|
color: var(--green);
|
|
}
|
|
|
|
.suggestion-card.short i {
|
|
color: var(--red);
|
|
}
|
|
|
|
.suggestion-card.neutral i {
|
|
color: var(--amber);
|
|
}
|
|
|
|
.suggestion-text {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
flex: 1;
|
|
}
|
|
|
|
.suggestion-card.long .suggestion-text {
|
|
color: var(--green);
|
|
}
|
|
|
|
.suggestion-card.short .suggestion-text {
|
|
color: var(--red);
|
|
}
|
|
|
|
.suggestion-card.neutral .suggestion-text {
|
|
color: var(--amber);
|
|
}
|
|
|
|
.confidence-text {
|
|
font-size: 14px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.detail-metrics {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.metric-card {
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.metric-label {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.metric-value {
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.metric-value.down {
|
|
color: var(--red);
|
|
}
|
|
|
|
.detail-section {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.detail-section h5 {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.detail-section h5 i {
|
|
color: var(--cyan);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.four-d-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.four-d-table th {
|
|
background: var(--bg-secondary);
|
|
padding: 8px 10px;
|
|
text-align: left;
|
|
color: var(--text-muted);
|
|
font-weight: 600;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.four-d-table td {
|
|
padding: 10px;
|
|
border-bottom: 1px solid rgba(56, 189, 248, 0.05);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.four-d-table tr:hover td {
|
|
background: rgba(6, 182, 212, 0.03);
|
|
}
|
|
|
|
.kdj-diagnosis-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 10px;
|
|
}
|
|
|
|
.kdj-item {
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
padding: 10px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.kdj-label {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.kdj-value {
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.pivot-points-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
gap: 8px;
|
|
}
|
|
|
|
.pivot-item {
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
padding: 10px;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.pivot-item span:first-child {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pivot-item strong {
|
|
font-size: 14px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.pivot-item.resistance span:first-child {
|
|
color: var(--red);
|
|
}
|
|
|
|
.pivot-item.resistance strong {
|
|
color: var(--red);
|
|
}
|
|
|
|
.pivot-item.support span:first-child {
|
|
color: var(--green);
|
|
}
|
|
|
|
.pivot-item.support strong {
|
|
color: var(--green);
|
|
}
|
|
|
|
.pivot-item.center {
|
|
border-color: var(--purple);
|
|
background: rgba(139, 92, 246, 0.05);
|
|
}
|
|
|
|
.pivot-item.center span:first-child {
|
|
color: var(--purple);
|
|
}
|
|
|
|
.pivot-item.center strong {
|
|
color: var(--purple);
|
|
}
|
|
|
|
.warning-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.warning-list li {
|
|
background: rgba(245, 158, 11, 0.05);
|
|
border-left: 3px solid var(--amber);
|
|
padding: 10px 12px;
|
|
margin-bottom: 8px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.warning-list li:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.detail-metrics {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.pivot-points-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.kdj-diagnosis-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
AI智能分析样式
|
|
============================================ */
|
|
|
|
.panel-header-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.ai-analyze-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
background: linear-gradient(135deg, var(--purple), var(--cyan));
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: white;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.ai-analyze-btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px var(--purple-glow);
|
|
}
|
|
|
|
.ai-analyze-btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.ai-analyze-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.ai-analyze-btn i {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.ai-analysis-content {
|
|
min-height: 120px;
|
|
}
|
|
|
|
/* 情景预案卡片样式 */
|
|
.scenario-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.scenario-item {
|
|
display: grid;
|
|
grid-template-columns: 80px 60px 1fr;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.scenario-item:hover {
|
|
border-color: var(--border-glow);
|
|
background: var(--bg-card-hover);
|
|
}
|
|
|
|
.scenario-name {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--cyan);
|
|
}
|
|
|
|
.scenario-probability {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--amber);
|
|
text-align: center;
|
|
}
|
|
|
|
.scenario-action {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* 多周期趋势样式优化 */
|
|
.trends-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8px;
|
|
}
|
|
|
|
.trend-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 10px;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.trend-period {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.trend-badge {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
}
|
|
|
|
.trend-badge.up {
|
|
color: var(--green);
|
|
background: rgba(16, 185, 129, 0.1);
|
|
border: 1px solid rgba(16, 185, 129, 0.3);
|
|
}
|
|
|
|
.trend-badge.down {
|
|
color: var(--red);
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
.trend-badge.neutral {
|
|
color: var(--amber);
|
|
background: rgba(245, 158, 11, 0.1);
|
|
border: 1px solid rgba(245, 158, 11, 0.3);
|
|
}
|
|
|
|
.ai-analysis-placeholder {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ai-analysis-placeholder i {
|
|
font-size: 32px;
|
|
margin-bottom: 12px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.ai-analysis-placeholder p {
|
|
font-size: 13px;
|
|
text-align: center;
|
|
}
|
|
|
|
.ai-analysis-loading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.ai-analysis-loading i {
|
|
font-size: 28px;
|
|
color: var(--purple);
|
|
animation: pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 0.5; transform: scale(1); }
|
|
50% { opacity: 1; transform: scale(1.1); }
|
|
}
|
|
|
|
.ai-analysis-result {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.ai-summary {
|
|
padding: 12px;
|
|
background: rgba(139, 92, 246, 0.08);
|
|
border: 1px solid rgba(139, 92, 246, 0.15);
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.ai-suggestion-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.ai-suggestion-direction {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-suggestion-direction i {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.ai-suggestion-direction.long i {
|
|
color: var(--green);
|
|
}
|
|
|
|
.ai-suggestion-direction.short i {
|
|
color: var(--red);
|
|
}
|
|
|
|
.ai-suggestion-direction.neutral i {
|
|
color: var(--amber);
|
|
}
|
|
|
|
.ai-confidence {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.ai-confidence-bar {
|
|
width: 60px;
|
|
height: 4px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ai-confidence-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--amber), var(--green));
|
|
border-radius: 2px;
|
|
transition: width 0.5s ease;
|
|
}
|
|
|
|
.ai-key-metrics {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-metric-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 8px 10px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ai-metric-item .label {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ai-metric-item .value {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.ai-metric-item .value.up {
|
|
color: var(--green);
|
|
}
|
|
|
|
.ai-metric-item .value.down {
|
|
color: var(--red);
|
|
}
|
|
|
|
.ai-timestamp {
|
|
text-align: center;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
padding-top: 8px;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
/* AI分析详情模态框 */
|
|
.modal-large {
|
|
max-width: 900px;
|
|
width: 90%;
|
|
}
|
|
|
|
.modal-large .modal-body {
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ai-modal-section {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.ai-modal-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.ai-modal-section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--cyan);
|
|
margin-bottom: 12px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.ai-modal-section-title i {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.four-dimensional-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.four-dimensional-table th,
|
|
.four-dimensional-table td {
|
|
padding: 10px 12px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.four-dimensional-table th {
|
|
background: rgba(139, 92, 246, 0.08);
|
|
color: var(--purple);
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.four-dimensional-table td {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.four-dimensional-table tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.four-dimensional-table .period-cell {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.scenario-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.scenario-card {
|
|
padding: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 8px;
|
|
border-left: 3px solid var(--cyan);
|
|
}
|
|
|
|
.scenario-card.breakthrough {
|
|
border-left-color: var(--green);
|
|
}
|
|
|
|
.scenario-card.consolidation {
|
|
border-left-color: var(--amber);
|
|
}
|
|
|
|
.scenario-card.reversal {
|
|
border-left-color: var(--red);
|
|
}
|
|
|
|
.scenario-card.news {
|
|
border-left-color: var(--purple);
|
|
}
|
|
|
|
.scenario-probability {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
background: rgba(139, 92, 246, 0.15);
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--purple);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.scenario-action {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.red-lines-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.red-line-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
background: rgba(239, 68, 68, 0.08);
|
|
border: 1px solid rgba(239, 68, 68, 0.15);
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
color: var(--red);
|
|
}
|
|
|
|
.red-line-item.pass {
|
|
background: rgba(16, 185, 129, 0.08);
|
|
border-color: rgba(16, 185, 129, 0.15);
|
|
color: var(--green);
|
|
}
|
|
|
|
.discipline-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 10px;
|
|
}
|
|
|
|
.discipline-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.discipline-item i {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.discipline-item.pass i {
|
|
color: var(--green);
|
|
}
|
|
|
|
.discipline-item.fail i {
|
|
color: var(--red);
|
|
}
|
|
|
|
.discipline-label {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.ai-experience-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.experience-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
background: rgba(245, 158, 11, 0.08);
|
|
border: 1px solid rgba(245, 158, 11, 0.15);
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
color: var(--amber);
|
|
}
|
|
|
|
.experience-item i {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
body.theme-minimal .sort-select select:focus {
|
|
border-color: var(--cyan);
|
|
box-shadow: 0 0 0 0.125rem rgba(73, 79, 223, 0.2);
|
|
}
|
|
|
|
body.theme-minimal .sort-select select option {
|
|
background: var(--bg-secondary);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .sort-select select option:hover,
|
|
body.theme-minimal .sort-select select option:checked {
|
|
background: rgba(73, 79, 223, 0.1) !important;
|
|
}
|
|
|
|
body.theme-minimal .filter-tab.active {
|
|
background: var(--cyan);
|
|
color: white;
|
|
border-color: var(--cyan);
|
|
}
|
|
|
|
body.theme-minimal .view-btn.active {
|
|
background: var(--cyan);
|
|
border-color: var(--cyan);
|
|
color: white;
|
|
}
|
|
|
|
body.theme-minimal .period-btn.active {
|
|
background: var(--cyan);
|
|
border-color: var(--cyan);
|
|
color: white;
|
|
}
|
|
|
|
body.theme-minimal .suggestion-badge {
|
|
border-radius: 9999px;
|
|
padding: 6px 16px;
|
|
}
|
|
|
|
body.theme-minimal .btn,
|
|
body.theme-minimal button {
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
/* 主题切换按钮 */
|
|
.theme-toggle {
|
|
position: relative;
|
|
}
|
|
|
|
.theme-toggle i {
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
body.theme-minimal .theme-toggle i::before {
|
|
content: '\f185';
|
|
}
|
|
|
|
/* ============================================
|
|
自选按钮
|
|
============================================ */
|
|
.watch-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: none;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.watch-btn:hover {
|
|
border-color: var(--amber);
|
|
color: var(--amber);
|
|
}
|
|
|
|
.watch-btn.active {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
border-color: var(--amber);
|
|
color: var(--amber);
|
|
}
|
|
|
|
body.theme-minimal .watch-btn {
|
|
border-radius: 9999px;
|
|
background: var(--bg-card);
|
|
}
|
|
|
|
body.theme-minimal .watch-btn:hover {
|
|
background: rgba(236, 126, 0, 0.1);
|
|
}
|
|
|
|
body.theme-minimal .watch-btn.active {
|
|
background: rgba(236, 126, 0, 0.15);
|
|
}
|
|
|
|
/* 卡片刷新按钮 */
|
|
.card-refresh-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: none;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.card-refresh-btn:hover {
|
|
border-color: var(--cyan);
|
|
color: var(--cyan);
|
|
background: rgba(6, 182, 212, 0.1);
|
|
}
|
|
|
|
body.theme-minimal .card-refresh-btn {
|
|
border-radius: 9999px;
|
|
background: var(--bg-card);
|
|
}
|
|
|
|
body.theme-minimal .card-refresh-btn:hover {
|
|
background: rgba(6, 182, 212, 0.1);
|
|
}
|
|
|
|
/* ============================================
|
|
价格关键位标签
|
|
============================================ */
|
|
.price-levels {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.level-tag {
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.level-tag.resistance {
|
|
background: rgba(226, 59, 74, 0.1);
|
|
color: #e23b4a;
|
|
}
|
|
|
|
.level-tag.support {
|
|
background: rgba(0, 168, 126, 0.1);
|
|
color: #00a87e;
|
|
}
|
|
|
|
body.theme-minimal .level-tag {
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
/* ============================================
|
|
Toast 提示
|
|
============================================ */
|
|
.toast-container {
|
|
position: fixed;
|
|
top: 80px;
|
|
right: 24px;
|
|
z-index: 2000;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.toast {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 14px 20px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 12px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
|
backdrop-filter: blur(10px);
|
|
animation: slideIn 0.3s ease-out;
|
|
min-width: 280px;
|
|
max-width: 400px;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(100%);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
@keyframes slideOut {
|
|
from {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
|
|
.toast.removing {
|
|
animation: slideOut 0.3s ease-in forwards;
|
|
}
|
|
|
|
.toast-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
font-size: 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.toast.success .toast-icon {
|
|
background: rgba(16, 185, 129, 0.15);
|
|
color: var(--green);
|
|
}
|
|
|
|
.toast.info .toast-icon {
|
|
background: rgba(6, 182, 212, 0.15);
|
|
color: var(--cyan);
|
|
}
|
|
|
|
.toast.warning .toast-icon {
|
|
background: rgba(245, 158, 11, 0.15);
|
|
color: var(--amber);
|
|
}
|
|
|
|
.toast.error .toast-icon {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: var(--red);
|
|
}
|
|
|
|
.toast-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.toast-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.toast-message {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
body.theme-minimal .toast {
|
|
background: #ffffff;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* ============================================
|
|
刷新按钮
|
|
============================================ */
|
|
.refresh-all-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 20px;
|
|
background: var(--cyan);
|
|
border: none;
|
|
border-radius: 9999px;
|
|
color: white;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.refresh-all-btn:hover {
|
|
background: var(--cyan-glow);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.refresh-all-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.refresh-all-btn i {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.refresh-all-btn.spinning i {
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.filter-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* 详情页面刷新按钮 */
|
|
.detail-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.refresh-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
color: var(--text-secondary);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.refresh-btn:hover {
|
|
background: var(--bg-card-hover);
|
|
color: var(--text-primary);
|
|
border-color: var(--border-glow);
|
|
}
|
|
|
|
.refresh-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
body.theme-minimal .refresh-btn {
|
|
background: var(--bg-secondary);
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
body.theme-minimal .refresh-all-btn {
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
/* ============================================
|
|
历史分析记录
|
|
============================================ */
|
|
.chart-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.history-container {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 14px;
|
|
padding: 16px;
|
|
}
|
|
|
|
body.theme-minimal .history-container {
|
|
background: var(--bg-secondary);
|
|
border-radius: 20px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.history-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
margin-bottom: 12px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.history-header i {
|
|
color: var(--cyan);
|
|
}
|
|
|
|
body.theme-minimal .history-header i {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.history-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
max-height: 320px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 30px;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.history-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.history-item:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-color: var(--border-glow);
|
|
}
|
|
|
|
body.theme-minimal .history-item {
|
|
background: var(--bg-card);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
body.theme-minimal .history-item:hover {
|
|
background: var(--bg-card-hover);
|
|
}
|
|
|
|
.history-item-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.history-time {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
min-width: 130px;
|
|
}
|
|
|
|
.history-suggestion {
|
|
padding: 3px 10px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.history-suggestion.up {
|
|
background: rgba(16, 185, 129, 0.12);
|
|
color: var(--green);
|
|
}
|
|
|
|
.history-suggestion.down {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: var(--red);
|
|
}
|
|
|
|
.history-suggestion.neutral {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: var(--amber);
|
|
}
|
|
|
|
body.theme-minimal .history-suggestion {
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
.history-score {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.history-item-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.history-metric {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
.history-metric-label {
|
|
font-size: 10px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.history-metric-value {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.history-detail-btn {
|
|
width: 28px;
|
|
height: 28px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: none;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.history-detail-btn:hover {
|
|
color: var(--cyan);
|
|
border-color: var(--cyan);
|
|
}
|
|
|
|
body.theme-minimal .history-detail-btn {
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
/* ============================================
|
|
面板头部操作按钮
|
|
============================================ */
|
|
.panel-header-action {
|
|
margin-left: auto;
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.panel-header-action:hover {
|
|
color: var(--text-primary);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
/* ============================================
|
|
对话框
|
|
============================================ */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(4px);
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.modal-overlay.active {
|
|
display: flex;
|
|
}
|
|
|
|
.modal-content {
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 20px;
|
|
width: 90%;
|
|
max-width: 600px;
|
|
max-height: 80vh;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
body.theme-minimal .modal-content {
|
|
background: #ffffff;
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20px 24px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.modal-header h3 {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.modal-header h3 i {
|
|
color: var(--cyan);
|
|
}
|
|
|
|
body.theme-minimal .modal-header h3 i {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.modal-close {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
border-radius: 8px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .modal-close:hover {
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 24px;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
/* 对话框内容样式 */
|
|
.modal-suggestion-main {
|
|
text-align: center;
|
|
padding: 20px;
|
|
background: rgba(6, 182, 212, 0.06);
|
|
border: 1px solid rgba(6, 182, 212, 0.15);
|
|
border-radius: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
body.theme-minimal .modal-suggestion-main {
|
|
background: var(--bg-secondary);
|
|
border-color: var(--border-color);
|
|
}
|
|
|
|
.modal-suggestion-main .suggestion-badge {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.modal-suggestion-main .suggestion-reason {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.modal-params-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.modal-param-card {
|
|
padding: 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
body.theme-minimal .modal-param-card {
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.modal-param-card .param-label {
|
|
display: block;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.modal-param-card .param-value {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.modal-section {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.modal-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.modal-section-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
margin-bottom: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.modal-section-title i {
|
|
color: var(--cyan);
|
|
}
|
|
|
|
body.theme-minimal .modal-section-title i {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.modal-indicators-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 10px;
|
|
}
|
|
|
|
.modal-indicator-item {
|
|
padding: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
body.theme-minimal .modal-indicator-item {
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.modal-indicator-item .indicator-label {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.modal-indicator-item .indicator-value {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.modal-indicator-item .indicator-detail {
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.modal-levels-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.modal-level-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 8px 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 6px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
body.theme-minimal .modal-level-row {
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.modal-level-row .level-label {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.modal-level-row .level-value {
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.modal-trends-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.modal-trend-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 8px 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
body.theme-minimal .modal-trend-row {
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.modal-trend-period {
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.modal-trend-badge {
|
|
padding: 3px 10px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.modal-trend-badge.up {
|
|
background: rgba(16, 185, 129, 0.12);
|
|
color: var(--green);
|
|
}
|
|
|
|
.modal-trend-badge.down {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: var(--red);
|
|
}
|
|
|
|
.modal-trend-badge.neutral {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: var(--amber);
|
|
}
|
|
|
|
body.theme-minimal .modal-trend-badge {
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
body.theme-minimal .period-tag {
|
|
border-radius: 9999px;
|
|
padding: 6px 12px;
|
|
}
|
|
|
|
body.theme-minimal .detail-link {
|
|
color: var(--cyan);
|
|
}
|
|
|
|
body.theme-minimal .suggestion-card .suggestion-content {
|
|
background: var(--bg-card);
|
|
border-color: var(--border-color);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
body.theme-minimal .indicator-cell {
|
|
background: var(--bg-card);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
body.theme-minimal .level-item {
|
|
background: var(--bg-card);
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
body.theme-minimal .trend-row {
|
|
background: var(--bg-card);
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
body.theme-minimal .param-row {
|
|
background: var(--bg-card);
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
body.theme-minimal .back-btn {
|
|
background: var(--bg-secondary);
|
|
box-shadow: none;
|
|
border-radius: 9999px;
|
|
padding: 14px 32px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
body.theme-minimal .back-btn:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .datetime {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
body.theme-minimal .nav-btn {
|
|
border-radius: 9999px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
body.theme-minimal .nav-btn:hover {
|
|
background: var(--bg-card-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .sort-select select {
|
|
background: var(--bg-secondary);
|
|
border-color: var(--border-color);
|
|
border-radius: 9999px;
|
|
padding: 10px 36px 10px 16px;
|
|
font-family: 'Inter', sans-serif;
|
|
font-weight: 500;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23505a63' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 14px center;
|
|
background-size: 12px;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
body.theme-minimal .sort-select select:hover {
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
body.theme-minimal .sort-select select:focus {
|
|
border-color: var(--cyan);
|
|
box-shadow: 0 0 0 0.125rem rgba(73, 79, 223, 0.2);
|
|
}
|
|
|
|
body.theme-minimal .sort-select select option {
|
|
background: var(--bg-secondary);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body.theme-minimal .sort-select select option:hover,
|
|
body.theme-minimal .sort-select select option:checked {
|
|
background: rgba(73, 79, 223, 0.1) !important;
|
|
}
|
|
|
|
body.theme-minimal .filter-tab.active {
|
|
background: var(--cyan);
|
|
color: white;
|
|
border-color: var(--cyan);
|
|
}
|
|
|
|
body.theme-minimal .view-btn.active {
|
|
background: var(--cyan);
|
|
border-color: var(--cyan);
|
|
color: white;
|
|
}
|
|
|
|
body.theme-minimal .period-btn.active {
|
|
background: var(--cyan);
|
|
border-color: var(--cyan);
|
|
color: white;
|
|
}
|
|
|
|
body.theme-minimal .suggestion-badge {
|
|
border-radius: 9999px;
|
|
padding: 6px 16px;
|
|
}
|
|
|
|
body.theme-minimal .btn,
|
|
body.theme-minimal button {
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
/* 主题切换按钮 */
|
|
.theme-toggle {
|
|
position: relative;
|
|
}
|
|
|
|
.theme-toggle i {
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
body.theme-minimal .theme-toggle i::before {
|
|
content: '\f185';
|
|
}
|