```
feat(web-ui): 重构地图设置与目标列表页面并优化实时地图导航体验 - 重构地图设置页面布局,采用 flex 替代 grid,新增导航栏、标签页 和下载步骤组件,改善响应式断点适配 - 将目标列表管理从侧边抽屉方案改为全页面内联编辑器,包含表格视图 与分类侧栏,支持移动端卡片式降级展示 - 为实时地图屏幕添加半透明毛玻璃导航栏样式,支持 backdrop-filter 降级,并在地图模式下调整内容区域偏移量 - 修复地图渲染器在画布尺寸为 0 时的边界异常,增加宽高校验 - 优化 fitBounds 的 padding 计算,改为基于容器宽度的比例值并 限制最大值,避免小屏下地图偏移过大 - 新增 B5、B6、B7 三组 SVG 壁纸资源 ```
This commit is contained in:
@@ -102,3 +102,30 @@ body.b[data-custom-wallpaper="true"] .home-launcher.homescreen { background: non
|
||||
/* Restore collapsed panels without bringing back the removed map toolbar. */
|
||||
.live-panel-restores { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; z-index: 6; }
|
||||
body.b .live-panel-restores button { background: var(--glass-solid); border-color: var(--work-line); color: var(--work-text); font-size: 12px; padding: 7px 12px; }
|
||||
|
||||
/* Keep navigation dark while allowing the realtime map to show through it. */
|
||||
body.b :is(.reference-top, .reference-rail) {
|
||||
background: rgba(6, 18, 33, .72);
|
||||
backdrop-filter: blur(18px) saturate(120%);
|
||||
-webkit-backdrop-filter: blur(18px) saturate(120%);
|
||||
}
|
||||
body.b[data-screen=realtime] #workspace-content {
|
||||
--navigation-width: 68px;
|
||||
inset: 0;
|
||||
padding: 48px 0 0 var(--navigation-width);
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
body.b[data-screen=realtime][data-menu-hidden=true] #workspace-content { --navigation-width: 0px; }
|
||||
body.b[data-screen=realtime] #workspace-content .rt-page,
|
||||
body.b[data-screen=realtime] .mc-layout-b { overflow: visible; }
|
||||
body.b[data-screen=realtime] .mc-layout-b .mc-map-area-top {
|
||||
inset: -48px 0 0 calc(0px - var(--navigation-width));
|
||||
height: auto;
|
||||
}
|
||||
@media (max-width: 760px) {
|
||||
body.b[data-screen=realtime] #workspace-content { --navigation-width: 56px; }
|
||||
}
|
||||
@supports not ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
|
||||
body.b :is(.reference-top, .reference-rail) { background: var(--glass-solid); }
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ function create(container,initialBasemap="imagery",preferences=null) {
|
||||
gl.bindVertexArray(null);this.count=0;this.matrix=gl.getUniformLocation(this.program,'matrix');this.pixel=gl.getUniformLocation(this.program,'pixel');this.bearing=gl.getUniformLocation(this.program,'bearing');
|
||||
},
|
||||
render(gl,args){
|
||||
if (!this.count) return;
|
||||
if (!this.count || !this.map.getCanvas().clientWidth || !this.map.getCanvas().clientHeight) return;
|
||||
const source=args.defaultProjectionData?.mainMatrix || args.modelViewProjectionMatrix;
|
||||
if (!source) return;
|
||||
const m=new Float32Array(source);for(let r=0;r<4;r++)m[12+r]=source[r]*this.origin.x+source[4+r]*this.origin.y+source[12+r];
|
||||
|
||||
@@ -35,7 +35,7 @@ export function configure(p){if(!map)return;setBasemap(p.basemap);map.jumpTo({ce
|
||||
export function setBasemap(value){if(!map)return;const next=value==='road'?'road':'imagery';if(next===kind)return;kind=next;for(const [i,k]of ['base','labels'].entries())map.getSource(k)?.setTiles([urls(i)]);}
|
||||
export function refresh(){revision++;for(const [i,k]of ['base','labels'].entries())map?.getSource(k)?.setTiles([urls(i)]);tileBuffer?.schedule();}
|
||||
export function tool(value){mode=value;start=null;box=null;if(!map)return;if(mode==='box')map.dragPan.disable();else map.dragPan.enable();map.getCanvas().style.cursor=mode?'crosshair':'';if(mode)map.getCanvas().focus();}
|
||||
export function bounds(value){if(!map)return;map.fitBounds([[value.west,value.south],[value.east,value.north]],{padding:{left:60,right:Math.min(430,map.getContainer().clientWidth/2),top:70,bottom:60},duration:400});}
|
||||
export function bounds(value){if(!map)return;map.fitBounds([[value.west,value.south],[value.east,value.north]],{padding:{left:Math.min(60,map.getContainer().clientWidth/5),right:Math.min(60,map.getContainer().clientWidth/5),top:70,bottom:60},duration:400});}
|
||||
export function current(){if(!map)return;const p=map.getCenter();emit('rid-map-point',{longitude:p.lng,latitude:p.lat,zoom:map.getZoom()});marker?.setLngLat(p);}
|
||||
export function metrics(){return map?{tileBuffer:tileBuffer?.metrics(),ready:map.loaded(),camera:{longitude:map.getCenter().lng,latitude:map.getCenter().lat,zoom:map.getZoom()},basemap:kind}:null;}
|
||||
export function close(){tileBuffer?.destroy();tileBuffer=null;observer?.disconnect();observer=null;map?.remove();map=null;marker=null;boxElement=null;mode='';start=null;box=null;}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
/* Approved A: manual target classification and an on-demand management drawer. */
|
||||
/* Approved B: category navigation and an inline editor within the full-page table. */
|
||||
.rt-list-badge { display: inline-flex; align-items: center; flex: none; border: 1px solid #b5c6d946; border-radius: 4px; padding: 3px 5px; font-size: 10px; line-height: 1.3; color: #c2d0df; background: #b5c6d90b; white-space: nowrap; }
|
||||
.rt-list-badge::before { content: '○'; margin-right: 4px; }
|
||||
.rt-list-badge[data-kind=white] { color: #9edac1; border-color: #9edac14a; background: #69bd9712; }
|
||||
@@ -28,51 +28,35 @@
|
||||
.rt-target-label[data-list-kind=white] { color: #9edac1 !important; border-color: #9edac17a; }
|
||||
.rt-list-sync-error { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #ffb1a9; font-size: 11px; line-height: 1.8; margin: 10px 0; }
|
||||
.mc-layout-b .rt-list-sync-error button { font-size: 11px; padding: 4px 7px; }
|
||||
#rt-list-manager { position: absolute; top: 76px; right: 16px; bottom: 16px; width: 420px; max-width: calc(100% - 32px); z-index: 10; border: 1px solid var(--work-line); border-radius: 12px; background: #081625ed; backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); box-shadow: 0 12px 35px #0005; display: flex; flex-direction: column; color: var(--work-text); overflow: hidden; }
|
||||
.mc-layout-b[data-lists-open=true] .live-detail { visibility: hidden; pointer-events: none; }
|
||||
.rt-list-manager-head { display: flex; align-items: center; gap: 8px; padding: 0 16px; height: 54px; min-height: 54px; border-bottom: 1px solid var(--work-line); background: var(--glass-solid); }
|
||||
.rt-list-manager-head h2 { font-size: 16px; margin-right: auto; }
|
||||
.rt-list-manager button { font-size: 12px; border: 1px solid var(--work-line); border-radius: 6px; padding: 7px 9px; color: var(--work-text); background: #8bbdff0b; box-shadow: none; }
|
||||
.rt-list-manager button:hover:not(:disabled) { background: #8bbdff24; }
|
||||
.rt-list-manager button:disabled { opacity: .45; cursor: default; }
|
||||
.rt-list-manager-body { flex: 1; min-height: 0; overflow: auto; padding: 16px; scrollbar-width: thin; }
|
||||
.rt-list-help { font-size: 11px; color: var(--work-muted); line-height: 1.8; }
|
||||
.rt-list-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0; }
|
||||
.rt-list-search { display: block; }
|
||||
.rt-list-search > span { display: block; font-size: 11px; color: var(--work-muted); margin-bottom: 7px; }
|
||||
.rt-list-manager :is(input, select, textarea) { width: 100%; min-width: 0; padding: 9px 10px; background: var(--work-input); border: 1px solid var(--work-line); border-radius: 7px; color: var(--work-text); font-size: 12px; box-shadow: none; }
|
||||
.rt-list-manager input, .rt-list-manager select { height: 38px; }
|
||||
.rt-list-manager input::placeholder { color: var(--work-muted); }
|
||||
.rt-list-rows { max-height: 180px; overflow: auto; scrollbar-width: thin; margin-top: 6px; }
|
||||
.rt-list-row { display: flex; gap: 7px; align-items: center; border-bottom: 1px solid var(--work-line); padding: 13px 0; }
|
||||
.rt-list-row-main { flex: 1; min-width: 0; }
|
||||
.rt-list-row strong { font-size: 12px; overflow-wrap: anywhere; }
|
||||
.rt-list-row p { font-size: 11px; color: var(--work-muted); line-height: 1.7; overflow-wrap: anywhere; margin-top: 6px; }
|
||||
.rt-list-row p:empty { display: none; }
|
||||
.rt-list-row button { font-size: 11px; padding: 5px 7px; flex-shrink: 0; }
|
||||
.rt-list-pagination { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin: 12px 0 18px; font-size: 11px; color: var(--work-muted); }
|
||||
#rt-list-entry-form { border-top: 1px solid var(--work-line); padding-top: 18px; }
|
||||
#rt-list-entry-form h3 { font-size: 14px; }
|
||||
#rt-list-entry-form label { display: block; font-size: 12px; margin: 14px 0 7px; }
|
||||
#rt-list-entry-form textarea { height: 65px; resize: vertical; max-height: 180px; }
|
||||
.rt-list-manager #rt-list-entry-form .primary { width: 100%; background: var(--glass-action); color: white; margin-top: 14px; }
|
||||
.rt-list-manager-footer { display: block; background: var(--glass-solid); border-top: 1px solid var(--work-line); padding: 11px 16px; flex-shrink: 0; }
|
||||
.rt-list-manager-footer p { font-size: 12px; line-height: 1.8; margin-bottom: 5px; color: #9edac1; overflow-wrap: anywhere; }
|
||||
.rt-list-manager-footer p:empty { display: none; }
|
||||
.rt-list-manager-footer p.error { color: #ffb1a9; }
|
||||
.rt-list-manager-footer small { color: var(--work-muted); font-size: 10px; line-height: 1.8; }
|
||||
.mc-layout-b.compact #rt-list-manager { left: 16px; right: 16px; width: auto; max-width: none; }
|
||||
.mc-layout-b.compact[data-lists-open=true] :is(#rt-directory, #rt-details, #rt-dock) { visibility: hidden; pointer-events: none; }
|
||||
.mc-layout-b.compact .rt-blacklist-alert { top: 61px; left: 16px; right: 16px; justify-content: space-between; }
|
||||
.mc-layout-b.compact .rt-blacklist-alert span { font-size: 11px; }
|
||||
@container(max-width: 500px) {
|
||||
.rt-list-row { flex-wrap: wrap; }
|
||||
.rt-list-row-main { flex-basis: calc(100% - 80px); }
|
||||
.rt-list-rows { max-height: 180px; }
|
||||
.rt-list-manager-head { padding: 0 13px; }
|
||||
.rt-list-manager-head h2 { font-size: 14px; }
|
||||
.rt-list-manager-body { padding: 14px; }
|
||||
.rt-blacklist-alert span { display: none; }
|
||||
}
|
||||
#target-lists-view{background:var(--work-panel);backdrop-filter:none;overflow:hidden}
|
||||
#rt-list-manager{position:absolute;inset:0;width:auto;max-width:none;z-index:auto;display:flex;flex-direction:column;padding:24px 28px;gap:18px;color:var(--work-text);background:transparent;overflow:hidden}
|
||||
.rt-list-manager-head{display:flex;align-items:center;gap:10px;flex:none;background:none;border:0;padding:0;min-height:60px}
|
||||
.rt-list-manager-head>div{margin-right:auto;min-width:0}.rt-list-manager-head h2{font-size:24px;margin:0 0 8px}.rt-list-manager-head p{font-size:12px;color:var(--work-muted);line-height:1.8;margin:0}
|
||||
.rt-list-manager button{font:inherit;font-size:12px;border:1px solid var(--work-line);border-radius:7px;padding:9px 12px;color:var(--work-text);background:var(--work-input);box-shadow:none;cursor:pointer;white-space:nowrap}.rt-list-manager button:hover:not(:disabled){background:#8bbdff24}.rt-list-manager button:disabled{opacity:.45;cursor:default}
|
||||
.rt-list-manager :focus-visible{outline:2px solid #91c9ff;outline-offset:2px}
|
||||
.rt-list-manager-body{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;flex:1;min-height:0;overflow:hidden;padding:0}
|
||||
.rt-list-table-panel,.rt-list-category-panel{background:var(--glass-surface);backdrop-filter:blur(7px);border:1px solid var(--work-line);border-radius:14px;min-width:0;min-height:0}
|
||||
.rt-list-table-panel{display:flex;flex-direction:column;overflow:hidden}.rt-list-table-toolbar{padding:18px;display:flex;align-items:center;gap:15px;flex-wrap:wrap;border-bottom:1px solid var(--work-line)}
|
||||
.rt-list-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0}.rt-list-tabs button[aria-pressed=true]{background:#245d9d;border-color:#83b9ed}.rt-list-search{display:block;margin-left:auto;min-width:180px;flex:1;max-width:300px}.rt-list-search-label{display:block;font-size:11px;margin-bottom:6px;color:var(--work-muted)}
|
||||
.rt-list-manager :is(input,select,textarea){width:100%;min-width:0;padding:10px;background:var(--work-input);border:1px solid var(--work-line);border-radius:7px;color:var(--work-text);font:inherit;font-size:12px;box-shadow:none}.rt-list-manager input::placeholder{color:var(--work-muted)}.rt-list-manager input,.rt-list-manager select{height:40px}
|
||||
.rt-list-rows{flex:1;min-height:160px;max-height:none;overflow:auto;scrollbar-width:thin;margin:0}.rt-list-rows table{border-collapse:collapse;text-align:left;width:100%;table-layout:fixed}.rt-list-rows th{position:sticky;top:0;z-index:1;background:#0a1d30;color:var(--work-muted);font-size:11px;font-weight:400}.rt-list-rows th:nth-child(1){width:26%}.rt-list-rows th:nth-child(2){width:17%}.rt-list-rows th:nth-child(4){width:135px}.rt-list-rows th,.rt-list-rows td{padding:16px;border-bottom:1px solid var(--work-line)}
|
||||
.rt-list-row{display:table-row}.rt-list-row:hover,.rt-list-row.selected{background:#245d9d22}.rt-list-row-main strong{font-size:12px;overflow-wrap:anywhere}.rt-list-row p{margin:0;font-size:11px;line-height:1.8;overflow-wrap:anywhere;color:var(--work-muted)}.rt-list-row-actions{white-space:nowrap}.rt-list-row-actions button{font-size:11px;padding:6px 9px;margin-right:5px}.rt-list-help{padding:10px 18px;font-size:12px;color:var(--work-muted);line-height:1.8}.rt-list-table-panel>.rt-list-sync-error{margin:0;padding:10px 18px;flex:none}
|
||||
.rt-list-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0;padding:14px 18px;border-top:1px solid var(--work-line);color:var(--work-muted);font-size:12px;flex:none}
|
||||
.rt-list-category-panel{padding:20px;overflow:auto;scrollbar-width:thin}.rt-list-category-panel>h3{font-size:16px;margin:0 0 22px}.rt-list-category-panel .rt-list-tabs{flex-direction:column}.rt-list-category-panel .rt-list-tabs button{text-align:left;width:100%;padding:12px}.rt-list-policy{margin-top:26px;border-top:1px solid var(--work-line);padding-top:20px}.rt-list-policy h3{font-size:12px;margin:0 0 10px}.rt-list-policy p{font-size:12px;line-height:1.9;color:var(--work-muted)}
|
||||
.rt-list-rows .rt-inline-editor-row>td{padding:18px;background:#0a2339a8;border-top:1px solid #8bbdff50;border-bottom:1px solid #8bbdff50}
|
||||
#rt-list-entry-form{display:grid;grid-template-columns:minmax(150px,1fr) 130px minmax(180px,2fr) 120px;gap:14px;align-items:end;padding:0;border:0;min-width:0}.rt-inline-editor-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:15px}.rt-inline-editor-heading button{font-size:11px;padding:6px 10px}#rt-list-entry-form h3{font-size:14px;margin:0}#rt-list-entry-form label{display:block;font-size:12px;color:var(--work-muted);margin:0;min-width:0}#rt-list-entry-form :is(input,select,textarea){margin-top:8px}#rt-list-entry-form textarea{height:70px;resize:vertical;max-height:200px}#rt-list-entry-form .primary{width:100%;background:#245d9d;color:#fff;margin:0;min-height:40px}.rt-inline-editor-actions{align-self:end}
|
||||
.rt-list-manager-footer{background:none;border:0;padding:0;flex:none;display:block}.rt-list-manager-footer p{font-size:12px;line-height:1.8;color:#9edac1;margin:0 0 6px;overflow-wrap:anywhere}.rt-list-manager-footer p:empty{display:none}.rt-list-manager-footer p.error{color:#ffb1a9}.rt-list-manager-footer small{font-size:11px;color:var(--work-muted)}
|
||||
/* Increase usable target-directory space independently of the management page. */
|
||||
.mc-layout-b .live-list-controls{padding:10px 14px;gap:6px}.mc-layout-b .rt-target-list-filters{margin-top:4px}.mc-layout-b .live-target-list button{padding:10px 8px;min-height:42px}
|
||||
@media(max-width:1199px){#rt-list-manager{padding:20px;gap:14px}.rt-list-manager-body{grid-template-columns:175px minmax(0,1fr);gap:14px}.rt-list-rows th,.rt-list-rows td{padding:12px}.rt-list-category-panel{padding:18px}}
|
||||
@media(max-width:900px),(max-height:570px){#target-lists-view{overflow:auto}#rt-list-manager{position:relative;inset:auto;min-height:100%;overflow:visible;height:auto;padding:16px}.rt-list-manager-body{display:flex;flex-direction:column;overflow:visible;flex:none}.rt-list-table-panel{min-height:380px}.rt-list-rows{max-height:420px}.rt-list-rows table{min-width:580px}.rt-list-search{margin-left:0;max-width:none;flex-basis:100%}.rt-list-category-panel{overflow:visible}.rt-list-manager-head{flex-wrap:wrap}.rt-list-manager-head>div{flex-basis:100%;margin-bottom:4px}.rt-list-manager-head h2{font-size:21px}.rt-list-manager-head p{font-size:11px}}
|
||||
@supports not (backdrop-filter:blur(7px)){.rt-list-table-panel,.rt-list-category-panel{background:#061221f5}}
|
||||
|
||||
.mc-layout-b.compact[data-lists-open=true] .rt-blacklist-alert { visibility: hidden; }
|
||||
.mc-layout-b.compact .rt-blacklist-alert{top:61px;left:16px;right:16px;justify-content:space-between}.mc-layout-b.compact .rt-blacklist-alert span{display:none}
|
||||
|
||||
/* The map bleeds beneath the global header; its restore buttons stay in the usable workspace. */
|
||||
body.b[data-screen=realtime] .live-panel-restores{top:64px;left:calc(var(--navigation-width,68px) + 16px)}
|
||||
|
||||
@media(max-width:1199px){#rt-list-entry-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#rt-list-entry-form .rt-inline-note{grid-column:1/-1}#rt-list-entry-form .rt-inline-editor-actions{grid-column:1/-1;text-align:right}#rt-list-entry-form .primary{width:auto;min-width:150px}}
|
||||
@media(max-width:900px),(max-height:570px){.rt-list-category-panel{padding:12px}.rt-list-category-panel>h3,.rt-list-category-panel .rt-list-policy{display:none}.rt-list-category-panel .rt-list-tabs{flex-direction:row}.rt-list-category-panel .rt-list-tabs button{width:auto}.rt-list-table-panel{min-height:380px}}
|
||||
@media(max-width:767px){.rt-list-rows table{min-width:0;table-layout:auto;display:block}.rt-list-rows thead{display:none}.rt-list-rows tbody{display:block}.rt-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:14px;border-bottom:1px solid var(--work-line)}.rt-list-rows .rt-list-row td{display:block;border:0;padding:0;min-width:0}.rt-list-row-note{grid-column:1/-1}.rt-list-row-actions{grid-column:1/-1;display:flex!important;justify-content:flex-end}.rt-inline-editor-row,.rt-inline-editor-row>td{display:block;width:100%}.rt-list-rows .rt-inline-editor-row>td{padding:14px}#rt-list-entry-form{display:flex;flex-direction:column;align-items:stretch;gap:14px}.rt-inline-editor-heading{width:100%}#rt-list-entry-form .primary{width:100%}.rt-list-rows{max-height:600px}.rt-list-category-panel .rt-list-tabs{gap:5px}.rt-list-category-panel .rt-list-tabs button{font-size:11px;padding:9px}.rt-list-search{flex-basis:auto;width:100%;max-width:none}}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 1000"><defs><linearGradient id="sky" x2="1" y2="1"><stop stop-color="#e5f4ff"/><stop offset=".5" stop-color="#a3cde9"/><stop offset="1" stop-color="#eff4ff"/></linearGradient><linearGradient id="ribbon" x2="0" y2="1"><stop stop-color="#fff" stop-opacity=".85"/><stop offset="1" stop-color="#79a5db" stop-opacity=".15"/></linearGradient></defs><rect width="1600" height="1000" fill="url(#sky)"/><g fill="none" stroke="url(#ribbon)"><path d="M-200 920C380 1000 350-260 1800 70" stroke-width="190"/><path d="M-100 1120C640 1130 550-90 1800 280" stroke-width="100"/><path d="M-200 720C330 780 320-400 1800-90" stroke-width="25"/></g></svg>
|
||||
|
After Width: | Height: | Size: 694 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 1000"><defs><linearGradient id="mist" x2="0" y2="1"><stop stop-color="#eef8ed"/><stop offset="1" stop-color="#a9cec6"/></linearGradient><linearGradient id="ridge" x2="0" y2="1"><stop stop-color="#72aaa5"/><stop offset="1" stop-color="#d2e5d9"/></linearGradient></defs><rect width="1600" height="1000" fill="url(#mist)"/><circle cx="1170" cy="250" r="110" fill="#fff9dd" opacity=".8"/><path d="M0 650Q220 380 470 530T1000 490T1600 420V1000H0Z" fill="#c0d9ce"/><path d="M0 840Q280 460 620 690T1140 620T1600 610V1000H0Z" fill="url(#ridge)"/><path d="M0 910Q380 740 710 880T1260 800T1600 820V1000H0Z" fill="#659d99" opacity=".45"/></svg>
|
||||
|
After Width: | Height: | Size: 692 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 1000"><defs><linearGradient id="sand" x2="1" y2="1"><stop stop-color="#fff4e1"/><stop offset=".55" stop-color="#e9cfb4"/><stop offset="1" stop-color="#e2b8a7"/></linearGradient><linearGradient id="light" x2="0" y2="1"><stop stop-color="#fffdf4" stop-opacity=".85"/><stop offset="1" stop-color="#e1b799" stop-opacity=".2"/></linearGradient></defs><rect width="1600" height="1000" fill="url(#sand)"/><path d="M-200 840Q320 160 940 570T1800 280V1000H-200Z" fill="url(#light)"/><path d="M-100 990Q500 410 1080 760T1800 530" fill="none" stroke="#fff2df" stroke-width="90" opacity=".65"/><path d="M-80 1020Q560 530 1170 860T1740 740" fill="none" stroke="#cb9e8e" stroke-width="3" opacity=".4"/></svg>
|
||||
|
After Width: | Height: | Size: 753 B |
@@ -15,22 +15,22 @@ body[data-screen=home][data-menu-hidden=true] .home-launcher.homescreen { left:
|
||||
.home-card-desc { min-height: 52px; }
|
||||
.home-card-preview { margin-bottom: 8px; }
|
||||
.home-card-open { margin-top: auto; }
|
||||
body[data-screen=register] #workspace-content,
|
||||
body:is([data-screen=register], [data-screen=archives]) #workspace-content,
|
||||
#appearance-view { container: workbench / inline-size; overflow: auto; }
|
||||
body[data-screen=register] #workspace-content > div { height: 100%; min-height: 0; }
|
||||
body[data-screen=register] .registry-workspace {
|
||||
body:is([data-screen=register], [data-screen=archives]) #workspace-content > div { height: 100%; min-height: 0; }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace {
|
||||
height: 100%; min-height: 0; max-height: 100%; padding: 24px;
|
||||
grid-template-columns: 240px minmax(0, 1fr) 280px;
|
||||
grid-template-rows: minmax(0, 1fr); gap: 18px;
|
||||
}
|
||||
.workbench-panel,
|
||||
body[data-screen=register] .registry-workspace :is(.history-panel, .registration-editor, #registration-result) {
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace :is(.history-panel, .registration-editor, #registration-result) {
|
||||
min-width: 0; min-height: 0; border: 1px solid var(--work-line); border-radius: 12px;
|
||||
background: var(--work-panel); color: var(--work-text);
|
||||
backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter);
|
||||
box-shadow: 0 12px 28px #0003, inset 0 1px 0 #ffffff0b;
|
||||
}
|
||||
body[data-screen=register] .registry-workspace .history-panel {
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace .history-panel {
|
||||
display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden;
|
||||
}
|
||||
.registry-workspace .history-heading {
|
||||
@@ -45,7 +45,7 @@ body[data-screen=register] .registry-workspace .history-panel {
|
||||
.registry-workspace .pagination { margin: 0; padding: 14px 16px; flex-shrink: 0; }
|
||||
.registry-workspace #archive-warning:not([hidden]) { padding: 10px 16px; flex-shrink: 0; }
|
||||
.registry-workspace .export-controls .registry-popup { left: 10px; right: 10px; }
|
||||
body[data-screen=register] .registry-workspace .registration-editor { display: flex; flex-direction: column; overflow: hidden; }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace .registration-editor { display: flex; flex-direction: column; overflow: hidden; }
|
||||
.registry-workspace .registration-editor .registration-heading {
|
||||
padding: 17px 20px; margin: 0; min-height: 70px; flex-shrink: 0; border-bottom: 1px solid var(--work-line);
|
||||
}
|
||||
@@ -53,22 +53,22 @@ body[data-screen=register] .registry-workspace .registration-editor { display: f
|
||||
.registry-workspace .registration-editor .registration-heading p { font-size: 12px; }
|
||||
.registry-workspace #register-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
|
||||
.registry-workspace .registration-fields-scroll { flex: 1; min-height: 0; overflow: auto; padding: 22px 20px; scroll-padding-block: 18px; scrollbar-width: thin; }
|
||||
body[data-screen=register] .registry-workspace #register-form .registry-group {
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace #register-form .registry-group {
|
||||
border: 0; border-radius: 0; border-bottom: 1px solid var(--work-line);
|
||||
background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
|
||||
padding: 0 0 23px; margin: 0 0 23px; box-shadow: none;
|
||||
}
|
||||
body[data-screen=register] .registry-workspace #register-form .registry-group:last-of-type { border-bottom: 0; padding-bottom: 10px; margin-bottom: 0; }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace #register-form .registry-group:last-of-type { border-bottom: 0; padding-bottom: 10px; margin-bottom: 0; }
|
||||
.registry-workspace .registration-number { grid-template-columns: 1fr; gap: 8px; }
|
||||
.registry-workspace .registration-number #fpv-hint { margin-top: 0; }
|
||||
body[data-screen=register] .registry-workspace .registration-savebar {
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace .registration-savebar {
|
||||
position: static; flex-shrink: 0; margin: 0; padding: 15px 20px;
|
||||
background: var(--glass-solid); box-shadow: none; backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none; gap: 12px;
|
||||
}
|
||||
.registry-workspace .registration-savebar #draft-state { font-size: 11px; }
|
||||
.registry-workspace #register-button { font-size: 12px; }
|
||||
body[data-screen=register] .registry-workspace #registration-result {
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace #registration-result {
|
||||
padding: 0; margin: 0; overflow: auto; scroll-padding-top: 60px; scrollbar-width: thin;
|
||||
}
|
||||
#registration-result > h2 {
|
||||
@@ -91,7 +91,7 @@ body[data-screen=register] .registry-workspace #registration-result {
|
||||
.registry-workspace #registration-result .result-tip { font-size: 12px; }
|
||||
#appearance-view .settings-layout {
|
||||
height: 100%; min-height: 0; max-width: none; width: 100%; padding: 24px;
|
||||
display: grid; grid-template-columns: 190px minmax(0, 1fr) 285px;
|
||||
display: grid; grid-template-columns: minmax(0, 1fr) 285px;
|
||||
grid-template-rows: minmax(0, 1fr); align-items: start; gap: 18px; overflow: hidden;
|
||||
}
|
||||
#appearance-view .settings-sidebar { padding: 20px 12px; height: auto; }
|
||||
@@ -107,6 +107,7 @@ body[data-screen=register] .registry-workspace #registration-result {
|
||||
#appearance-view .glass-material-note { padding: 14px 0 20px; border: 0; border-radius: 0; background: none; border-bottom: 1px solid var(--work-line); margin: 0; }
|
||||
#appearance-view .glass-material-note p { font-size: 12px; }
|
||||
#appearance-view .section-caption { margin: 23px 0 13px; }
|
||||
#appearance-view #appearance-wallpapers { margin-top: 0 !important; }
|
||||
#appearance-view .wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
|
||||
#appearance-view .wall-choice { padding: 0; border-radius: 8px; border: 1px solid var(--work-line); background: #07152544; }
|
||||
#appearance-view .wall-choice img { height: 80px !important; }
|
||||
@@ -126,7 +127,7 @@ body[data-screen=register] .registry-workspace #registration-result {
|
||||
#desktop-sample::before, #desktop-sample::after { display: none; }
|
||||
#appearance-wallpaper { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(var(--preview-blur, 0px)); }
|
||||
.preview-shade { position: absolute; inset: 0; background: linear-gradient(var(--glass-workspace), var(--glass-workspace)), rgba(0, 0, 0, var(--preview-shade, .14)); }
|
||||
.preview-material { position: absolute; inset: 20px 16px; border: 1px solid var(--work-line); border-radius: 8px; padding: 17px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--work-panel); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
|
||||
.preview-material { position: absolute; inset: auto 12px 12px 36%; border: 1px solid var(--work-line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 7px; background: var(--work-panel); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
|
||||
.preview-material span, .preview-material small { font-size: 10px; color: var(--work-muted); }
|
||||
.preview-material strong { font-size: 14px; font-weight: 600; }
|
||||
.preview-values { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 12px; margin: 0 0 23px; }
|
||||
@@ -147,32 +148,32 @@ body[data-screen=register] .registry-workspace #registration-result {
|
||||
.home-card-open svg { position: static; }
|
||||
}
|
||||
@container workbench (max-width: 1199px) {
|
||||
body[data-screen=register] .registry-workspace { height: auto; min-height: 100%; max-height: none; overflow: visible; grid-template-columns: 224px minmax(0, 1fr); grid-template-rows: auto auto; }
|
||||
body[data-screen=register] .registry-workspace .history-panel { grid-row: 1/3; max-height: calc(100dvh - 96px); position: sticky; top: 24px; }
|
||||
body[data-screen=register] .registry-workspace .registration-editor { height: max(480px, calc(100dvh - 96px)); }
|
||||
body[data-screen=register] .registry-workspace #registration-result { grid-column: 2; max-height: none; }
|
||||
#appearance-view .settings-layout { height: auto; min-height: 100%; overflow: visible; grid-template-columns: 160px minmax(0, 1fr); grid-template-rows: auto auto; }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace { height: auto; min-height: 100%; max-height: none; overflow: visible; grid-template-columns: 224px minmax(0, 1fr); grid-template-rows: auto auto; }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace .history-panel { grid-row: 1/3; max-height: calc(100dvh - 96px); position: sticky; top: 24px; }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace .registration-editor { height: max(480px, calc(100dvh - 96px)); }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace #registration-result { grid-column: 2; max-height: none; }
|
||||
#appearance-view .settings-layout { height: auto; min-height: 100%; overflow: visible; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
|
||||
#appearance-view .settings-sidebar { grid-row: 1/3; }
|
||||
#appearance-view .setting-content { height: auto; max-height: none; }
|
||||
#appearance-view .settings-scroll { overflow: visible; }
|
||||
#appearance-view .settings-preview { grid-column: 2; max-height: none; }
|
||||
#appearance-view .settings-preview { grid-column: auto; max-height: none; }
|
||||
}
|
||||
/* The container itself scrolls at narrower sizes; descendants control the columns. */
|
||||
@media(max-width: 1267px) {
|
||||
body[data-screen=register] #workspace-content, #appearance-view { overflow: auto; }
|
||||
body:is([data-screen=register], [data-screen=archives]) #workspace-content, #appearance-view { overflow: auto; }
|
||||
}
|
||||
@container workbench (max-width: 767px) {
|
||||
body[data-screen=register] .registry-workspace { display: flex; flex-direction: column; gap: 16px; padding: 16px; }
|
||||
body[data-screen=register] .registry-workspace .history-panel { order: 0; height: 280px; max-height: 280px; flex-shrink: 0; position: relative; top: auto; }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace { display: flex; flex-direction: column; gap: 16px; padding: 16px; }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace .history-panel { order: 0; height: 280px; max-height: 280px; flex-shrink: 0; position: relative; top: auto; }
|
||||
.registry-workspace .history-content { padding: 13px 15px; }
|
||||
.registry-workspace .pagination { padding: 10px 15px; gap: 6px; }
|
||||
body[data-screen=register] .registry-workspace .registration-editor { order: 1; height: auto; min-height: 0; overflow: visible; flex-shrink: 0; }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace .registration-editor { order: 1; height: auto; min-height: 0; overflow: visible; flex-shrink: 0; }
|
||||
.registry-workspace #register-form { display: block; }
|
||||
.registry-workspace .registration-fields-scroll { overflow: visible; padding: 20px 16px 30px; }
|
||||
.registry-workspace .registration-fields { grid-template-columns: 1fr; }
|
||||
body[data-screen=register] .registry-workspace .registration-savebar { position: sticky; bottom: 0; padding: 14px 16px; z-index: 3; }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace .registration-savebar { position: sticky; bottom: 0; padding: 14px 16px; z-index: 3; }
|
||||
.registry-workspace #register-button { width: 100%; }
|
||||
body[data-screen=register] .registry-workspace #registration-result { order: 2; flex-shrink: 0; overflow: visible; }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace #registration-result { order: 2; flex-shrink: 0; overflow: visible; }
|
||||
#registration-result > h2 { position: static; }
|
||||
.registry-workspace #registration-result .empty-state { flex-direction: column; }
|
||||
#appearance-view .settings-layout { display: flex; flex-direction: column; padding: 16px; gap: 16px; }
|
||||
@@ -192,3 +193,19 @@ body[data-screen=register] .registry-workspace #registration-result {
|
||||
body[data-screen=home] #reference-title { display: none; }
|
||||
.home-heading h1 { font-size: 24px; }
|
||||
}
|
||||
|
||||
/* Module pages share one navigation rail; archives occupy their own view. */
|
||||
body[data-screen=register] .registry-workspace { grid-template-columns: minmax(0, 1fr) 280px; }
|
||||
body[data-screen=archives] .registry-workspace { grid-template-columns: minmax(0, 1fr); }
|
||||
body[data-screen=archives] .history-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; align-content: start; }
|
||||
body[data-screen=archives] .archive-card { margin: 0; }
|
||||
@container workbench (max-width: 760px) {
|
||||
body[data-screen=register] .registry-workspace { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; height: auto; max-height: none; }
|
||||
#appearance-view .settings-layout { grid-template-columns: minmax(0, 1fr); height: auto; overflow: visible; }
|
||||
}
|
||||
|
||||
body[data-screen=archives] .registry-workspace .history-panel { grid-row: auto; height: calc(100dvh - 96px); max-height: none; position: static; }
|
||||
@container workbench (max-width: 767px) {
|
||||
body[data-screen=register] .registry-workspace #registration-result { grid-column: auto; }
|
||||
body[data-screen=archives] .registry-workspace .history-panel { min-height: 420px; }
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ body[data-menu-hidden=true] .workspace-pane{left:0}body[data-menu-hidden=true] .
|
||||
.mc-layout-b{--dock-height:170px;--live-gap:16px;--list-width:260px;--detail-width:300px;--left-space:calc(var(--list-width) + 28px);--right-space:calc(var(--detail-width) + 28px);--dock-space:calc(var(--dock-height) + 56px);position:relative;height:100%;min-height:0;container-type:inline-size;overflow:hidden}
|
||||
.mc-layout-b.list-hidden{--left-space:16px}
|
||||
.mc-layout-b.detail-hidden{--right-space:16px}
|
||||
.mc-layout-b.dock-hidden{--dock-space:104px}
|
||||
.mc-layout-b.dock-hidden{--dock-space:76px}
|
||||
.mc-layout-b .mc-map-area-top{position:absolute;inset:0;height:100%;min-height:0}
|
||||
.mc-layout-b .mc-floating-panel{position:absolute;top:76px;bottom:var(--dock-space);padding:0!important;display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--work-panel);border:1px solid var(--work-line);backdrop-filter:blur(24px);border-radius:12px;color:var(--work-text);box-shadow:0 12px 35px #0002;z-index:5}
|
||||
.mc-layout-b .live-targets{left:var(--live-gap);width:var(--list-width)}
|
||||
@@ -114,6 +114,4 @@ body[data-menu-hidden=true] .workspace-pane{left:0}body[data-menu-hidden=true] .
|
||||
.mc-layout-b .live-basemap option{background:var(--mc-bg);color:var(--work-text)}
|
||||
.theme-white .mc-layout-b .live-basemap option{background:#f4f8ff;color:#243b57}
|
||||
|
||||
/* Realtime owns one business menu; other applications retain their navigation. */
|
||||
body[data-screen=realtime] .reference-rail button:not(#rt-blacklist-menu):not(#geofence-menu),body[data-screen=realtime] .reference-rail .rail-rule{display:none!important}
|
||||
.reference-rail #rt-blacklist-menu[aria-expanded=true]{background:#8bbdff24;color:var(--work-text)}
|
||||
|
||||
Reference in New Issue
Block a user