```
refactor(web-ui): 接收机管理页面改为紧凑单屏布局 移除独立页面标题区域,将添加按钮整合至工具栏;将连接 配置与诊断标签页提升至抽屉头部,设备名称与启用开关合并 为同一行;串口/网络字段采用双列网格布局。精简脚注文案, 并针对小高度屏幕和窄屏幕添加响应式适配,减少纵向滚动需求。 ```
This commit is contained in:
@@ -10,3 +10,32 @@
|
||||
.rx-surface .rx-cards{align-items:start}
|
||||
.rx-surface>.rx-footnote{margin-bottom:0}
|
||||
@media(max-width:650px){.rx-surface{padding:16px;min-height:360px}}
|
||||
|
||||
/* Compact receiver toolbar and single-screen connection form. */
|
||||
.rx-toolbar{margin:0 0 18px;gap:12px}
|
||||
.rx-toolbar label{flex:1 1 280px;white-space:nowrap;margin:0;gap:10px}
|
||||
.rx-toolbar input{width:240px;max-width:320px;flex:1 1 180px;height:38px;padding:7px 10px}
|
||||
.rx-toolbar button{width:auto;flex:0 0 auto;min-height:38px;padding:7px 14px;white-space:nowrap}
|
||||
#rx-summary{white-space:nowrap;font-size:13px}
|
||||
.rx-surface{min-height:calc(100dvh - 160px)}
|
||||
.rx-drawer{padding:16px 20px}
|
||||
.rx-drawer-header{gap:12px;margin:0 0 16px}
|
||||
.rx-drawer-header .rx-tabs{margin:0;gap:8px}
|
||||
.rx-drawer-header #rx-close{width:34px;height:34px;min-height:34px;padding:0;flex:0 0 34px}
|
||||
.rx-drawer .rx-tabs button{padding:7px 12px;min-height:34px}
|
||||
#rx-form{display:grid;gap:12px}
|
||||
#rx-form label{margin:0;gap:5px;font-size:13px;line-height:1.4}
|
||||
#rx-form input:not([type=checkbox]),#rx-form select{height:36px;min-height:36px;padding:6px 10px;font-size:13px;box-sizing:border-box}
|
||||
.rx-name-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end}
|
||||
.rx-drawer .rx-name-row label.rx-enable{height:36px;min-height:36px;gap:8px;white-space:nowrap}
|
||||
#rx-serial-fields,#rx-network-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
|
||||
#rx-form .rx-note{margin:0;padding:9px 10px;font-size:12px;line-height:1.5}
|
||||
#rx-form .rx-footnote{margin:0;font-size:12px;line-height:1.5}
|
||||
#rx-form .rx-actions button{width:auto;min-height:36px;padding:7px 16px}
|
||||
#rx-message{margin:10px 0 0;font-size:12px;line-height:1.4}
|
||||
#rx-message:empty{display:none}
|
||||
#rx-diagnostic>p{margin:10px 0;font-size:13px}
|
||||
#rx-stats{margin:12px 0;gap:7px;font-size:13px}
|
||||
#rx-raw{max-height:min(180px,25dvh);margin:12px 0 0}
|
||||
@media(max-height:600px){.rx-drawer{padding:12px 16px}.rx-drawer-header{margin-bottom:10px}#rx-form{gap:8px}#rx-form input:not([type=checkbox]),#rx-form select{height:32px;min-height:32px}#rx-form .rx-note{padding:6px 8px}}
|
||||
@media(max-width:650px){.rx-toolbar label{flex-basis:100%}.rx-toolbar input{max-width:none}#rx-summary{margin-right:auto}.rx-surface{min-height:calc(100dvh - 195px)}}
|
||||
|
||||
Reference in New Issue
Block a user