```
feat(web-ui): 新增首页启动器与地图遮挡感知交互 - 添加首页卡片式应用启动器界面,包含实时视图、登记、 设置三个入口及对应 SVG 图标资源 - 地图组件新增 ResizeObserver 自动适配容器尺寸变化 - 地图组件引入遮挡区域(occlusion)管理,聚焦时自动 计算可见填充偏移,避免目标被面板遮挡 - 将地图加载事件从 load 改为 style.load,提升初始化 可靠性 - 扩展 metrics 接口,返回选中目标像素坐标、遮挡状态、 画布尺寸等运行时诊断信息 - 补充 web-sys features(HtmlImageElement, Storage, PointerEvent, DomRect 等)以支持新 UI 交互 - index.html 新增 workspace/home/registry 样式及资源引用 - .gitignore 忽略 previews 目录与本地编译产物 ```
@@ -0,0 +1,64 @@
|
||||
/* Approved B1 launch screen. All rules are scoped to the home or wallpaper chooser. */
|
||||
body[data-screen="home"] .reference-top,
|
||||
body[data-screen="home"] .reference-rail{display:none!important}
|
||||
.home-top{position:absolute;z-index:15;inset:0 0 auto;height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#0e172570;border-bottom:1px solid #d7e9ff14;backdrop-filter:blur(18px);color:var(--work-text)}
|
||||
.home-brand{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600}
|
||||
.home-brand-mark{width:24px;height:24px;background:#a9c9e516;border:1px solid #bad6f430;border-radius:6px;display:grid;place-items:center;color:var(--work-muted);font-size:12px}
|
||||
.home-top-note{font-size:12px;color:var(--work-muted)}
|
||||
.workspace-home-link{display:inline-flex;align-items:center;gap:6px;border:0;background:none;box-shadow:none;padding:5px 2px;color:var(--work-muted);font-size:13px}
|
||||
.workspace-home-link:hover{color:var(--work-text);background:#809ab516}.workspace-crumb-separator{color:var(--work-muted);opacity:.5;font-size:12px}
|
||||
.home-launcher.homescreen{position:absolute;inset:48px 0 0!important;display:flex;align-items:center;justify-content:center;height:auto;min-height:0;max-width:none;margin:0!important;padding:36px 40px 60px;background:none!important;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;overflow:auto;color:var(--work-text);text-align:left}
|
||||
.home-space{width:1070px;max-width:100%;margin:auto 0}
|
||||
.home-heading{margin:0 0 28px}
|
||||
.home-heading h1{font-size:27px;font-weight:600;line-height:1.4;letter-spacing:0;text-shadow:none;color:var(--work-text)}
|
||||
.home-heading p{font-size:14px;line-height:1.8;color:var(--work-muted);margin-top:8px}
|
||||
.home-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
|
||||
.home-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:0;padding:24px;border:1px solid #b0cbea2c;border-radius:17px;background:linear-gradient(145deg,#4d657b4d,#1a2a3b73),#0c182494;box-shadow:0 1px 0 #ffffff08 inset,0 14px 40px #00000012;backdrop-filter:blur(22px);text-align:left;white-space:normal;color:var(--work-text);font:inherit;cursor:pointer;transition:transform .18s,background .18s,border-color .18s}
|
||||
.home-card:hover{background:linear-gradient(145deg,#667f9852,#24384b85),#0c1824a0;border-color:#bfdafa62;transform:translateY(-3px)}
|
||||
.home-card:focus-visible{outline:2px solid #91bde8;outline-offset:5px}
|
||||
.home-app-icon{display:block;width:75px;height:75px;flex-shrink:0;filter:drop-shadow(0 5px 8px #0002)}
|
||||
.home-card-title{display:block;font-size:18px;font-weight:600;line-height:1.5;margin-top:22px}
|
||||
.home-card-desc{display:block;min-height:50px;font-size:14px;line-height:1.85;color:var(--work-muted);margin-top:8px}
|
||||
.home-card-preview{display:block;width:100%;margin-top:23px;pointer-events:none}
|
||||
.home-card .mini{display:block;height:109px;width:100%;border-radius:10px;border:1px solid #b7d1ef1c;background:#08132166;overflow:hidden;position:relative;opacity:.85}
|
||||
.home-card .registry{display:flex;padding:12px;gap:10px}
|
||||
.home-card .mini-side{display:block;width:24%;border-right:1px solid #809dbe1f;padding-right:9px;padding-top:3px}
|
||||
.home-card .mini-side i{display:block;height:6px;width:100%;background:#6b89ac26;margin-bottom:9px;border-radius:2px}
|
||||
.home-card .mini-side i:first-child{background:#6a9ac54a}
|
||||
.home-card .mini-body{display:block;width:49%}
|
||||
.home-card .mini-body b{display:block;width:45%;height:5px;border-radius:2px;background:#a4bcd040;margin:2px 0 9px}
|
||||
.home-card .mini-body>span{display:block;height:12px;border:1px solid #7e9ab526;border-radius:3px;margin:5px 0}
|
||||
.home-card .mini-body em{display:block;height:10px;width:39%;margin-top:8px;background:#5784b14a;border-radius:3px;float:right}
|
||||
.home-card .mini-qr{display:grid;width:22%;place-items:center}
|
||||
.home-card .mini-qr i{display:block;width:34px;height:34px;border:5px solid #93abc038;border-radius:3px;box-shadow:inset 0 0 0 3px #0e1c2b;position:relative}
|
||||
.home-card .mini-qr i:before{content:'';position:absolute;top:4px;left:4px;width:6px;height:6px;background:#b7d0e155}
|
||||
.home-card .radar{background:#122b3459}
|
||||
.home-card .radar-grid{position:absolute;inset:0;background-image:linear-gradient(#91b1c111 1px,transparent 1px),linear-gradient(90deg,#91b1c111 1px,transparent 1px);background-size:29px 27px}
|
||||
.home-card .radar-line{position:absolute;left:45px;top:29px;width:140px;height:48px;border-bottom:1px dashed #a1d3d47d;transform:rotate(-17deg)}
|
||||
.home-card .radar i{width:6px;height:6px;position:absolute;background:#b3ddd6;clip-path:polygon(50% 0,100% 100%,50% 80%,0 100%)}
|
||||
.home-card .radar i:nth-of-type(1){left:22%;top:65%}.home-card .radar i:nth-of-type(2){left:65%;top:28%}.home-card .radar i:nth-of-type(3){left:79%;top:60%}
|
||||
.home-card .map-label{position:absolute;top:12px;left:12px;width:42px;height:8px;background:#8caab822;border-radius:3px}
|
||||
.home-card .appearance{padding:14px 13px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-content:start}
|
||||
.home-card .wall{display:block;height:44px;border:1px solid #a9bdce26;border-radius:5px}
|
||||
.home-card .wall-one{background:linear-gradient(135deg,#3b4a5b,#101b29)}.home-card .wall-two{background:linear-gradient(135deg,#41728f,#193a54)}.home-card .wall-three{background:linear-gradient(135deg,#dae4ec,#8c9eaf)}
|
||||
.home-card .setting-line{display:flex;grid-column:1/4;justify-content:space-between;border-top:1px solid #a7c3e11c;margin-top:4px;padding-top:10px}
|
||||
.home-card .setting-line i{width:45px;height:4px;background:#8dacc32d;border-radius:3px}.home-card .setting-line i:last-child{width:65px}
|
||||
.home-card-open{display:flex;align-items:center;justify-content:space-between;width:100%;border-top:1px solid #b1cbe429;padding-top:18px;margin-top:23px;color:var(--work-text);font-size:14px}
|
||||
.theme-blue .home-top{background:#0d274775}.theme-blue .home-card{background:linear-gradient(145deg,#4a78a84d,#173c6673),#081a30a0;border-color:#b0d6ff36}
|
||||
.theme-white .home-top{background:#eff6ffd1;border-color:#56718c29}
|
||||
.theme-white .home-card{background:linear-gradient(145deg,#ffffff70,#e1edf96e),#eff6ffd0;border-color:#ffffffb0;box-shadow:0 1px 0 #fff9 inset,0 14px 35px #263e5b12}
|
||||
.theme-white .home-card:hover{background:linear-gradient(145deg,#ffffff90,#e1edf98e),#eff6ffd9;border-color:#8eb4dc80}
|
||||
.theme-white .home-card .mini{background:#c4d4e344;border-color:#6f8eac29}
|
||||
.theme-white .home-card .mini-side i,.theme-white .home-card .mini-body b,.theme-white .home-card .setting-line i{background:#698baa4d}
|
||||
.theme-white .home-card .mini-body>span{border-color:#6b8baa3d}.theme-white .home-card .mini-qr i{border-color:#698dad66;box-shadow:none}
|
||||
.theme-white .home-card .radar-line{border-color:#4b7a947d}.theme-white .home-card .radar i{background:#3d788b}
|
||||
.theme-white .home-card .radar-grid{background-image:linear-gradient(#587c9d19 1px,transparent 1px),linear-gradient(90deg,#587c9d19 1px,transparent 1px)}
|
||||
.theme-white .home-card-open{border-color:#6c8da834}
|
||||
.theme-white .home-launcher.homescreen{background:linear-gradient(130deg,#f1f7ffd9,#d9e7f5bf)!important;backdrop-filter:blur(6px)}
|
||||
body[data-custom-wallpaper="true"]:not(.theme-white) .home-launcher.homescreen{background:#050f1aad!important}
|
||||
body[data-custom-wallpaper="true"]:not(.theme-white) .home-heading p{color:#b6c8dc}
|
||||
.settings-layout .wall-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
|
||||
@media(max-width:1100px){.home-launcher.homescreen{padding:35px 30px 55px}.home-cards{gap:15px}.home-card{padding:21px}.home-card-desc{font-size:14px}.home-card .mini{height:100px}}
|
||||
@media(max-width:760px){.home-top{padding:0 20px}.home-launcher.homescreen{align-items:flex-start;padding:34px 22px 40px}.home-space{margin:0}.home-heading{margin-bottom:24px}.home-heading h1{font-size:25px}.home-cards{grid-template-columns:1fr;gap:15px}.home-card{display:grid;grid-template-columns:65px minmax(0,1fr) 19px;gap:4px 17px;padding:19px;min-height:134px}.home-app-icon{width:65px;height:65px;grid-row:1/3}.home-card-title{grid-column:2;grid-row:1;margin:0;align-self:end;font-size:17px}.home-card-desc{grid-column:2;grid-row:2;margin:0;min-height:0;align-self:start;font-size:13px}.home-card-preview{display:none}.home-card-open{grid-column:3;grid-row:1/3;display:block;overflow:hidden;width:19px;height:22px;font-size:0;padding:0;margin:0;border:0}.home-card-open svg{display:block;position:absolute}.settings-layout .wall-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
|
||||
@media(prefers-reduced-motion:reduce){.home-card{transition:none}.home-card:hover{transform:none}}
|
||||
@media(max-width:760px){.workspace-home-link{min-width:24px;padding:4px}.workspace-home-link>span,.workspace-crumb-separator{display:none}}
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="app-icon" width="80" height="80" viewBox="0 0 92 92" aria-hidden="true"><defs><linearGradient id="base-realtime" x2="0" y2="1"><stop stop-color="#398b87"></stop><stop offset="1" stop-color="#205c63"></stop></linearGradient></defs><rect x="4" y="5" width="84" height="84" rx="21" fill="#000" opacity=".16"></rect><rect x="4" y="3" width="84" height="84" rx="21" fill="url(#base-realtime)" stroke="#d8edff" stroke-opacity=".3"></rect><path d="M25 5h42c11 0 19 8 19 19" fill="none" stroke="#e3f4ff" stroke-opacity=".22"></path><circle cx="46" cy="45" r="25" fill="none" stroke="#dcfbf6" stroke-width="3"></circle><circle cx="46" cy="45" r="15" fill="none" stroke="#a4d4ce" stroke-width="1.5"></circle><path d="M46 20v25l18-18" fill="#e2fff3" fill-opacity=".19" stroke="#e4fff8" stroke-width="2"></path><path d="M46 16v7m0 45v7M16 45h7m45 0h7" stroke="#bce8df" stroke-width="2"></path><circle cx="34" cy="53" r="3.5" fill="#e5fff8"></circle><circle cx="59" cy="55" r="2.5" fill="#b8e5df"></circle></svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="app-icon" width="80" height="80" viewBox="0 0 92 92" aria-hidden="true"><defs><linearGradient id="base-register" x2="0" y2="1"><stop stop-color="#3f83c7"></stop><stop offset="1" stop-color="#24588d"></stop></linearGradient></defs><rect x="4" y="5" width="84" height="84" rx="21" fill="#000" opacity=".16"></rect><rect x="4" y="3" width="84" height="84" rx="21" fill="url(#base-register)" stroke="#d8edff" stroke-opacity=".3"></rect><path d="M25 5h42c11 0 19 8 19 19" fill="none" stroke="#e3f4ff" stroke-opacity=".22"></path><path d="M30 20h22l12 12v36H30Z" fill="#edf6ff"></path><path d="M52 20v13h12" fill="#a8c9ed"></path><rect x="23" y="30" width="6" height="35" rx="3" fill="#90b5df"></rect><path d="M38 43h17m-17 8h17m-17 8h10" stroke="#3975b2" stroke-width="3" stroke-linecap="round"></path><circle cx="62" cy="63" r="10" fill="#a6d4ff" stroke="#3c78b7" stroke-width="2"></circle><path d="m57 63 3 3 6-7" fill="none" stroke="#24588f" stroke-width="2.5" stroke-linecap="round"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="app-icon" width="80" height="80" viewBox="0 0 92 92" aria-hidden="true"><defs><linearGradient id="base-settings" x2="0" y2="1"><stop stop-color="#91a5b8"></stop><stop offset="1" stop-color="#556c82"></stop></linearGradient></defs><rect x="4" y="5" width="84" height="84" rx="21" fill="#000" opacity=".16"></rect><rect x="4" y="3" width="84" height="84" rx="21" fill="url(#base-settings)" stroke="#d8edff" stroke-opacity=".3"></rect><path d="M25 5h42c11 0 19 8 19 19" fill="none" stroke="#e3f4ff" stroke-opacity=".22"></path><path d="m42 19 10 0 3 8 8 4 8-1 5 9-5 7 0 9 5 7-5 9-8-1-8 4-3 8H42l-3-8-8-4-8 1-5-9 5-7v-9l-5-7 5-9 8 1 8-4 3-8Z" transform="translate(8 0) scale(.84)" fill="#edf3f9"></path><circle cx="47" cy="43" r="14" fill="#50677e"></circle><circle cx="47" cy="43" r="8.5" fill="#a8bbce"></circle><circle cx="47" cy="43" r="4" fill="#e9f1fa"></circle></svg>
|
||||
|
After Width: | Height: | Size: 917 B |
@@ -4,7 +4,8 @@ maplibre.setWorkerUrl('/vendor/maplibre-gl-worker.mjs');
|
||||
let map, layer, latest, ids = [], selected = '', pending = false;
|
||||
let frameTimes = [], lastFrame = 0;
|
||||
let marker=null, history=[], lastTrail=0;
|
||||
let centered=false, workerWasmBytes=0;
|
||||
let centered=false, workerWasmBytes=0, resizeObserver;
|
||||
let occlusion={top:0,right:0,bottom:0,left:0};
|
||||
function shader(gl, type, source) {
|
||||
const s=gl.createShader(type);gl.shaderSource(s,source);gl.compileShader(s);
|
||||
if (!gl.getShaderParameter(s,gl.COMPILE_STATUS)) throw new Error(gl.getShaderInfoLog(s));return s;
|
||||
@@ -20,6 +21,7 @@ function create(container) {
|
||||
{id:'tdt-base',type:'raster',source:'tdt-base'},
|
||||
{id:'tdt-labels',type:'raster',source:'tdt-labels'}
|
||||
]}});
|
||||
resizeObserver?.disconnect(); resizeObserver=new ResizeObserver(()=>map?.resize());resizeObserver.observe(document.getElementById(container));
|
||||
map.addControl(new maplibre.AttributionControl({compact:true}),'bottom-right');
|
||||
layer={id:'rid-targets',type:'custom',renderingMode:'2d',
|
||||
onAdd(map,gl){
|
||||
@@ -51,7 +53,7 @@ function create(container) {
|
||||
},
|
||||
onRemove(map,gl){gl.deleteBuffer(this.shape);gl.deleteBuffer(this.instances);gl.deleteVertexArray(this.vao);gl.deleteProgram(this.program);gl.deleteShader(this.vs);gl.deleteShader(this.fs);}
|
||||
};
|
||||
map.on('load',()=>{
|
||||
map.on('style.load',()=>{
|
||||
// Mission Control tactical radar grid & range rings
|
||||
const features=[];
|
||||
for(let lon=118;lon<=122;lon+=.05)features.push({type:'Feature',geometry:{type:'LineString',coordinates:[[lon,28],[lon,32]]},properties:{}});
|
||||
@@ -95,9 +97,32 @@ function flush(){
|
||||
map.getSource('selected-trail')?.setData({type:'FeatureCollection',features:history.length<2?[]:[{type:'Feature',properties:{},geometry:{type:'LineString',coordinates:history.map(p=>p.coordinate)}}]});}
|
||||
}else{marker?.remove();marker=null;history=[];map.getSource('selected-trail')?.setData({type:'FeatureCollection',features:[]});}
|
||||
}
|
||||
function update(positions,newIds){latest=positions;if(newIds)ids=Array.from(newIds);if(!centered&&latest.length>=4){centered=true;map.jumpTo({center:[latest[0],latest[1]]});}if(!pending){pending=true;requestAnimationFrame(flush);}}
|
||||
function update(positions,newIds){latest=positions;if(newIds)ids=Array.from(newIds);if(!centered&&latest.length>=4){centered=true;focusCoordinate([latest[0],latest[1]], false);}if(!pending){pending=true;requestAnimationFrame(flush);}}
|
||||
function select(id){if(selected!==id){selected=id;history=[];flush();}const i=ids.indexOf(id);return i>=0&&latest?Array.from(latest.slice(i*4,i*4+4)):[];}
|
||||
function metrics(){const sorted=[...frameTimes].sort((a,b)=>a-b);const gl=layer?.gl;const ext=gl?.getExtension('WEBGL_debug_renderer_info');return {samples:sorted.length,drawSubmissionIntervalP95Ms:sorted[Math.floor(sorted.length*.95)]||0,targets:ids.length,renderer:ext?gl.getParameter(ext.UNMASKED_RENDERER_WEBGL):'unavailable',selectedTrailPoints:history.length,workerWasmBytes};}
|
||||
function connection(connected){const canvas=document.querySelector('.rt-map');if(canvas)canvas.dataset.stale=connected?'false':'true';}
|
||||
function metrics(){const sorted=[...frameTimes].sort((a,b)=>a-b);const gl=layer?.gl;const ext=gl?.getExtension('WEBGL_debug_renderer_info');const projected=map&&latest&&ids.includes(selected)?map.project([latest[ids.indexOf(selected)*4],latest[ids.indexOf(selected)*4+1]]):null;return {selectedPixel:projected?{x:projected.x,y:projected.y}:null,occlusion:{...occlusion},mapReady:!!layer?.gl,styleReady:map?.isStyleLoaded()||false,mapCanvasWidth:map?.getCanvas().clientWidth||0,mapCanvasHeight:map?.getCanvas().clientHeight||0,samples:sorted.length,drawSubmissionIntervalP95Ms:sorted[Math.floor(sorted.length*.95)]||0,targets:ids.length,renderer:ext?gl.getParameter(ext.UNMASKED_RENDERER_WEBGL):'unavailable',selectedTrailPoints:history.length,workerWasmBytes};}
|
||||
function connection(connected){const canvas=document.getElementById('rt-map');if(canvas)canvas.dataset.stale=connected?'false':'true';}
|
||||
function refresh(){for(const [id,layer]of [['tdt-base','img_w'],['tdt-labels','cia_w']])map?.getSource(id)?.setTiles([`/api/maps/tile/${layer}/{z}/{x}/{y}`]);}
|
||||
window.ridMap={workerMemory(bytes){if(Number.isFinite(bytes))workerWasmBytes=bytes;},create,update,select,metrics,connection,refresh,zoomIn(){if(map)map.zoomIn();},zoomOut(){if(map)map.zoomOut();},centerSelected(){if(!map||!latest||!selected)return;const index=ids.indexOf(selected);if(index>=0){map.flyTo({center:[latest[index*4],latest[index*4+1]],zoom:Math.max(map.getZoom(),13),essential:true});}},resetBearing(){if(map)map.resetNorthPitch({duration:400});},toggle3d(){if(!map)return;const p=map.getPitch();map.easeTo({pitch:p>10?0:55,duration:500});},destroy(){marker?.remove();marker=null;history=[];map?.remove();map=null;layer=null;latest=null;ids=[];centered=false;}};
|
||||
function setOcclusion(value){
|
||||
occlusion=Object.fromEntries(['top','right','bottom','left'].map(k=>[k,Number.isFinite(value?.[k])?Math.max(0,value[k]):0]));
|
||||
}
|
||||
function visiblePadding(){
|
||||
if(!map)return {top:0,right:0,bottom:0,left:0};
|
||||
const w=map.getCanvas().clientWidth,h=map.getCanvas().clientHeight;
|
||||
const p={...occlusion};
|
||||
// Hidden mobile overlays may have just closed; measure visible panels at focus time.
|
||||
const root=document.getElementById('rt-layout')?.getBoundingClientRect();
|
||||
if(root){const scale=Math.max(.01,root.width/w);for(const [id,side] of [['rt-directory','left'],['rt-details','right']]){const el=document.getElementById(id);const r=el?.getBoundingClientRect();p[side]=r?.height?side==='left'?(r.right-root.left)/scale+12:(root.right-r.left)/scale+12:0;}
|
||||
const dock=document.getElementById('rt-dock')?.getBoundingClientRect();p.bottom=dock?.height?(root.bottom-dock.top)/scale+40:116;
|
||||
}
|
||||
if(p.left+p.right>w-80){p.left=0;p.right=0;}
|
||||
if(p.top+p.bottom>h-80){p.top=0;p.bottom=0;}
|
||||
return p;
|
||||
}
|
||||
function focusCoordinate(center,animate=true){
|
||||
if(!map)return;
|
||||
const p=visiblePadding();
|
||||
const options={center,offset:[(p.left-p.right)/2,(p.top-p.bottom)/2]};
|
||||
if(animate)map.flyTo({...options,zoom:Math.max(map.getZoom(),13),duration:400});else map.easeTo({...options,duration:0});
|
||||
}
|
||||
function centerSelected(){if(!map||!latest||!selected)return;const i=ids.indexOf(selected);if(i>=0)focusCoordinate([latest[i*4],latest[i*4+1]]);}
|
||||
window.ridMap={workerMemory(bytes){if(Number.isFinite(bytes))workerWasmBytes=bytes;},create,update,select,metrics,connection,refresh,setOcclusion,focusVisible(){requestAnimationFrame(()=>requestAnimationFrame(centerSelected));},zoomIn(){if(map)map.zoomIn();},zoomOut(){if(map)map.zoomOut();},centerSelected,resetBearing(){if(map)map.resetNorthPitch({duration:400});},toggle3d(){if(!map)return;const p=map.getPitch();map.easeTo({pitch:p>10?0:55,duration:500});},destroy(){resizeObserver?.disconnect();resizeObserver=null;marker?.remove();marker=null;history=[];map?.remove();map=null;layer=null;latest=null;ids=[];centered=false;occlusion={top:0,right:0,bottom:0,left:0};}};
|
||||
|
||||
@@ -0,0 +1,124 @@
|
||||
/* Approved B registration workspace. Kept separate from home, map and appearance. */
|
||||
.registry-workspace{display:grid;grid-template-columns:292px minmax(0,1fr);height:calc(100dvh - 48px);min-height:0;overflow:hidden;color:var(--work-text);font-size:14px}
|
||||
.registry-workspace *,#edit-dialog *{box-sizing:border-box}
|
||||
.registry-workspace button,#edit-dialog button{border:1px solid var(--work-line);background:color-mix(in srgb,var(--work-text) 5%,transparent);color:var(--work-text);border-radius:9px;padding:9px 12px;font-size:13px;line-height:1.5;box-shadow:none;transition:background .15s;white-space:normal;min-width:0}
|
||||
.registry-workspace button:hover:not(:disabled),#edit-dialog button:hover:not(:disabled){background:color-mix(in srgb,var(--work-text) 12%,transparent)}
|
||||
.registry-workspace button:disabled,#edit-dialog button:disabled{opacity:.45;cursor:default}
|
||||
.registry-workspace :focus-visible,#edit-dialog :focus-visible{outline:2px solid var(--mc-accent);outline-offset:3px}
|
||||
.registry-workspace input:not([type=checkbox]),#edit-dialog input:not([type=checkbox]){display:block;width:100%;min-width:0;height:44px;border:1px solid var(--work-line);background:var(--work-input);color:var(--work-text);border-radius:8px;padding:11px 12px;font-size:14px;box-shadow:none}
|
||||
.registry-workspace input::placeholder,#edit-dialog input::placeholder{color:var(--work-muted);font-size:13px}
|
||||
.registry-workspace input[type=checkbox],#edit-dialog input[type=checkbox]{width:16px;height:16px;accent-color:#639dea;flex-shrink:0;margin:0}
|
||||
.registry-workspace h1,.registry-workspace h2,.registry-workspace h3,#edit-dialog h2{color:var(--work-text);text-shadow:none;letter-spacing:0}
|
||||
.registry-workspace .primary,#edit-dialog .primary{background:#3284df;color:#fff;border-color:#83b9f46b;font-weight:600}
|
||||
.registry-workspace .primary:hover:not(:disabled),#edit-dialog .primary:hover:not(:disabled){background:#4392e9}
|
||||
.registry-workspace .history-panel{display:flex;flex-direction:column;gap:16px;background:#92b3d108;border-right:1px solid var(--work-line);padding:24px 18px;overflow:auto;min-width:0;scrollbar-width:thin;position:relative}
|
||||
.registry-workspace .history-heading{display:flex;align-items:center;justify-content:space-between}
|
||||
.registry-workspace .history-heading h2{margin:0;font-size:17px;font-weight:600}
|
||||
.registry-workspace #refresh-list{border:0;background:none;font-size:22px;padding:0 6px;min-height:32px}
|
||||
.registry-workspace .history-search{position:relative}.registry-workspace .history-search input{font-size:13px}
|
||||
.registry-workspace #search-count{display:block;color:var(--work-muted);font-size:12px}.registry-workspace #search-count:empty{display:none}
|
||||
.registry-workspace #new-registration{margin:0;width:100%;min-height:42px}
|
||||
.registry-workspace .history-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center}
|
||||
.registry-workspace #selection-toggle,.registry-workspace #export-toggle{font-size:12px;padding:7px 11px;min-height:34px}
|
||||
.registry-workspace .select-all{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--work-muted)}
|
||||
.registry-workspace .history-message,.registry-workspace .history-empty,.registry-workspace .archive-warning{margin:0;color:var(--work-muted);font-size:12px;line-height:1.8;overflow-wrap:anywhere}
|
||||
.registry-workspace .history-message:empty{display:none}
|
||||
.registry-workspace .history-cards{display:flex;flex-direction:column;gap:13px}
|
||||
.registry-workspace .archive-card{margin:0;padding:15px;border:1px solid var(--work-line);background:#9fb7d009;border-radius:12px;box-shadow:none;min-height:0;position:relative;overflow:visible;color:var(--work-text)}
|
||||
.registry-workspace .archive-card.is-current{box-shadow:inset 3px 0 var(--mc-accent);background:#80b3df12}
|
||||
.registry-workspace .archive-card.selected{border-color:var(--mc-accent);background:#74a8e41a}
|
||||
.registry-workspace .archive-card-head{display:flex;align-items:center;gap:8px;justify-content:space-between}
|
||||
.registry-workspace .archive-card h3{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere;min-width:0}
|
||||
.registry-workspace .archive-select{display:flex;align-items:center;gap:7px;margin-bottom:9px;font-size:12px;color:var(--work-muted)}
|
||||
.registry-workspace .archive-more{font-size:19px;border:0;background:none;padding:0 6px;min-width:30px;min-height:30px}
|
||||
.registry-workspace .archive-card strong{display:block;font:12px/1.7 Consolas,monospace;color:var(--work-muted);margin:5px 0 7px;overflow-wrap:anywhere}
|
||||
.registry-workspace .archive-card p{font-size:12px;color:var(--work-muted);line-height:1.7;margin:0;overflow-wrap:anywhere}
|
||||
.registry-workspace .archive-card-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--work-line);padding-top:9px;margin-top:12px;gap:8px}
|
||||
.registry-workspace .archive-card-foot time{font-size:12px;color:var(--work-muted)}
|
||||
.registry-workspace .archive-card-foot button{border:0;background:none;padding:3px 0;font-size:12px}
|
||||
.registry-workspace .registry-popup{position:relative;padding:6px;background:var(--work-panel);border:1px solid var(--work-line);border-radius:10px;box-shadow:0 8px 25px #0003;display:flex;flex-direction:column;gap:2px;z-index:2;margin-top:8px;max-height:calc(100dvh - 100px);overflow:auto}
|
||||
.registry-workspace .registry-popup button,.registry-workspace .registry-popup a{background:none;border:0;padding:8px;text-align:left;display:block;font-size:12px;color:var(--work-text);text-decoration:none;border-radius:5px;overflow-wrap:anywhere}
|
||||
.registry-workspace .registry-popup a:hover{background:#8db3da18}.registry-workspace .registry-popup p{font-size:12px;color:var(--work-muted);padding:5px 8px;margin:0}
|
||||
.registry-workspace .registry-popup .delete-record{color:#edb5ab}.theme-white .registry-workspace .registry-popup .delete-record{color:#a13930}
|
||||
.registry-workspace .export-controls{max-width:100%;text-align:right}.registry-workspace .export-controls .registry-popup{position:absolute;left:18px;right:18px;text-align:left}
|
||||
.registry-workspace .pagination{margin-top:auto;padding-top:16px;border-top:1px solid var(--work-line);display:flex;flex-direction:column;gap:10px;font-size:12px;color:var(--work-muted)}
|
||||
.registry-workspace .pagination>div{display:flex;gap:8px}.registry-workspace .pagination button{font-size:12px;padding:5px 9px}
|
||||
.registry-workspace .registration-scroll{overflow:auto;padding:26px 38px 0;min-width:0;scroll-padding-block:20px 120px;scrollbar-width:thin}
|
||||
.registry-workspace .registration-main{width:100%;max-width:950px;margin:auto;min-width:0}
|
||||
.registry-workspace .registration-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:15px}
|
||||
.registry-workspace .registration-heading h1{font-size:23px;font-weight:600;margin:0 0 5px;line-height:1.4}
|
||||
.registry-workspace .registration-heading p{font-size:13px;color:var(--work-muted);margin:0}
|
||||
.registry-workspace .registration-heading>span{font-size:12px;color:var(--work-muted);white-space:nowrap}
|
||||
.registry-workspace .registry-group{border:1px solid var(--work-line);background:linear-gradient(140deg,#8bb5dc08,#07162422);border-radius:14px;padding:19px 20px;margin-bottom:17px;min-width:0}
|
||||
.theme-white .registry-workspace .registry-group{background:#ffffff35}
|
||||
.registry-workspace .registry-group h2{font-size:15px;font-weight:600;margin:0}
|
||||
.registry-workspace .registry-group-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px}
|
||||
.registry-workspace .registry-group-heading>span{font-size:12px;color:var(--work-muted)}
|
||||
.registry-workspace .registration-fields,#edit-dialog .registration-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px}
|
||||
.registry-workspace .registration-field,#edit-dialog .registration-field{display:flex;flex-direction:column;gap:8px;min-width:0}
|
||||
.registry-workspace .registration-field.full{grid-column:1/-1}
|
||||
.registry-workspace label,#edit-dialog label{font-size:13px;line-height:1.5;color:var(--work-text)}
|
||||
.registry-workspace label small{font-size:12px;color:var(--work-muted);font-weight:400;margin-left:5px}
|
||||
.registry-workspace .registry-help,#edit-dialog .registry-help{font-size:12px;line-height:1.8;color:var(--work-muted);margin:10px 0 0;overflow-wrap:anywhere}
|
||||
.registry-workspace .registration-number{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}
|
||||
.registry-workspace .registration-prefix{display:flex;align-items:center;border:1px solid var(--work-line);border-radius:8px;background:var(--work-input);min-width:0;height:44px}
|
||||
.registry-workspace .registration-prefix>span{font:13px Consolas,monospace;color:var(--work-muted);padding:0 13px;border-right:1px solid var(--work-line)}
|
||||
.registry-workspace .registration-prefix input{border:0;background:none}
|
||||
.registry-workspace .registration-photos,#edit-dialog .edit-photos{display:grid;grid-template-columns:1fr 1fr;gap:14px}
|
||||
.registry-workspace .photo-slot,#edit-dialog .photo-slot{min-width:0}
|
||||
.registry-workspace .photo-pick,#edit-dialog .photo-pick{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px dashed var(--work-line);background:#86a9cc06;width:100%;min-height:110px;position:relative;overflow:hidden;padding:15px}
|
||||
.photo-pick>strong{font-size:13px;font-weight:500}.photo-pick>span:not(.photo-plus){font-size:12px;color:var(--work-muted);overflow-wrap:anywhere;max-width:100%}
|
||||
.photo-pick .photo-plus{font-size:23px;color:var(--work-muted);line-height:1.2}
|
||||
.registry-workspace .photo-pick img,#edit-dialog .photo-pick img{width:100%;height:90px;object-fit:contain;border-radius:6px;margin-bottom:5px}
|
||||
.registry-workspace .photo-slot-actions,#edit-dialog .photo-slot-actions{display:flex;justify-content:flex-end;margin-top:5px}
|
||||
.registry-workspace .photo-slot-actions button,#edit-dialog .photo-slot-actions button{font-size:12px;padding:3px 7px;background:none;border:0}
|
||||
.registry-workspace .photo-status,#edit-dialog .photo-status{font-size:12px;line-height:1.7;color:var(--work-muted);margin:5px 0 0;overflow-wrap:anywhere}.photo-status:empty{display:none}
|
||||
.registry-workspace .form-message,#edit-dialog .form-message{font-size:13px;color:var(--work-muted);line-height:1.8;margin:12px 0;overflow-wrap:anywhere}
|
||||
.registry-workspace .form-message:empty{display:none}
|
||||
.registry-workspace .error,#edit-dialog .error{color:#f0b9ac}.theme-white .registry-workspace .error,.theme-white #edit-dialog .error{color:#9b3728}
|
||||
.registry-workspace #register-form{display:flex;flex-direction:column;min-width:0}
|
||||
.registry-workspace .registration-savebar{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:16px 0;background:var(--work-panel);backdrop-filter:blur(20px);border-top:1px solid var(--work-line);margin-top:10px;z-index:3;box-shadow:0 -8px 18px #0714210c}
|
||||
.registry-workspace .registration-savebar>span{font-size:12px;color:var(--work-muted)}
|
||||
.registry-workspace #register-button{margin:0;padding:12px 19px;min-height:46px;width:auto;font-size:14px}
|
||||
.registry-workspace #register-form>.registry-group:last-of-type{margin-bottom:25px}
|
||||
.registry-workspace .result-panel>h2{margin:0 0 12px}
|
||||
.registry-workspace .empty-state{display:flex;align-items:center;gap:20px;padding:0;min-height:70px;text-align:left}
|
||||
.registry-workspace .empty-glyph{display:grid;place-items:center;width:68px;height:68px;flex-shrink:0;border:1px dashed var(--work-line);border-radius:9px;color:var(--work-muted)}
|
||||
.registry-workspace .empty-glyph svg{width:36px;height:36px}.registry-workspace .empty-state b{font-size:14px;font-weight:500}
|
||||
.registry-workspace .empty-state p{color:var(--work-muted);font-size:12px;line-height:1.8;margin:5px 0 0}
|
||||
.registry-workspace .empty-state ol{color:var(--work-muted);font-size:12px;line-height:2.2;border-left:1px solid var(--work-line);padding-left:30px;margin:0 0 0 auto;flex-shrink:0}
|
||||
.registry-workspace .record-result{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px 23px;min-width:0}
|
||||
.registry-workspace .qr-stage{width:170px;max-width:100%;background:white;padding:8px;border-radius:12px;grid-column:1;grid-row:1/5;align-self:start;margin:0}
|
||||
.registry-workspace .qr-stage svg{display:block;width:100%;height:auto}
|
||||
.registry-workspace .record-kicker{color:var(--work-muted);font-size:12px;overflow-wrap:anywhere}.registry-workspace .uas-display{font-size:20px;color:var(--work-text);line-height:1.4;overflow-wrap:anywhere}
|
||||
.registry-workspace .result-fields{display:flex;flex-wrap:wrap;gap:10px 25px;margin:0}.registry-workspace .result-fields>div{display:block;border:0;padding:0}.registry-workspace .result-fields dt{font-size:12px;color:var(--work-muted)}.registry-workspace .result-fields dd{font-size:13px;color:var(--work-text);margin:4px 0 0;overflow-wrap:anywhere}
|
||||
.registry-workspace .saved-photos{display:flex;gap:10px;grid-column:2}.registry-workspace .saved-photos a{color:var(--work-muted);font-size:12px}.registry-workspace .saved-photos img{width:70px;height:50px;object-fit:cover;border-radius:5px;display:block}
|
||||
.registry-workspace .url-box{grid-column:1/-1;background:var(--work-input);border:1px solid var(--work-line);border-radius:8px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--work-muted);min-width:0}.registry-workspace .url-box code{font-size:12px;overflow-wrap:anywhere;word-break:break-all;color:var(--work-text)}
|
||||
.registry-workspace .result-actions{display:flex;flex-wrap:wrap;gap:9px;grid-column:1/-1}.registry-workspace .result-actions a{border:1px solid var(--work-line);background:#8baed011;border-radius:9px;padding:9px 12px;font-size:13px;color:var(--work-text);text-decoration:none}
|
||||
.registry-workspace .result-tip{font-size:12px;line-height:1.8;color:var(--work-muted);margin:0;grid-column:1/-1}
|
||||
#edit-dialog{color:var(--work-text);background:var(--work-panel);backdrop-filter:blur(30px);border:1px solid var(--work-line);width:650px;max-width:calc(100vw - 30px);max-height:85dvh;overflow:auto;border-radius:17px;padding:25px}
|
||||
#edit-dialog::backdrop{background:#020b1966}#edit-dialog h2{font-size:18px;margin:0 0 10px}#edit-dialog header{margin-bottom:22px}#edit-dialog #edit-identity{font-size:13px;color:var(--work-muted);overflow-wrap:anywhere}
|
||||
#edit-dialog .edit-photos{margin-top:22px}#edit-dialog fieldset{border:1px solid var(--work-line);border-radius:10px;padding:12px;min-width:0}#edit-dialog legend{font-size:13px;padding:0 5px}#edit-dialog .edit-delete{display:flex;align-items:center;gap:7px;font-size:12px;margin-top:12px}
|
||||
#edit-dialog .result-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}
|
||||
@media(max-width:1200px){.registry-workspace{grid-template-columns:260px minmax(0,1fr)}.registry-workspace .registration-scroll{padding:23px 24px 0}.registry-workspace .empty-state ol{display:none}.registry-workspace .registration-number{grid-template-columns:1fr;gap:0}}
|
||||
@media(max-width:760px){.registry-workspace{height:auto;min-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:visible}.registry-workspace .registration-scroll{order:0;overflow:visible;padding:22px 18px 0}.registry-workspace .history-panel{order:1;overflow:visible;border-right:0;border-top:1px solid var(--work-line);padding:24px 18px}.registry-workspace .registration-heading>span{display:none}.registry-workspace .registration-heading h1{font-size:21px}.registry-workspace .registration-fields,#edit-dialog .registration-fields{grid-template-columns:1fr}.registry-workspace .registry-group{padding:16px}.registry-workspace .registry-group-heading{align-items:flex-start}.registry-workspace .registry-group-heading>span{font-size:12px;text-align:right}.registry-workspace .registration-photos,#edit-dialog .edit-photos{grid-template-columns:1fr}.registry-workspace .registration-savebar{padding:13px 0;gap:8px}.registry-workspace #register-button{width:100%}.registry-workspace .empty-state{gap:13px}.registry-workspace .empty-glyph{width:46px;height:55px}.registry-workspace .record-result{display:flex;flex-direction:column}.registry-workspace .qr-stage{align-self:center;width:180px}.registry-workspace .export-controls .registry-popup{left:18px;right:18px}#edit-dialog{padding:20px}.registry-workspace .registration-heading p{font-size:12px}}
|
||||
@media(prefers-reduced-motion:reduce){.registry-workspace button,#edit-dialog button{transition:none}}
|
||||
|
||||
.registry-workspace [data-selecting="false"] .archive-select{display:none}
|
||||
.registry-workspace [data-photo-keep],#edit-dialog [data-photo-keep]{font-size:12px;background:none;padding:4px 7px;margin-top:5px}
|
||||
.registry-workspace .history-panel{margin:0}
|
||||
.registry-workspace .history-search{width:100%;flex:none}
|
||||
.registry-workspace .history-search input{padding:10px 12px}
|
||||
.registry-workspace #search-count{position:static;transform:none;margin-top:5px;font-size:12px}
|
||||
.registry-workspace .archive-card:hover{transform:none;box-shadow:none}
|
||||
.registry-workspace .empty-state{height:auto;border:0;border-radius:0;background:none;flex-direction:row;justify-content:flex-start;color:var(--work-text)}
|
||||
.registry-workspace .empty-glyph{margin:0;box-shadow:none;background:none}
|
||||
.registry-workspace .record-result{align-items:stretch}
|
||||
.registry-workspace .qr-stage{height:auto;aspect-ratio:1;box-shadow:none;border:0}
|
||||
.registry-workspace .record-kicker{margin:0;letter-spacing:0;text-transform:none;font-weight:400}
|
||||
.registry-workspace .uas-display{margin:0;text-shadow:none;letter-spacing:0;font-weight:600}
|
||||
.registry-workspace .result-fields{border:0;min-width:0}
|
||||
.registry-workspace .result-fields dd{text-align:left;font-weight:500}
|
||||
#edit-dialog fieldset{background:none}
|
||||
.registry-workspace .registration-field label,#edit-dialog .registration-field label{margin:0;font-weight:500}
|
||||
.registry-workspace .photo-pick:has(img:not([hidden])) .photo-plus,#edit-dialog .photo-pick:has(img:not([hidden])) .photo-plus{display:none}
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="1140" viewBox="0 0 1600 1140"><defs><radialGradient id="base" cx=".35" cy=".05" r="1"><stop stop-color="#353d49"/><stop offset=".42" stop-color="#131923"/><stop offset="1" stop-color="#080b11"/></radialGradient><linearGradient id="s1" x1="0" y1="0" x2="1" y2=".7"><stop stop-color="#c3cbd2" stop-opacity=".65"/><stop offset=".12" stop-color="#596675" stop-opacity=".26"/><stop offset=".35" stop-color="#2b3441" stop-opacity=".2"/><stop offset="1" stop-color="#02060c" stop-opacity=".85"/></linearGradient><linearGradient id="edge" x1="0" y1="0" x2=".4" y2="1"><stop stop-color="#e2eaf4" stop-opacity=".4"/><stop offset=".55" stop-color="#8995a9" stop-opacity=".03"/><stop offset="1" stop-color="#202a3c" stop-opacity="0"/></linearGradient><filter id="soft"><feGaussianBlur stdDeviation="25"/></filter><filter id="grain"><feTurbulence type="fractalNoise" baseFrequency=".7" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/><feComponentTransfer><feFuncA type="linear" slope=".035"/></feComponentTransfer><feBlend in="SourceGraphic" mode="soft-light"/></filter><radialGradient id="shade"><stop offset=".2" stop-color="#000" stop-opacity="0"/><stop offset="1" stop-color="#000" stop-opacity=".23"/></radialGradient></defs><rect width="1600" height="1140" fill="url(#base)"/><ellipse cx="400" cy="-250" rx="780" ry="510" fill="#9daebd" opacity=".12" filter="url(#soft)"/><path d="M-250-80C300-100 580 100 665 470S700 1030 1280 1270H-200Z" fill="url(#s1)"/><path d="M-250-80C300-100 580 100 665 470S700 1030 1280 1270" fill="none" stroke="url(#edge)" stroke-width="2"/><path d="M1560-130C1250 100 1210 410 1390 720S1600 1000 1630 1250H1800V-130Z" fill="#02050b" opacity=".45"/><path d="M1560-130C1250 100 1210 410 1390 720S1600 1000 1630 1250" fill="none" stroke="#a8b8cc" stroke-opacity=".13" stroke-width="1.2"/><rect width="1600" height="1140" fill="url(#shade)"/><rect width="1600" height="1140" filter="url(#grain)" opacity=".08"/></svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="1140" viewBox="0 0 1600 1140"><defs><linearGradient id="base" x2=".8" y2="1"><stop stop-color="#101926"/><stop offset=".55" stop-color="#0b1120"/><stop offset="1" stop-color="#03070f"/></linearGradient><linearGradient id="silk" x1="0" y1="1" x2=".8" y2="0"><stop stop-color="#102037"/><stop offset=".4" stop-color="#132b50"/><stop offset=".64" stop-color="#365c82"/><stop offset=".72" stop-color="#779ebc"/><stop offset=".735" stop-color="#a4bdd0"/><stop offset=".75" stop-color="#385978"/><stop offset=".86" stop-color="#142841"/><stop offset="1" stop-color="#08121f"/></linearGradient><linearGradient id="fold" x1="0" y1="0" x2=".8" y2=".8"><stop stop-color="#080f1a"/><stop offset=".54" stop-color="#1c304a"/><stop offset=".68" stop-color="#4a6580"/><stop offset=".72" stop-color="#75899c"/><stop offset=".74" stop-color="#23374d"/><stop offset="1" stop-color="#090f19"/></linearGradient><filter id="grain"><feTurbulence type="fractalNoise" baseFrequency=".7" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/><feComponentTransfer><feFuncA type="linear" slope=".035"/></feComponentTransfer><feBlend in="SourceGraphic" mode="soft-light"/></filter><radialGradient id="shade"><stop offset=".2" stop-color="#000" stop-opacity="0"/><stop offset="1" stop-color="#000" stop-opacity=".23"/></radialGradient></defs><rect width="1600" height="1140" fill="url(#base)"/><path d="M-200 1250C-60 920 650 1040 980 620S1130-70 1800-170V1250Z" fill="url(#silk)"/><path d="M-160 1190C180 830 700 1100 1140 680S1350 0 1770-110V1250Z" fill="url(#fold)" opacity=".8"/><path d="M-200 1250C-60 920 650 1040 980 620S1130-70 1800-170" fill="none" stroke="#d9e9f2" stroke-opacity=".2" stroke-width="1"/><rect width="1600" height="1140" fill="url(#shade)"/><rect width="1600" height="1140" filter="url(#grain)" opacity=".08"/></svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="1140" viewBox="0 0 1600 1140"><defs><radialGradient id="base" cx=".8" cy=".1"><stop stop-color="#3c424b"/><stop offset=".45" stop-color="#1b2028"/><stop offset="1" stop-color="#0b0f17"/></radialGradient><linearGradient id="plane" x1="0" y1="0" x2="1" y2=".8"><stop stop-color="#d4dee5" stop-opacity=".5"/><stop offset=".25" stop-color="#7d8a9b" stop-opacity=".12"/><stop offset="1" stop-color="#1a212d" stop-opacity=".18"/></linearGradient><linearGradient id="rim" x1="0" y1="0" x2="1" y2="1"><stop stop-color="#edf4fa" stop-opacity=".5"/><stop offset=".5" stop-color="#aab8ca" stop-opacity=".07"/><stop offset="1" stop-color="#fff" stop-opacity=".02"/></linearGradient><filter id="blur"><feGaussianBlur stdDeviation="13"/></filter><filter id="grain"><feTurbulence type="fractalNoise" baseFrequency=".7" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/><feComponentTransfer><feFuncA type="linear" slope=".035"/></feComponentTransfer><feBlend in="SourceGraphic" mode="soft-light"/></filter><radialGradient id="shade"><stop offset=".2" stop-color="#000" stop-opacity="0"/><stop offset="1" stop-color="#000" stop-opacity=".23"/></radialGradient></defs><rect width="1600" height="1140" fill="url(#base)"/><g transform="translate(950 -300) rotate(32)"><rect x="-100" y="100" width="630" height="1600" rx="180" fill="#02050a" opacity=".5" filter="url(#blur)"/><rect width="630" height="1600" rx="180" fill="url(#plane)" stroke="url(#rim)" stroke-width="2"/><rect x="24" y="24" width="582" height="1552" rx="160" fill="none" stroke="#d8e4f1" stroke-opacity=".05"/></g><g transform="translate(-100 350) rotate(-32)"><rect width="430" height="1200" rx="170" fill="url(#plane)" stroke="url(#rim)" stroke-width="1.4"/></g><rect width="1600" height="1140" fill="url(#shade)"/><rect width="1600" height="1140" filter="url(#grain)" opacity=".08"/></svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 1000" preserveAspectRatio="xMidYMid slice"><defs><radialGradient id="wash" cx=".5" cy=".52" r=".73"><stop stop-color="#183243"></stop><stop offset=".57" stop-color="#101f2d"></stop><stop offset="1" stop-color="#080f17"></stop></radialGradient><linearGradient id="grid" x2="0" y2="1"><stop stop-color="#71a5ba" stop-opacity="0"></stop><stop offset="1" stop-color="#71a5ba" stop-opacity=".15"></stop></linearGradient><linearGradient id="pane" x2="1" y2="1"><stop stop-color="#9ab2c3" stop-opacity=".1"></stop><stop offset=".5" stop-color="#597b98" stop-opacity=".02"></stop><stop offset="1" stop-color="#afcadb" stop-opacity=".07"></stop></linearGradient></defs><rect width="1600" height="1000" fill="url(#wash)"></rect><g fill="none" stroke="url(#grid)" stroke-width="1"><path d="M448 620 -850 1100"></path><path d="M480 620 -700 1100"></path><path d="M512 620 -550 1100"></path><path d="M544 620 -400 1100"></path><path d="M576 620 -250 1100"></path><path d="M608 620 -100 1100"></path><path d="M640 620 50 1100"></path><path d="M672 620 200 1100"></path><path d="M704 620 350 1100"></path><path d="M736 620 500 1100"></path><path d="M768 620 650 1100"></path><path d="M800 620 800 1100"></path><path d="M832 620 950 1100"></path><path d="M864 620 1100 1100"></path><path d="M896 620 1250 1100"></path><path d="M928 620 1400 1100"></path><path d="M960 620 1550 1100"></path><path d="M992 620 1700 1100"></path><path d="M1024 620 1850 1100"></path><path d="M1056 620 2000 1100"></path><path d="M1088 620 2150 1100"></path><path d="M1120 620 2300 1100"></path><path d="M1152 620 2450 1100"></path><path d="M0 650H1600"></path><path d="M0 655H1600"></path><path d="M0 670H1600"></path><path d="M0 695H1600"></path><path d="M0 730H1600"></path><path d="M0 775H1600"></path><path d="M0 830H1600"></path><path d="M0 895H1600"></path><path d="M0 970H1600"></path><path d="M0 1055H1600"></path></g><path d="M0 620h1600" stroke="#a7c9dc" stroke-opacity=".025"></path><g fill="none" stroke="#709ab5" stroke-opacity=".09"><path d="M90 190h115m-115 0v80M1510 190h-115m115 0v80M90 810h115m-115 0v-80M1510 810h-115m115 0v-80"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,110 @@
|
||||
/* Live Rust/Wasm workspace. Shared material follows the approved review package. */
|
||||
[hidden]{display:none!important}
|
||||
.bg img[style*="contain"]{transform:none!important}
|
||||
.workspace-pane main.rt-page{margin:0!important;width:100%!important;max-width:none!important}
|
||||
.mc-layout-b .mc-map-toolstrip{left:auto!important}
|
||||
.mc-layout-b .mc-map-toolstrip{background:var(--work-panel);border-color:var(--work-line)}
|
||||
.mc-layout-b .mc-map-toolstrip button{color:var(--work-text)}
|
||||
.rt-target-label{color:#e4f0ff!important;background:#10223ed9;border:1px solid #8aaccb50;border-radius:6px;padding:4px 7px;font-size:13px}
|
||||
.setting-row label{color:var(--work-text)!important;font-size:14px}
|
||||
.live-events{display:flex;flex-wrap:wrap;gap:10px 28px;list-style:none;padding:10px 0;margin:0;font-size:12px;line-height:1.8;color:var(--work-muted)}
|
||||
.live-events li{border-left:1px solid var(--work-line);padding-left:12px}
|
||||
#rt-map[data-stale=true]{opacity:.7}
|
||||
body.theme-white{color-scheme:light}
|
||||
body{--work-text:#e6eefb;--work-muted:#a4b6d0;--work-line:#bdd8ff22;--work-panel:#1a2a3bc9;--work-input:#06101e61;--mc-text:var(--work-text);--mc-text-muted:var(--work-muted);--mc-text-dim:var(--work-muted);--mc-panel-bg:var(--work-panel);--mc-panel-dense:var(--work-panel);--mc-panel-raised:var(--work-panel);--mc-panel-card:#afcdfb0b;--mc-border:var(--work-line);--mc-accent:#8bbdff;font-size:14px}
|
||||
body.theme-blue{--work-text:#e5efff;--work-muted:#abc3e2;--work-line:#acd0ff2f;--work-panel:#12365bd9;--work-input:#03132b66}
|
||||
body.theme-white{--work-text:#243b57;--work-muted:#48617f;--work-line:#57759b2c;--work-panel:#e4eef9d4;--work-input:#f4f9ff55;--mc-accent:#2f6faf;--mc-accent-blue:#216bd0;--mc-success:#287957;--mc-warning:#95601d;--mc-shadow:0 5px 18px #233b5520}
|
||||
.workspace-pane{position:absolute;top:48px;left:68px;right:0;bottom:0;overflow:auto;color:var(--work-text);background:linear-gradient(120deg,#202c3b8c,#0c15228c);backdrop-filter:blur(30px) saturate(115%)}
|
||||
.theme-white .workspace-pane{background:linear-gradient(120deg,#f6faffd6,#e5effbc2)}.theme-blue .workspace-pane{background:linear-gradient(120deg,#1641747d,#071c4299)}
|
||||
body[data-menu-hidden=true] .workspace-pane{left:0}body[data-menu-hidden=true] .reference-rail{display:none}body[data-menu-hidden=true] .homescreen{margin-left:0}
|
||||
.workspace-pane>div{min-height:100%}.homescreen{position:absolute;top:48px;bottom:0;right:0;left:68px;margin:0;min-height:0;height:auto}.settings-layout{padding:26px 30px}.reference-top .theme-quick .theme-dot[data-theme=graphite]{background:#65778c}.reference-top .theme-quick .theme-dot[data-theme=blue]{background:#2864ad}.reference-top .theme-quick .theme-dot[data-theme=white]{background:#e5eef8}
|
||||
/* Realtime B: full map with independent, bounded overlays. */
|
||||
#workspace-content .rt-page{height:100%;min-height:0;padding:0;background:none;display:flex;flex-direction:column;overflow:hidden}
|
||||
#workspace-content .mc-topbar{display:none}
|
||||
.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 .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)}
|
||||
.mc-layout-b .live-detail{right:var(--live-gap)!important;left:auto;width:var(--detail-width)!important;top:76px!important;bottom:var(--dock-space)!important}
|
||||
.mc-layout-b .rt-target-label{max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
||||
.mc-layout-b .live-panel-head{height:52px;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;border-bottom:1px solid var(--work-line)}
|
||||
.mc-layout-b h2{font-size:15px;line-height:1.4;margin:0;font-weight:600;min-width:0}
|
||||
.mc-layout-b button,.mc-layout-b a.mc-btn{font:inherit;min-height:34px;padding:6px 10px;background:var(--work-input);color:var(--work-text);border:1px solid var(--work-line);border-radius:7px;box-shadow:none;cursor:pointer;line-height:1.4}
|
||||
.mc-layout-b button:hover:not(:disabled),.mc-layout-b a.mc-btn:hover{background:#7caff32a}
|
||||
.mc-layout-b button:disabled,.mc-layout-b [aria-disabled=true]{opacity:.4;cursor:default;pointer-events:none}
|
||||
.mc-layout-b :focus-visible{outline:2px solid var(--mc-accent);outline-offset:-3px}
|
||||
.mc-layout-b .live-panel-head button{flex:none;min-width:34px;padding:5px;background:none}
|
||||
.mc-layout-b .live-list-controls{display:flex;flex-direction:column;gap:10px;padding:14px 16px;flex:none}
|
||||
.mc-layout-b .live-search{font:inherit;font-size:13px;background:var(--work-input);color:var(--work-text);border:1px solid var(--work-line);padding:10px;border-radius:8px;width:100%;min-width:0}
|
||||
.mc-layout-b .live-list-body{flex:1;min-height:0;overflow:auto;padding:0 10px;overscroll-behavior:contain}
|
||||
.mc-layout-b .live-target-list{display:flex;flex-direction:column;gap:6px}
|
||||
.mc-layout-b .live-target-list button{display:flex;align-items:center;gap:9px;justify-content:flex-start;flex:none;font-size:13px;padding:13px 10px;text-align:left;white-space:normal;overflow-wrap:anywhere;background:none;border:1px solid transparent;border-radius:8px}
|
||||
.mc-layout-b .live-target-list button[aria-pressed=true]{background:#669eeb26;border-color:#83b4e95c}
|
||||
.mc-layout-b .live-empty{font-size:13px;line-height:1.9;color:var(--work-muted);padding:18px 6px}
|
||||
.mc-layout-b .live-data-label{font-size:12px;color:var(--work-muted);line-height:1.8;overflow-wrap:anywhere}
|
||||
.mc-layout-b .pagination{flex:none;margin:0;padding:12px 16px;border-top:1px solid var(--work-line);justify-content:space-between;align-items:center;gap:5px}
|
||||
.mc-layout-b .pagination button{font-size:12px;padding:5px 8px}
|
||||
.mc-layout-b .live-detail-body{flex:1;min-height:0;overflow:auto;padding:16px;overscroll-behavior:contain}
|
||||
.mc-layout-b .live-target-heading{font-size:19px;line-height:1.5;font-weight:600;overflow-wrap:anywhere;margin:0 0 8px}
|
||||
.mc-layout-b .live-back{margin-bottom:12px;font-size:12px}
|
||||
.mc-layout-b .live-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px;padding:20px 0;border-bottom:1px solid var(--work-line)}
|
||||
.mc-layout-b .live-metrics>div:nth-child(n){grid-column:auto;min-width:0}
|
||||
.mc-layout-b .live-metrics strong{font-size:16px!important;font-weight:500;overflow-wrap:anywhere;line-height:1.5}
|
||||
.mc-layout-b .live-metrics span{font-size:11px;color:var(--work-muted);display:block;margin-bottom:6px}
|
||||
.mc-layout-b .live-detail dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px 8px;font-size:13px;padding:18px 0;margin:0}
|
||||
.mc-layout-b .live-detail dt{color:var(--work-muted);margin:0}
|
||||
.mc-layout-b .live-detail dd{margin:0;overflow-wrap:anywhere}
|
||||
.mc-layout-b .mc-btn-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 16px;border-top:1px solid var(--work-line);flex:none;background:var(--work-panel)}
|
||||
.mc-layout-b .mc-btn-row button,.mc-layout-b .mc-btn-row a{font-size:12px;text-align:center;text-decoration:none;white-space:normal;display:grid;place-items:center;min-height:38px}
|
||||
.mc-layout-b .mc-btn-row .primary:hover:not(:disabled){background:#427db9;color:#fff}
|
||||
.mc-layout-b .mc-btn-row .primary{background:#356ba6;color:#fff;border-color:#8bbdff55}
|
||||
.mc-layout-b .mc-map-toolstrip{right:16px;top:16px;left:auto!important;width:auto;max-width:calc(100% - 32px);display:flex;flex-direction:row;gap:2px;padding:4px;background:var(--work-panel);border:1px solid var(--work-line);border-radius:9px;z-index:6;box-shadow:0 5px 18px #0002}
|
||||
.mc-layout-b .mc-map-toolstrip button{background:none;border:0;min-width:34px;padding:6px 8px;font-size:14px}
|
||||
.mc-layout-b .mc-map-infobar{left:16px;right:auto;bottom:calc(var(--dock-space) - 28px);max-width:min(420px,calc(100% - 32px));background:var(--work-panel);border:1px solid var(--work-line);border-radius:7px;padding:5px 9px;font-size:11px;line-height:1.5;white-space:normal;pointer-events:none;z-index:4;transform:translateY(-4px)}
|
||||
.mc-layout-b:not(.compact) .mc-map-infobar{left:var(--left-space);max-width:calc(100% - var(--left-space) - var(--right-space) - 16px)}
|
||||
.mc-layout-b .mc-hud-dock{position:absolute;left:16px;right:16px;bottom:16px;height:var(--dock-height);flex:none;min-height:0;max-height:none;border:1px solid var(--work-line);border-radius:12px;background:var(--work-panel);backdrop-filter:blur(24px);z-index:7;box-shadow:0 7px 25px #0002}
|
||||
.mc-layout-b .live-resizer{height:10px;min-height:10px;display:grid;place-items:center;cursor:ns-resize;touch-action:none;user-select:none}
|
||||
.mc-layout-b .live-resizer:after{content:'';width:40px;height:3px;background:var(--work-muted);opacity:.65;border-radius:3px}
|
||||
.mc-layout-b .mc-dock-header{height:42px;min-height:42px;background:none;border-color:var(--work-line);padding:0 14px;gap:10px}
|
||||
.mc-layout-b .mc-dock-tabs{display:flex;gap:14px;min-width:0}
|
||||
.mc-layout-b .mc-dock-tab{font-size:12px;padding:5px 0;min-height:32px;border:0;border-radius:0;background:none;color:var(--work-muted);white-space:nowrap}
|
||||
.mc-layout-b .mc-dock-tab.active{color:var(--work-text);background:none;border-bottom:2px solid var(--mc-accent)}
|
||||
.mc-layout-b .live-dock-actions{display:flex;gap:6px;align-items:center;min-width:0}
|
||||
.mc-layout-b .live-dock-actions button{font-size:12px;min-height:28px;white-space:nowrap;padding:4px 8px}
|
||||
.mc-layout-b .mc-dock-substatus{color:var(--work-muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:300px}
|
||||
.mc-layout-b .mc-dock-body{flex:1;min-height:0;overflow:auto;padding:10px 16px;overscroll-behavior:contain;overflow-anchor:none}
|
||||
.mc-layout-b .live-events{display:block;list-style:none;padding:0;margin:4px 0;font-size:12px;line-height:1.7;color:var(--work-muted)}
|
||||
.mc-layout-b .live-events li{display:flex;gap:20px;padding:7px 0;border:0;border-bottom:1px solid var(--work-line);overflow-wrap:anywhere}
|
||||
.mc-layout-b .live-events time{flex:0 0 60px;font-variant-numeric:tabular-nums;opacity:.8}
|
||||
.mc-layout-b .live-dock-restore{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);z-index:8;background:var(--work-panel);font-size:12px;white-space:nowrap;backdrop-filter:blur(20px)}
|
||||
.mc-layout-b .receiver-expanded>summary{display:none}
|
||||
.mc-layout-b .rt-receiver{margin:0;padding:0;border:0;background:none}
|
||||
.mc-layout-b .rt-receiver-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;font-size:12px}
|
||||
.mc-layout-b .rt-receiver-body>label,.mc-layout-b .rt-receiver-stat-box,.mc-layout-b .rt-capture-box,.mc-layout-b .rt-msg-pill{grid-column:1/-1}
|
||||
.mc-layout-b .rt-form-row{display:flex;flex-direction:row;gap:10px}
|
||||
.mc-layout-b .rt-switch-label{display:flex;flex-direction:row;align-items:center;gap:9px;margin:0;font-size:12px;line-height:1.7}
|
||||
.mc-layout-b .rt-switch-label input[type=checkbox]{width:16px;height:16px;min-height:16px;padding:0;flex:none;accent-color:var(--mc-accent-blue)}
|
||||
.mc-layout-b .rt-label{flex:1;min-width:0;font-size:12px;color:var(--work-muted)}
|
||||
.mc-layout-b .rt-select,.mc-layout-b .rt-input{width:100%;min-width:0;min-height:34px;background:var(--work-input);color:var(--work-text);border-color:var(--work-line);font-size:13px}
|
||||
.mc-layout-b .rt-btn-row{flex-wrap:wrap;margin:0;align-items:end}
|
||||
.mc-layout-b .rt-capture-box{background:var(--work-input);color:var(--work-muted);border-color:var(--work-line);max-height:140px;overflow:auto;overflow-wrap:anywhere}
|
||||
.mc-layout-b .rt-muted{white-space:pre-line;color:var(--work-muted)}
|
||||
.mc-layout-b .rt-msg-pill:empty{display:none}
|
||||
.mc-layout-b.compact .mc-floating-panel{left:16px;right:16px!important;top:76px!important;bottom:16px!important;width:auto!important;max-height:none}
|
||||
.mc-layout-b.compact .mc-dock-substatus{display:none}
|
||||
.mc-layout-b.compact .rt-receiver-body{grid-template-columns:1fr}
|
||||
.mc-layout-b.compact .mc-dock-header{padding:4px 10px;gap:2px;flex-wrap:wrap;height:auto;min-height:74px;align-content:center}
|
||||
.mc-layout-b.compact .mc-dock-tabs{gap:14px;width:100%;flex:none}
|
||||
.mc-layout-b.compact .mc-dock-tab{font-size:11px}
|
||||
.mc-layout-b.compact .live-dock-actions{gap:3px;margin-left:auto}
|
||||
.mc-layout-b.compact .live-dock-actions button{font-size:11px;padding:4px 6px}
|
||||
.mc-layout-b.compact .mc-map-infobar{bottom:var(--dock-space)}
|
||||
.mc-layout-b #rt-map .maplibregl-ctrl-bottom-right{bottom:calc(var(--dock-space) - 28px);right:16px;max-width:calc(100% - 32px)}
|
||||
@container(max-width:1199px){.mc-layout-b .live-targets{width:230px}.mc-layout-b .live-detail{width:280px!important}.mc-layout-b:not(.list-hidden):not(.compact) .mc-map-infobar{left:258px}}
|
||||
.theme-white .mc-layout-b .mc-tag{color:#38604e}
|
||||
@media(max-width:1400px){}
|
||||
@media(max-width:1100px){.settings-layout{padding:24px;max-width:100%;overflow:auto}}
|
||||
@media(max-width:760px){.workspace-pane{left:56px}.settings-layout{grid-template-columns:1fr;padding:18px}.settings-sidebar{display:none}.mc-dock-substatus{display:none}.homescreen{left:56px}}
|
||||