/* 页面整体布局 */ .page-network { display: flex; flex-direction: column; gap: 15px; height: 100%; overflow: hidden; } /* 顶部的状态栏 */ .status-bar { display: flex; gap: 24px; padding: 12px 16px; background: transparent; border: none; border-radius: 0; flex-shrink: 0; } .status-item { display: flex; flex-direction: column; gap: 4px; } .status-item .label { font-size: 11px; color: #94a3b8; } .status-item .value { font-size: 13px; color: #e5e7eb; font-family: ui-monospace, monospace; } /* 左右拆分的栏 */ .panes { display: flex; gap: 15px; flex: 1; min-height: 0; overflow: hidden; } /* 展示网络信息 */ .left-pane { flex: 1; display: flex; flex-direction: column; gap: 15px; overflow: hidden; min-width: 0; } .left-pane .card { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; } .left-pane .output { flex: 1; overflow: auto; max-height: none; } /* 展示服务日志 */ .right-pane { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: hidden; } .log-card { height: 100%; display: flex; flex-direction: column; } .log-card .output { flex: 1; display: flex; flex-direction: column; height: auto; } .log-actions { display: flex; align-items: center; gap: 8px; } .log-level-select { background: #0f172a; border: 1px solid rgba(148, 163, 184, 0.25); border-radius: 6px; color: #e5e7eb; font-size: 12px; padding: 6px 8px; height: 30px; min-width: 80px; cursor: pointer; outline: none; -webkit-appearance: none; appearance: none; } .log-level-select:hover { border-color: rgba(148, 163, 184, 0.45); } .log-level-select:focus { border-color: #3b82f6; } /* 卡片基础样式 */ .card { background: #0f172a; border: 1px solid #1f2937; border-radius: 8px; padding: 15px; } .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .card-header h2 { font-size: 14px; font-weight: 500; color: #e2e8f0; margin: 0; } /* 输出日志区域 */ .output { background: #020617; border: 1px solid #1f2937; border-radius: 6px; padding: 10px; font-size: 12px; font-family: ui-monospace, monospace; color: #cbd5e1; max-height: 200px; overflow: auto; white-space: pre-wrap; line-height: 1.6; } /* 取消高度限制 */ .right-pane .log-output { max-height: none; }