chore: 新增项目规则文档、构建别名及忽略规则 添加 AGENTS.md 项目规则文件,涵盖语言与工具链、模块设计、 Git 提交规范及验证流程等内容。 变更要点: - .cargo/config.toml 新增 xtask 命令别名 - .gitignore 忽略运行时地图缓存、接收器配置文件、 构建锁文件及本地 docs/ 目录 - 新增 AGENTS.md 定义项目编码、提交与审查规则 ```
1287 lines
25 KiB
CSS
1287 lines
25 KiB
CSS
/* Mission Control Apple-style Translucent Dark Theme */
|
|
:root {
|
|
--mc-bg: #060b14;
|
|
--mc-shell-bg: rgba(8, 15, 28, 0.82);
|
|
--mc-panel-bg: rgba(9, 18, 36, 0.82);
|
|
--mc-panel-raised: rgba(14, 26, 48, 0.88);
|
|
--mc-panel-dense: rgba(7, 13, 24, 0.94);
|
|
--mc-panel-card: rgba(14, 25, 48, 0.6);
|
|
--mc-panel-card-hover: rgba(20, 36, 68, 0.75);
|
|
--mc-panel-card-active: rgba(18, 42, 82, 0.85);
|
|
--mc-panel-blur: blur(28px) saturate(190%);
|
|
|
|
/* Apple Hairline Borders & Specular Bevels */
|
|
--mc-border: rgba(48, 85, 140, 0.38);
|
|
--mc-border-light: rgba(255, 255, 255, 0.1);
|
|
--mc-border-active: #1a72ff;
|
|
--mc-border-glow: rgba(26, 114, 255, 0.5);
|
|
|
|
/* Apple System Colors */
|
|
--mc-accent: #38bdf8;
|
|
--mc-accent-blue: #0a84ff;
|
|
--mc-accent-dark: #1557b0;
|
|
--mc-success: #30d158;
|
|
--mc-warning: #ff9f0a;
|
|
--mc-danger: #ff453a;
|
|
|
|
/* Typography */
|
|
--mc-text: #f8fafc;
|
|
--mc-text-muted: #94a3b8;
|
|
--mc-text-dim: #64748b;
|
|
|
|
/* Radius & Shadows */
|
|
--mc-radius-lg: 14px;
|
|
--mc-radius-md: 10px;
|
|
--mc-radius-sm: 8px;
|
|
--mc-radius-pill: 9999px;
|
|
--mc-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
|
|
--mc-shadow-floating: 0 20px 48px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.14);
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
|
color-scheme: dark;
|
|
}
|
|
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: var(--mc-bg);
|
|
color: var(--mc-text);
|
|
overflow-x: hidden;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Custom Sleek Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 5px;
|
|
height: 5px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.16);
|
|
border-radius: 9999px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(56, 189, 248, 0.4);
|
|
}
|
|
|
|
.rt-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
min-height: 680px;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background-color: var(--mc-bg);
|
|
}
|
|
|
|
/* ============================================================ */
|
|
/* Mission Control Topbar */
|
|
/* ============================================================ */
|
|
.mc-topbar {
|
|
height: 56px;
|
|
flex-shrink: 0;
|
|
background: rgba(8, 15, 28, 0.88);
|
|
backdrop-filter: blur(24px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(24px) saturate(180%);
|
|
border-bottom: 1px solid var(--mc-border);
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 20px;
|
|
gap: 16px;
|
|
z-index: 100;
|
|
}
|
|
|
|
.mc-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mc-brand-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
background: linear-gradient(135deg, rgba(26, 114, 255, 0.7), rgba(56, 189, 248, 0.35));
|
|
border: 1px solid rgba(56, 189, 248, 0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #38bdf8;
|
|
box-shadow: 0 2px 10px rgba(26, 114, 255, 0.3);
|
|
}
|
|
.mc-brand-icon svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.mc-brand-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.mc-brand-title {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
color: #fff;
|
|
}
|
|
|
|
.mc-brand-sub {
|
|
font-size: 10px;
|
|
color: #64748b;
|
|
letter-spacing: 0.08em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Nav Tabs - Authentic Mission Control Sleek Line Tabs */
|
|
.mc-nav-tabs {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
height: 100%;
|
|
}
|
|
|
|
.mc-nav-tab {
|
|
height: 100%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 0 18px;
|
|
background: transparent;
|
|
color: var(--mc-text-muted);
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mc-nav-tab:hover {
|
|
color: #fff;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.mc-nav-tab.active {
|
|
color: #38bdf8;
|
|
font-weight: 600;
|
|
border-bottom: 2px solid #38bdf8;
|
|
text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
|
|
}
|
|
|
|
.mc-nav-link {
|
|
color: var(--mc-text-muted);
|
|
}
|
|
.mc-nav-link:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
/* Right Status Capsule */
|
|
.mc-top-status-capsule {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
background: rgba(14, 25, 45, 0.75);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: var(--mc-radius-pill);
|
|
padding: 6px 16px;
|
|
font-size: 12px;
|
|
color: #cbd5e1;
|
|
backdrop-filter: blur(12px);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
.mc-capsule-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mc-capsule-icon {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.mc-capsule-divider {
|
|
width: 1px;
|
|
height: 12px;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.mc-battery-tag {
|
|
color: #facc15;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.mc-pulse-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
}
|
|
.mc-pulse-dot.green {
|
|
background: var(--mc-success);
|
|
box-shadow: 0 0 8px var(--mc-success);
|
|
}
|
|
.mc-pulse-dot.amber {
|
|
background: var(--mc-warning);
|
|
box-shadow: 0 0 8px var(--mc-warning);
|
|
}
|
|
.mc-pulse-dot.red {
|
|
background: var(--mc-danger);
|
|
box-shadow: 0 0 8px var(--mc-danger);
|
|
}
|
|
|
|
/* Workspace Wrapper */
|
|
.mc-workspace {
|
|
flex: 1;
|
|
position: relative;
|
|
overflow: hidden;
|
|
height: calc(100vh - 56px);
|
|
background-color: var(--mc-bg);
|
|
}
|
|
|
|
/* Common Map Canvas */
|
|
.rt-map-canvas {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #060b14;
|
|
}
|
|
|
|
.mc-map-infobar {
|
|
position: absolute;
|
|
bottom: 16px;
|
|
left: 372px;
|
|
padding: 4px 12px;
|
|
background: rgba(9, 18, 33, 0.8);
|
|
backdrop-filter: var(--mc-panel-blur);
|
|
border: 1px solid var(--mc-border);
|
|
border-radius: var(--mc-radius-pill);
|
|
font-size: 11px;
|
|
color: var(--mc-text-dim);
|
|
pointer-events: none;
|
|
z-index: 5;
|
|
}
|
|
|
|
/* ============================================================ */
|
|
/* Layout A: 飞行监控 (Flight Monitoring) */
|
|
/* ============================================================ */
|
|
.mc-layout-a {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.mc-layout-a .mc-map-area {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Floating Glass Panels */
|
|
.mc-floating-panel {
|
|
position: absolute;
|
|
top: 16px;
|
|
bottom: 16px;
|
|
background: var(--mc-panel-bg);
|
|
backdrop-filter: var(--mc-panel-blur);
|
|
-webkit-backdrop-filter: var(--mc-panel-blur);
|
|
border: 1px solid var(--mc-border);
|
|
border-radius: var(--mc-radius-lg);
|
|
box-shadow: var(--mc-shadow-floating);
|
|
z-index: 15;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mc-drawer-left {
|
|
left: 16px;
|
|
width: 340px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mc-drawer-left .mc-panel-header {
|
|
padding: 14px 16px 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.mc-drawer-left .mc-panel-header h3 {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
}
|
|
.mc-panel-header-icon {
|
|
color: var(--mc-text-dim);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mc-drawer-left .mc-search-box {
|
|
padding: 0 14px 8px;
|
|
}
|
|
.mc-drawer-left .mc-pagination {
|
|
padding: 0 14px 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 11px;
|
|
color: var(--mc-text-dim);
|
|
}
|
|
|
|
.mc-input {
|
|
width: 100%;
|
|
height: 34px;
|
|
background: rgba(14, 25, 48, 0.65);
|
|
border: 1px solid var(--mc-border);
|
|
border-radius: var(--mc-radius-sm);
|
|
padding: 0 10px;
|
|
color: #fff;
|
|
font-size: 12px;
|
|
outline: none;
|
|
transition: all 0.2s ease;
|
|
}
|
|
.mc-input:focus {
|
|
border-color: #1a72ff;
|
|
box-shadow: 0 0 0 3px rgba(26, 114, 255, 0.25);
|
|
background: rgba(18, 34, 64, 0.85);
|
|
}
|
|
|
|
.mc-btn-sm {
|
|
padding: 4px 8px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid var(--mc-border-light);
|
|
border-radius: 6px;
|
|
color: var(--mc-text);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
.mc-btn-sm:hover:not(:disabled) {
|
|
background: rgba(26, 114, 255, 0.25);
|
|
border-color: #1a72ff;
|
|
color: #fff;
|
|
}
|
|
.mc-btn-sm:disabled {
|
|
opacity: 0.3;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Vehicle Cards in Target List */
|
|
.mc-target-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 0 14px 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.mc-vehicle-card {
|
|
background: rgba(14, 25, 48, 0.6);
|
|
border: 1px solid rgba(38, 68, 115, 0.35);
|
|
border-radius: 10px;
|
|
padding: 10px 12px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
.mc-vehicle-card:hover {
|
|
background: rgba(18, 34, 64, 0.75);
|
|
border-color: rgba(56, 110, 180, 0.5);
|
|
}
|
|
.mc-vehicle-card.active {
|
|
background: rgba(18, 42, 82, 0.85);
|
|
border: 1px solid #1a72ff;
|
|
box-shadow: 0 4px 16px rgba(26, 114, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.mc-vc-row1 {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.mc-vc-icon {
|
|
font-size: 16px;
|
|
}
|
|
.mc-vc-name {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
flex: 1;
|
|
}
|
|
.mc-vc-badge {
|
|
font-size: 11px;
|
|
padding: 2px 7px;
|
|
border-radius: 4px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #94a3b8;
|
|
}
|
|
.mc-vc-badge.active {
|
|
background: rgba(26, 114, 255, 0.25);
|
|
border: 1px solid rgba(56, 140, 248, 0.4);
|
|
color: #38bdf8;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.mc-vc-row2 {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 12px;
|
|
}
|
|
.mc-vc-bat {
|
|
color: #facc15;
|
|
font-weight: 500;
|
|
}
|
|
.mc-vc-status {
|
|
color: #34d399;
|
|
font-size: 12px;
|
|
}
|
|
.mc-vc-btn-locate {
|
|
background: transparent;
|
|
border: none;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
opacity: 0.6;
|
|
transition: opacity 0.2s;
|
|
padding: 0;
|
|
}
|
|
.mc-vc-btn-locate:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Multi-vehicle bottom action buttons */
|
|
.mc-fleet-actions {
|
|
margin-top: auto;
|
|
padding: 12px 14px;
|
|
background: rgba(10, 18, 34, 0.85);
|
|
border-top: 1px solid var(--mc-border);
|
|
border-radius: 0 0 var(--mc-radius-lg) var(--mc-radius-lg);
|
|
}
|
|
.mc-fleet-title {
|
|
font-size: 11px;
|
|
color: var(--mc-text-dim);
|
|
margin-bottom: 8px;
|
|
}
|
|
.mc-fleet-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
.mc-fleet-btn {
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
background: rgba(18, 30, 54, 0.65);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: #f1f5f9;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
transition: all 0.2s;
|
|
}
|
|
.mc-fleet-btn:hover {
|
|
background: rgba(26, 45, 78, 0.8);
|
|
border-color: rgba(56, 140, 248, 0.4);
|
|
color: #fff;
|
|
}
|
|
.mc-fleet-btn.primary {
|
|
background: linear-gradient(180deg, #1d68cf 0%, #1557b0 100%);
|
|
border: 1px solid rgba(147, 197, 253, 0.35);
|
|
color: #ffffff;
|
|
box-shadow: 0 2px 8px rgba(21, 87, 176, 0.4);
|
|
}
|
|
|
|
/* Floating Map Toolstrip on left of map */
|
|
.mc-map-toolstrip {
|
|
position: absolute;
|
|
left: 372px;
|
|
top: 64px;
|
|
width: 44px;
|
|
background: rgba(9, 18, 36, 0.85);
|
|
backdrop-filter: blur(24px);
|
|
-webkit-backdrop-filter: blur(24px);
|
|
border: 1px solid var(--mc-border);
|
|
border-radius: 10px;
|
|
padding: 4px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
|
|
z-index: 10;
|
|
}
|
|
|
|
.mc-toolstrip-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
color: #94a3b8;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
padding: 0;
|
|
}
|
|
.mc-toolstrip-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #fff;
|
|
}
|
|
.mc-toolstrip-btn.active {
|
|
background: rgba(26, 114, 255, 0.25);
|
|
border-color: rgba(56, 140, 248, 0.5);
|
|
color: #38bdf8;
|
|
}
|
|
.mc-toolstrip-btn.zoom {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
height: 30px;
|
|
}
|
|
.mc-ts-icon {
|
|
font-size: 15px;
|
|
}
|
|
.mc-ts-label {
|
|
font-size: 8px;
|
|
line-height: 1;
|
|
margin-top: 1px;
|
|
}
|
|
.mc-toolstrip-divider {
|
|
width: 24px;
|
|
height: 1px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
margin: 2px 0;
|
|
}
|
|
|
|
/* Floating Top Warning Banner */
|
|
.mc-map-alert-banner {
|
|
position: absolute;
|
|
top: 16px;
|
|
left: 372px;
|
|
right: 412px;
|
|
margin: 0 auto;
|
|
max-width: 620px;
|
|
height: 38px;
|
|
background: rgba(30, 22, 10, 0.85);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(245, 158, 11, 0.6);
|
|
border-radius: 8px;
|
|
padding: 0 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 13px;
|
|
color: #fbbf24;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
|
z-index: 10;
|
|
}
|
|
.mc-alert-icon {
|
|
font-size: 15px;
|
|
margin-right: 8px;
|
|
}
|
|
.mc-alert-msg {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.mc-alert-action {
|
|
color: #38bdf8;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
margin-left: 12px;
|
|
}
|
|
.mc-alert-action:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Floating Bottom Telemetry Ribbon */
|
|
.mc-telemetry-ribbon {
|
|
position: absolute;
|
|
bottom: 16px;
|
|
left: 430px;
|
|
right: 412px;
|
|
height: 48px;
|
|
background: rgba(9, 18, 36, 0.85);
|
|
backdrop-filter: blur(24px);
|
|
-webkit-backdrop-filter: blur(24px);
|
|
border: 1px solid var(--mc-border);
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
padding: 0 14px;
|
|
box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
|
|
z-index: 10;
|
|
font-size: 12px;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.mc-ribbon-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.mc-ribbon-item.brand {
|
|
color: #fff;
|
|
font-size: 13px;
|
|
}
|
|
.mc-ribbon-drone {
|
|
font-size: 16px;
|
|
}
|
|
.mc-ribbon-label {
|
|
color: var(--mc-text-dim);
|
|
font-size: 11px;
|
|
}
|
|
.mc-ribbon-val {
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
.mc-ribbon-divider {
|
|
width: 1px;
|
|
height: 14px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
.mc-ribbon-btn {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 6px;
|
|
padding: 4px 8px;
|
|
color: #cbd5e1;
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
.mc-ribbon-btn:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
color: #fff;
|
|
}
|
|
|
|
/* Right HUD Panel: 单机工作台 */
|
|
.mc-hud-right {
|
|
right: 16px;
|
|
width: 380px;
|
|
padding: 16px;
|
|
gap: 12px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.mc-hud-right .mc-panel-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-bottom: 4px;
|
|
}
|
|
.mc-hud-right .mc-panel-header h3 {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
}
|
|
|
|
/* Checklist */
|
|
.mc-checklist {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
background: rgba(14, 25, 48, 0.6);
|
|
border: 1px solid rgba(38, 68, 115, 0.35);
|
|
border-radius: 10px;
|
|
padding: 8px 12px;
|
|
}
|
|
.mc-check-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 12px;
|
|
color: #cbd5e1;
|
|
padding: 3px 0;
|
|
}
|
|
.mc-check-icon {
|
|
margin-right: 6px;
|
|
}
|
|
.mc-check-name {
|
|
flex: 1;
|
|
}
|
|
.mc-check-badge.ok {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
border: 1px solid rgba(34, 197, 94, 0.4);
|
|
color: #4ade80;
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
}
|
|
.mc-check-status.ok {
|
|
color: #4ade80;
|
|
font-size: 11px;
|
|
}
|
|
|
|
/* Flight Operations */
|
|
.mc-flight-ops {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
.mc-ops-title {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #94a3b8;
|
|
}
|
|
.mc-ops-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 6px;
|
|
}
|
|
.mc-ops-btn {
|
|
padding: 8px 0;
|
|
border-radius: 8px;
|
|
background: rgba(18, 30, 54, 0.65);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: #f1f5f9;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
transition: all 0.2s;
|
|
}
|
|
.mc-ops-btn:hover {
|
|
background: rgba(26, 45, 78, 0.8);
|
|
border-color: rgba(56, 140, 248, 0.4);
|
|
color: #fff;
|
|
}
|
|
.mc-ops-btn.primary {
|
|
background: linear-gradient(180deg, #1d68cf 0%, #1557b0 100%);
|
|
border: 1px solid rgba(147, 197, 253, 0.35);
|
|
color: #ffffff;
|
|
box-shadow: 0 2px 8px rgba(21, 87, 176, 0.4);
|
|
}
|
|
|
|
/* Dual Round Instruments */
|
|
.mc-dual-instruments {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
background: rgba(14, 25, 48, 0.6);
|
|
border: 1px solid rgba(38, 68, 115, 0.35);
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
}
|
|
.mc-inst-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
.mc-horizon-svg, .mc-compass-svg {
|
|
width: 86px;
|
|
height: 86px;
|
|
filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
|
|
}
|
|
.mc-inst-label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: #94a3b8;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Target Coordinates Box */
|
|
.mc-hud-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 6px;
|
|
}
|
|
.mc-metric-box {
|
|
background: rgba(14, 25, 48, 0.6);
|
|
border: 1px solid rgba(38, 68, 115, 0.35);
|
|
border-radius: 8px;
|
|
padding: 6px 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
.mc-metric-label {
|
|
font-size: 10px;
|
|
color: var(--mc-text-dim);
|
|
text-transform: uppercase;
|
|
}
|
|
.mc-metric-val {
|
|
font-size: 13px;
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
.mc-metric-val.sm {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.mc-details-card {
|
|
background: rgba(14, 25, 48, 0.5);
|
|
border: 1px solid rgba(38, 68, 115, 0.3);
|
|
border-radius: 8px;
|
|
padding: 8px 12px;
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
color: #94a3b8;
|
|
}
|
|
.mc-details-text {
|
|
margin: 0;
|
|
white-space: pre-line;
|
|
}
|
|
.mc-age-tag {
|
|
margin-top: 4px;
|
|
color: var(--mc-text-dim);
|
|
}
|
|
.mc-age-tag strong {
|
|
color: #38bdf8;
|
|
}
|
|
|
|
.mc-quick-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
.mc-btn {
|
|
flex: 1;
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: all 0.2s;
|
|
}
|
|
.mc-btn-primary {
|
|
background: linear-gradient(180deg, #1d68cf 0%, #1557b0 100%);
|
|
border: 1px solid rgba(147, 197, 253, 0.35);
|
|
color: #ffffff;
|
|
box-shadow: 0 2px 8px rgba(21, 87, 176, 0.4);
|
|
}
|
|
.mc-btn-primary:hover {
|
|
background: linear-gradient(180deg, #2575e6 0%, #1a62c6 100%);
|
|
}
|
|
.mc-btn-secondary {
|
|
background: rgba(18, 30, 54, 0.65);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: #cbd5e1;
|
|
}
|
|
.mc-btn-secondary:hover {
|
|
background: rgba(26, 45, 78, 0.8);
|
|
color: #fff;
|
|
}
|
|
|
|
/* ============================================================ */
|
|
/* Layout B: 调度指挥 (Dispatch Dock) */
|
|
/* ============================================================ */
|
|
.mc-layout-b {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
.mc-map-area-top {
|
|
position: relative;
|
|
height: 48%;
|
|
min-height: 240px;
|
|
}
|
|
.mc-hud-dock {
|
|
flex: 1;
|
|
background: var(--mc-panel-dense);
|
|
backdrop-filter: var(--mc-panel-blur);
|
|
-webkit-backdrop-filter: var(--mc-panel-blur);
|
|
border-top: 1px solid var(--mc-border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
|
|
}
|
|
.mc-dock-header {
|
|
height: 44px;
|
|
border-bottom: 1px solid var(--mc-border);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 20px;
|
|
background: rgba(10, 20, 36, 0.6);
|
|
}
|
|
.mc-dock-tabs {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
.mc-dock-tab {
|
|
padding: 6px 14px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--mc-radius-pill);
|
|
color: var(--mc-text-muted);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
.mc-dock-tab:hover {
|
|
color: #fff;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
.mc-dock-tab.active {
|
|
background: rgba(26, 114, 255, 0.25);
|
|
border-color: rgba(56, 140, 248, 0.5);
|
|
color: #38bdf8;
|
|
}
|
|
.mc-dock-substatus {
|
|
font-size: 11px;
|
|
color: var(--mc-text-dim);
|
|
}
|
|
.mc-dock-body {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
.mc-dock-split {
|
|
display: flex;
|
|
height: 100%;
|
|
}
|
|
.mc-dock-table-wrap {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
border-right: 1px solid var(--mc-border);
|
|
padding: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
.mc-table-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
.mc-table-search {
|
|
max-width: 320px;
|
|
height: 32px;
|
|
}
|
|
.mc-table-pages {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
color: var(--mc-text-muted);
|
|
}
|
|
.mc-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 12px;
|
|
text-align: left;
|
|
}
|
|
.mc-table th {
|
|
padding: 8px 12px;
|
|
color: var(--mc-text-muted);
|
|
font-weight: 600;
|
|
border-bottom: 1px solid var(--mc-border);
|
|
background: rgba(14, 25, 48, 0.4);
|
|
}
|
|
.mc-table td {
|
|
padding: 8px 12px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
.mc-tr {
|
|
cursor: pointer;
|
|
transition: background 0.15s ease;
|
|
}
|
|
.mc-tr:hover {
|
|
background: rgba(26, 114, 255, 0.1);
|
|
}
|
|
.mc-tr.active {
|
|
background: rgba(26, 114, 255, 0.22);
|
|
}
|
|
.mc-pill-ok {
|
|
color: #34d399;
|
|
}
|
|
.mc-action-btn {
|
|
padding: 3px 8px;
|
|
background: rgba(26, 114, 255, 0.2);
|
|
border: 1px solid rgba(56, 140, 248, 0.35);
|
|
border-radius: 4px;
|
|
color: #38bdf8;
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
}
|
|
.mc-dock-instrument-pane {
|
|
width: 320px;
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
background: rgba(9, 18, 36, 0.5);
|
|
}
|
|
.mc-quad-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.mc-quad-name {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
}
|
|
.mc-quad-state {
|
|
font-size: 11px;
|
|
color: #34d399;
|
|
}
|
|
.mc-quad-layout {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
background: rgba(14, 25, 48, 0.6);
|
|
border: 1px solid rgba(38, 68, 115, 0.35);
|
|
border-radius: 10px;
|
|
padding: 12px;
|
|
}
|
|
.mc-quad-svg {
|
|
width: 72px;
|
|
height: 72px;
|
|
}
|
|
.mc-quad-metrics {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
font-size: 11px;
|
|
}
|
|
.mc-quad-metric-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.mc-quad-metric-row span {
|
|
color: var(--mc-text-dim);
|
|
}
|
|
.mc-quad-metric-row strong {
|
|
color: #fff;
|
|
}
|
|
.mc-quad-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
.mc-events-stream {
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
overflow-y: auto;
|
|
height: 100%;
|
|
}
|
|
.mc-event-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 14px;
|
|
background: rgba(14, 25, 48, 0.6);
|
|
border: 1px solid rgba(38, 68, 115, 0.35);
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
}
|
|
.mc-event-time {
|
|
color: var(--mc-text-dim);
|
|
font-size: 11px;
|
|
min-width: 60px;
|
|
}
|
|
.mc-event-badge {
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
}
|
|
.mc-event-badge.ok {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
color: #4ade80;
|
|
}
|
|
.mc-event-badge.info {
|
|
background: rgba(56, 189, 248, 0.2);
|
|
color: #38bdf8;
|
|
}
|
|
.mc-event-desc {
|
|
flex: 1;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
/* ============================================================ */
|
|
/* Layout C: 目标研判 (Target Analysis) */
|
|
/* ============================================================ */
|
|
.mc-layout-c {
|
|
display: grid;
|
|
grid-template-columns: 320px 1fr 380px;
|
|
height: 100%;
|
|
gap: 16px;
|
|
padding: 16px;
|
|
}
|
|
.mc-column-left {
|
|
background: var(--mc-panel-bg);
|
|
backdrop-filter: var(--mc-panel-blur);
|
|
border: 1px solid var(--mc-border);
|
|
border-radius: var(--mc-radius-lg);
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
overflow: hidden;
|
|
}
|
|
.mc-map-area-c {
|
|
position: relative;
|
|
background: var(--mc-panel-dense);
|
|
border: 1px solid var(--mc-border);
|
|
border-radius: var(--mc-radius-lg);
|
|
overflow: hidden;
|
|
}
|
|
.mc-dossier-panel {
|
|
background: var(--mc-panel-bg);
|
|
backdrop-filter: var(--mc-panel-blur);
|
|
border: 1px solid var(--mc-border);
|
|
border-radius: var(--mc-radius-lg);
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
overflow-y: auto;
|
|
}
|
|
.mc-dossier-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
.mc-dossier-card {
|
|
background: rgba(14, 25, 48, 0.6);
|
|
border: 1px solid rgba(38, 68, 115, 0.35);
|
|
border-radius: 10px;
|
|
padding: 12px 14px;
|
|
}
|
|
.mc-dossier-label {
|
|
font-size: 11px;
|
|
color: var(--mc-text-dim);
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
}
|
|
.mc-dossier-val {
|
|
margin: 6px 0 0;
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
white-space: pre-line;
|
|
color: #e2e8f0;
|
|
}
|
|
.mc-header-actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* Receiver UI in drawer */
|
|
.rt-receiver {
|
|
background: rgba(14, 25, 48, 0.6);
|
|
border: 1px solid rgba(38, 68, 115, 0.35);
|
|
border-radius: 10px;
|
|
padding: 8px 12px;
|
|
margin: 0 14px 10px;
|
|
}
|
|
.rt-receiver-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #cbd5e1;
|
|
}
|
|
.rt-summary-tag {
|
|
color: #38bdf8;
|
|
font-size: 11px;
|
|
}
|
|
.rt-receiver-body {
|
|
margin-top: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
}
|
|
.rt-form-group, .rt-form-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.rt-label {
|
|
font-size: 11px;
|
|
color: var(--mc-text-dim);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.rt-select, .rt-input {
|
|
background: rgba(10, 18, 34, 0.85);
|
|
border: 1px solid var(--mc-border);
|
|
border-radius: 6px;
|
|
padding: 4px 8px;
|
|
color: #fff;
|
|
font-size: 12px;
|
|
outline: none;
|
|
}
|
|
.rt-btn-row {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-top: 4px;
|
|
}
|
|
.rt-btn {
|
|
flex: 1;
|
|
padding: 6px 8px;
|
|
border-radius: 6px;
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
}
|
|
.rt-btn-primary {
|
|
background: linear-gradient(180deg, #1d68cf 0%, #1557b0 100%);
|
|
border: 1px solid rgba(147, 197, 253, 0.35);
|
|
color: #fff;
|
|
}
|
|
.rt-btn-secondary {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #cbd5e1;
|
|
}
|
|
.rt-capture-box {
|
|
background: rgba(6, 12, 22, 0.8);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 6px;
|
|
padding: 6px;
|
|
font-family: monospace;
|
|
font-size: 10px;
|
|
max-height: 80px;
|
|
overflow-y: auto;
|
|
color: #94a3b8;
|
|
}
|
|
.rt-capture-head {
|
|
font-size: 9px;
|
|
color: var(--mc-text-dim);
|
|
margin-bottom: 2px;
|
|
}
|