diff --git a/docs/KAAK-CLONE-WORKLOG.zh-CN.md b/docs/KAAK-CLONE-WORKLOG.zh-CN.md
index bb4e4eb..7ca3d3e 100644
--- a/docs/KAAK-CLONE-WORKLOG.zh-CN.md
+++ b/docs/KAAK-CLONE-WORKLOG.zh-CN.md
@@ -12,7 +12,7 @@
## 当前检查点(2026-10-11)
-- `dev` 已包含 KAAK 3.1.30(`ff207df`):收起聊天时隐藏右栏、扩展成员舞台,并在舞台标题处保留重开按钮。音量、性能卡片、字体层级和设备选择已在 3.1.28 做过首轮反馈打磨;屏幕分享按要求跳过。
+- 本地 `dev` 已包含 KAAK 3.1.31:除主界面外,继续覆盖设置弹窗的交互、字体和反馈;音量、性能卡片及屏幕分享范围见后续节点。此版本把输入/输出设备选择改为可复用的自绘键盘可访问下拉控件。
- 已授权第二个普通语音频道的聊天初始为展开。手动收起后聊天栏完全隐藏,成员舞台扩宽,频道标题与人数仍可见;成员姓名在收起状态常显。麦克风保持静音,没有发消息或执行管理员操作;随后已离开语音房间。该频道不作为音乐频道默认状态的证据。
- 工作记录不存服务器地址、密码、密钥、房间名、成员名单或聊天内容。上一完整测试仍是 654/655,唯一失败为 `voice.member.mic-status` 布局钩子未注册。
- 重新打开 KOOK 原始语音页并查看已授权的前两个语音频道。原页此前记录了“聊天展开时姓名标签仍可见”,但本轮首次进入后的截图修正了这一判断:静止时姓名隐藏,悬停成员卡后出现;聊天收起时姓名常显。首次进入已观察的两个授权语音频道时,右侧当前频道聊天均默认展开;不能据此推断音乐类频道默认状态。麦克风关闭、未发消息、未操作管理员功能;结束后关闭了临时 KOOK 标签。
@@ -91,6 +91,16 @@
- 影响文件/提交:KAAK 组件与样式、可信组件选项和权限校验、组件宿主类型、测试、皮肤说明及打包文件;提交 `83902e0` 已推送至 `dev`。
- 当前状态与下一步:3.1.28 已提交并推送;下一步确认音乐类语音频道首次进入时附带聊天的默认状态,并按原页可见行为继续逐项打磨。
+## 本轮修改节点(2026-10-11,KAAK 3.1.31)
+
+- 参考依据:在 KOOK 原始语音设置中直接查看设备选择和字体。设备触发器约 40px、列表最高约 240px、选项约 32px;列表可滚动,当前项有底色,箭头随展开旋转。确认中英文字体栈以 PingFang SC 优先,字段标签为 14px。没有选择真实设备或改变音量、麦克风状态。
+- 修改内容与范围:把 WebSpeak 原有音频设置中的输入/输出原生选择框替换为同一通用组件 `AudioDeviceSelect`;支持点击展开、方向键、Home/End、Enter/Space、Esc、Tab 和标签前缀定位,并在列表打开时按视口调整位置。音频控制 composable 同时接受旧 DOM Event 与新组件发出的设备 ID 字符串,保持旧调用兼容。KAAK 的设备选择器补充 KOOK 深色列表、32px 选项、悬停/选中/键盘态、旋转箭头和字体继承;未针对 KAAK 修改连接或音频引擎。
+- 文档和分发包:KAAK 版本升至 3.1.31,更新皮肤公开部件目录、KOOK 观察记录、皮肤说明、内置目录版本与两份分发包。
+- 浏览器验收:使用侧栏浏览器打开本地合成设备预览,不触碰真实设备。确认列表展开、8 个选项可见、方向键移动活动项、Enter 选择并更新显示、Esc 关闭;最终计算样式为 KOOK 字体栈、14px/40px 触发器和每项 32px。实际音频设置页未能进入语音工作区,因此这次验收证明控件自身和样式,不宣称真实设备切换通过。
+- 验证结果:此前同一修改组的皮肤目录、皮肤包和音频控制定向测试 34/34 通过,`npm run web:build` 与 `npm run build` 通过;加入字体继承样式后重新构建 KAAK 包,并在浏览器确认最终字体与选项尺寸。最终提交前再统一运行相关定向测试、前端构建和 `git diff --check`。
+- 影响文件:通用音频设备选择组件、音频设置接入、兼容回调、通用样式、KAAK 样式/版本/分发包、相关测试及说明文档。暂存的本地预览文件已在验收后删除。
+- 当前状态与下一步:设备选择、字体和设置控件反馈节点完成;继续对照 KOOK 逐项打磨成员状态动画、音量反馈和音乐频道聊天初始状态。屏幕分享按用户要求跳过。
+
## 本轮修改节点(2026-10-11,KAAK 3.1.29)
- 参考依据:已记录的 KOOK 原页行为是频道首击选中并提示再次点击,第二击才进入;当前 KAAK 只有选中边框和无障碍双击说明,缺少可见提示。本轮尝试重新读取侧栏 KOOK 页时,浏览器桥接在读取标签状态阶段超时,因此没有把旧观察写成新观察。
diff --git a/docs/KOOK_VOICE_REFERENCE.zh-CN.md b/docs/KOOK_VOICE_REFERENCE.zh-CN.md
index d5b3633..a1df126 100644
--- a/docs/KOOK_VOICE_REFERENCE.zh-CN.md
+++ b/docs/KOOK_VOICE_REFERENCE.zh-CN.md
@@ -26,11 +26,13 @@
## 音频与连接状态控件
- 左下语音坞用绿色信号柱表示连接状态,断开入口单独放在右上;音频开关排列在坞底部,图标按钮尺寸紧凑。屏幕分享按用户要求暂不作为复刻目标,也未操作。
-- KOOK 的语音设置可从个人菜单进入,页面把输入/输出设备选择、麦克风输入音量和语音输出音量放在同一张深色设置卡片内;设备选择是下拉控件,音量使用横向滑杆,输入设备下方提供本地麦克风测试。
-- 设置页采用分区标题、较清楚的正文标签和绿色强调色。没有拖动滑杆或更换设备,因此仅记录控件外观,不推断声音反馈或切换动画;KAAK 对应使用宿主现有滑杆和设备选择控件,并为悬停/键盘焦点补充皮肤反馈。
+- KOOK 的语音设置可从个人菜单进入,页面把输入/输出设备选择、麦克风输入音量和语音输出音量放在同一张深色设置卡片内;输入设备下方提供本地麦克风测试。
+- 设备选择是自绘下拉列表:选择框约 40px 高,选项列表可滚动、最多约 240px 高,每项约 32px;当前项有浅色底,箭头在开合时旋转。我们只展开并收起输入设备列表,没有选择设备。
+- 设置页采用 PingFang SC 优先的中英文字体栈。主标题为 32px/600,分区标题 16px/600,设备和音量标签 14px/400。滑杆的圆形拇指为 16px,带绿色描边。没有拖动滑杆,因此不推断声音反馈或音量更新动画。
+- KAAK 对应使用通用宿主设备选择控件,交互包含点击展开、方向键/Home/End 导航、回车选择、Esc 收起和输入名称的快速定位;皮肤定义展开列表、选中/悬停/键盘态与 KOOK 字体。性能卡片仍是 WebSpeak 自己的诊断入口,不声称 KOOK 具有该面板。
- 本次本地 KAAK 对照打开了 WebSpeak 的音频配置弹窗,没有更换设备、移动音量、启动麦克风测试或开启麦克风。设备名称不写入文档。
- 连接状态图标点击后未显示单独性能卡片。KAAK 将 WebSpeak 已有的通用性能面板做成紧凑状态入口;它是 KAAK 自己的诊断卡片,不能据此声称 KOOK 具有相同面板。
-- 本轮再次查看了已授权语音频道的工作区:左侧宽度约 80px、频道栏约 290px,语音坞贴近频道栏底部;中心是成员舞台,右侧为频道文字聊天。当前布局与已记录结构一致;这次没有打开设置菜单,因此设备下拉菜单打开后的反馈仍未观察。
+- 本轮再次查看了已授权语音频道的工作区:左侧宽度约 80px、频道栏约 290px,语音坞贴近频道栏底部;中心是成员舞台,右侧为频道文字聊天。另打开语音设置并展开后收起输入设备列表,没有选择设备、调整音量、运行麦克风测试或改变麦克风状态。
## WebSpeak 实现映射
diff --git a/docs/SKIN_DEVELOPMENT.md b/docs/SKIN_DEVELOPMENT.md
index 8d5dccf..cdb809c 100644
--- a/docs/SKIN_DEVELOPMENT.md
+++ b/docs/SKIN_DEVELOPMENT.md
@@ -264,7 +264,7 @@ widget 的可选 `mount` 只接受这些公开锚点:`home.header.after`、`ho
| --- | --- |
| 通用 | `app`、`app.toast`、`control`、`skin.trigger`、`skin.menu`、`skin.option`、`language.trigger`、`language.menu`、`language.option` |
| 首页 | `home`、`home.header`、`home.brand`、`home.header-tools`、`home.gateway-status`、`home.content`、`home.hero`、`home.hero.eyebrow`、`home.hero.title`、`home.hero.description`、`home.features`、`home.feature`、`home.visitors`、`home.join-card`、`home.join-card.waveform`、`home.join-card.sonar`、`home.join-title`、`home.join-description`、`home.notice`、`home.form`、`home.server-target`、`home.field-label`、`home.field`、`home.relay-choice`、`home.relay-choice.copy`、`home.server-history`、`home.server-history.group`、`home.server-history.item`、`home.server-history.select`、`home.server-history.favorite-toggle`、`home.favorite-toggle`、`home.identity`、`home.identity-actions`、`home.identity-import.open`、`home.identity-export.button`、`home.identity-import-dialog`、`home.identity-import.header`、`home.identity-import.close`、`home.identity-import.textarea`、`home.identity-import.drop-zone`、`home.identity-import.file-button`、`home.identity-import.error`、`home.identity-import.security`、`home.identity-import.footer`、`home.identity-import.cancel`、`home.identity-import.submit`、`home.connect`、`home.security-note`、`home.footer`、`home.community-dialog` |
-| 语音工作区 | `voice.shell`、`voice.workspace`、`voice.header`、`voice.header-actions`、`voice.breadcrumbs`、`voice.performance`、`voice.performance.panel`、`voice.performance.route`、`voice.performance.metrics`、`voice.performance.status`、`voice.performance.webrtc-stats`、`voice.connection-status`、`voice.audio-status`、`voice.poke`、`voice.scroll`、`voice.content`、`voice.activity`、`voice.activity.artwork`、`voice.activity-heading`、`voice.screen-share-error`、`voice.members`、`voice.members.empty`、`voice.member`、`voice.member.avatar-wrap`、`voice.member.avatar`、`voice.member.mic-status`、`voice.member.name`、`voice.member.status`、`voice.member.live-indicator`、`voice.member.stop-share`、`voice.member.share-actions`、`voice.member-panel`、`voice.member-panel.heading`、`voice.member-panel.search`、`voice.member-panel.channels`、`voice.channel-group`、`voice.channel-group.heading`、`voice.channel-group.members`、`voice.member-row`、`voice.member-row.avatar`、`voice.member-row.copy`、`voice.member-row.flags`、`voice.member-row.volume`、`voice.whisper-strip`、`voice.audio-dock`、`voice.audio-dock.microphone`、`voice.audio-dock.microphone-panel`、`voice.audio-dock.output`、`voice.audio-dock.output-panel`、`voice.audio-settings`、`voice.mobile-more`、`voice.mobile-nav` |
+| 语音工作区 | `voice.shell`、`voice.workspace`、`voice.header`、`voice.header-actions`、`voice.breadcrumbs`、`voice.performance`、`voice.performance.panel`、`voice.performance.route`、`voice.performance.metrics`、`voice.performance.status`、`voice.performance.webrtc-stats`、`voice.connection-status`、`voice.audio-status`、`voice.poke`、`voice.scroll`、`voice.content`、`voice.activity`、`voice.activity.artwork`、`voice.activity-heading`、`voice.screen-share-error`、`voice.members`、`voice.members.empty`、`voice.member`、`voice.member.avatar-wrap`、`voice.member.avatar`、`voice.member.mic-status`、`voice.member.name`、`voice.member.status`、`voice.member.live-indicator`、`voice.member.stop-share`、`voice.member.share-actions`、`voice.member-panel`、`voice.member-panel.heading`、`voice.member-panel.search`、`voice.member-panel.channels`、`voice.channel-group`、`voice.channel-group.heading`、`voice.channel-group.members`、`voice.member-row`、`voice.member-row.avatar`、`voice.member-row.copy`、`voice.member-row.flags`、`voice.member-row.volume`、`voice.whisper-strip`、`voice.audio-dock`、`voice.audio-dock.microphone`、`voice.audio-dock.microphone-panel`、`voice.audio-dock.output`、`voice.audio-dock.output-panel`、`voice.audio-settings`、`voice.audio-settings.device-select`、`voice.audio-settings.device-select-trigger`、`voice.audio-settings.device-select-chevron`、`voice.audio-settings.device-select-menu`、`voice.audio-settings.device-select-option`、`voice.mobile-more`、`voice.mobile-nav` |
| 快速服务器 | `voice.favorite-servers.rail`、`voice.favorite-servers.rail.list`、`voice.favorite-servers.rail.item`、`voice.favorite-servers.server`、`voice.favorite-servers.avatar`、`voice.favorite-servers.tooltip`、`voice.favorite-servers.favorite-toggle`、`voice.favorite-servers.add`、`voice.favorite-servers.strip`、`voice.favorite-servers.strip.item`、`voice.favorite-servers.strip.server`、`voice.favorite-servers.strip.favorite-toggle`、`voice.favorite-servers.strip.add`、`voice.favorite-servers.switch-status`、`voice.favorite-servers.current-toggle`、`voice.favorite-servers.dialog-backdrop`、`voice.favorite-servers.dialog`、`voice.favorite-servers.dialog.header`、`voice.favorite-servers.dialog.close`、`voice.favorite-servers.dialog.form`、`voice.favorite-servers.dialog.field`、`voice.favorite-servers.dialog.input`、`voice.favorite-servers.dialog.target`、`voice.favorite-servers.dialog.hint`、`voice.favorite-servers.dialog.actions`、`voice.favorite-servers.dialog.cancel`、`voice.favorite-servers.dialog.submit` |
| 聊天与菜单 | `voice.chat`、`voice.chat.tabs`、`voice.chat.tab`、`voice.chat.heading`、`voice.chat.messages`、`voice.chat.event`、`voice.chat.message`、`voice.chat.message-avatar`、`voice.chat.message-body`、`voice.chat.message-bubble`、`voice.chat.empty`、`voice.chat.composer`、`voice.chat.status`、`voice.context-menu-backdrop`、`voice.context-menu`、`voice.context-menu.header`、`voice.context-menu.move-submenu` |
| 屏幕共享 | `voice.screen-share-settings`、`voice.screen-share-settings.heading`、`voice.screen-share-settings.fields`、`voice.screen-share-settings.note`、`voice.screen-share-settings.actions`、`voice.screen-player`、`voice.screen-player.stage`、`voice.screen-player.video`、`voice.screen-player.placeholder`、`voice.screen-player.exit`、`voice.screen-player.viewers`、`voice.screen-player.viewer-avatar`、`voice.screen-player.live`、`voice.screen-player.source`、`voice.screen-player.controls`、`voice.screen-player.volume`、`voice.screen-player.fullscreen` |
diff --git a/docs/examples/KAAK-VOICE.md b/docs/examples/KAAK-VOICE.md
index 1e47758..0c80232 100644
--- a/docs/examples/KAAK-VOICE.md
+++ b/docs/examples/KAAK-VOICE.md
@@ -1,6 +1,6 @@
# KAAK voice skin
-KAAK is a schema v3 open-skin package with full connection and voice-workspace surfaces. Its desktop voice page follows KOOK's proportions: an 80px server rail, a 290px channel pane, a 40px top bar, a central participant stage, right-side chat attached to the current voice channel, and a lower-left voice dock. The server rail uses KOOK's rounded-square silhouette and left-edge active marker, with distinct colored monogram tiles as placeholders. WebSpeak currently exposes the saved server label but no server icon image, so these tiles do not copy KOOK's artwork or expose a connection address. The host provides a stable color-tone number derived only from the privacy-safe label, so a tile keeps its color when the saved list order changes. The KOOK voice room is the point-to-point visual reference: composition, member presentation, styling, and motion should be compared directly, rather than treating matching component types or approximate placement as sufficient. The left tree contains the TeamSpeak voice channels only; KOOK's separate text-channel group is outside this pass because TeamSpeak has no equivalent channel type. The current voice channel's text chat remains on the right. Closing it hides the entire panel, expands the participant stage, and leaves a reopen button in the stage heading; this happens without leaving the voice room. Its header uses the `#` channel mark and an unobtrusive close control; the composer sits at the bottom edge. Messages use author monograms, a separate identity/time line, and readable message text. The central stage uses WebSpeak's reusable member-card widget so available TeamSpeak profile avatars appear inside KAAK's participant tiles; the tiles use a wide 1.82:1 layout with a responsive grid to match KOOK's participant presentation. Member names stay hidden at rest while chat is open and appear on hover; they remain visible in a compact lower-left label while chat is collapsed. KAAK's CSS adds hover depth, a speaking ring, and a waveform pulse driven by live voice state. Paid screen sharing is outside this skin; its member cards and performance panel omit share actions and share-state details. The dock retains WebSpeak's trusted connection-quality, audio, and disconnect controls. Input/output volume buttons open hover or keyboard-focus panels with live numeric levels; sliders use a skin-colored progress track, a distinct thumb, and visible focus feedback. The audio settings dialog keeps the host's device-change handlers while KAAK styles the selectors' idle, hover, focus, and disabled states. The performance card opens with a short entrance motion and readable network/audio metrics. This pass did not change a real device, volume, or microphone state. The roster shows connected TeamSpeak clients only; it does not invent an offline list. Channel selection is single-click; joining is double-click. The narrow layout keeps the host's mobile controls available while retaining readable member tiles.
+KAAK is a schema v3 open-skin package with full connection and voice-workspace surfaces. Its desktop voice page follows KOOK's proportions: an 80px server rail, a 290px channel pane, a 40px top bar, a central participant stage, right-side chat attached to the current voice channel, and a lower-left voice dock. The server rail uses KOOK's rounded-square silhouette and left-edge active marker, with distinct colored monogram tiles as placeholders. WebSpeak currently exposes the saved server label but no server icon image, so these tiles do not copy KOOK's artwork or expose a connection address. The host provides a stable color-tone number derived only from the privacy-safe label, so a tile keeps its color when the saved list order changes. The KOOK voice room is the point-to-point visual reference: composition, member presentation, styling, and motion should be compared directly, rather than treating matching component types or approximate placement as sufficient. The left tree contains the TeamSpeak voice channels only; KOOK's separate text-channel group is outside this pass because TeamSpeak has no equivalent channel type. The current voice channel's text chat remains on the right. Closing it hides the entire panel, expands the participant stage, and leaves a reopen button in the stage heading; this happens without leaving the voice room. Its header uses the `#` channel mark and an unobtrusive close control; the composer sits at the bottom edge. Messages use author monograms, a separate identity/time line, and readable message text. The central stage uses WebSpeak's reusable member-card widget so available TeamSpeak profile avatars appear inside KAAK's participant tiles; the tiles use a wide 1.82:1 layout with a responsive grid to match KOOK's participant presentation. Member names stay hidden at rest while chat is open and appear on hover; they remain visible in a compact lower-left label while chat is collapsed. KAAK's CSS adds hover depth, a speaking ring, and a waveform pulse driven by live voice state. Paid screen sharing is outside this skin; its member cards and performance panel omit share actions and share-state details. The dock retains WebSpeak's trusted connection-quality, audio, and disconnect controls. Input/output volume buttons open hover or keyboard-focus panels with live numeric levels; sliders use a skin-colored progress track, a distinct thumb, and visible focus feedback. Audio input and output devices use a reusable keyboard-accessible picker with a scrollable option list, selected/highlighted states, and an animated chevron; KAAK styles the trigger and open list. Audio typography follows KOOK's PingFang SC-first font stack and observed 14px field labels. The performance card opens with a short entrance motion and readable network/audio metrics. No real device, volume, or microphone state is changed during visual checks. The roster shows connected TeamSpeak clients only; it does not invent an offline list. Channel selection is single-click; joining is double-click. The narrow layout keeps the host's mobile controls available while retaining readable member tiles.
The single TeamSpeak voice-channel group in the left tree can collapse and expand like KOOK's voice group; the separate KOOK text-channel group remains outside this pass. A first click selects a channel and reveals a brief “双击加入” hint; the hint disappears on the active room. The current voice-room heading keeps the channel name and live member count visible above the participant stage while the attached chat is expanded, matching KOOK's room view.
diff --git a/docs/examples/kaak-voice.wskin b/docs/examples/kaak-voice.wskin
index 3e01a77..b27e4fe 100644
Binary files a/docs/examples/kaak-voice.wskin and b/docs/examples/kaak-voice.wskin differ
diff --git a/docs/examples/kaak-voice/manifest.json b/docs/examples/kaak-voice/manifest.json
index 21a2b8e..73d01c6 100644
--- a/docs/examples/kaak-voice/manifest.json
+++ b/docs/examples/kaak-voice/manifest.json
@@ -3,7 +3,7 @@
"packageType": "open-skin",
"id": "community.kaak-voice",
"name": "KAAK",
- "version": "3.1.30",
+ "version": "3.1.31",
"author": "WebSpeak Project",
"license": "AGPL-3.0-only",
"description": "A KOOK-inspired voice workspace with collapsible voice groups and current voice-channel chat, TeamSpeak profile cards, and animated speaker states.",
diff --git a/docs/examples/kaak-voice/skin.css b/docs/examples/kaak-voice/skin.css
index 6532219..6f65ea8 100644
--- a/docs/examples/kaak-voice/skin.css
+++ b/docs/examples/kaak-voice/skin.css
@@ -12,6 +12,7 @@
--skin-kaak-accent: #58c877;
--skin-kaak-danger: #e36b6b;
--skin-kaak-radius: 9px;
+ --skin-kaak-font: "PingFang SC", "Microsoft YaHei New", 微软雅黑, "Microsoft Yahei", "Microsoft JhengHei", 宋体, SimSun, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
[data-ws-plugin-part="kaak-home"] {
@@ -127,7 +128,7 @@
overflow: hidden;
color: var(--skin-kaak-text);
background: var(--skin-kaak-bg);
- font-family: Inter, "Segoe UI", system-ui, sans-serif;
+ font-family: var(--skin-kaak-font);
transition: grid-template-columns .24s cubic-bezier(.2, .75, .25, 1), grid-template-rows .24s cubic-bezier(.2, .75, .25, 1);
}
@@ -1573,7 +1574,7 @@
border: 1px solid #3b3c42;
border-radius: 14px;
box-shadow: 0 22px 60px #000b;
- font-family: Inter, "Segoe UI", system-ui, sans-serif;
+ font-family: var(--skin-kaak-font);
}
.modal-backdrop:has([data-ws-part="voice.audio-settings"]) {
@@ -1594,7 +1595,7 @@
[data-ws-part="voice.audio-settings"] .settings-header h2 {
color: #f2f3f5;
- font-size: 24px;
+ font-size: 32px;
letter-spacing: -.025em;
}
@@ -1612,7 +1613,7 @@
[data-ws-part="voice.audio-settings"] .settings-section h3 {
color: #eceef0;
- font-size: 16px;
+ font-size: 14px;
}
[data-ws-part="voice.audio-settings"] .settings-section h3 .ui-icon {
@@ -1623,7 +1624,7 @@
[data-ws-part="voice.audio-settings"] .settings-range-row strong,
[data-ws-part="voice.audio-settings"] .settings-error {
color: #aeb0b7;
- font-size: 13px;
+ font-size: 14px;
}
[data-ws-part="voice.audio-settings"] .settings-hint,
@@ -1637,25 +1638,21 @@
}
[data-ws-part="voice.audio-settings"] .settings-select {
- min-height: 42px;
+ display: flex;
+ min-height: 40px;
color: #e9eaed;
appearance: none;
- padding-right: 42px;
- background:
- linear-gradient(45deg, transparent 50%, #aeb0b7 50%) calc(100% - 17px) 50% / 6px 6px no-repeat,
- linear-gradient(135deg, #aeb0b7 50%, transparent 50%) calc(100% - 13px) 50% / 6px 6px no-repeat,
- #2a2b31;
+ padding: 0 12px;
+ background: #2a2b31;
border: 1px solid #414249;
border-radius: 9px;
+ font-family: var(--skin-kaak-font);
font-size: 14px;
transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
[data-ws-part="voice.audio-settings"] .settings-select:hover:not(:disabled) {
- background:
- linear-gradient(45deg, transparent 50%, #aeb0b7 50%) calc(100% - 17px) 50% / 6px 6px no-repeat,
- linear-gradient(135deg, #aeb0b7 50%, transparent 50%) calc(100% - 13px) 50% / 6px 6px no-repeat,
- #303137;
+ background: #303137;
border-color: #595a62;
}
@@ -1664,14 +1661,29 @@
box-shadow: 0 0 0 3px #58c87730;
}
-[data-ws-part="voice.audio-settings"] .settings-select option {
- color: #e9eaed;
- background: #2a2b31;
-}
-
[data-ws-part="voice.audio-settings"] .settings-select:active:not(:disabled) { border-color: #70d48a; }
[data-ws-part="voice.audio-settings"] .settings-select:disabled { cursor: not-allowed; opacity: .55; }
-[data-ws-part="voice.audio-settings"] .settings-select option:checked { color: #e9eaed; background: #303b34; }
+[data-ws-part="voice.audio-settings"] .settings-select-chevron { color: #aeb0b7; }
+[data-ws-part="voice.audio-settings"] .settings-select[aria-expanded="true"] .settings-select-chevron { color: #80df98; }
+[data-ws-part="voice.audio-settings"] .settings-select-menu {
+ padding: 4px 0;
+ color: #e9eaed;
+ border-color: #45464d;
+ border-radius: 7px;
+ background: #35373d;
+ box-shadow: 0 12px 28px #000a;
+}
+[data-ws-part="voice.audio-settings"] .settings-select-option {
+ min-height: 32px;
+ padding-inline: 12px;
+ color: #e5e6e9;
+ font-size: 14px;
+}
+[data-ws-part="voice.audio-settings"] .settings-select-option:hover,
+[data-ws-part="voice.audio-settings"] .settings-select-option.active,
+[data-ws-part="voice.audio-settings"] .settings-select-option[aria-selected="true"] {
+ background: #ffffff1a;
+}
[data-ws-part="voice.audio-settings"] .microphone-control,
[data-ws-part="voice.audio-settings"] .audio-diagnostic,
@@ -1773,6 +1785,9 @@
@media (prefers-reduced-motion: reduce) {
[data-ws-plugin-part="kaak-workspace.channel-join-hint"] { animation: none; }
[data-ws-plugin-part="kaak-workspace.performance-panel"] .performance-panel { animation: none; }
+ [data-ws-part="voice.audio-settings"] .settings-select-chevron,
+ [data-ws-part="voice.audio-settings"] .settings-select-menu-enter-active,
+ [data-ws-part="voice.audio-settings"] .settings-select-menu-leave-active { transition: none; }
[data-ws-plugin-part="kaak-workspace"] .dock-slider::-webkit-slider-thumb,
[data-ws-plugin-part="kaak-workspace"] .dock-slider::-moz-range-thumb,
[data-ws-part="voice.audio-settings"] .settings-range::-webkit-slider-thumb,
diff --git a/web/public/skins/kaak-voice.wskin b/web/public/skins/kaak-voice.wskin
index 3e01a77..b27e4fe 100644
Binary files a/web/public/skins/kaak-voice.wskin and b/web/public/skins/kaak-voice.wskin differ
diff --git a/web/src/components/web-client/AudioDeviceSelect.vue b/web/src/components/web-client/AudioDeviceSelect.vue
new file mode 100644
index 0000000..044ae36
--- /dev/null
+++ b/web/src/components/web-client/AudioDeviceSelect.vue
@@ -0,0 +1,223 @@
+
+
{{ localizedMessage(audioSettingsError) }}
{{ t("outputDevice") }}