style: include KAAK connection password field

This commit is contained in:
illusia committed 2026-10-12 11:25:49 +08:00
1 parent 53324ef02b
commit 05220b7a6e
5 files changed
+36 -1

No files matched your search

+1 -1
View File
@@ -626,5 +626,5 @@
## 本轮密码对话框样式(2026-10-12)
- 用户要求服务器密码和频道密码都按截图改成 KAAK 深色紧凑弹窗。
- 两个宿主对话框增加稳定的 `auth.password.*` 皮肤钩子;KAAK 包负责尺寸、深色表面、字段、按钮与移动视口样式。密码输入、错误文案、关闭、取消、提交和服务器重试仍使用原宿主逻辑,其他皮肤不变。KAAK 升至 3.1.78。
- 两个宿主对话框增加稳定的 `auth.password.*` 皮肤钩子;KAAK 包负责尺寸、深色表面、字段、按钮与移动视口样式。KAAK 连接表单中的服务器密码字段也使用同款深色输入外观。密码输入、错误文案、关闭、取消、提交和服务器重试仍使用原宿主逻辑,其他皮肤不变。KAAK 升至 3.1.78。
- 验证:重建示例和内置 KAAK 包;皮肤包与布局钩子测试通过,`npm run verify` 通过(696/696 测试、服务端构建、前端类型检查和 Vite 生产构建),`git diff --check` 通过。3040 健康接口、入口页、WebClient JS/CSS 和新版 KAAK 包均返回 HTTP 200;皮肤包大小与构建产物一致。
Binary file not shown.
+34
View File
@@ -3185,6 +3185,40 @@
background: #242529;
box-shadow: 0 0 0 2px rgba(108, 191, 0, .2);
}
[data-ws-part="home.form"] [data-ws-part="home.field"]:has(input[type="password"]) {
box-sizing: border-box;
height: 40px;
min-height: 40px;
gap: 0;
padding: 0 15px;
color: #d6d7db;
border: 1px solid #3b3c40;
border-radius: 12px;
background: #242529;
transition: border-color .16s ease, box-shadow .16s ease;
}
[data-ws-part="home.form"] [data-ws-part="home.field"]:has(input[type="password"]):focus-within {
border-color: #6cbf00;
background: #242529;
box-shadow: 0 0 0 2px rgba(108, 191, 0, .2);
}
[data-ws-part="home.form"] [data-ws-part="home.field"]:has(input[type="password"]) > svg {
display: none;
}
[data-ws-part="home.form"] [data-ws-part="home.field"]:has(input[type="password"]) input {
width: 100%;
min-width: 0;
height: 100%;
padding: 0;
color: #f0f1f3;
outline: none;
border: 0;
background: transparent;
font-size: 13px;
}
[data-ws-part="home.form"] [data-ws-part="home.field"]:has(input[type="password"]) input::placeholder {
color: #777980;
}
[data-ws-part="auth.password.field"] input {
width: 100%;
min-width: 0;