2153 行
48 KiB
CSS
2153 行
48 KiB
CSS
/* ============================================================
|
||
智慧粮仓综合监测指挥中心 (1920x1080 自适应大屏)
|
||
工业级数字孪生设计系统 (Digital Twin Industrial Aesthetics)
|
||
基于 UI/UX Pro Max 规范体系构建
|
||
============================================================ */
|
||
|
||
:root {
|
||
/* 基础背景与高透沉浸面板 (深度融入全景底图) */
|
||
--bg-base: #040814;
|
||
--bg-darker: #02040a;
|
||
--panel-bg: rgba(6, 14, 32, 0.52);
|
||
--panel-bg-sub: rgba(10, 22, 48, 0.42);
|
||
--panel-bg-hover: rgba(16, 32, 68, 0.65);
|
||
--panel-border: rgba(56, 189, 248, 0.16);
|
||
--panel-border-hover: rgba(56, 189, 248, 0.38);
|
||
--panel-border-bright: #38bdf8;
|
||
|
||
/* 核心科技品牌色 (告别刺眼荧光青,采用精准天青蓝 Sky-400) */
|
||
--brand-primary: #38bdf8;
|
||
--brand-dark: #0284c7;
|
||
--brand-glow: rgba(56, 189, 248, 0.35);
|
||
|
||
/* 粮食品种业务语义色彩 */
|
||
--grain-wheat: #38bdf8; /* 小麦主粮科技蓝 */
|
||
--grain-paddy: #10b981; /* 稻谷生态翡翠绿 */
|
||
--grain-oil: #f59e0b; /* 菜籽油脂琥珀金 */
|
||
--status-normal: #10b981; /* 运行正常/达标 */
|
||
--status-warn: #f59e0b; /* 关注/轻度预警 */
|
||
--status-danger: #ef4444; /* 报警/异常 */
|
||
|
||
/* 文本阶梯色彩 Tokens */
|
||
--text-title: #f8fafc; /* 一级标题/核心数值 95% 白 */
|
||
--text-main: #e2e8f0; /* 常规正文/主要参数 85% 白 */
|
||
--text-sub: #94a3b8; /* 次要信息/单位 Slate-400 */
|
||
--text-muted: #64748b; /* 弱化标签/辅助说明 Slate-500 */
|
||
|
||
/* 字体系统 */
|
||
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
||
--font-number: "DIN Alternate", "DIN", "JetBrains Mono", "SF Pro Display", "Segoe UI", sans-serif;
|
||
}
|
||
|
||
* {
|
||
box-sizing: border-box;
|
||
margin: 0;
|
||
padding: 0;
|
||
user-select: none;
|
||
}
|
||
|
||
html, body {
|
||
width: 100vw;
|
||
height: 100vh;
|
||
overflow: hidden;
|
||
background-color: var(--bg-darker);
|
||
font-family: var(--font-family);
|
||
color: var(--text-main);
|
||
-webkit-font-smoothing: antialiased;
|
||
}
|
||
|
||
/* ================= 电视大屏 1920x1080 画幅容器 ================= */
|
||
#screen-wrapper {
|
||
position: absolute;
|
||
width: 1920px;
|
||
height: 1080px;
|
||
transform-origin: 0 0;
|
||
background: radial-gradient(circle at 50% 45%, #0d1a36 0%, #070d1c 65%, #03060d 100%);
|
||
overflow: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
box-shadow: 0 0 80px rgba(0, 0, 0, 0.95);
|
||
}
|
||
|
||
/* ================= 全景 3D 鸟瞰底图层 (消除底部断层,饱满贯通) ================= */
|
||
.fullscreen-aerial-container {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
z-index: 1;
|
||
overflow: hidden;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background: radial-gradient(circle at 50% 45%, #0d1a38 0%, #060b17 65%, #03060c 100%);
|
||
}
|
||
|
||
.aerial-viewport-box {
|
||
position: relative;
|
||
width: 1360px;
|
||
height: 759px; /* 严格等于原图 1376x768 黄金比例 (1.79167),杜绝任何内嵌黑边与图钉坐标偏移 */
|
||
margin-top: 46px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.fullscreen-aerial-img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: fill;
|
||
filter: contrast(1.08) brightness(1.02) saturate(1.1);
|
||
border-radius: 8px;
|
||
transition: opacity 0.3s ease-in-out;
|
||
}
|
||
|
||
/* 全景环境微光与底部自然渐变羽化 (彻底消除底部断层和硬切黑洞) */
|
||
.fullscreen-aerial-overlay {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
border-radius: 8px;
|
||
background:
|
||
/* 底部深度自然羽化光照,让森林与河流向下无缝平滑融入控制台底座 */
|
||
linear-gradient(0deg, rgba(3, 6, 15, 0.95) 0%, rgba(3, 6, 15, 0.65) 60px, rgba(3, 6, 15, 0.18) 140px, transparent 220px),
|
||
/* 顶部微弱暗角 */
|
||
linear-gradient(180deg, rgba(3, 6, 15, 0.5) 0%, transparent 80px),
|
||
/* 四周径向微暗角 */
|
||
radial-gradient(circle at 50% 50%, transparent 75%, rgba(3, 6, 15, 0.4) 92%, rgba(3, 6, 15, 0.8) 100%);
|
||
pointer-events: none;
|
||
}
|
||
|
||
/* 背景科技微网格 */
|
||
.bg-grid {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
background-image:
|
||
linear-gradient(rgba(56, 189, 248, 0.015) 1px, transparent 1px),
|
||
linear-gradient(90deg, rgba(56, 189, 248, 0.015) 1px, transparent 1px);
|
||
background-size: 32px 32px;
|
||
pointer-events: none;
|
||
z-index: 2;
|
||
}
|
||
|
||
/* ================= 头部 Header (高精冷钛毛玻璃) ================= */
|
||
.screen-header {
|
||
position: relative;
|
||
z-index: 20;
|
||
height: 64px;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 0 28px;
|
||
background: linear-gradient(180deg, rgba(10, 20, 42, 0.75) 0%, rgba(5, 11, 24, 0.4) 100%);
|
||
backdrop-filter: blur(20px);
|
||
-webkit-backdrop-filter: blur(20px);
|
||
border-bottom: 1px solid rgba(56, 189, 248, 0.12);
|
||
}
|
||
|
||
.header-left {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
flex: 1;
|
||
min-width: 0;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.header-right {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
flex: 1;
|
||
justify-content: flex-end;
|
||
min-width: 0;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.header-title-box {
|
||
flex-shrink: 0;
|
||
text-align: center;
|
||
padding: 0 16px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.header-title {
|
||
font-size: 24px;
|
||
font-weight: 800;
|
||
letter-spacing: 4px;
|
||
background: linear-gradient(180deg, #ffffff 10%, #e0f2fe 60%, #38bdf8 100%);
|
||
-webkit-background-clip: text;
|
||
-webkit-text-fill-color: transparent;
|
||
text-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.header-subtitle {
|
||
font-size: 9.5px;
|
||
color: var(--text-sub);
|
||
letter-spacing: 2.2px;
|
||
margin-top: 1px;
|
||
font-family: var(--font-number);
|
||
text-transform: uppercase;
|
||
opacity: 0.85;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.header-tag {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 7px;
|
||
padding: 4px 12px;
|
||
background: rgba(56, 189, 248, 0.06);
|
||
border: 1px solid rgba(56, 189, 248, 0.2);
|
||
border-radius: 20px;
|
||
font-size: 11.5px;
|
||
color: #bae6fd;
|
||
backdrop-filter: blur(8px);
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.live-badge {
|
||
display: inline-block;
|
||
width: 7px;
|
||
height: 7px;
|
||
border-radius: 50%;
|
||
background-color: var(--status-normal);
|
||
box-shadow: 0 0 8px var(--status-normal);
|
||
animation: pulse-normal 1.8s infinite ease-in-out;
|
||
}
|
||
|
||
@keyframes pulse-normal {
|
||
0% { transform: scale(0.9); opacity: 0.7; }
|
||
50% { transform: scale(1.25); opacity: 1; }
|
||
100% { transform: scale(0.9); opacity: 0.7; }
|
||
}
|
||
|
||
#header-date {
|
||
font-size: 12px;
|
||
color: var(--text-sub);
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.header-clock {
|
||
font-family: var(--font-number);
|
||
font-size: 17px;
|
||
font-weight: 700;
|
||
color: #38bdf8;
|
||
letter-spacing: 1px;
|
||
text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.btn-header {
|
||
background: rgba(56, 189, 248, 0.06);
|
||
border: 1px solid rgba(56, 189, 248, 0.22);
|
||
color: #cbd5e1;
|
||
padding: 4px 12px;
|
||
border-radius: 6px;
|
||
cursor: pointer;
|
||
font-size: 11px;
|
||
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
||
display: flex;
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
align-items: center;
|
||
gap: 6px;
|
||
backdrop-filter: blur(12px);
|
||
}
|
||
|
||
.btn-header:hover, .btn-header.active {
|
||
background: rgba(56, 189, 248, 0.18);
|
||
border-color: var(--brand-primary);
|
||
color: #ffffff;
|
||
box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
|
||
}
|
||
|
||
.svg-icon {
|
||
width: 14px;
|
||
height: 14px;
|
||
display: inline-block;
|
||
vertical-align: middle;
|
||
}
|
||
|
||
.svg-icon-sm {
|
||
width: 13px;
|
||
height: 13px;
|
||
display: inline-block;
|
||
vertical-align: middle;
|
||
}
|
||
|
||
/* ================= 全库智能储粮安全与微气候告警走马灯 ================= */
|
||
.depot-alert-banner {
|
||
position: relative;
|
||
z-index: 22;
|
||
margin: 2px 24px 4px 24px;
|
||
height: 28px;
|
||
display: flex;
|
||
align-items: center;
|
||
background: rgba(10, 25, 47, 0.72);
|
||
border: 1px solid rgba(56, 189, 248, 0.25);
|
||
border-radius: 6px;
|
||
backdrop-filter: blur(12px);
|
||
-webkit-backdrop-filter: blur(12px);
|
||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
|
||
padding: 0 12px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.alert-banner-badge {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
color: #38bdf8;
|
||
padding-right: 12px;
|
||
border-right: 1px solid rgba(255, 255, 255, 0.15);
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.alert-pulse-dot {
|
||
width: 7px;
|
||
height: 7px;
|
||
border-radius: 50%;
|
||
background: #f59e0b;
|
||
box-shadow: 0 0 8px #f59e0b;
|
||
animation: pulse-alert 1.5s infinite ease-in-out;
|
||
}
|
||
|
||
@keyframes pulse-alert {
|
||
0% { transform: scale(0.9); opacity: 0.6; }
|
||
50% { transform: scale(1.3); opacity: 1; }
|
||
100% { transform: scale(0.9); opacity: 0.6; }
|
||
}
|
||
|
||
.alert-marquee-wrap {
|
||
flex: 1;
|
||
overflow: hidden;
|
||
position: relative;
|
||
height: 100%;
|
||
display: flex;
|
||
align-items: center;
|
||
margin-left: 10px;
|
||
}
|
||
|
||
.alert-marquee-track {
|
||
display: inline-flex;
|
||
gap: 16px;
|
||
white-space: nowrap;
|
||
animation: marquee-scroll 45s linear infinite;
|
||
}
|
||
|
||
.alert-marquee-track:hover {
|
||
animation-play-state: paused;
|
||
}
|
||
|
||
@keyframes marquee-scroll {
|
||
0% { transform: translateX(0); }
|
||
100% { transform: translateX(-50%); }
|
||
}
|
||
|
||
.alert-item-pill {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: 11px;
|
||
cursor: pointer;
|
||
padding: 2px 8px;
|
||
border-radius: 4px;
|
||
transition: all 0.2s;
|
||
user-select: none;
|
||
}
|
||
|
||
.alert-item-pill.danger {
|
||
background: rgba(239, 68, 68, 0.2);
|
||
border: 1px solid rgba(239, 68, 68, 0.45);
|
||
color: #fca5a5;
|
||
}
|
||
|
||
.alert-item-pill.danger:hover {
|
||
background: rgba(239, 68, 68, 0.4);
|
||
box-shadow: 0 0 10px rgba(239, 68, 68, 0.45);
|
||
}
|
||
|
||
.alert-item-pill.warn {
|
||
background: rgba(245, 158, 11, 0.2);
|
||
border: 1px solid rgba(245, 158, 11, 0.45);
|
||
color: #fde68a;
|
||
}
|
||
|
||
.alert-item-pill.warn:hover {
|
||
background: rgba(245, 158, 11, 0.4);
|
||
box-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
|
||
}
|
||
|
||
.alert-item-pill.normal {
|
||
background: rgba(16, 185, 129, 0.15);
|
||
border: 1px solid rgba(16, 185, 129, 0.35);
|
||
color: #6ee7b7;
|
||
}
|
||
|
||
/* ================= 顶部 KPI 栏 (高精密态势数据舱) ================= */
|
||
.kpi-container {
|
||
position: relative;
|
||
z-index: 20;
|
||
display: grid;
|
||
grid-template-columns: repeat(5, 1fr);
|
||
gap: 12px;
|
||
padding: 6px 24px 6px 24px;
|
||
}
|
||
|
||
.kpi-card {
|
||
position: relative;
|
||
background: var(--panel-bg);
|
||
border: 1px solid var(--panel-border);
|
||
border-radius: 8px;
|
||
padding: 8px 14px;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
backdrop-filter: blur(16px);
|
||
-webkit-backdrop-filter: blur(16px);
|
||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
|
||
transition: all 0.25s ease;
|
||
}
|
||
|
||
.kpi-card:hover {
|
||
border-color: var(--panel-border-hover);
|
||
background: var(--panel-bg-hover);
|
||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
|
||
}
|
||
|
||
.kpi-card::before {
|
||
content: "";
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 1px;
|
||
background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.35) 50%, transparent 100%);
|
||
}
|
||
|
||
.kpi-icon {
|
||
width: 38px;
|
||
height: 38px;
|
||
border-radius: 8px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.kpi-icon svg {
|
||
width: 20px;
|
||
height: 20px;
|
||
}
|
||
|
||
.kpi-icon.icon-cyan, .kpi-icon.icon-blue {
|
||
background: rgba(56, 189, 248, 0.1);
|
||
border: 1px solid rgba(56, 189, 248, 0.25);
|
||
color: var(--brand-primary);
|
||
}
|
||
|
||
.kpi-icon.icon-green {
|
||
background: rgba(16, 185, 129, 0.1);
|
||
border: 1px solid rgba(16, 185, 129, 0.25);
|
||
color: var(--status-normal);
|
||
}
|
||
|
||
.kpi-icon.icon-yellow {
|
||
background: rgba(245, 158, 11, 0.1);
|
||
border: 1px solid rgba(245, 158, 11, 0.25);
|
||
color: var(--grain-oil);
|
||
}
|
||
|
||
.kpi-info {
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-width: 0;
|
||
}
|
||
|
||
.kpi-label {
|
||
font-size: 11px;
|
||
color: var(--text-sub);
|
||
letter-spacing: 0.3px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.kpi-value-box {
|
||
display: flex;
|
||
align-items: baseline;
|
||
gap: 5px;
|
||
margin-top: 1px;
|
||
}
|
||
|
||
.kpi-value {
|
||
font-family: var(--font-number);
|
||
font-size: 21px;
|
||
font-weight: 700;
|
||
color: var(--text-title);
|
||
letter-spacing: 0.5px;
|
||
}
|
||
|
||
.kpi-unit {
|
||
font-size: 11px;
|
||
color: var(--text-sub);
|
||
font-weight: normal;
|
||
}
|
||
|
||
/* ================= 大屏主网格内容 (左右 285px 舒展面板 + 中央开阔全景沙盘) ================= */
|
||
.main-content {
|
||
position: relative;
|
||
z-index: 20;
|
||
flex: 1;
|
||
display: grid;
|
||
grid-template-columns: 285px 1fr 285px;
|
||
gap: 12px;
|
||
padding: 3px 14px 6px 14px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.col-left, .col-right {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
height: 100%;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.col-center {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: space-between;
|
||
height: 100%;
|
||
min-height: 0;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.col-center > * {
|
||
pointer-events: auto;
|
||
}
|
||
|
||
/* 通用工业级毛玻璃面板 (Ultra-Clean Glassmorphism) */
|
||
.panel {
|
||
position: relative;
|
||
background: var(--panel-bg);
|
||
border: 1px solid var(--panel-border);
|
||
border-radius: 7px;
|
||
backdrop-filter: blur(16px);
|
||
-webkit-backdrop-filter: blur(16px);
|
||
padding: 8px 10px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
|
||
transition: border-color 0.2s ease;
|
||
}
|
||
|
||
/* 四角科技微光切角 */
|
||
.panel::before {
|
||
content: "";
|
||
position: absolute;
|
||
top: -1px;
|
||
left: -1px;
|
||
width: 8px;
|
||
height: 8px;
|
||
border-top: 2px solid var(--brand-primary);
|
||
border-left: 2px solid var(--brand-primary);
|
||
pointer-events: none;
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.panel::after {
|
||
content: "";
|
||
position: absolute;
|
||
top: -1px;
|
||
right: -1px;
|
||
width: 8px;
|
||
height: 8px;
|
||
border-top: 2px solid var(--brand-primary);
|
||
border-right: 2px solid var(--brand-primary);
|
||
pointer-events: none;
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.panel-title-bar {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 6px;
|
||
margin-bottom: 6px;
|
||
padding-bottom: 5px;
|
||
border-bottom: 1px solid rgba(56, 189, 248, 0.1);
|
||
}
|
||
|
||
.panel-title {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: 12px;
|
||
font-weight: 700;
|
||
color: var(--text-title);
|
||
letter-spacing: 0.3px;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
min-width: 0;
|
||
}
|
||
|
||
.panel-title-icon {
|
||
display: inline-block;
|
||
width: 3px;
|
||
height: 12px;
|
||
background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
|
||
border-radius: 2px;
|
||
box-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.panel-extra {
|
||
font-size: 10px;
|
||
color: var(--brand-primary);
|
||
font-weight: 600;
|
||
background: rgba(56, 189, 248, 0.08);
|
||
padding: 1px 6px;
|
||
border-radius: 10px;
|
||
border: 1px solid rgba(56, 189, 248, 0.18);
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
/* ================= 去网格化参数排版 (Clean Row / Grid) ================= */
|
||
.param-grid-2col {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 5px 8px;
|
||
}
|
||
|
||
.param-grid-3col {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr 1fr;
|
||
gap: 4px 5px;
|
||
}
|
||
|
||
.param-item {
|
||
display: flex;
|
||
flex-direction: column;
|
||
background: var(--panel-bg-sub);
|
||
border: 1px solid rgba(56, 189, 248, 0.08);
|
||
border-radius: 5px;
|
||
padding: 5px 8px;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.param-item:hover {
|
||
background: rgba(20, 38, 76, 0.5);
|
||
}
|
||
|
||
.param-label {
|
||
font-size: 10px;
|
||
color: var(--text-sub);
|
||
letter-spacing: 0.2px;
|
||
}
|
||
|
||
.param-value {
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
color: var(--text-main);
|
||
margin-top: 2px;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
font-family: var(--font-number);
|
||
}
|
||
|
||
.param-value.highlight {
|
||
color: var(--brand-primary);
|
||
font-weight: 700;
|
||
}
|
||
|
||
.param-value.green {
|
||
color: var(--status-normal);
|
||
font-weight: 700;
|
||
}
|
||
|
||
.param-value.yellow {
|
||
color: var(--grain-oil);
|
||
font-weight: 700;
|
||
}
|
||
|
||
/* 规范质检指标卡片 (严格防折行与健康/预警/超标语义色) */
|
||
.quality-card {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: space-between;
|
||
background: var(--panel-bg-sub);
|
||
border: 1px solid rgba(56, 189, 248, 0.12);
|
||
border-radius: 4px;
|
||
padding: 3px 5px;
|
||
position: relative;
|
||
overflow: hidden;
|
||
transition: all 0.2s ease;
|
||
min-width: 0;
|
||
height: 38px;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.quality-card:hover {
|
||
background: rgba(20, 38, 76, 0.65);
|
||
}
|
||
|
||
.quality-card-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 4px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.quality-card-name {
|
||
font-size: 10px;
|
||
color: var(--text-sub);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
flex: 1;
|
||
}
|
||
|
||
.quality-badge {
|
||
font-size: 9px;
|
||
line-height: 1.2;
|
||
padding: 1px 4px;
|
||
border-radius: 3px;
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.quality-badge.status-normal {
|
||
background: rgba(16, 185, 129, 0.18);
|
||
color: #34d399;
|
||
border: 1px solid rgba(16, 185, 129, 0.35);
|
||
}
|
||
|
||
.quality-badge.status-warn {
|
||
background: rgba(245, 158, 11, 0.2);
|
||
color: #fbbf24;
|
||
border: 1px solid rgba(245, 158, 11, 0.45);
|
||
}
|
||
|
||
.quality-badge.status-danger {
|
||
background: rgba(239, 68, 68, 0.25);
|
||
color: #f87171;
|
||
border: 1px solid rgba(239, 68, 68, 0.6);
|
||
font-weight: 700;
|
||
animation: badge-blink 1.8s infinite ease-in-out;
|
||
}
|
||
|
||
@keyframes badge-blink {
|
||
0%, 100% { opacity: 1; transform: scale(1); }
|
||
50% { opacity: 0.75; transform: scale(0.96); }
|
||
}
|
||
|
||
.quality-card-body {
|
||
display: flex;
|
||
align-items: baseline;
|
||
justify-content: space-between;
|
||
gap: 4px;
|
||
margin-top: 2px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.quality-card-value {
|
||
font-size: 12.5px;
|
||
font-weight: 700;
|
||
font-family: var(--font-number);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.quality-card-value.val-normal {
|
||
color: #34d399;
|
||
}
|
||
|
||
.quality-card-value.val-warn {
|
||
color: #fbbf24;
|
||
}
|
||
|
||
.quality-card-value.val-danger {
|
||
color: #f87171;
|
||
text-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
|
||
}
|
||
|
||
.quality-card-thresh {
|
||
font-size: 9px;
|
||
color: var(--text-muted);
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
/* 超标卡片红色警示发光外边框 */
|
||
.quality-card.card-danger {
|
||
border-color: rgba(239, 68, 68, 0.55);
|
||
background: rgba(239, 68, 68, 0.08);
|
||
}
|
||
|
||
/* 预警卡片黄色外边框 */
|
||
.quality-card.card-warn {
|
||
border-color: rgba(245, 158, 11, 0.45);
|
||
background: rgba(245, 158, 11, 0.06);
|
||
}
|
||
|
||
/* 化验单分类切换按钮群 */
|
||
.quality-filter-tabs {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 3px;
|
||
margin-left: auto;
|
||
}
|
||
|
||
.quality-tab-btn {
|
||
background: rgba(56, 189, 248, 0.08);
|
||
border: 1px solid rgba(56, 189, 248, 0.16);
|
||
color: var(--text-sub);
|
||
font-size: 9.5px;
|
||
padding: 1px 5px;
|
||
border-radius: 3px;
|
||
cursor: pointer;
|
||
white-space: nowrap;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.quality-tab-btn:hover {
|
||
background: rgba(56, 189, 248, 0.18);
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.quality-tab-btn.active {
|
||
background: var(--brand-primary);
|
||
border-color: var(--brand-primary);
|
||
color: #070c18;
|
||
font-weight: 700;
|
||
}
|
||
|
||
/* ==========================================================================
|
||
方案 A 专属:智能质检与品质孪生舱 (条形卡片 Strip Cards + 食品安全绿盾矩阵)
|
||
========================================================================== */
|
||
.quality-twin-chamber {
|
||
display: flex;
|
||
flex-direction: column;
|
||
height: 100%;
|
||
gap: 8px;
|
||
justify-content: flex-start;
|
||
min-height: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
/* 4 大命脉条形卡片垂直列表 (紧凑聚合,杜绝空旷拉扯) */
|
||
.quality-strip-list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.quality-strip-card {
|
||
background: rgba(14, 27, 56, 0.78);
|
||
border: 1px solid rgba(56, 189, 248, 0.16);
|
||
border-radius: 5px;
|
||
padding: 5px 8px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: space-between;
|
||
gap: 2px;
|
||
position: relative;
|
||
overflow: hidden;
|
||
box-sizing: border-box;
|
||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
||
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
||
height: 46px;
|
||
min-height: 46px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.quality-strip-card:hover {
|
||
transform: translateY(-1px);
|
||
border-color: rgba(56, 189, 248, 0.35);
|
||
}
|
||
|
||
/* 达标/正常条形卡片 (碧绿微光) */
|
||
.quality-strip-card.strip-normal {
|
||
border-color: rgba(16, 185, 129, 0.35);
|
||
background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, rgba(14, 27, 56, 0.82) 50%, rgba(16, 185, 129, 0.04) 100%);
|
||
}
|
||
|
||
.quality-strip-card.strip-normal:hover {
|
||
border-color: rgba(16, 185, 129, 0.6);
|
||
box-shadow: 0 2px 12px rgba(16, 185, 129, 0.15);
|
||
}
|
||
|
||
/* 轻度预警条形卡片 (琥珀金微光) */
|
||
.quality-strip-card.strip-warn {
|
||
border-color: rgba(245, 158, 11, 0.55);
|
||
background: linear-gradient(90deg, rgba(245, 158, 11, 0.14) 0%, rgba(14, 27, 56, 0.8) 50%, rgba(245, 158, 11, 0.06) 100%);
|
||
box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
|
||
}
|
||
|
||
/* 严重超标条形卡片 (鲜红警示呼吸脉冲) */
|
||
.quality-strip-card.strip-danger {
|
||
border-color: rgba(239, 68, 68, 0.75);
|
||
background: linear-gradient(90deg, rgba(239, 68, 68, 0.2) 0%, rgba(14, 27, 56, 0.85) 50%, rgba(239, 68, 68, 0.08) 100%);
|
||
animation: danger-strip-pulse 2s infinite ease-in-out;
|
||
}
|
||
|
||
@keyframes danger-strip-pulse {
|
||
0%, 100% {
|
||
box-shadow: 0 0 8px rgba(239, 68, 68, 0.35), inset 0 0 10px rgba(239, 68, 68, 0.15);
|
||
border-color: rgba(239, 68, 68, 0.7);
|
||
}
|
||
50% {
|
||
box-shadow: 0 0 18px rgba(239, 68, 68, 0.7), inset 0 0 16px rgba(239, 68, 68, 0.25);
|
||
border-color: #f87171;
|
||
}
|
||
}
|
||
|
||
/* 顶部:标题组 + 数值组 */
|
||
.strip-card-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 6px;
|
||
white-space: nowrap;
|
||
line-height: 1.1;
|
||
}
|
||
|
||
.strip-card-title-group {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
white-space: nowrap;
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.strip-card-title {
|
||
font-size: 11px;
|
||
font-weight: 700;
|
||
color: var(--text-main);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
letter-spacing: 0.1px;
|
||
}
|
||
|
||
.strip-card-val-group {
|
||
display: flex;
|
||
align-items: baseline;
|
||
gap: 2px;
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.strip-main-val {
|
||
font-size: 15px;
|
||
font-weight: 800;
|
||
font-family: var(--font-number);
|
||
line-height: 1;
|
||
white-space: nowrap;
|
||
letter-spacing: -0.3px;
|
||
}
|
||
|
||
.strip-main-val.val-normal {
|
||
color: #34d399;
|
||
text-shadow: 0 0 6px rgba(52, 211, 153, 0.3);
|
||
}
|
||
|
||
.strip-main-val.val-warn {
|
||
color: #fbbf24;
|
||
text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
|
||
}
|
||
|
||
.strip-main-val.val-danger {
|
||
color: #f87171;
|
||
text-shadow: 0 0 10px rgba(248, 113, 113, 0.6);
|
||
}
|
||
|
||
.strip-unit {
|
||
font-size: 9.5px;
|
||
color: var(--text-sub);
|
||
font-family: var(--font-main);
|
||
font-weight: normal;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
/* 中部:全宽进度标尺 */
|
||
.strip-card-gauge-box {
|
||
width: 100%;
|
||
margin: 0;
|
||
}
|
||
|
||
.strip-gauge-bar {
|
||
width: 100%;
|
||
height: 3px;
|
||
background: rgba(255, 255, 255, 0.08);
|
||
border-radius: 2px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.strip-gauge-fill {
|
||
height: 100%;
|
||
border-radius: 2px;
|
||
transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
|
||
}
|
||
|
||
.strip-gauge-fill.gauge-normal {
|
||
background: linear-gradient(90deg, #10b981, #34d399);
|
||
}
|
||
|
||
.strip-gauge-fill.gauge-warn {
|
||
background: linear-gradient(90deg, #f59e0b, #fbbf24);
|
||
}
|
||
|
||
.strip-gauge-fill.gauge-danger {
|
||
background: linear-gradient(90deg, #ef4444, #f87171);
|
||
}
|
||
|
||
/* 底部:限值说明文字 (保证完整露出,杜绝遮挡) */
|
||
.strip-card-footer {
|
||
display: flex;
|
||
align-items: center;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
line-height: 1.1;
|
||
}
|
||
|
||
.strip-limit-desc {
|
||
font-size: 8.5px;
|
||
color: #94a3b8;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
letter-spacing: 0.1px;
|
||
line-height: 1.1;
|
||
}
|
||
|
||
.strip-danger .strip-limit-desc {
|
||
color: #fca5a5;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.strip-warn .strip-limit-desc {
|
||
color: #fde68a;
|
||
}
|
||
|
||
/* ================== 食品卫生安全绿盾微矩阵 (4 列 x 2 行) ================== */
|
||
.safety-shield-panel {
|
||
background: rgba(16, 185, 129, 0.05);
|
||
border: 1px solid rgba(16, 185, 129, 0.22);
|
||
border-radius: 6px;
|
||
padding: 6px 8px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 5px;
|
||
box-sizing: border-box;
|
||
flex-shrink: 0;
|
||
margin-top: 2px;
|
||
}
|
||
|
||
.safety-shield-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
margin-bottom: 2px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.svg-shield-icon {
|
||
width: 13px;
|
||
height: 13px;
|
||
color: #34d399;
|
||
flex-shrink: 0;
|
||
margin-right: 4px;
|
||
}
|
||
|
||
.shield-title {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
font-size: 10.5px;
|
||
font-weight: 600;
|
||
color: #34d399;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
flex: 1;
|
||
}
|
||
|
||
.shield-badge {
|
||
font-size: 9px;
|
||
background: rgba(16, 185, 129, 0.2);
|
||
color: #34d399;
|
||
border: 1px solid rgba(16, 185, 129, 0.4);
|
||
border-radius: 3px;
|
||
padding: 0 4px;
|
||
white-space: nowrap;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.safety-shield-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, 1fr);
|
||
gap: 5px 4px;
|
||
}
|
||
|
||
.safety-shield-item {
|
||
background: rgba(14, 27, 56, 0.65);
|
||
border: 1px solid rgba(16, 185, 129, 0.16);
|
||
border-radius: 4px;
|
||
padding: 4px 4px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
align-items: center;
|
||
text-align: center;
|
||
min-width: 0;
|
||
height: 38px;
|
||
box-sizing: border-box;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.safety-shield-item.shield-ok {
|
||
border-color: rgba(16, 185, 129, 0.2);
|
||
}
|
||
|
||
.safety-shield-item.shield-alert {
|
||
border-color: rgba(239, 68, 68, 0.5);
|
||
background: rgba(239, 68, 68, 0.1);
|
||
}
|
||
|
||
.shield-item-name {
|
||
font-size: 9px;
|
||
color: var(--text-sub);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
line-height: 1.1;
|
||
text-align: center;
|
||
width: 100%;
|
||
}
|
||
|
||
.shield-item-val {
|
||
font-size: 10px;
|
||
font-weight: 700;
|
||
color: #34d399;
|
||
font-family: var(--font-number);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
margin-top: 1px;
|
||
line-height: 1.1;
|
||
text-align: center;
|
||
width: 100%;
|
||
}
|
||
|
||
.shield-alert .shield-item-val {
|
||
color: #f87171;
|
||
}
|
||
|
||
.shield-item-status {
|
||
font-size: 8px;
|
||
color: #34d399;
|
||
white-space: nowrap;
|
||
line-height: 1;
|
||
margin-top: 1px;
|
||
text-align: center;
|
||
width: 100%;
|
||
}
|
||
|
||
.shield-alert .shield-item-status {
|
||
color: #f87171;
|
||
}
|
||
|
||
/* ==========================================================================
|
||
居中大图表看板 (Center Chart Board) - 点击下方切换时直接在中间区域显示
|
||
========================================================================== */
|
||
.center-chart-board {
|
||
flex: 1;
|
||
width: 100%;
|
||
min-height: 0;
|
||
margin: 6px 0 8px 0;
|
||
background: linear-gradient(135deg, rgba(6, 14, 32, 0.52) 0%, rgba(3, 8, 20, 0.45) 100%);
|
||
border: 1px solid rgba(56, 189, 248, 0.25);
|
||
border-top: 1.5px solid rgba(56, 189, 248, 0.65);
|
||
border-radius: 8px;
|
||
backdrop-filter: blur(20px) saturate(160%);
|
||
-webkit-backdrop-filter: blur(20px) saturate(160%);
|
||
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 35px rgba(56, 189, 248, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.12);
|
||
padding: 12px 18px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
z-index: 60;
|
||
pointer-events: auto;
|
||
animation: centerBoardFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
|
||
}
|
||
|
||
@keyframes centerBoardFadeIn {
|
||
from { opacity: 0; transform: scale(0.97) translateY(8px); }
|
||
to { opacity: 1; transform: scale(1) translateY(0); }
|
||
}
|
||
|
||
.center-chart-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding-bottom: 8px;
|
||
border-bottom: 1px solid rgba(56, 189, 248, 0.18);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.center-chart-title {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
font-size: 13.5px;
|
||
font-weight: 700;
|
||
color: var(--brand-primary);
|
||
letter-spacing: 0.5px;
|
||
}
|
||
|
||
.chart-pulse-dot {
|
||
width: 8px;
|
||
height: 8px;
|
||
background: #38bdf8;
|
||
border-radius: 50%;
|
||
box-shadow: 0 0 10px #38bdf8;
|
||
animation: chart-pulse 1.8s infinite ease-in-out;
|
||
}
|
||
|
||
@keyframes chart-pulse {
|
||
0%, 100% { opacity: 1; transform: scale(1); }
|
||
50% { opacity: 0.5; transform: scale(1.3); }
|
||
}
|
||
|
||
.center-chart-close-btn {
|
||
background: rgba(56, 189, 248, 0.12);
|
||
border: 1px solid rgba(56, 189, 248, 0.3);
|
||
color: #e2e8f0;
|
||
font-size: 11px;
|
||
padding: 4px 12px;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
transition: all 0.2s ease;
|
||
backdrop-filter: blur(8px);
|
||
}
|
||
|
||
.center-chart-close-btn:hover {
|
||
background: rgba(239, 68, 68, 0.2);
|
||
border-color: rgba(239, 68, 68, 0.5);
|
||
color: #f87171;
|
||
}
|
||
|
||
/* 方案 A:大盘模式切换胶囊 */
|
||
.center-chart-tabs {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
background: rgba(15, 29, 58, 0.65);
|
||
border: 1px solid rgba(56, 189, 248, 0.25);
|
||
border-radius: 4px;
|
||
padding: 2px 4px;
|
||
}
|
||
|
||
.center-chart-tab {
|
||
background: transparent;
|
||
border: none;
|
||
color: #94a3b8;
|
||
font-size: 11px;
|
||
padding: 3px 12px;
|
||
border-radius: 3px;
|
||
cursor: pointer;
|
||
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.center-chart-tab:hover {
|
||
color: #f8fafc;
|
||
}
|
||
|
||
.center-chart-tab.active {
|
||
background: linear-gradient(135deg, rgba(56, 189, 248, 0.32) 0%, rgba(2, 132, 199, 0.42) 100%);
|
||
color: #38bdf8;
|
||
font-weight: 600;
|
||
box-shadow: 0 0 8px rgba(56, 189, 248, 0.25);
|
||
}
|
||
|
||
.center-chart-tab#tab-chart-forecast.active {
|
||
background: linear-gradient(135deg, rgba(16, 185, 129, 0.35) 0%, rgba(56, 189, 248, 0.45) 100%);
|
||
color: #a7f3d0;
|
||
border: 1px solid rgba(52, 211, 153, 0.5);
|
||
box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
|
||
}
|
||
|
||
.center-chart-body {
|
||
display: grid;
|
||
grid-template-columns: 44% 56%;
|
||
gap: 20px;
|
||
flex: 1;
|
||
min-height: 0;
|
||
}
|
||
|
||
.center-chart-body.forecast-body-wrap {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
width: 100%;
|
||
flex: 1;
|
||
min-height: 0;
|
||
}
|
||
|
||
.center-chart-body[style*="display: none"] {
|
||
display: none !important;
|
||
}
|
||
|
||
/* 预测推演环境工况输入栏 (API 参数 tm_i, tm_o, hm_i, hm_o) */
|
||
.forecast-env-bar {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
background: linear-gradient(90deg, rgba(8, 20, 44, 0.85) 0%, rgba(5, 14, 32, 0.9) 50%, rgba(8, 20, 44, 0.85) 100%);
|
||
border: 1px solid rgba(56, 189, 248, 0.3);
|
||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.25);
|
||
border-radius: 6px;
|
||
padding: 5px 14px;
|
||
gap: 12px;
|
||
backdrop-filter: blur(12px);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.forecast-env-label {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: 11.5px;
|
||
font-weight: 600;
|
||
color: #94a3b8;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.forecast-env-label .env-pulse-icon {
|
||
width: 7px;
|
||
height: 7px;
|
||
background: #38bdf8;
|
||
border-radius: 50%;
|
||
box-shadow: 0 0 8px #38bdf8;
|
||
animation: pulse-dot 2s infinite ease-in-out;
|
||
}
|
||
|
||
.forecast-env-items {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
flex-wrap: nowrap;
|
||
}
|
||
|
||
.forecast-env-group {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
background: rgba(3, 8, 20, 0.65);
|
||
border: 1px solid rgba(56, 189, 248, 0.22);
|
||
border-radius: 4px;
|
||
padding: 2px 7px;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.forecast-env-group:focus-within {
|
||
border-color: rgba(56, 189, 248, 0.6);
|
||
box-shadow: 0 0 8px rgba(56, 189, 248, 0.25);
|
||
}
|
||
|
||
.env-tag {
|
||
font-size: 10.5px;
|
||
font-weight: 600;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.env-tag.blue { color: #38bdf8; }
|
||
.env-tag.green { color: #10b981; }
|
||
.env-tag.yellow { color: #f59e0b; }
|
||
|
||
.forecast-env-input {
|
||
width: 48px;
|
||
background: rgba(15, 29, 58, 0.85);
|
||
border: 1px solid rgba(56, 189, 248, 0.35);
|
||
border-radius: 3px;
|
||
color: #f8fafc;
|
||
font-size: 11px;
|
||
font-family: inherit;
|
||
font-weight: 600;
|
||
padding: 2px 5px;
|
||
text-align: right;
|
||
outline: none;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.forecast-env-input:focus {
|
||
border-color: #38bdf8;
|
||
box-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
|
||
}
|
||
|
||
.forecast-env-input.mini {
|
||
width: 36px;
|
||
}
|
||
|
||
.env-unit {
|
||
font-size: 10px;
|
||
color: #94a3b8;
|
||
}
|
||
|
||
.forecast-recalc-btn {
|
||
background: linear-gradient(135deg, rgba(56, 189, 248, 0.4) 0%, rgba(2, 132, 199, 0.65) 100%);
|
||
border: 1px solid rgba(56, 189, 248, 0.7);
|
||
color: #ffffff;
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
padding: 4px 12px;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
||
white-space: nowrap;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 5px;
|
||
}
|
||
|
||
.forecast-recalc-btn:hover {
|
||
background: linear-gradient(135deg, rgba(56, 189, 248, 0.65) 0%, rgba(2, 132, 199, 0.9) 100%);
|
||
border-color: #38bdf8;
|
||
color: #ffffff;
|
||
box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
|
||
}
|
||
|
||
.forecast-reset-btn {
|
||
background: rgba(148, 163, 184, 0.1);
|
||
border: 1px solid rgba(148, 163, 184, 0.3);
|
||
color: #cbd5e1;
|
||
font-size: 10.5px;
|
||
padding: 4px 8px;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
transition: all 0.2s ease;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.forecast-reset-btn:hover {
|
||
border-color: rgba(148, 163, 184, 0.6);
|
||
color: #ffffff;
|
||
background: rgba(148, 163, 184, 0.2);
|
||
}
|
||
|
||
.forecast-charts-row {
|
||
display: grid;
|
||
grid-template-columns: 58% 42%;
|
||
gap: 16px;
|
||
flex: 1;
|
||
min-height: 0;
|
||
width: 100%;
|
||
}
|
||
|
||
.center-chart-card-title-bar {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
margin-bottom: 6px;
|
||
gap: 8px;
|
||
}
|
||
|
||
.forecast-env-pill {
|
||
font-size: 10px;
|
||
color: #38bdf8;
|
||
background: rgba(56, 189, 248, 0.1);
|
||
border: 1px solid rgba(56, 189, 248, 0.25);
|
||
border-radius: 12px;
|
||
padding: 1px 8px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.center-chart-card {
|
||
background: transparent;
|
||
border: none;
|
||
box-shadow: none;
|
||
padding: 4px 6px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-height: 0;
|
||
}
|
||
|
||
.center-chart-card:last-child {
|
||
border-left: 1px solid rgba(56, 189, 248, 0.12);
|
||
padding-left: 20px;
|
||
}
|
||
|
||
.center-chart-card-title {
|
||
font-size: 11.5px;
|
||
font-weight: 600;
|
||
color: #94a3b8;
|
||
margin-bottom: 6px;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
}
|
||
|
||
.center-chart-card-title::before {
|
||
content: "";
|
||
display: inline-block;
|
||
width: 3px;
|
||
height: 11px;
|
||
background: var(--brand-primary);
|
||
border-radius: 2px;
|
||
}
|
||
|
||
.center-chart-canvas {
|
||
flex: 1;
|
||
width: 100%;
|
||
min-height: 0;
|
||
}
|
||
|
||
/* 下方点阵控制区图表切换高亮按钮 */
|
||
.mini-grid-item.chart-switch-btn {
|
||
background: linear-gradient(135deg, rgba(2, 132, 199, 0.35) 0%, rgba(16, 185, 129, 0.25) 100%) !important;
|
||
border-color: rgba(56, 189, 248, 0.6) !important;
|
||
box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
|
||
min-width: 90px;
|
||
}
|
||
|
||
.mini-grid-item.chart-switch-btn:hover {
|
||
background: linear-gradient(135deg, rgba(2, 132, 199, 0.5) 0%, rgba(16, 185, 129, 0.4) 100%) !important;
|
||
border-color: #38bdf8 !important;
|
||
box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
|
||
}
|
||
|
||
.mini-grid-item.chart-switch-btn.active {
|
||
background: linear-gradient(135deg, #0284c7 0%, #10b981 100%) !important;
|
||
border-color: #ffffff !important;
|
||
color: #ffffff !important;
|
||
box-shadow: 0 0 16px rgba(56, 189, 248, 0.7);
|
||
}
|
||
|
||
.mini-grid-item.chart-switch-btn.active .mini-grid-name,
|
||
.mini-grid-item.chart-switch-btn.active .mini-grid-type {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
#btn-chart-forecast {
|
||
background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(6, 182, 212, 0.28) 100%) !important;
|
||
border-color: rgba(52, 211, 153, 0.7) !important;
|
||
box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
|
||
}
|
||
|
||
#btn-chart-forecast:hover {
|
||
background: linear-gradient(135deg, rgba(16, 185, 129, 0.45) 0%, rgba(6, 182, 212, 0.42) 100%) !important;
|
||
border-color: #34d399 !important;
|
||
box-shadow: 0 0 16px rgba(52, 211, 153, 0.55);
|
||
}
|
||
|
||
#btn-chart-forecast.active {
|
||
background: linear-gradient(135deg, #059669 0%, #0891b2 100%) !important;
|
||
border-color: #a7f3d0 !important;
|
||
box-shadow: 0 0 18px rgba(16, 185, 129, 0.8) !important;
|
||
}
|
||
|
||
/* 全量长条卡片平滑滚动容器与 Tab 样式 */
|
||
.quality-strip-filter-bar {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-start;
|
||
margin-bottom: 3px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.quality-strip-scrollable {
|
||
flex: 1;
|
||
overflow-y: auto;
|
||
overflow-x: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px !important;
|
||
padding-right: 3px;
|
||
min-height: 0;
|
||
}
|
||
|
||
.quality-strip-scrollable::-webkit-scrollbar {
|
||
width: 4px;
|
||
}
|
||
|
||
.quality-strip-scrollable::-webkit-scrollbar-track {
|
||
background: rgba(255, 255, 255, 0.04);
|
||
border-radius: 2px;
|
||
}
|
||
|
||
.quality-strip-scrollable::-webkit-scrollbar-thumb {
|
||
background: rgba(56, 189, 248, 0.28);
|
||
border-radius: 2px;
|
||
}
|
||
|
||
.quality-strip-scrollable::-webkit-scrollbar-thumb:hover {
|
||
background: rgba(56, 189, 248, 0.55);
|
||
}
|
||
|
||
/* 仓容负荷进度舱 */
|
||
.capacity-progress-box {
|
||
background: var(--panel-bg-sub);
|
||
border: 1px solid rgba(56, 189, 248, 0.08);
|
||
border-radius: 6px;
|
||
padding: 7px 10px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 10px;
|
||
}
|
||
|
||
.progress-bar-bg {
|
||
flex: 1;
|
||
height: 6px;
|
||
background: rgba(255, 255, 255, 0.08);
|
||
border-radius: 4px;
|
||
overflow: hidden;
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.progress-bar-fill {
|
||
height: 100%;
|
||
background: linear-gradient(90deg, #0284c7 0%, #38bdf8 50%, #10b981 100%);
|
||
border-radius: 4px;
|
||
transition: width 0.4s ease;
|
||
box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
|
||
}
|
||
|
||
/* ================= 中央开阔区悬浮过滤条 ================= */
|
||
.granary-filter-bar {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
background: rgba(6, 14, 32, 0.55);
|
||
border: 1px solid rgba(56, 189, 248, 0.2);
|
||
border-radius: 20px;
|
||
padding: 4px 14px;
|
||
backdrop-filter: blur(14px);
|
||
-webkit-backdrop-filter: blur(14px);
|
||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
|
||
margin-top: 2px;
|
||
}
|
||
|
||
.filter-bar-title {
|
||
font-size: 11.5px;
|
||
font-weight: 600;
|
||
color: #bae6fd;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
}
|
||
|
||
.filter-btn-group {
|
||
display: flex;
|
||
gap: 6px;
|
||
}
|
||
|
||
.filter-btn {
|
||
background: rgba(56, 189, 248, 0.06);
|
||
border: 1px solid rgba(56, 189, 248, 0.2);
|
||
color: var(--text-sub);
|
||
padding: 3px 9px;
|
||
border-radius: 4px;
|
||
font-size: 10.5px;
|
||
cursor: pointer;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.filter-btn:hover {
|
||
background: rgba(56, 189, 248, 0.15);
|
||
color: #fff;
|
||
}
|
||
|
||
.filter-btn.active {
|
||
background: linear-gradient(180deg, rgba(56, 189, 248, 0.3) 0%, rgba(2, 132, 199, 0.4) 100%);
|
||
border-color: var(--brand-primary);
|
||
color: #ffffff;
|
||
font-weight: 700;
|
||
box-shadow: 0 0 8px rgba(56, 189, 248, 0.35);
|
||
}
|
||
|
||
/* ================= 3D 数字孪生悬浮芯片与纤细镭射引导线 ================= */
|
||
.fullscreen-hotspots-layer {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.hotspot-pin {
|
||
position: absolute;
|
||
transform: translate(-50%, -100%);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
cursor: pointer;
|
||
pointer-events: auto;
|
||
transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0.2s ease;
|
||
z-index: 12;
|
||
}
|
||
|
||
.hotspot-pin:hover {
|
||
transform: translate(-50%, -108%) scale(1.08);
|
||
z-index: 25;
|
||
}
|
||
|
||
.hotspot-pin.active {
|
||
transform: translate(-50%, -112%) scale(1.18);
|
||
z-index: 35;
|
||
}
|
||
|
||
/* 气泡本体容器 (水滴气泡微晶玻璃) */
|
||
.bubble-inner {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
padding: 3px 6px;
|
||
background: rgba(6, 14, 32, 0.88);
|
||
border: 1px solid rgba(56, 189, 248, 0.6);
|
||
border-radius: 5px;
|
||
backdrop-filter: blur(8px);
|
||
-webkit-backdrop-filter: blur(8px);
|
||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65), 0 0 10px rgba(56, 189, 248, 0.25);
|
||
font-family: var(--font-number);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.bubble-name {
|
||
font-size: 10.5px;
|
||
font-weight: 700;
|
||
color: #ffffff;
|
||
letter-spacing: 0.2px;
|
||
}
|
||
|
||
.bubble-tag {
|
||
font-size: 9px;
|
||
font-weight: 600;
|
||
padding: 1px 3px;
|
||
border-radius: 3px;
|
||
background: rgba(56, 189, 248, 0.18);
|
||
color: var(--brand-primary);
|
||
}
|
||
|
||
/* 气泡底部精准扎在建筑上的倒三角小箭头 */
|
||
.bubble-arrow {
|
||
width: 0;
|
||
height: 0;
|
||
border-left: 4px solid transparent;
|
||
border-right: 4px solid transparent;
|
||
border-top: 4px solid rgba(56, 189, 248, 0.75);
|
||
filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6));
|
||
}
|
||
|
||
/* 小麦品种气泡 (默认科技蓝) */
|
||
.hotspot-pin.wheat .bubble-inner {
|
||
border-color: rgba(56, 189, 248, 0.65);
|
||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65), 0 0 10px rgba(56, 189, 248, 0.3);
|
||
}
|
||
|
||
.hotspot-pin.wheat .bubble-tag {
|
||
background: rgba(56, 189, 248, 0.2);
|
||
color: #38bdf8;
|
||
}
|
||
|
||
.hotspot-pin.wheat .bubble-arrow {
|
||
border-top-color: rgba(56, 189, 248, 0.85);
|
||
}
|
||
|
||
/* 稻谷品种气泡 (生态翡翠绿) */
|
||
.hotspot-pin.paddy .bubble-inner {
|
||
border-color: rgba(16, 185, 129, 0.75);
|
||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65), 0 0 10px rgba(16, 185, 129, 0.35);
|
||
}
|
||
|
||
.hotspot-pin.paddy .bubble-tag {
|
||
background: rgba(16, 185, 129, 0.25);
|
||
color: #10b981;
|
||
}
|
||
|
||
.hotspot-pin.paddy .bubble-arrow {
|
||
border-top-color: rgba(16, 185, 129, 0.9);
|
||
}
|
||
|
||
/* 油罐品种气泡 (温润琥珀金 · 紧凑精致防重叠) */
|
||
.hotspot-pin.oil .bubble-inner {
|
||
padding: 2.5px 5px;
|
||
gap: 3px;
|
||
background: rgba(24, 16, 6, 0.92);
|
||
border-color: rgba(245, 158, 11, 0.75);
|
||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65), 0 0 10px rgba(245, 158, 11, 0.4);
|
||
}
|
||
|
||
.hotspot-pin.oil .bubble-name {
|
||
font-size: 10px;
|
||
}
|
||
|
||
.hotspot-pin.oil .bubble-tag {
|
||
font-size: 8.5px;
|
||
padding: 1px 2.5px;
|
||
background: rgba(245, 158, 11, 0.25);
|
||
color: #fbbf24;
|
||
}
|
||
|
||
.hotspot-pin.oil .bubble-arrow {
|
||
border-top-color: rgba(245, 158, 11, 0.9);
|
||
}
|
||
|
||
/* 错层避让引导线与定位点 (科技琥珀金发光引线直达罐顶) */
|
||
.bubble-stem {
|
||
position: absolute;
|
||
top: 100%;
|
||
left: 50%;
|
||
transform-origin: top center;
|
||
transform: translateX(-50%);
|
||
width: 1.5px;
|
||
background: linear-gradient(180deg, rgba(245, 158, 11, 0.9) 0%, rgba(245, 158, 11, 0.4) 80%, rgba(251, 191, 36, 1) 100%);
|
||
box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
|
||
pointer-events: none;
|
||
}
|
||
|
||
.stem-dot {
|
||
position: absolute;
|
||
bottom: -3px;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
width: 5px;
|
||
height: 5px;
|
||
border-radius: 50%;
|
||
background: #fbbf24;
|
||
box-shadow: 0 0 6px #fbbf24, 0 0 10px rgba(245, 158, 11, 0.8);
|
||
}
|
||
|
||
.hotspot-pin.active .bubble-stem {
|
||
width: 2px;
|
||
background: linear-gradient(180deg, #fbbf24 0%, #ffffff 100%);
|
||
box-shadow: 0 0 10px #fbbf24;
|
||
}
|
||
|
||
.hotspot-pin.active .stem-dot {
|
||
background: #ffffff;
|
||
box-shadow: 0 0 10px #ffffff, 0 0 16px #fbbf24;
|
||
}
|
||
|
||
/* 激活状态高光与聚焦光晕 */
|
||
.hotspot-pin.active .bubble-inner {
|
||
background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
|
||
border-color: #ffffff;
|
||
box-shadow: 0 0 20px rgba(56, 189, 248, 0.95), 0 4px 16px rgba(0, 0, 0, 0.8);
|
||
}
|
||
|
||
.hotspot-pin.active .bubble-name {
|
||
color: #030712;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.hotspot-pin.active .bubble-tag {
|
||
background: rgba(0, 0, 0, 0.25);
|
||
color: #ffffff;
|
||
}
|
||
|
||
.hotspot-pin.active .bubble-arrow {
|
||
border-top-color: #38bdf8;
|
||
}
|
||
|
||
.hotspot-pin.oil.active .bubble-inner {
|
||
background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
|
||
border-color: #ffffff;
|
||
box-shadow: 0 0 20px rgba(245, 158, 11, 0.95), 0 4px 16px rgba(0, 0, 0, 0.8);
|
||
}
|
||
|
||
.hotspot-pin.oil.active .bubble-arrow {
|
||
border-top-color: #fbbf24;
|
||
}
|
||
|
||
.hotspot-pin.paddy.active .bubble-inner {
|
||
background: linear-gradient(135deg, #059669 0%, #10b981 100%);
|
||
border-color: #ffffff;
|
||
box-shadow: 0 0 20px rgba(16, 185, 129, 0.95), 0 4px 16px rgba(0, 0, 0, 0.8);
|
||
}
|
||
|
||
.hotspot-pin.paddy.active .bubble-arrow {
|
||
border-top-color: #10b981;
|
||
}
|
||
|
||
/* ================= 规范列表与微状态 ================= */
|
||
.spec-list {
|
||
font-size: 10.5px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 5px;
|
||
color: var(--text-sub);
|
||
}
|
||
|
||
.spec-item {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 6px;
|
||
padding: 3px 7px;
|
||
background: var(--panel-bg-sub);
|
||
border-radius: 4px;
|
||
border: 1px solid rgba(56, 189, 248, 0.06);
|
||
min-width: 0;
|
||
}
|
||
|
||
.spec-label {
|
||
font-size: 10px;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
min-width: 0;
|
||
flex: 1;
|
||
}
|
||
|
||
.spec-bullet {
|
||
display: inline-block;
|
||
width: 4px;
|
||
height: 4px;
|
||
background: var(--brand-primary);
|
||
border-radius: 50%;
|
||
margin-right: 5px;
|
||
vertical-align: middle;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.spec-status {
|
||
font-size: 9.5px;
|
||
font-weight: 600;
|
||
padding: 1px 5px;
|
||
border-radius: 3px;
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
text-align: center;
|
||
min-width: 38px;
|
||
}
|
||
|
||
.spec-status.green {
|
||
background: rgba(16, 185, 129, 0.12);
|
||
color: var(--status-normal);
|
||
border: 1px solid rgba(16, 185, 129, 0.25);
|
||
}
|
||
|
||
.spec-status.blue {
|
||
background: rgba(56, 189, 248, 0.12);
|
||
color: var(--brand-primary);
|
||
border: 1px solid rgba(56, 189, 248, 0.25);
|
||
}
|
||
|
||
.spec-status.yellow {
|
||
background: rgba(245, 158, 11, 0.12);
|
||
color: var(--grain-oil);
|
||
border: 1px solid rgba(245, 158, 11, 0.25);
|
||
}
|
||
|
||
/* ================= 底部 20 仓罐快捷导航矩阵 (Cyber Floating Dock) ================= */
|
||
.granary-mini-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(10, 1fr);
|
||
gap: 7px 8px; /* 横纵间距更协调大方 */
|
||
background: linear-gradient(180deg, rgba(8, 18, 42, 0.9) 0%, rgba(4, 9, 24, 0.96) 100%);
|
||
padding: 10px 14px; /* 增加内边距,底座更饱满 */
|
||
border-radius: 9px;
|
||
border: 1px solid rgba(56, 189, 248, 0.25);
|
||
border-top: 1.5px solid rgba(56, 189, 248, 0.6);
|
||
backdrop-filter: blur(16px);
|
||
-webkit-backdrop-filter: blur(16px);
|
||
box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.12);
|
||
margin-bottom: 2px;
|
||
}
|
||
|
||
.mini-btn {
|
||
background: rgba(56, 189, 248, 0.06);
|
||
border: 1px solid rgba(56, 189, 248, 0.2);
|
||
border-radius: 5px;
|
||
min-height: 31px; /* 明显提升高度 */
|
||
padding: 6px 4px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 5px;
|
||
font-size: 11px;
|
||
color: var(--text-main);
|
||
cursor: pointer;
|
||
transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
font-family: var(--font-number);
|
||
font-weight: 500;
|
||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
|
||
}
|
||
|
||
.mini-btn:hover {
|
||
border-color: var(--brand-primary);
|
||
color: #fff;
|
||
background: rgba(56, 189, 248, 0.22);
|
||
box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.mini-btn.active {
|
||
background: linear-gradient(180deg, rgba(56, 189, 248, 0.45) 0%, rgba(2, 132, 199, 0.6) 100%);
|
||
border-color: #38bdf8;
|
||
color: #ffffff;
|
||
font-weight: 700;
|
||
box-shadow: 0 0 14px rgba(56, 189, 248, 0.65), inset 0 0 10px rgba(56, 189, 248, 0.3);
|
||
}
|
||
|
||
.mini-btn.oil {
|
||
border-left: 3px solid var(--grain-oil);
|
||
}
|
||
|
||
.mini-btn.wheat {
|
||
border-left: 3px solid var(--grain-wheat);
|
||
}
|
||
|
||
.mini-btn.paddy {
|
||
border-left: 3px solid var(--grain-paddy);
|
||
}
|
||
|
||
.mini-btn .btn-name {
|
||
font-weight: 600;
|
||
color: var(--text-title);
|
||
letter-spacing: 0.2px;
|
||
}
|
||
|
||
.mini-btn .btn-grain {
|
||
font-size: 9.5px;
|
||
color: var(--text-sub);
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.mini-btn.active .btn-grain {
|
||
color: rgba(255, 255, 255, 0.9);
|
||
opacity: 1;
|
||
}
|
||
|
||
/* 图表容器 */
|
||
.chart-box {
|
||
width: 100%;
|
||
flex: 1;
|
||
min-height: 135px;
|
||
}
|
||
|
||
/* ================= 底部 Footer ================= */
|
||
.screen-footer {
|
||
position: relative;
|
||
z-index: 20;
|
||
height: 26px;
|
||
background: rgba(5, 11, 24, 0.7);
|
||
backdrop-filter: blur(16px);
|
||
border-top: 1px solid rgba(56, 189, 248, 0.12);
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 0 20px;
|
||
font-size: 10.5px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.footer-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
}
|
||
|
||
.footer-item strong {
|
||
color: #cbd5e1;
|
||
}
|
||
|
||
.status-indicator {
|
||
display: inline-block;
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: 50%;
|
||
background: var(--status-normal);
|
||
box-shadow: 0 0 6px var(--status-normal);
|
||
}
|
||
|
||
/* 习水子库 16:9 4K (3840x2160) 底图视口 */
|
||
.aerial-viewport-box.xishui-viewport {
|
||
width: 1360px;
|
||
height: 765px;
|
||
}
|
||
|
||
/* 多库区快速切换胶囊导航 */
|
||
.depot-switch-group {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
background: rgba(15, 23, 42, 0.7);
|
||
border: 1px solid rgba(56, 189, 248, 0.25);
|
||
border-radius: 16px;
|
||
padding: 2px;
|
||
gap: 2px;
|
||
backdrop-filter: blur(8px);
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.btn-depot {
|
||
background: transparent;
|
||
border: none;
|
||
color: var(--text-sub);
|
||
padding: 4px 12px;
|
||
font-size: 11px;
|
||
border-radius: 14px;
|
||
cursor: pointer;
|
||
text-decoration: none;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
||
user-select: none;
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.btn-depot:hover {
|
||
color: #f8fafc;
|
||
background: rgba(56, 189, 248, 0.12);
|
||
}
|
||
|
||
.btn-depot.active {
|
||
background: linear-gradient(135deg, rgba(2, 132, 199, 0.8) 0%, rgba(56, 189, 248, 0.8) 100%);
|
||
color: #ffffff;
|
||
font-weight: 600;
|
||
box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
|
||
}
|
||
|
||
/* 习水子库 11 仓单排紧凑点阵 */
|
||
.granary-mini-grid.xishui-mini-grid {
|
||
grid-template-columns: repeat(11, 1fr);
|
||
gap: 6px;
|
||
padding: 8px 10px;
|
||
}
|
||
|
||
|
||
|