chore: 初始提交 - 移除所有硬编码凭据,统一从环境变量读取
This commit is contained in:
@@ -0,0 +1,544 @@
|
||||
.bar { display: flex; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid #e8e8e8; margin-bottom: 16px }
|
||||
.btn { padding: 8px 16px; border: none; background: linear-gradient(135deg, #1677ff, #0958d9); color: #fff; border-radius: 6px; cursor: pointer; font-weight: 500; transition: all 0.2s ease; box-shadow: 0 2px 4px rgba(22, 119, 255, 0.2) }
|
||||
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3) }
|
||||
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(22, 119, 255, 0.2) }
|
||||
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 16px auto; width: 90% }
|
||||
.card { border: 1px solid #e8e8e8; border-radius: 12px; padding: 12px; display: grid; gap: 8px; background: var(--card-bg, #ffffff); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); transition: all 0.2s ease }
|
||||
.card-span-2 { grid-column: span 2 }
|
||||
.card-overseas { --card-bg: #FAE5E5 }
|
||||
.card-domestic { --card-bg: #F8E0FA }
|
||||
.card-enhanced { --card-bg: #FDF9E2 }
|
||||
.card-defensive { --card-bg: #DADAF8 }
|
||||
.card-us:not(.card-defensive) { --card-bg: #EDF4FF }
|
||||
.card-299 { --card-bg: #09D3C0 }
|
||||
.card-error { --card-bg: #f0f0f0; border-color: #d9d9d9; opacity: 0.7 }
|
||||
.card-zhonghang-299 { padding: 16px; min-height: 260px }
|
||||
.card-zhonghang-299 .price-display { font-size: 15px; font-weight: 500; line-height: 1.7 }
|
||||
.card-zhonghang-299 .zh299-wrap { display: grid; gap: 10px }
|
||||
.card-zhonghang-299 .zh299-price { font-size: 16px; font-weight: 700; color: #003a8c }
|
||||
.card-zhonghang-299 .zh299-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
|
||||
.card-zhonghang-299 .zh299-block { border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 10px; background: rgba(255, 255, 255, 0.72); padding: 10px 12px }
|
||||
.card-zhonghang-299 .zh299-title { font-size: 13px; font-weight: 700; color: #0958d9; margin-bottom: 6px }
|
||||
.card-zhonghang-299 .zh299-row { font-size: 13px; color: #262626; line-height: 1.7 }
|
||||
.card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); transform: translateY(-2px) }
|
||||
.meta { font-size: 12px; color: #8c8c8c; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif }
|
||||
.up { color: #f5222d; font-weight: 600 }
|
||||
.down { color: #52c41a; font-weight: 600 }
|
||||
.card-alert { border-color: #ff4d4f; box-shadow: 0 0 0 2px rgba(255,77,79,0.1) }
|
||||
.alert-flag { display: inline-block; padding: 2px 8px; font-size: 12px; border-radius: 12px; background: linear-gradient(135deg, #ff4d4f, #cf1322); color: #ffffff; margin-left: 8px; font-weight: 500 }
|
||||
.threshold-label { margin-left: auto; font-size: 13px; color: #fa8c16; font-weight: 500; background: #fff7e6; padding: 4px 8px; border-radius: 4px; border: 1px solid #ffe7ba }
|
||||
.debug { margin: 16px 0; padding: 12px; border: 1px dashed #d9d9d9; border-radius: 8px; background: #fafafa }
|
||||
.debug-actions { display: flex; gap: 8px; margin-bottom: 12px }
|
||||
.debug-output { height: 240px; overflow: auto; background: #f5f5f5; padding: 12px; font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", "Liberation Mono", "Courier New", monospace; font-size: 13px; line-height: 1.5; border-radius: 6px; border: 1px solid #e8e8e8 }
|
||||
.status { margin: 16px 0; padding: 12px; border: 1px solid #ffe58f; background: linear-gradient(135deg, #fffbe6, #fffb8f); color: #fa8c16; border-radius: 8px; font-weight: 500 }
|
||||
.subtabs { display: flex; gap: 4px; margin: 0; padding: 4px; background: #f5f5f5; border-radius: 12px; align-items: center; justify-content: center }
|
||||
.subtab { border: none; background: transparent; padding: 6px 18px; border-radius: 8px; cursor: pointer; font-weight: 500; color: #595959; transition: all 0.2s ease }
|
||||
.subtab:hover { background: rgba(22, 119, 255, 0.1); color: #1677ff }
|
||||
.subtab.active { background: #1677ff; color: #ffffff; box-shadow: 0 2px 8px rgba(22, 119, 255, 0.3) }
|
||||
main { padding: 6px 12px 12px }
|
||||
.panel { border: 1px solid #d9d9d9; padding: 20px; margin-top: 8px; border-radius: 12px; background: #ffffff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) }
|
||||
.markets-layout { display: block }
|
||||
.status-inline { margin: 0 0 0 auto; padding: 4px 12px; font-size: 13px; border-radius: 999px; white-space: nowrap; max-width: 60%; text-align: right }
|
||||
|
||||
#archive-view iframe { width: 100%; border: 0; min-height: 420px }
|
||||
#wisdom-frame { width: 100%; border: 0; min-height: calc(100vh - 140px) }
|
||||
|
||||
.markets-calendar-summary { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 10px; margin-bottom: 12px; align-items: stretch }
|
||||
.markets-calendar-overview { border: 1px solid #e5e7eb; border-radius: 10px; background: linear-gradient(180deg, #ffffff, #f8fbff); padding: 10px 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); min-width: 0 }
|
||||
.markets-calendar-overview-main { background: linear-gradient(180deg, #fff8db, #fff4c7); border-color: #f2d98a; display: flex; align-items: center }
|
||||
.markets-calendar-overview-line { font-size: 12px; color: #d97706; line-height: 1.45; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
|
||||
.markets-calendar-overview-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px }
|
||||
.markets-calendar-overview-sync { display: flex; align-items: center }
|
||||
.markets-calendar-sync-content { max-height: calc(1.35em * 2 + 2px); overflow: auto; min-width: 0; width: 100%; line-height: 1.35 }
|
||||
.markets-calendar-sync-title { font-size: 11px; color: #6b7280; font-weight: 600; margin-right: 6px; white-space: nowrap }
|
||||
.markets-calendar-stat { border: 1px solid #e5e7eb; border-radius: 10px; background: #ffffff; padding: 8px 10px; box-shadow: none; min-width: 0 }
|
||||
.markets-calendar-stat-label { font-size: 11px; color: #6b7280; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
|
||||
.markets-calendar-stat-value { font-size: 18px; line-height: 1; font-weight: 700; color: #0f172a }
|
||||
.markets-calendar-stat-note { font-size: 11px; color: #475569; line-height: 1.35 }
|
||||
.markets-calendar-sync-text { white-space: normal; word-break: break-all }
|
||||
.markets-calendar-board { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 0.95fr); gap: 16px; align-items: start }
|
||||
.markets-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: stretch }
|
||||
.markets-calendar-weekday { text-align: center; padding: 10px 6px; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; color: #475569; font-size: 13px; font-weight: 600 }
|
||||
.markets-calendar-cell { min-height: 114px; border: 1px solid #dbe4f0; border-radius: 14px; background: #ffffff; padding: 10px; display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: left; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) }
|
||||
.markets-calendar-cell:hover { border-color: #91caff; box-shadow: 0 6px 18px rgba(22, 119, 255, 0.12); transform: translateY(-1px) }
|
||||
.markets-calendar-cell.is-selected { border-color: #1677ff; box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.12) }
|
||||
.markets-calendar-cell.is-today { background: linear-gradient(180deg, #ffeaea, #ffffff); border-color: #ff4d4f; box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2) }
|
||||
.markets-calendar-cell.is-closed { background: linear-gradient(180deg, #fff7f7, #ffffff) }
|
||||
.markets-calendar-cell.has-ipo { background: linear-gradient(180deg, #fffdf2, #ffffff) }
|
||||
.markets-calendar-cell-blank { min-height: 0; border: 0; background: transparent; box-shadow: none; cursor: default }
|
||||
.markets-calendar-cell-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start }
|
||||
.markets-calendar-day-no { font-size: 20px; font-weight: 700; color: #111827 }
|
||||
.markets-calendar-mini-tag { display: inline-flex; align-items: center; max-width: 78px; padding: 2px 6px; border-radius: 999px; background: #fff1f2; color: #be123c; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
|
||||
.markets-calendar-cell-body { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; margin-top: auto }
|
||||
.markets-calendar-pill { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.2; border: 1px solid transparent }
|
||||
.markets-calendar-pill-open { background: #f0fdf4; color: #15803d; border-color: #bbf7d0 }
|
||||
.markets-calendar-pill-closed { background: #fff1f2; color: #be123c; border-color: #fecdd3 }
|
||||
.markets-calendar-pill-ipo { background: #fffbeb; color: #b45309; border-color: #fde68a }
|
||||
.markets-calendar-pill-ai-ok { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe }
|
||||
.markets-calendar-pill-ai-warn { background: #fff7ed; color: #c2410c; border-color: #fdba74 }
|
||||
.markets-calendar-pill-ai-risk { background: #fef2f2; color: #b91c1c; border-color: #fca5a5 }
|
||||
.markets-calendar-pill-muted { background: #f8fafc; color: #475569; border-color: #e2e8f0 }
|
||||
.markets-calendar-detail { border: 1px solid #dbe4f0; border-radius: 14px; padding: 16px; background: linear-gradient(180deg, #ffffff, #f8fbff); min-height: 100% }
|
||||
.markets-calendar-detail-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 16px }
|
||||
.markets-calendar-detail-date { font-size: 22px; font-weight: 700; color: #0f172a }
|
||||
.markets-calendar-detail-weekday { font-size: 13px; color: #64748b; margin-top: 4px }
|
||||
.markets-calendar-detail-group { display: grid; gap: 10px; margin-bottom: 16px }
|
||||
.markets-calendar-detail-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #ffffff; border: 1px solid #edf2f7; font-size: 13px }
|
||||
.markets-calendar-detail-row span { color: #64748b }
|
||||
.markets-calendar-detail-row strong { color: #111827; text-align: right }
|
||||
.markets-calendar-detail-section-title { font-size: 14px; font-weight: 700; color: #111827; margin-bottom: 12px }
|
||||
.markets-calendar-ipo-list { display: grid; gap: 10px }
|
||||
.markets-calendar-ipo-item { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; background: #ffffff }
|
||||
.markets-calendar-ipo-title { font-size: 14px; font-weight: 700; color: #111827; margin-bottom: 6px }
|
||||
.markets-calendar-ipo-title span { font-size: 12px; font-weight: 500; color: #64748b; margin-left: 6px }
|
||||
.markets-calendar-ipo-meta { font-size: 12px; color: #475569; line-height: 1.7 }
|
||||
.markets-calendar-detail-empty, .markets-calendar-empty { border: 1px dashed #cbd5e1; border-radius: 12px; padding: 20px; color: #64748b; background: #f8fafc; font-size: 13px; line-height: 1.7 }
|
||||
|
||||
.markets-weekly-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px }
|
||||
.markets-weekly-stat { border: 1px solid #e5e7eb; border-radius: 12px; background: linear-gradient(180deg, #ffffff, #f8fbff); padding: 14px 16px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) }
|
||||
.markets-weekly-stat-action { width: 100%; text-align: left; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease; appearance: none }
|
||||
.markets-weekly-stat-action:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) }
|
||||
.markets-weekly-stat-action.is-active { box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12); border-width: 1px }
|
||||
.markets-weekly-stat-all.is-active,
|
||||
.markets-weekly-stat-available.is-active { border-color: #93c5fd; background: linear-gradient(180deg, #eff6ff, #dbeafe) }
|
||||
.markets-weekly-stat-positive.is-active { border-color: #fda4af; background: linear-gradient(180deg, #fff1f2, #ffe4e6) }
|
||||
.markets-weekly-stat-negative.is-active { border-color: #86efac; background: linear-gradient(180deg, #f0fdf4, #dcfce7) }
|
||||
.markets-weekly-stat-missing.is-active { border-color: #fdba74; background: linear-gradient(180deg, #fff7ed, #ffedd5) }
|
||||
.markets-weekly-stat-label { font-size: 12px; color: #6b7280; margin-bottom: 8px }
|
||||
.markets-weekly-stat-value { font-size: 28px; line-height: 1; font-weight: 700; color: #0f172a }
|
||||
.markets-weekly-stat-range { font-size: 17px; line-height: 1.4 }
|
||||
.markets-weekly-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px }
|
||||
.markets-weekly-card { border: 1px solid #dbe4f0; border-radius: 14px; background: linear-gradient(180deg, #ffffff, #f8fbff); padding: 14px; display: grid; gap: 10px; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) }
|
||||
.markets-weekly-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start }
|
||||
.markets-weekly-card-title { font-size: 15px; font-weight: 700; color: #111827 }
|
||||
.markets-weekly-card-subtitle { font-size: 12px; color: #64748b; margin-top: 4px }
|
||||
.markets-weekly-card-links { display: flex; align-items: center; gap: 8px }
|
||||
.markets-weekly-link { font-size: 12px; color: #1677ff; text-decoration: none }
|
||||
.markets-weekly-card-range { font-size: 12px; color: #475569; padding: 8px 10px; background: #ffffff; border: 1px solid #edf2f7; border-radius: 10px }
|
||||
.markets-weekly-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px }
|
||||
.markets-weekly-card-grid div { border: 1px solid #edf2f7; border-radius: 10px; background: #ffffff; padding: 8px 10px; display: grid; gap: 4px }
|
||||
.markets-weekly-card-grid .markets-weekly-cell-up { background: #fff2f0; border-color: #ffc1b8 }
|
||||
.markets-weekly-card-grid .markets-weekly-cell-down { background: #f6ffed; border-color: #c6e8a8 }
|
||||
.markets-weekly-card-grid span { font-size: 12px; color: #64748b }
|
||||
.markets-weekly-card-grid strong { font-size: 14px; color: #111827 }
|
||||
.markets-weekly-card-meta { font-size: 12px; color: #475569; line-height: 1.6 }
|
||||
.markets-weekly-card-note { font-size: 12px; color: #64748b; line-height: 1.7; padding-top: 6px; border-top: 1px dashed #dbe4f0 }
|
||||
.markets-weekly-empty { border: 1px dashed #cbd5e1; border-radius: 12px; padding: 20px; color: #64748b; background: #f8fafc; font-size: 13px; line-height: 1.7; grid-column: 1 / -1 }
|
||||
|
||||
/* 日期选择器样式 */
|
||||
input[type="date"] {
|
||||
min-width: 140px;
|
||||
padding: 6px 12px;
|
||||
border: 1px solid #d9d9d9;
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
background: #ffffff;
|
||||
color: #262626;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
|
||||
}
|
||||
|
||||
input[type="date"]:focus {
|
||||
outline: none;
|
||||
border-color: #1677ff;
|
||||
box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.1);
|
||||
}
|
||||
|
||||
input[type="date"]:hover {
|
||||
border-color: #4096ff;
|
||||
}
|
||||
|
||||
/* 金融专业风格增强 */
|
||||
.price-display { font-size: 16px; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif }
|
||||
.change-percent { font-size: 14px; font-weight: 600; padding: 2px 6px; border-radius: 4px; display: inline-block }
|
||||
.change-percent.up { background: #fff2f0; border: 1px solid #ffccc7 }
|
||||
.change-percent.down { background: #f6ffed; border: 1px solid #b7eb8f }
|
||||
|
||||
/* 加载动画 */
|
||||
.loading-spinner {
|
||||
border: 2px solid #f0f0f0;
|
||||
border-top: 2px solid #1677ff;
|
||||
border-radius: 50%;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
animation: spin 1s linear infinite;
|
||||
display: inline-block;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.grid { grid-template-columns: 1fr; gap: 12px; width: 100% }
|
||||
.card-span-2 { grid-column: span 1 }
|
||||
.card-zhonghang-299 { padding: 12px; min-height: auto }
|
||||
.card-zhonghang-299 .zh299-grid { grid-template-columns: 1fr; gap: 10px }
|
||||
.bar { flex-wrap: wrap; gap: 8px; padding: 8px 0; margin-bottom: 12px }
|
||||
.btn { padding: 10px 16px; font-size: 14px; -webkit-tap-highlight-color: transparent; width: 100%; text-align: center }
|
||||
input[type="date"] {
|
||||
min-width: 140px;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
.card { padding: 12px; border-radius: 10px }
|
||||
.meta { font-size: 12px; line-height: 1.5 }
|
||||
.subtabs { flex-wrap: wrap; margin: 16px 0; padding: 2px }
|
||||
.subtab { padding: 8px 16px; font-size: 14px; flex: 1; min-width: 0; text-align: center }
|
||||
.panel { padding: 16px; margin-top: 12px; border-radius: 10px }
|
||||
#archive-view iframe { min-height: 400px; border-radius: 8px }
|
||||
.debug-output { height: 200px; font-size: 12px }
|
||||
.status { margin: 12px 0; padding: 10px; font-size: 13px }
|
||||
.markets-calendar-summary { grid-template-columns: 1fr; gap: 8px }
|
||||
.markets-calendar-overview-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) }
|
||||
.markets-calendar-overview { padding: 9px 10px }
|
||||
.markets-calendar-board { grid-template-columns: 1fr; gap: 12px }
|
||||
.markets-calendar-grid { gap: 8px }
|
||||
.markets-calendar-cell { min-height: 96px; padding: 8px }
|
||||
.markets-calendar-day-no { font-size: 18px }
|
||||
.markets-calendar-mini-tag { max-width: 58px }
|
||||
.markets-calendar-detail { padding: 12px }
|
||||
|
||||
/* 移动端特定优化 */
|
||||
.price-display { font-size: 15px }
|
||||
.change-percent { font-size: 13px }
|
||||
.alert-flag { font-size: 11px; margin-left: 4px }
|
||||
.threshold-label { font-size: 12px; margin-left: 0; margin-top: 8px }
|
||||
.markets-weekly-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
|
||||
.markets-weekly-grid { grid-template-columns: 1fr; gap: 12px }
|
||||
.markets-weekly-stat-range { font-size: 15px }
|
||||
}
|
||||
|
||||
#news-table { table-layout: fixed }
|
||||
#news-table td { word-wrap: break-word; overflow-wrap: break-word }
|
||||
|
||||
.skills-meta-body {
|
||||
width: 90vw;
|
||||
max-width: 90vw;
|
||||
height: 90vh;
|
||||
max-height: 90vh;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 20px 24px;
|
||||
}
|
||||
|
||||
.skills-meta-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 12px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.skills-meta-header h3 {
|
||||
margin: 0;
|
||||
font-size: 20px;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.skills-meta-stats {
|
||||
font-size: 14px;
|
||||
color: #475569;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.skills-meta-stats span {
|
||||
padding: 4px 12px;
|
||||
border-radius: 999px;
|
||||
background: #f0f9ff;
|
||||
border: 1px solid #bae6fd;
|
||||
}
|
||||
|
||||
.skills-meta-content {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.skills-meta-section {
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 12px;
|
||||
padding: 14px 16px;
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
.skills-meta-section-title {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: #111827;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.skills-meta-table-wrap {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.skills-meta-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.skills-meta-table th {
|
||||
background: #f1f5f9;
|
||||
padding: 8px 10px;
|
||||
text-align: left;
|
||||
font-weight: 600;
|
||||
color: #475569;
|
||||
border-bottom: 2px solid #e2e8f0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.skills-meta-table td {
|
||||
padding: 7px 10px;
|
||||
border-bottom: 1px solid #edf2f7;
|
||||
color: #1e293b;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.skills-meta-table tr:hover td {
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.skills-meta-table .cell-health-ok { color: #16a34a }
|
||||
.skills-meta-table .cell-health-warn { color: #ea580c; font-weight: 600 }
|
||||
.skills-meta-table .cell-health-err { color: #dc2626; font-weight: 700 }
|
||||
|
||||
.skills-meta-structure {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.skills-meta-structure-item {
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e5e7eb;
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
.skills-meta-structure-item strong {
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.skills-meta-structure-item .tag {
|
||||
display: inline-block;
|
||||
padding: 1px 8px;
|
||||
border-radius: 999px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.skills-meta-structure-item .tag-shared { background: #ede9fe; color: #7c3aed }
|
||||
.skills-meta-structure-item .tag-independent { background: #e0f2fe; color: #0369a1 }
|
||||
.skills-meta-structure-item .tag-backup { background: #fef3c7; color: #b45309 }
|
||||
|
||||
.skills-meta-anomalies {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.skills-meta-anomaly {
|
||||
padding: 10px 14px;
|
||||
border-radius: 10px;
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.skills-meta-anomaly.critical {
|
||||
background: #fef2f2;
|
||||
border: 1px solid #fecaca;
|
||||
color: #b91c1c;
|
||||
}
|
||||
|
||||
.skills-meta-anomaly.warning {
|
||||
background: #fffbeb;
|
||||
border: 1px solid #fde68a;
|
||||
color: #b45309;
|
||||
}
|
||||
|
||||
.skills-meta-anomaly strong { color: inherit }
|
||||
|
||||
.skills-meta-heartbeats {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.skills-meta-hb-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 6px 14px;
|
||||
border-radius: 999px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.skills-meta-hb-item.ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d }
|
||||
.skills-meta-hb-item.fail { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c }
|
||||
|
||||
/* email log table */
|
||||
.email-log-table { width: 100%; border-collapse: collapse; font-size: 13px }
|
||||
.email-log-table th { background: #f8fafc; padding: 10px 12px; text-align: left; font-weight: 600; color: #475569; border-bottom: 2px solid #e2e8f0; white-space: nowrap; position: sticky; top: 0; z-index: 1 }
|
||||
.email-log-table td { padding: 8px 12px; border-bottom: 1px solid #f1f5f9; vertical-align: middle }
|
||||
.email-log-table tr:hover td { background: #f8fafc }
|
||||
.email-status-ok { display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0 }
|
||||
.email-status-err { display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca }
|
||||
.email-status-warn { display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; background: #fffbeb; color: #b45309; border: 1px solid #fde68a }
|
||||
.email-status-pending { display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; background: #f0f9ff; color: #0369a1; border: 1px solid #bae6fd }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.skills-meta-body { width: 96vw; max-width: 96vw; height: 92vh; max-height: 92vh; padding: 14px 12px }
|
||||
.skills-meta-structure { grid-template-columns: 1fr }
|
||||
}
|
||||
|
||||
.news-summary-row { margin-bottom: 12px; padding: 8px 0 }
|
||||
.news-continent-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: #eef2ff; color: #4338ca }
|
||||
.news-link { text-decoration: none; font-size: 14px }
|
||||
.news-link:hover { opacity: 0.7 }
|
||||
#news-table td { vertical-align: top; padding: 10px 12px }
|
||||
|
||||
.news-insight { max-width: 280px }
|
||||
.news-insight.expandable { position: relative; padding-bottom: 26px }
|
||||
.news-insight .expandable-content { font-size: 13px; line-height: 1.5; color: #334155; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; word-break: break-word }
|
||||
.news-insight.expanded .expandable-content { display: block; -webkit-line-clamp: unset; overflow: visible }
|
||||
.news-insight.unrelated .expandable-content { color: #94a3b8 }
|
||||
.news-insight .expandable-toggle { position: absolute; right: 6px; bottom: 4px; font-size: 12px; color: #6366f1; cursor: pointer; user-select: none; background: rgba(255,255,255,0.85); padding: 1px 6px; border-radius: 4px; z-index: 1 }
|
||||
.news-insight .expandable-toggle:hover { color: #4f46e5; text-decoration: underline }
|
||||
|
||||
.interaction-modal-body {
|
||||
width: min(960px, 92vw);
|
||||
max-width: 92vw;
|
||||
height: min(82vh, 760px);
|
||||
max-height: 82vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.interaction-modal-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.interaction-modal-head h3 {
|
||||
margin: 0;
|
||||
font-size: 20px;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.interaction-meta {
|
||||
margin-top: 6px;
|
||||
font-size: 12px;
|
||||
color: #64748b;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.interaction-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 72px;
|
||||
padding: 6px 12px;
|
||||
border-radius: 999px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
background: #eff6ff;
|
||||
color: #1d4ed8;
|
||||
border: 1px solid #bfdbfe;
|
||||
}
|
||||
|
||||
.interaction-badge.success {
|
||||
background: #f0fdf4;
|
||||
color: #15803d;
|
||||
border-color: #bbf7d0;
|
||||
}
|
||||
|
||||
.interaction-badge.error {
|
||||
background: #fef2f2;
|
||||
color: #b91c1c;
|
||||
border-color: #fecaca;
|
||||
}
|
||||
|
||||
.interaction-summary {
|
||||
padding: 12px 14px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid #dbeafe;
|
||||
background: linear-gradient(180deg, #eff6ff, #f8fbff);
|
||||
color: #1e3a8a;
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.interaction-summary.success {
|
||||
border-color: #bbf7d0;
|
||||
background: linear-gradient(180deg, #f0fdf4, #f8fff9);
|
||||
color: #166534;
|
||||
}
|
||||
|
||||
.interaction-summary.error {
|
||||
border-color: #fecaca;
|
||||
background: linear-gradient(180deg, #fef2f2, #fff7f7);
|
||||
color: #991b1b;
|
||||
}
|
||||
|
||||
.interaction-log {
|
||||
flex: 1;
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
border-radius: 12px;
|
||||
border: 1px solid #1e293b;
|
||||
background: #0f172a;
|
||||
color: #dbeafe;
|
||||
padding: 14px 16px;
|
||||
font-size: 12px;
|
||||
line-height: 1.7;
|
||||
font-family: "Cascadia Code", "JetBrains Mono", "Consolas", monospace;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.interaction-actions {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.interaction-hint {
|
||||
margin-right: auto;
|
||||
font-size: 12px;
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.interaction-modal-body {
|
||||
width: 96vw;
|
||||
max-width: 96vw;
|
||||
height: 88vh;
|
||||
max-height: 88vh;
|
||||
padding: 14px 12px;
|
||||
}
|
||||
|
||||
.interaction-modal-head {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.interaction-badge {
|
||||
align-self: flex-start;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user