.overview-screen { display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 0; padding: 4px; overflow-y: auto; } /* ---------- header ---------- */ .overview-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border: 1px solid rgba(103, 232, 249, 0.24); border-radius: 18px; background: linear-gradient(120deg, rgba(34, 211, 238, 0.14), rgba(8, 18, 38, 0.66)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 32px rgba(34, 211, 238, 0.1); } .overview-title { display: flex; align-items: center; gap: 14px; } .overview-title-icon { font-size: 30px; color: #22d3ee; text-shadow: 0 0 18px rgba(34, 211, 238, 0.8); } .overview-title h1 { margin: 0; color: #e6f7ff; font-size: 22px; letter-spacing: 2px; } .overview-title p { margin: 4px 0 0; color: rgba(103, 232, 249, 0.85); font-size: 11px; letter-spacing: 3px; } .overview-head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; } .overview-links { display: flex; gap: 14px; } .overview-links a { padding: 5px 14px; color: #a5f3fc; border: 1px solid rgba(103, 232, 249, 0.35); border-radius: 20px; background: rgba(34, 211, 238, 0.1); font-size: 13px; transition: all 0.25s ease; } .overview-links a:hover { color: #06121f; background: #22d3ee; box-shadow: 0 0 18px rgba(34, 211, 238, 0.7); } .overview-clock { display: flex; align-items: center; gap: 8px; color: #a5f3fc; font-size: 15px; font-variant-numeric: tabular-nums; } /* ---------- KPI cards ---------- */ .overview-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; } .kpi-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; overflow: hidden; border: 1px solid rgba(103, 232, 249, 0.2); border-radius: 16px; background: linear-gradient(150deg, rgba(14, 30, 56, 0.85), rgba(8, 18, 38, 0.6)); transition: transform 0.25s ease, box-shadow 0.25s ease; } .kpi-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(2, 8, 23, 0.5); } .kpi-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: 0 0 auto; font-size: 22px; border-radius: 12px; } .kpi-meta { display: flex; flex-direction: column; min-width: 0; } .kpi-label { color: rgba(214, 244, 255, 0.6); font-size: 12px; } .kpi-value { color: #e6f7ff; font-size: 24px; font-weight: 700; line-height: 1.25; font-variant-numeric: tabular-nums; } .kpi-sub { color: rgba(214, 244, 255, 0.72); font-size: 11px; } .kpi-corner { position: absolute; top: 0; right: 0; width: 40px; height: 40px; clip-path: polygon(100% 0, 0 0, 100% 100%); opacity: 0.5; } .tone-cyan .kpi-icon { color: #22d3ee; background: rgba(34, 211, 238, 0.14); } .tone-cyan .kpi-corner { background: #22d3ee; } .tone-green .kpi-icon { color: #4ade80; background: rgba(74, 222, 128, 0.14); } .tone-green .kpi-corner { background: #4ade80; } .tone-red .kpi-icon { color: #fb7185; background: rgba(251, 113, 133, 0.14); } .tone-red .kpi-corner { background: #fb7185; } .tone-purple .kpi-icon { color: #c084fc; background: rgba(192, 132, 252, 0.14); } .tone-purple .kpi-corner { background: #c084fc; } .tone-blue .kpi-icon { color: #60a5fa; background: rgba(96, 165, 250, 0.14); } .tone-blue .kpi-corner { background: #60a5fa; } /* ---------- panels row ---------- */ .overview-panels { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 14px; flex: 1; min-height: 300px; } .ov-panel { display: flex; flex-direction: column; padding: 16px; border: 1px solid rgba(103, 232, 249, 0.2); border-radius: 16px; background: linear-gradient(160deg, rgba(14, 30, 56, 0.78), rgba(8, 18, 38, 0.6)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); } .panel-title { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(103, 232, 249, 0.14); } .panel-title-bar { width: 4px; height: 16px; border-radius: 2px; background: #22d3ee; box-shadow: 0 0 10px rgba(34, 211, 238, 0.8); } .panel-title h3 { margin: 0; color: #e6f7ff; font-size: 15px; } .panel-title-tag { margin-inline-start: auto; color: #67e8f9; border-color: rgba(103, 232, 249, 0.3); background: rgba(34, 211, 238, 0.08); font-size: 10px; letter-spacing: 1px; } /* ---------- trend chart ---------- */ .trend-chart { flex: 1; display: flex; flex-direction: column; } .trend-chart svg { flex: 1; width: 100%; min-height: 160px; } .trend-x { display: flex; justify-content: space-between; padding: 6px 26px 0; } .trend-x span { color: rgba(214, 244, 255, 0.55); font-size: 11px; } /* ---------- donut ---------- */ .donut-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; } .donut-svg { width: 150px; } .donut-total { fill: #e6f7ff; font-size: 26px; font-weight: 700; } .donut-label { fill: rgba(214, 244, 255, 0.5); font-size: 11px; } .donut-legend { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 0; margin: 0; list-style: none; } .donut-legend li { display: flex; align-items: center; gap: 8px; color: rgba(214, 244, 255, 0.75); font-size: 12px; } .donut-legend strong { margin-inline-start: auto; color: #e6f7ff; font-variant-numeric: tabular-nums; } .legend-dot { width: 8px; height: 8px; border-radius: 50%; } /* ---------- latest alarms ---------- */ .latest-list { flex: 1; padding: 0; margin: 0; overflow-y: auto; list-style: none; } .latest-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 4px; border-bottom: 1px dashed rgba(103, 232, 249, 0.12); } .latest-text { display: inline-flex; flex-direction: column; line-height: 1.4; } .latest-name { color: #d6f4ff; font-size: 13px; } .latest-rule { color: rgba(214, 244, 255, 0.72); font-size: 11px; } .latest-time { color: rgba(214, 244, 255, 0.5); font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; } .latest-empty { justify-content: center; color: rgba(214, 244, 255, 0.45); font-size: 13px; } /* ---------- responsive ---------- */ @media (max-width: 1400px) { .overview-kpis { grid-template-columns: repeat(3, 1fr); } .overview-panels { grid-template-columns: 1fr 1fr; } } @media (max-width: 900px) { .overview-kpis { grid-template-columns: repeat(2, 1fr); } .overview-panels { grid-template-columns: 1fr; } .overview-header { flex-direction: column; gap: 10px; align-items: flex-start; } } /* ================= 绚丽增强(概览大屏专属) ================= */ /* 头部横幅:流动的极光底色 + 顶部高光扫过 */ .overview-header { position: relative; overflow: hidden; } .overview-header::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.2), transparent 42%), radial-gradient(circle at 82% 30%, rgba(139, 92, 246, 0.18), transparent 46%); animation: dazzle-ov-header-drift 16s ease-in-out infinite alternate; } @keyframes dazzle-ov-header-drift { from { transform: translate3d(-3%, 0, 0) scale(1); } to { transform: translate3d(3%, -4%, 0) scale(1.06); } } .overview-header::after { content: ""; position: absolute; top: 0; right: 12%; left: 12%; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.85), transparent); background-repeat: no-repeat; background-size: 45% 100%; animation: dazzle-ov-topline 5.5s linear infinite; } @keyframes dazzle-ov-topline { from { background-position: -45% 0; } to { background-position: 145% 0; } } /* 标题图标呼吸 + 副标题字母微光 */ .overview-title-icon { animation: dazzle-ov-icon-breathe 3s ease-in-out infinite; } @keyframes dazzle-ov-icon-breathe { 0%, 100% { text-shadow: 0 0 14px rgba(34, 211, 238, 0.7); transform: scale(1); } 50% { text-shadow: 0 0 26px rgba(34, 211, 238, 1), 0 0 40px rgba(139, 92, 246, 0.5); transform: scale(1.08); } } /* 时钟数字霓虹 */ .overview-clock { text-shadow: 0 0 12px rgba(34, 211, 238, 0.45); animation: dazzle-ov-clock 2.4s ease-in-out infinite; } @keyframes dazzle-ov-clock { 0%, 100% { text-shadow: 0 0 10px rgba(34, 211, 238, 0.35); } 50% { text-shadow: 0 0 20px rgba(34, 211, 238, 0.7); } } /* KPI 卡片:进入浮起 + 图标光晕脉冲 + 数值渐变发光 */ .kpi-card { animation: dazzle-ov-card-in 0.5s ease both; } .kpi-card:nth-child(1) { animation-delay: 0.02s; } .kpi-card:nth-child(2) { animation-delay: 0.08s; } .kpi-card:nth-child(3) { animation-delay: 0.14s; } .kpi-card:nth-child(4) { animation-delay: 0.2s; } .kpi-card:nth-child(5) { animation-delay: 0.26s; } /* 常驻霓虹边框光(静态即可见) */ .kpi-card { box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.18), 0 10px 28px rgba(2, 8, 23, 0.42), 0 0 22px rgba(34, 211, 238, 0.1); } .ov-panel { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 24px rgba(34, 211, 238, 0.08); } @keyframes dazzle-ov-card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .kpi-icon { position: relative; box-shadow: 0 0 18px rgba(34, 211, 238, 0.12); animation: dazzle-ov-icon-halo 3.2s ease-in-out infinite; } @keyframes dazzle-ov-icon-halo { 0%, 100% { box-shadow: 0 0 10px rgba(34, 211, 238, 0.1); } 50% { box-shadow: 0 0 24px rgba(34, 211, 238, 0.32); } } .kpi-value { color: #d9f6ff; animation: dazzle-ov-kpi-glow 3.4s ease-in-out infinite; } @keyframes dazzle-ov-kpi-glow { 0%, 100% { text-shadow: 0 0 10px rgba(34, 211, 238, 0.35); } 50% { text-shadow: 0 0 22px rgba(34, 211, 238, 0.65), 0 0 36px rgba(139, 92, 246, 0.3); } } .kpi-corner { animation: dazzle-ov-corner 3.6s ease-in-out infinite; } @keyframes dazzle-ov-corner { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.85; } } /* 面板:顶部高光线 + 标题条流光 */ .ov-panel { position: relative; overflow: hidden; } .ov-panel::after { content: ""; position: absolute; top: 0; right: 16%; left: 16%; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.7), transparent); } .panel-title-bar { background: linear-gradient(180deg, #22d3ee, #3b82f6, #8b5cf6); animation: dazzle-ov-titlebar 2.8s ease-in-out infinite; } @keyframes dazzle-ov-titlebar { 0%, 100% { box-shadow: 0 0 8px rgba(34, 211, 238, 0.7); } 50% { box-shadow: 0 0 18px rgba(34, 211, 238, 1), 0 0 30px rgba(139, 92, 246, 0.45); } } /* 趋势图与环图:发光滤镜 */ .trend-chart svg { filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.28)); } .donut-svg { animation: dazzle-ov-donut-spin 40s linear infinite; filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3)); } @keyframes dazzle-ov-donut-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* 最新动态列表:行进入交错 */ .latest-list li { animation: dazzle-ov-row-in 0.4s ease both; } .latest-list li:nth-child(1) { animation-delay: 0.05s; } .latest-list li:nth-child(2) { animation-delay: 0.1s; } .latest-list li:nth-child(3) { animation-delay: 0.15s; } .latest-list li:nth-child(4) { animation-delay: 0.2s; } .latest-list li:nth-child(5) { animation-delay: 0.25s; } @keyframes dazzle-ov-row-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }