dsh-remote-plugin 0.8.6 → 0.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apk/dsh-remote.apk +0 -0
- package/gateway.cjs +169 -63
- package/index.mjs +36 -1
- package/package.json +1 -1
- package/public/activity.js +144 -49
- package/public/admin.html +33 -32
- package/public/admin.js +25 -6
- package/public/app.js +199 -57
- package/public/build.json +2 -2
- package/public/desktop/desktop.html +85 -74
- package/public/desktop/desktop.js +52 -27
- package/public/diagnostics.js +30 -4
- package/public/doctor.css +1 -1
- package/public/e2ee-transport.js +189 -18
- package/public/history.js +15 -2
- package/public/index.html +97 -76
- package/public/operations.js +59 -14
- package/public/plugin.html +27 -26
- package/public/relay-autopair.js +60 -26
- package/public/relay-devices.js +11 -5
- package/public/relay-settings.css +9 -0
- package/public/relay-settings.js +67 -9
- package/public/skins/blue-fish/preview.html +3 -3
- package/public/skins/bocchi/preview.html +5 -5
- package/public/skins/kita/preview.html +6 -6
- package/public/skins/nijika/preview.html +6 -6
- package/public/skins/penguin/preview.html +3 -3
- package/public/skins/penguin-logistics/cargo.svg +4 -0
- package/public/skins/penguin-logistics/console.svg +4 -0
- package/public/skins/penguin-logistics/mark.svg +4 -0
- package/public/skins/penguin-logistics/radio.svg +4 -0
- package/public/skins/penguin-logistics/skin.css +292 -0
- package/public/skins/penguin-logistics/standing.png +0 -0
- package/public/skins/ryo/preview.html +6 -6
- package/public/slash-suggestions.css +43 -0
- package/public/slash-suggestions.js +184 -0
- package/public/subagents.css +2 -0
- package/public/subagents.js +31 -10
- package/public/theme-vars.css +37 -2
- package/public/theme.js +4 -2
- package/public/update.json +12 -12
- package/public/version.json +1 -1
- package/public/workflow.css +19 -11
- package/public/workflow.js +25 -14
- package/skills/dsh-remote-doctor/references/wiki/connection.md +2 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!doctype html><html lang="zh-CN" data-theme="fish"><head><meta name="dsh-remote-build" content="
|
|
2
|
-
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>蓝色大肥鱼 · 晴空海湾 · 组件预览</title><link rel="stylesheet" href="../../styles.css?dsr-build=
|
|
1
|
+
<!doctype html><html lang="zh-CN" data-theme="fish"><head><meta name="dsh-remote-build" content="84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
2
|
+
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>蓝色大肥鱼 · 晴空海湾 · 组件预览</title><link rel="stylesheet" href="../../styles.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="../../workflow.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><style>body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-header{margin-bottom:26px}.preview-header h1{font-size:29px;line-height:1.3;margin:10px 0}.preview-header p{font-size:14px;max-width:680px;color:var(--dsr-muted)}.preview-layout{display:grid;grid-template-columns:390px minmax(0,1fr);gap:26px;align-items:start}iframe{display:block;width:100%;height:844px;border:1px solid var(--dsr-line);border-radius:18px;background:var(--dsr-bg)}.preview-card{padding:22px;margin:0 0 18px;background:var(--dsr-panel);border:1px solid var(--dsr-line);border-radius:12px}.preview-card h2{font-size:17px;margin:0 0 14px}.preview-card p,.preview-card li{font-size:13px;line-height:1.8;color:var(--dsr-muted)}.preview-icons{display:flex;align-items:center;gap:18px}.preview-icons img{width:58px;height:54px;object-fit:contain}.preview-links,.preview-switch{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin:12px 0}.preview-links a{color:var(--dsr-accent-strong)}.preview-switch button{padding:8px 16px;border:1px solid var(--dsr-line);border-radius:8px;background:var(--dsr-panel);color:var(--dsr-text);font:inherit}.preview-switch button[aria-pressed=true]{background:var(--dsr-accent);color:var(--dsr-on-accent)}@media(max-width:760px){.preview-layout{grid-template-columns:minmax(0,390px);justify-content:center}.preview-header h1{font-size:25px}}</style></head><body><main class="preview-shell"><header class="preview-header"><h1>蓝色大肥鱼 · 晴空海湾</h1><p>气泡、爱心、星星与蓝白内容卡。表情导航保留文字,立绘增加柔和贴纸边框。</p><nav class="preview-links"><a href="DESIGN.md">皮肤维护说明</a><a href="../../index.html?layout=mobile">实际手机入口</a><a href="../../desktop/desktop.html">实际桌面入口</a></nav><div class="preview-switch" role="group" aria-label="预览配色"><button type="button" data-preview-theme="fish" aria-pressed="true">蓝色大肥鱼</button></div></header><section class="preview-layout"><iframe id="phone" title="手机组件预览"></iframe><aside><section class="preview-card"><h2>表情导航 · 文字保留</h2><div class="preview-icons"><img src="icon.png" alt="会话表情"><img src="icon-wink.png" alt="文件表情"><img src="icon-star.png" alt="更多表情"></div><p>表情在原有图标位内展示,不向列表上方额外挂一排头像。文字、未读徽标与原有点击区保留。</p></section><section class="preview-card"><h2>角色与阅读层级</h2><p>原有角色图片全部保留,加入眨眼贴纸、粉色导航小圆垫和虚线贴纸框。气泡与星星留在阅读留白处。</p></section><section class="preview-card"><h2>实际界面验收</h2><ol><li>320/390px 手机与桌面布局。</li><li>立绘不压住标题和连接入口。</li><li>导航、输入区保持既有固定定位。</li><li>归档关闭、半滑、展开与确认框。</li></ol><p>此页是无主机连接的静态组件样板;完整交互以实际 WebUI 验收为准。</p></section></aside></section></main><template id="phone-components">
|
|
3
3
|
<header class="topbar"><div class="brand"><span class="brand-dot"></span><span>DSH Remote</span></div><span class="pill">未连接</span></header>
|
|
4
4
|
<main class="main" id="main"><section class="view" id="view-home">
|
|
5
5
|
<section class="workflow-start"><div class="workflow-page-head"><h1>工作空间</h1><button type="button" class="workflow-connection">工作电脑 · 连接详情</button><button type="button" class="home-doctor"><span>AI 排查问题</span><small>使用你的 DSH 和模型,只读诊断</small><b>›</b></button></div><div class="workspace-nav"><span>DSH Remote</span><button type="button" class="mini-btn">查看文件</button></div><button type="button" id="btn-new-session" class="mini-btn workflow-new-session">+ 新会话</button></section>
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
<div class="session-swipe"><div class="session-card"><div class="sc-title">准备版本更新说明</div><div class="sc-meta">3 分钟前</div><div class="sc-workspace">⌂ dsh-remote</div></div></div>
|
|
10
10
|
</section></main>
|
|
11
11
|
<nav class="bottom-nav"><button type="button" class="nav-btn active" data-view="view-home"><span class="nav-ico">▦</span><span class="nav-label">会话</span></button><button type="button" class="nav-btn" data-view="view-files"><span class="nav-ico">↕</span><span class="nav-label">文件</span></button><button type="button" class="nav-btn" data-view="view-settings"><span class="nav-ico">⚙</span><span class="nav-label">更多</span></button></nav>
|
|
12
|
-
</template><script>const base=new URL('../../',location.href).href;const frame=document.getElementById('phone');frame.srcdoc='<!doctype html><html lang="zh-CN" data-theme="fish"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=
|
|
12
|
+
</template><script>const base=new URL('../../',location.href).href;const frame=document.getElementById('phone');frame.srcdoc='<!doctype html><html lang="zh-CN" data-theme="fish"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="workflow.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="skins/blue-fish/skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>';document.querySelectorAll('[data-preview-theme]').forEach(button=>button.addEventListener('click',()=>{document.documentElement.dataset.theme=button.dataset.previewTheme;if(frame.contentDocument?.documentElement)frame.contentDocument.documentElement.dataset.theme=button.dataset.previewTheme;document.querySelectorAll('[data-preview-theme]').forEach(b=>b.setAttribute('aria-pressed',String(b===button)))}));</script></body></html>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
2
|
<html lang="zh-CN" data-theme="bocchi">
|
|
3
3
|
<head>
|
|
4
|
-
<meta name="dsh-remote-build" content="
|
|
4
|
+
<meta name="dsh-remote-build" content="84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
7
|
<title>后藤一里 · 皮肤样板预览</title>
|
|
8
|
-
<link rel="stylesheet" href="../../styles.css?dsr-build=
|
|
9
|
-
<link rel="stylesheet" href="../../workflow.css?dsr-build=
|
|
10
|
-
<link rel="stylesheet" href="skin.css?dsr-build=
|
|
8
|
+
<link rel="stylesheet" href="../../styles.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
9
|
+
<link rel="stylesheet" href="../../workflow.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
10
|
+
<link rel="stylesheet" href="skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
11
11
|
<style>
|
|
12
12
|
/* 只负责展示页排版;画框内完全复用实际组件样式,不重画玻璃或背景。 */
|
|
13
13
|
body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-label{font:11px ui-monospace,monospace;letter-spacing:.15em;color:var(--dsr-muted)}
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
</template>
|
|
50
50
|
<script>
|
|
51
51
|
const base=new URL('../../',location.href).href
|
|
52
|
-
document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="bocchi"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=
|
|
52
|
+
document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="bocchi"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="workflow.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="skins/bocchi/skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>'
|
|
53
53
|
</script>
|
|
54
54
|
</body>
|
|
55
55
|
</html>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
2
|
<html lang="zh-CN" data-theme="kita">
|
|
3
3
|
<head>
|
|
4
|
-
<meta name="dsh-remote-build" content="
|
|
4
|
+
<meta name="dsh-remote-build" content="84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
7
|
<title>喜多郁代 · 皮肤样板预览</title>
|
|
8
|
-
<link rel="stylesheet" href="../../styles.css?dsr-build=
|
|
9
|
-
<link rel="stylesheet" href="../../workflow.css?dsr-build=
|
|
10
|
-
<link rel="stylesheet" href="../kessoku/skin.css?dsr-build=
|
|
11
|
-
<link rel="stylesheet" href="skin.css?dsr-build=
|
|
8
|
+
<link rel="stylesheet" href="../../styles.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
9
|
+
<link rel="stylesheet" href="../../workflow.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
10
|
+
<link rel="stylesheet" href="../kessoku/skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
11
|
+
<link rel="stylesheet" href="skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
12
12
|
<style>
|
|
13
13
|
/* 只负责展示页排版;画框内完全复用实际组件样式,不重画玻璃或背景。 */
|
|
14
14
|
body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-label{font:11px ui-monospace,monospace;letter-spacing:.15em;color:var(--dsr-muted)}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
</template>
|
|
51
51
|
<script>
|
|
52
52
|
const base=new URL('../../',location.href).href
|
|
53
|
-
document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="kita"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=
|
|
53
|
+
document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="kita"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="workflow.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="skins/kessoku/skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="skins/kita/skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>'
|
|
54
54
|
</script>
|
|
55
55
|
</body>
|
|
56
56
|
</html>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
2
|
<html lang="zh-CN" data-theme="nijika">
|
|
3
3
|
<head>
|
|
4
|
-
<meta name="dsh-remote-build" content="
|
|
4
|
+
<meta name="dsh-remote-build" content="84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
7
|
<title>伊地知虹夏 · 皮肤样板预览</title>
|
|
8
|
-
<link rel="stylesheet" href="../../styles.css?dsr-build=
|
|
9
|
-
<link rel="stylesheet" href="../../workflow.css?dsr-build=
|
|
10
|
-
<link rel="stylesheet" href="../kessoku/skin.css?dsr-build=
|
|
11
|
-
<link rel="stylesheet" href="skin.css?dsr-build=
|
|
8
|
+
<link rel="stylesheet" href="../../styles.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
9
|
+
<link rel="stylesheet" href="../../workflow.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
10
|
+
<link rel="stylesheet" href="../kessoku/skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
11
|
+
<link rel="stylesheet" href="skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
12
12
|
<style>
|
|
13
13
|
/* 只负责展示页排版;画框内完全复用实际组件样式,不重画玻璃或背景。 */
|
|
14
14
|
body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-label{font:11px ui-monospace,monospace;letter-spacing:.15em;color:var(--dsr-muted)}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
</template>
|
|
51
51
|
<script>
|
|
52
52
|
const base=new URL('../../',location.href).href
|
|
53
|
-
document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="nijika"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=
|
|
53
|
+
document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="nijika"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="workflow.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="skins/kessoku/skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="skins/nijika/skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>'
|
|
54
54
|
</script>
|
|
55
55
|
</body>
|
|
56
56
|
</html>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!doctype html><html lang="zh-CN" data-theme="penguin"><head><meta name="dsh-remote-build" content="
|
|
2
|
-
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>企鹅女管 · 黑黄工业终端 · 组件预览</title><link rel="stylesheet" href="../../styles.css?dsr-build=
|
|
1
|
+
<!doctype html><html lang="zh-CN" data-theme="penguin"><head><meta name="dsh-remote-build" content="84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
2
|
+
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>企鹅女管 · 黑黄工业终端 · 组件预览</title><link rel="stylesheet" href="../../styles.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="../../workflow.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><style>body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-header{margin-bottom:26px}.preview-header h1{font-size:29px;line-height:1.3;margin:10px 0}.preview-header p{font-size:14px;max-width:680px;color:var(--dsr-muted)}.preview-layout{display:grid;grid-template-columns:390px minmax(0,1fr);gap:26px;align-items:start}iframe{display:block;width:100%;height:844px;border:1px solid var(--dsr-line);border-radius:18px;background:var(--dsr-bg)}.preview-card{padding:22px;margin:0 0 18px;background:var(--dsr-panel);border:1px solid var(--dsr-line);border-radius:12px}.preview-card h2{font-size:17px;margin:0 0 14px}.preview-card p,.preview-card li{font-size:13px;line-height:1.8;color:var(--dsr-muted)}.preview-icons{display:flex;align-items:center;gap:18px}.preview-icons img{width:58px;height:54px;object-fit:contain}.preview-links,.preview-switch{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin:12px 0}.preview-links a{color:var(--dsr-accent-strong)}.preview-switch button{padding:8px 16px;border:1px solid var(--dsr-line);border-radius:8px;background:var(--dsr-panel);color:var(--dsr-text);font:inherit}.preview-switch button[aria-pressed=true]{background:var(--dsr-accent);color:var(--dsr-on-accent)}@media(max-width:760px){.preview-layout{grid-template-columns:minmax(0,390px);justify-content:center}.preview-header h1{font-size:25px}}</style></head><body><main class="preview-shell"><header class="preview-header"><h1>企鹅女管 · 黑黄工业终端</h1><p>新增官网三角阵列、终末地工业铭牌和帝江/集成工业主题线路图,保留黑黄终端界面。 </p><nav class="preview-links"><a href="DESIGN.md">皮肤维护说明</a><a href="../../index.html?layout=mobile">实际手机入口</a><a href="../../desktop/desktop.html">实际桌面入口</a></nav><div class="preview-switch" role="group" aria-label="预览配色"><button type="button" data-preview-theme="penguin" aria-pressed="true">白昼</button><button type="button" data-preview-theme="penguin-night" aria-pressed="false">极夜</button></div></header><section class="preview-layout"><iframe id="phone" title="手机组件预览"></iframe><aside><section class="preview-card"><h2>表情导航 · 文字保留</h2><div class="preview-icons"><img src="icon.png" alt="会话表情"><img src="icon-dizzy.png" alt="文件表情"><img src="icon-wink.png" alt="更多表情"></div><p>表情在原有图标位内展示,不向列表上方额外挂一排头像。文字、未读徽标与原有点击区保留。</p></section><section class="preview-card"><h2>角色与阅读层级</h2><p>白昼使用冷白与墨黑操作条,极夜使用炭黑与信号黄。三角标记、切角和工程网格在两套中保持一致;线路图为主题装饰示意。</p></section><section class="preview-card"><h2>实际界面验收</h2><ol><li>320/390px 手机与桌面布局。</li><li>立绘不压住标题和连接入口。</li><li>导航、输入区保持既有固定定位。</li><li>归档关闭、半滑、展开与确认框。</li></ol><p>此页是无主机连接的静态组件样板;完整交互以实际 WebUI 验收为准。</p></section></aside></section></main><template id="phone-components">
|
|
3
3
|
<header class="topbar"><div class="brand"><span class="brand-dot"></span><span>DSH Remote</span></div><span class="pill">未连接</span></header>
|
|
4
4
|
<main class="main" id="main"><section class="view" id="view-home">
|
|
5
5
|
<section class="workflow-start"><div class="workflow-page-head"><h1>工作空间</h1><button type="button" class="workflow-connection">工作电脑 · 连接详情</button><button type="button" class="home-doctor"><span>AI 排查问题</span><small>使用你的 DSH 和模型,只读诊断</small><b>›</b></button></div><div class="workspace-nav"><span>DSH Remote</span><button type="button" class="mini-btn">查看文件</button></div><button type="button" id="btn-new-session" class="mini-btn workflow-new-session">+ 新会话</button></section>
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
<div class="session-swipe"><div class="session-card"><div class="sc-title">准备版本更新说明</div><div class="sc-meta">3 分钟前</div><div class="sc-workspace">⌂ dsh-remote</div></div></div>
|
|
10
10
|
</section></main>
|
|
11
11
|
<nav class="bottom-nav"><button type="button" class="nav-btn active" data-view="view-home"><span class="nav-ico">▦</span><span class="nav-label">会话</span></button><button type="button" class="nav-btn" data-view="view-files"><span class="nav-ico">↕</span><span class="nav-label">文件</span></button><button type="button" class="nav-btn" data-view="view-settings"><span class="nav-ico">⚙</span><span class="nav-label">更多</span></button></nav>
|
|
12
|
-
</template><script>const base=new URL('../../',location.href).href;const frame=document.getElementById('phone');frame.srcdoc='<!doctype html><html lang="zh-CN" data-theme="penguin"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=
|
|
12
|
+
</template><script>const base=new URL('../../',location.href).href;const frame=document.getElementById('phone');frame.srcdoc='<!doctype html><html lang="zh-CN" data-theme="penguin"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="workflow.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="skins/penguin/skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>';document.querySelectorAll('[data-preview-theme]').forEach(button=>button.addEventListener('click',()=>{document.documentElement.dataset.theme=button.dataset.previewTheme;if(frame.contentDocument?.documentElement)frame.contentDocument.documentElement.dataset.theme=button.dataset.previewTheme;document.querySelectorAll('[data-preview-theme]').forEach(b=>b.setAttribute('aria-pressed',String(b===button)))}));</script></body></html>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.65" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<path d="M3.5 7.6 12 3l8.5 4.6v8.8L12 21l-8.5-4.6zM3.5 7.6l8.5 4.6 8.5-4.6M12 12.2V21m-4.2-15.7 8.4 4.5"/>
|
|
3
|
+
<path d="m15.5 15.7 2.1-1.2"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.65" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<path d="M6.2 4.5h11.6l2.7 2.7v9.6l-2.7 2.7H6.2l-2.7-2.7V7.2zM7.5 9h9m-9 6h9"/>
|
|
3
|
+
<path d="M10.2 7.3v3.4m3.6 2.6v3.4" stroke-width="2"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.7" stroke-linejoin="round">
|
|
2
|
+
<path d="M5 19v-5.2l3.6-4.4V6.8L12 3l4.1 1.6 1.4 3.1 3.1 1.5-3.5 1.8v3.2l2 2.5v2.4L16.6 21H7.4z"/>
|
|
3
|
+
<path d="m8.8 18 2.3-4.4 2.8-1.9m.2-4.7h.2" stroke-linecap="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
/* 企鹅物流 · 深色货运终端 */
|
|
2
|
+
html[data-theme="penguin-logistics"] {
|
|
3
|
+
--pl-route-line: #89B8C82B;
|
|
4
|
+
--pl-tape: repeating-linear-gradient(130deg, var(--dsr-accent) 0 2px, transparent 2px 5px);
|
|
5
|
+
--pl-crew: url("standing.png");
|
|
6
|
+
--pl-session-surface: #1D252EA8;
|
|
7
|
+
--pl-message-surface: #1D252ECC;
|
|
8
|
+
background: radial-gradient(ellipse at right bottom, #1A2632, transparent 72%) fixed var(--dsr-bg);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
html[data-theme="penguin-logistics"] body {
|
|
12
|
+
isolation: isolate;
|
|
13
|
+
background: transparent;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* 货运图纸的点阵和走线仅铺在工作空间留白,向左下淡出。 */
|
|
17
|
+
html[data-theme="penguin-logistics"] body:is(.workflow-at-start, :has(#view-home:not(.hidden)))::after {
|
|
18
|
+
content: "";
|
|
19
|
+
position: fixed;
|
|
20
|
+
top: calc(68px + var(--dsr-safe-top));
|
|
21
|
+
right: 0;
|
|
22
|
+
width: min(100%, 860px);
|
|
23
|
+
height: min(62dvh, 580px);
|
|
24
|
+
z-index: -2;
|
|
25
|
+
pointer-events: none;
|
|
26
|
+
background:
|
|
27
|
+
radial-gradient(circle, #A4BDCE24 1px, transparent 1.3px) top right / 18px 18px,
|
|
28
|
+
linear-gradient(135deg, transparent 49.6%, #8BC0D02B 50% 50.25%, transparent 50.65%) top right / 100% 100% no-repeat,
|
|
29
|
+
linear-gradient(135deg, transparent 49.5%, #8BC0D01E 50% 50.35%, transparent 50.8%) right 0 top 29px / 100% 100% no-repeat;
|
|
30
|
+
mask-image: radial-gradient(ellipse at 100% 8%, #000 8%, #000B 34%, transparent 76%);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* 立绘留在会话列表与对话后面,独立于内容的滚动。 */
|
|
34
|
+
html[data-theme="penguin-logistics"] body:is(.workflow-at-start, .in-session, :has(#view-home:not(.hidden), #view-chat:not(.hidden)))::before {
|
|
35
|
+
content: "";
|
|
36
|
+
position: fixed;
|
|
37
|
+
right: 0;
|
|
38
|
+
bottom: calc(70px + var(--dsr-safe-b));
|
|
39
|
+
width: min(100%, 640px);
|
|
40
|
+
height: min(46dvh, 360px);
|
|
41
|
+
z-index: -1;
|
|
42
|
+
pointer-events: none;
|
|
43
|
+
background: var(--pl-crew) right bottom / contain no-repeat;
|
|
44
|
+
opacity: .44;
|
|
45
|
+
mask-image: linear-gradient(to bottom, #000 10% 76%, transparent);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
html[data-theme="penguin-logistics"] .ds-main {
|
|
49
|
+
background: transparent;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media (min-width: 900px) {
|
|
53
|
+
html[data-theme="penguin-logistics"] body:is(.workflow-at-start, .in-session, :has(#view-home:not(.hidden), #view-chat:not(.hidden)))::before {
|
|
54
|
+
right: clamp(18px, 4vw, 68px);
|
|
55
|
+
bottom: 12px;
|
|
56
|
+
width: min(58vw, 760px);
|
|
57
|
+
height: min(62dvh, 530px);
|
|
58
|
+
mask-image: linear-gradient(to bottom, #000 12% 76%, transparent);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
html[data-theme="penguin-logistics"] .workflow-v8 {
|
|
63
|
+
--flow-radius: 12px;
|
|
64
|
+
--flow-control-radius: 8px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
html[data-theme="penguin-logistics"] .workflow-v8 #view-home .workflow-start {
|
|
68
|
+
background: none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
html[data-theme="penguin-logistics"] :is(.topbar, .ds-topbar, .session-head, .bottom-nav, .composer-wrap, .ds-composer) {
|
|
72
|
+
border-color: var(--dsr-line);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
html[data-theme="penguin-logistics"] :is(.ds-topbar, .session-head) {
|
|
76
|
+
background: var(--dsr-bg);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
html[data-theme="penguin-logistics"] :is(.brand-dot, .ds-logo, .plugin-brand-mark) {
|
|
80
|
+
position: relative;
|
|
81
|
+
flex: none;
|
|
82
|
+
width: 27px;
|
|
83
|
+
height: 27px;
|
|
84
|
+
border-radius: 6px;
|
|
85
|
+
background: var(--dsr-accent-soft);
|
|
86
|
+
box-shadow: none;
|
|
87
|
+
font-size: 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
html[data-theme="penguin-logistics"] .workflow-v8 .brand-dot {
|
|
91
|
+
width: 27px;
|
|
92
|
+
height: 27px;
|
|
93
|
+
background: var(--dsr-accent-soft);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
html[data-theme="penguin-logistics"] :is(.brand-dot, .ds-logo, .plugin-brand-mark)::after {
|
|
97
|
+
content: "";
|
|
98
|
+
position: absolute;
|
|
99
|
+
inset: 4px;
|
|
100
|
+
background: var(--dsr-accent-strong);
|
|
101
|
+
mask: url("mark.svg") center / contain no-repeat;
|
|
102
|
+
pointer-events: none;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
html[data-theme="penguin-logistics"] .plugin-brand-mark morph-icon {
|
|
106
|
+
visibility: hidden;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* 少量货运斜线集中在页标题,细线路沿连接、选中态与消息阅读区延伸。 */
|
|
110
|
+
html[data-theme="penguin-logistics"] .workflow-page-head h1 {
|
|
111
|
+
padding-inline-start: 11px;
|
|
112
|
+
border-inline-start: 2px solid var(--dsr-accent);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
html[data-theme="penguin-logistics"] .workflow-page-head h1::after {
|
|
116
|
+
content: "";
|
|
117
|
+
display: inline-block;
|
|
118
|
+
width: 18px;
|
|
119
|
+
height: 3px;
|
|
120
|
+
margin-inline-start: 10px;
|
|
121
|
+
vertical-align: middle;
|
|
122
|
+
background: var(--pl-tape);
|
|
123
|
+
opacity: .6;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
html[data-theme="penguin-logistics"] .workflow-connection {
|
|
127
|
+
border: 1px solid var(--dsr-line);
|
|
128
|
+
border-inline-start: 2px solid var(--dsr-accent-line);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
html[data-theme="penguin-logistics"] .workflow-v8 .home-doctor {
|
|
132
|
+
background: var(--dsr-panel);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(.workspace-nav, .custom-select-trigger) {
|
|
136
|
+
border-color: var(--dsr-line);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(.session-card, #mobile-session-list .ds-session-item) {
|
|
140
|
+
background: var(--pl-session-surface);
|
|
141
|
+
border-radius: 7px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(.session-card, #mobile-session-list .ds-session-item):is(:hover, :active) {
|
|
145
|
+
background-color: #28343FCC;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(.session-card, .ds-session-item).current {
|
|
149
|
+
box-shadow: inset 2px 0 var(--dsr-accent);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(.session-swipe, .section-head) {
|
|
153
|
+
background: transparent;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* 滑动多少就露出多少归档按钮,静止时按钮留在透明卡片外。 */
|
|
157
|
+
html[data-theme="penguin-logistics"] .session-swipe .sc-archive-btn {
|
|
158
|
+
transform: translateX(calc(100% + var(--swipe-x, 0px)));
|
|
159
|
+
transition: transform .18s ease;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
html[data-theme="penguin-logistics"] .session-swipe.revealed .sc-archive-btn {
|
|
163
|
+
transform: translateX(0);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
html[data-theme="penguin-logistics"] .workflow-v8 #btn-new-session.workflow-new-session {
|
|
167
|
+
background-color: #2B2924;
|
|
168
|
+
color: var(--dsr-accent-strong);
|
|
169
|
+
border-radius: 8px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
html[data-theme="penguin-logistics"] .workflow-v8 #btn-new-session.workflow-new-session:hover {
|
|
173
|
+
background-color: #363027;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* 按钮纹理贴边,中央保留完整的文字和图标底色。 */
|
|
177
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(
|
|
178
|
+
button.mini-btn, button.ds-btn, .workflow-button, .workflow-connection, .home-doctor
|
|
179
|
+
) {
|
|
180
|
+
background-image: repeating-linear-gradient(130deg, #8BC0D049 0 1px, transparent 1px 4px);
|
|
181
|
+
background-position: right 5px bottom 4px;
|
|
182
|
+
background-size: 11px 3px;
|
|
183
|
+
background-repeat: no-repeat;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(#btn-new-session, #btn-send),
|
|
187
|
+
html[data-theme="penguin-logistics"] .workflow-v8 #btn-new-session.workflow-new-session {
|
|
188
|
+
background-image: repeating-linear-gradient(130deg, var(--pl-button-ink, #E9B66F45) 0 1px, transparent 1px 5px);
|
|
189
|
+
background-position: right 6px bottom 5px;
|
|
190
|
+
background-size: min(24%, 28px) 7px;
|
|
191
|
+
background-repeat: no-repeat;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(.ds-new-session, .composer, .ds-composer) {
|
|
195
|
+
--pl-button-ink: #51381770;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
html[data-theme="penguin-logistics"] :is(.fs-head, .ds-fs-bar, .file-inbox-files) {
|
|
199
|
+
border-color: var(--pl-route-line);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(.msg.assistant, .ds-msg.assistant) {
|
|
203
|
+
background: var(--pl-message-surface);
|
|
204
|
+
border-inline-start: 2px solid var(--pl-route-line);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
html[data-theme="penguin-logistics"] .ds-sidebar {
|
|
208
|
+
border-inline-end-color: var(--pl-route-line);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
html[data-theme="penguin-logistics"] .workflow-v8 .ds-sidebar {
|
|
212
|
+
background-image: repeating-linear-gradient(0deg, #8BC0D039 0 1px, transparent 1px 9px);
|
|
213
|
+
background-position: right 2px top;
|
|
214
|
+
background-size: 4px 100%;
|
|
215
|
+
background-repeat: no-repeat;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
html[data-theme="penguin-logistics"] .workflow-v8 .composer-wrap:not(.fs) {
|
|
219
|
+
border-color: var(--dsr-line);
|
|
220
|
+
border-radius: 14px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
html[data-theme="penguin-logistics"] .workflow-v8 .bottom-nav {
|
|
224
|
+
border-radius: 14px;
|
|
225
|
+
background: var(--dsr-nav-bg);
|
|
226
|
+
border-top-color: var(--dsr-accent-line);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
html[data-theme="penguin-logistics"] .workflow-v8 .bottom-nav::before {
|
|
230
|
+
content: "";
|
|
231
|
+
position: absolute;
|
|
232
|
+
top: -2px;
|
|
233
|
+
right: 16px;
|
|
234
|
+
width: 21px;
|
|
235
|
+
height: 4px;
|
|
236
|
+
background: repeating-linear-gradient(130deg, #E9B66F99 0 2px, var(--dsr-nav-bg) 2px 5px);
|
|
237
|
+
pointer-events: none;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
html[data-theme="penguin-logistics"] :is(.nav-btn, .ds-nav-item):is([data-view="view-home"], [data-view="view-sessions"]) {
|
|
241
|
+
--pl-nav-glyph: url("radio.svg");
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
html[data-theme="penguin-logistics"] :is(.nav-btn, .ds-nav-item)[data-view="view-files"] {
|
|
245
|
+
--pl-nav-glyph: url("cargo.svg");
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
html[data-theme="penguin-logistics"] :is(.nav-btn, .ds-nav-item)[data-view="view-settings"] {
|
|
249
|
+
--pl-nav-glyph: url("console.svg");
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(.nav-btn, .ds-nav-item):is([data-view="view-home"], [data-view="view-sessions"], [data-view="view-files"], [data-view="view-settings"]) :is(.nav-ico, .ds-nav-ico) {
|
|
253
|
+
display: grid;
|
|
254
|
+
place-items: center;
|
|
255
|
+
border-radius: 7px;
|
|
256
|
+
font-size: 0;
|
|
257
|
+
color: var(--dsr-nav-muted);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
html[data-theme="penguin-logistics"] .workflow-v8 .ds-nav-ico {
|
|
261
|
+
width: 22px;
|
|
262
|
+
height: 22px;
|
|
263
|
+
flex: none;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(.nav-btn, .ds-nav-item):is([data-view="view-home"], [data-view="view-sessions"], [data-view="view-files"], [data-view="view-settings"]) :is(.nav-ico, .ds-nav-ico) svg {
|
|
267
|
+
display: none;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(.nav-btn, .ds-nav-item):is([data-view="view-home"], [data-view="view-sessions"], [data-view="view-files"], [data-view="view-settings"]) :is(.nav-ico, .ds-nav-ico)::after {
|
|
271
|
+
content: "";
|
|
272
|
+
width: 21px;
|
|
273
|
+
height: 21px;
|
|
274
|
+
background: currentColor;
|
|
275
|
+
mask: var(--pl-nav-glyph) center / contain no-repeat;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
html[data-theme="penguin-logistics"] .workflow-v8 :is(.nav-btn, .ds-nav-item).active :is(.nav-ico, .ds-nav-ico) {
|
|
279
|
+
color: var(--dsr-nav-active);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/* The picker uses the same palette and artwork layering as the workspace. */
|
|
283
|
+
.dsr-theme-card[data-theme="penguin-logistics"] .dsr-theme-preview {
|
|
284
|
+
background-image: radial-gradient(circle, #A4BDCE24 1px, transparent 1.3px);
|
|
285
|
+
background-size: 12px 12px;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.dsr-theme-card[data-theme="penguin-logistics"] .dsr-theme-art {
|
|
289
|
+
width: 78%;
|
|
290
|
+
height: 87%;
|
|
291
|
+
opacity: .72;
|
|
292
|
+
}
|
|
Binary file
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
2
|
<html lang="zh-CN" data-theme="ryo">
|
|
3
3
|
<head>
|
|
4
|
-
<meta name="dsh-remote-build" content="
|
|
4
|
+
<meta name="dsh-remote-build" content="84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
7
|
<title>山田凉 · 皮肤样板预览</title>
|
|
8
|
-
<link rel="stylesheet" href="../../styles.css?dsr-build=
|
|
9
|
-
<link rel="stylesheet" href="../../workflow.css?dsr-build=
|
|
10
|
-
<link rel="stylesheet" href="../kessoku/skin.css?dsr-build=
|
|
11
|
-
<link rel="stylesheet" href="skin.css?dsr-build=
|
|
8
|
+
<link rel="stylesheet" href="../../styles.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
9
|
+
<link rel="stylesheet" href="../../workflow.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
10
|
+
<link rel="stylesheet" href="../kessoku/skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
11
|
+
<link rel="stylesheet" href="skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184">
|
|
12
12
|
<style>
|
|
13
13
|
/* 只负责展示页排版;画框内完全复用实际组件样式,不重画玻璃或背景。 */
|
|
14
14
|
body{padding:28px 20px 40px}.preview-shell{max-width:980px;margin:auto}.preview-label{font:11px ui-monospace,monospace;letter-spacing:.15em;color:var(--dsr-muted)}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
</template>
|
|
51
51
|
<script>
|
|
52
52
|
const base=new URL('../../',location.href).href
|
|
53
|
-
document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="ryo"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=
|
|
53
|
+
document.getElementById('phone').srcdoc='<!doctype html><html lang="zh-CN" data-theme="ryo"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="'+base+'"><link rel="stylesheet" href="styles.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="workflow.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="skins/kessoku/skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"><link rel="stylesheet" href="skins/ryo/skin.css?dsr-build=84d998ae3a1302b3e1d02d3cdde5d8f3ad3f8bd963ec0323fd18a675015e1184"></head><body class="workflow-v8">'+document.getElementById('phone-components').innerHTML+'</body></html>'
|
|
54
54
|
</script>
|
|
55
55
|
</body>
|
|
56
56
|
</html>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.slash-suggestions {
|
|
2
|
+
position: absolute;
|
|
3
|
+
z-index: 5;
|
|
4
|
+
bottom: calc(100% + 6px);
|
|
5
|
+
inset-inline-start: 0;
|
|
6
|
+
width: min(100%, 28rem);
|
|
7
|
+
max-height: min(16rem, 35vh);
|
|
8
|
+
overflow-y: auto;
|
|
9
|
+
overscroll-behavior: contain;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
padding: 4px;
|
|
12
|
+
border: 1px solid var(--dsr-line);
|
|
13
|
+
border-radius: 12px;
|
|
14
|
+
background: var(--dsr-panel);
|
|
15
|
+
box-shadow: 0 8px 24px var(--dsr-shadow);
|
|
16
|
+
}
|
|
17
|
+
.slash-suggestions[hidden] { display: none; }
|
|
18
|
+
.slash-suggestions > button {
|
|
19
|
+
display: grid;
|
|
20
|
+
width: 100%;
|
|
21
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
22
|
+
align-items: center;
|
|
23
|
+
column-gap: 10px;
|
|
24
|
+
min-height: 44px;
|
|
25
|
+
padding: 7px 10px;
|
|
26
|
+
border: 0;
|
|
27
|
+
border-radius: 8px;
|
|
28
|
+
background: transparent;
|
|
29
|
+
color: var(--dsr-text);
|
|
30
|
+
font: inherit;
|
|
31
|
+
text-align: start;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
}
|
|
34
|
+
.slash-suggestions > button:hover,
|
|
35
|
+
.slash-suggestions > button[aria-selected="true"] { background: var(--dsr-accent-soft); }
|
|
36
|
+
.slash-suggestion-title,
|
|
37
|
+
.slash-suggestion-description { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
38
|
+
.slash-suggestion-title { font-size: 13px; font-weight: 600; }
|
|
39
|
+
.slash-suggestion-kind,
|
|
40
|
+
.slash-suggestion-description { color: var(--dsr-muted); font-size: 12px; }
|
|
41
|
+
.slash-suggestion-description { grid-column: 1 / -1; }
|
|
42
|
+
.composer-wrap.fs .slash-suggestions { top: 44px; bottom: auto; }
|
|
43
|
+
.ds-composer-input { position: relative; display: flex; }
|