feat(kaak): add trusted server switcher and channel tree

This commit is contained in:
illusia committed 2026-10-11 18:37:13 +08:00
1 parent 17fb27b89a
commit b13bdf1eb2
24 files changed
+733 -514

No files matched your search

+10 -1
View File
@@ -12,7 +12,7 @@
## 当前检查点(2026-10-11)
- KAAK 当前源码版本为 3.1.59;控制坞按用户 HTML 原型的尺寸与分隔线细化,顶排仅分享和伴奏,底排为语音感应/设置入口、降噪、麦克风、扬声器。原型中的 REC 没有对应录音能力,因此不添加录制入口。3.1.55 的横向单行方案已被用户明确否决,不再沿用;3.1.53 已移除皮肤布局运行时对宿主控件强加的 44px 尺寸。
- KAAK 当前源码版本为 3.1.65;最近新增真实服务器名与收藏/历史快速切换入口,并以宿主频道树呈现嵌套语音频道、频道成员头像和状态。服务器显示名过滤像地址的内容;快速切换不向皮肤暴露连接目标。控制坞按用户 HTML 原型细化:顶排分享和伴奏,底排语音感应/设置、降噪、麦克风、扬声器。原型中的 REC 没有对应录音能力,因此不添加录制入口。3.1.55 的横向单行方案已被用户明确否决,不再沿用;3.1.53 已移除皮肤布局运行时对宿主控件强加的 44px 尺寸。
- 语音布局、成员卡、频道/聊天收起、音量反馈、性能卡片、设备下拉交互和字体层级均已有对应实现;音频设置标签为 KOOK 已记录的 14px/400,表单卡与字段行按实测宽度/行高调整。
- 直接观察记录覆盖语音侧栏/频道树、成员卡与悬停姓名、当前语音频道聊天开合、语音坞、音频设置字体及设备列表尺寸和状态。独立文字频道不复刻;KOOK 的付费分享呈现不复刻,WebSpeak 自带屏幕分享入口和播放器保留。
- 设备选择菜单已按皮肤实际高度限位;KAAK 音频滑杆、性能反馈、字体和成员卡交互均有对应实现。此前完整验证为 666/666;本轮完整验证为 670/670,服务端 TypeScript 构建和前端类型检查/生产构建通过。用户已明确 KOOK 音乐语音频道附带聊天默认收起、普通语音频道默认展开。TeamSpeak `ChannelInfo` 与皮肤上下文没有音乐类别字段;当前实现按频道分别记住聊天开合,尚不能判断从未设置过的频道是否为音乐频道。
@@ -450,3 +450,12 @@
- 修改内容与范围:将 KAAK 性能组件的堆叠层级从 24 降至 8,使它继续浮在普通内容上方,同时低于音量控件的 20 层悬浮面板;只调整皮肤层级,不改通用弹窗或性能组件。
- 文档与分发包:KAAK 升至 3.1.62,更新层级断言并重建示例与内置 `.wskin`。
- 验证与推送:皮肤包构建、皮肤包/目录定向测试 23/23 通过,`git diff --check` 通过;已完成层级差异断言。已基于远端 `dev` 安全移植并推送至提交 `a1051b9`,未重写历史。
## 本轮修改节点(2026-10-11,KAAK 3.1.65 服务器切换和嵌套频道树)
- 目标:让左侧频道列展示 TeamSpeak 实际服务器身份、收藏/历史服务器切换入口和真实嵌套语音频道成员;不添加独立文字频道组,不改语音坞或聊天布局。
- 修改内容与范围:将服务器名和连接状态加入安全会话投影;过滤像 IP、域名或连接目标的显示名。新增通用 `voice.server-switcher` 宿主组件,使用本机不透明标识调用原有连接流程;新增 `voice.channel-tree` 宿主组件,按 TeamSpeak 深度构建层级、展示频道人数/上限、成员头像和静音/说话/离开状态,并支持展开、选择及双击加入。头像仅在可信宿主组件内使用;公共部件注册和触控尺寸一并更新。
- 文档与分发包:KAAK 升至 3.1.65;更新开放皮肤宿主控件权限、部件名及 KAAK 示例说明,重建示例包和内置 `.wskin`。
- 验证:`npm run skin:kaak:build` 通过;`npm run verify` 通过(679/679 测试、服务端 TypeScript 构建、前端类型检查和 Vite 生产构建)。自动验证不替代连接真实频道后的视觉验收,本节点未做实际设备、语音或频道切换操作。
- 影响文件:通用皮肤插件白名单/安全投影、WebClient 组件挂载、新增频道树与服务器菜单、KAAK 组件树/样式/版本目录/包、部件和权限测试及文档。
- 当前状态:实现与自动验证完成;浏览器中的实时语音视觉复核尚待用户从使用者视角确认。
+5
View File
@@ -152,6 +152,8 @@ components.json 顶层接受 schemaVersion 1、2 或 3 和 components 数组。s
当前可选宿主控件 ID:`home.connection-form`、`app.skin-switcher`、`app.language-switcher`、`voice.channel-panel`、`voice.member-cards`、`voice.chat-panel`、`voice.audio-controls`、`voice.screen-share-player`、`voice.screen-share-start`、`voice.whisper-controls`、`voice.performance-panel`、`voice.connection-controls`、`voice.disconnect-control`。未知控件和同页重复控件会被拒绝;每个控件的状态和业务动作仍由 WebSpeak 内部处理。schema v3 会检查受保护控件所需权限:音频控件需 `audio.status.read`、`audio.microphone.control` 和 `audio.output.control`;聊天需 `chat.channel.read` 与 `chat.channel.send`;成员卡片始终需 `session.members.read` 和 `session.memberAvatars.read`;schema v3 可为成员卡片设置 `options.memberActions: true`,在非本人卡片上显示可信宿主成员操作入口(包含现有个人音量控件);该入口由用户点击触发,不向皮肤代码暴露音量值或新增音频接口;成员卡片或性能卡片可设置 `options.screenShare: false`,同时隐藏共享 UI/指标并免除成员卡片所需的屏幕共享权限;默认成员共享操作仍需屏幕共享读取/控制权限;头像只在可信宿主控件内显示,不暴露给皮肤代码;屏幕共享播放器需 `voice.screenShare.read` 与 `voice.screenShare.control`;悄悄话控件需对应状态读取和控制权限;断开/连接控件需 `voice.disconnect`。既有 v2 包维持旧校验行为,`voice.screen-share-start` 仍像此前一样要求 `voice.screenShare.control`。该控件仅能放在语音页;宿主按钮在可信点击处理器内直接启动屏幕采集,避免异步 Wasm 回调丢失浏览器瞬时用户激活。自定义 UI 可以完全用普通声明式节点搭建,不需要采用这些控件。只显示收藏时可用 `favorites.items` 和 `favorites.switch`;若要将收藏与最近连接放在同一自定义栏,可用 `servers.quickList` 数据与 `quickServers.switch` 动作。服务器目标始终使用本机生成的不透明令牌,不把地址、密码或身份材料交给组件。频道行也可把 `voice.joinChannel` 绑定到双击事件,切房继续走 TeamSpeak 原有权限和密码流程。v3 还提供经独立权限保护的麦克风/扬声器、输出音量、离开状态、悄悄话、断开连接和屏幕共享动作;它们只调用 WebSpeak 已有操作,屏幕采集仍由浏览器或操作系统询问用户。
新增的可信语音导航控件为 `voice.channel-tree` 和 `voice.server-switcher`。频道树要求 `session.channels.read`、`session.members.read`、`session.memberAvatars.read` 与 `session.channel.join`;头像只由宿主读取并在频道树中绘制。服务器切换器要求 `servers.quickList.read` 与 `servers.quickList.switch`,只接收不透明本地标识,点击后复用 WebSpeak 当前连接流程。语音状态投影中的 `serverLabel` 会在看起来像 IP、域名或连接目标时省略,避免把地址显示为服务器名称。
示例包见 [KAAK voice 示例](./examples/KAAK-VOICE.md),其 components.json 使用完整首页与语音工作区 surface,展示收藏服务器、频道树、在线成员、聊天和可信语音控制的组合;[Open Voice Surface](./examples/OPEN-VOICE-SURFACE.md) 保留为通用格式验证脚手架。KAAK 的语音视觉参考来自用户授权进入的前两个语音房间;只记录布局,不保留服务器/房间标识、成员名或聊天内容。当前数据权限和宿主动作以[开放皮肤规格](./OPEN_SKIN_SYSTEM_SPEC.zh-CN.md)中的清单为准。组件按本地用户授权后才渲染;权限对每个皮肤版本、页面和组件分别保存,可在宿主权限入口撤销。页面替换时,宿主会额外显示“返回标准界面”和“恢复内置皮肤”入口;拒绝授权或离开 surface 后,普通页面可立即恢复。
组件树有硬上限:components.json 256 KiB。schema v1/v2 上限为 32 个组件、每组件 256 个模板节点、16 层深度和 100 条重复记录;schema v3 上限为 128 个组件、每组件 2048 个模板节点、32 层深度和 250 个重复行,并允许 64 个本地标量状态与 64 个动作。Wasm 动态 UI 输出的 schema v4/v5/v6 有 256 KiB 总输出上限、最多 64 个组件、每个节点最多 64 个属性和 256 个子节点,并沿用每组件节点/深度限制;渲染器接受标准 HTML/SVG 元素及普通属性,而不是由元素/属性展示白名单限制。脚本、嵌入式浏览器、网络/导航属性、事件属性和行内 style 仍拒绝;样式通过经过隔离校验的插件 CSS 提供。包内图片通过专用资源字段引用,自定义元素映射为惰性 `div`。宿主只通过 `isTrusted` 用户事件发出剥离 DOM/Event 对象后的 `extension-event`,Wasm 侧只能经 `env.ui_input_read` 一次读取最多 64 KiB 的 JSON,包含插件本地状态、安全事件和宿主按插件读取权限投影的数据。每份数据投影最多 48 KiB,只含公开字段;地址、凭据、SDK 对象和未声明字段不会进入 guest。输入字段限长;生成界面中的 password/file/hidden 类型输入会拒绝。UI 循环已经接入 WebClient 授权生命周期,可把可信事件或最新数据快照作为下一次独立 Wasm 调用输入,最多串行排队 8 项并验证回调/状态归属;动作桥复核清单权限和会话状态。单个页面实例最多并发运行 2 个 Wasm worker,并限制最多排队 64 项。
@@ -265,6 +267,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.action-trigger`、`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` |
| KOOK 频道树与服务器切换 | `voice.server-switcher`、`voice.server-switcher.trigger`、`voice.server-switcher.menu`、`voice.server-switcher.item`、`voice.server-switcher.icon`、`voice.server-switcher.label`、`voice.server-switcher.current`、`voice.server-switcher.empty`、`voice.channel-tree.list`、`voice.channel-tree.empty`、`voice.channel-tree.node`、`voice.channel-tree.line`、`voice.channel-tree.expander`、`voice.channel-tree.row`、`voice.channel-tree.icon`、`voice.channel-tree.join-hint`、`voice.channel-tree.name`、`voice.channel-tree.count`、`voice.channel-tree.branch`、`voice.channel-tree.member`、`voice.channel-tree.avatar`、`voice.channel-tree.member-name`、`voice.channel-tree.member-muted`、`voice.channel-tree.member-speaking`、`voice.channel-tree.member-away` |
| 快速服务器 | `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` |
@@ -272,6 +275,8 @@ widget 的可选 `mount` 只接受这些公开锚点:`home.header.after`、`ho
`voice.member.avatar` 是语音活动区头像;`voice.member.mic-status` 在成员麦克风静音时显示,状态值为 `muted`;`voice.member.action-trigger` 是打开宿主成员操作菜单的按钮,由成员卡片小组件的 `options.memberActions` 控制;`voice.member-row.avatar` 是右侧成员树头像。语音成员列表的动态项提供 `.ws-voice-member-enter-active`、`.ws-voice-member-leave-active`、`.ws-voice-member-enter-from`、`.ws-voice-member-leave-to` 和 `.ws-voice-member-move` 动效钩子,可分别设置加入、离开和排序变化的过渡。状态属性还会使用 `current`、`drag-over`、`dragging`、`self`、`events-empty` 和 `messages-empty`。当前根节点以及屏幕共享播放器、弹窗、菜单都属于同一皮肤作用域。
`voice.channel-tree` 和 `voice.server-switcher` 是 WebSpeak 可信宿主控件。频道树按 TeamSpeak 返回的层级展示语音频道与成员;展开按钮只改变本地显示,双击频道或聚焦后按 Enter 才加入频道。成员头像和语音状态只在宿主渲染的频道树中出现,不会传给皮肤插件。服务器切换菜单只列出本机收藏和最近连接,可用不透明本地标识触发既有连接流程;地址、密码和身份材料不会传给皮肤组件。
首页快速连接和语音工作区的服务器栏共用同一列表:收藏项排在前面,最近连接补在后面;地址相同的收藏与历史只显示一项。每项的星标按钮可在两个位置收藏或取消收藏,取消收藏后若该服务器仍在最近连接中,它会留在列表的最近连接位置。皮肤可通过 `data-ws-state="favorite|recent"` 区分首页条目,通过 `data-ws-server-kind="favorite|recent"` 区分语音栏条目。
首页身份选项支持导入 TeamSpeak `.ini` 或身份字段,并可导出为 TeamSpeak `.ini`;导入弹窗解析身份的过程在浏览器本地完成。自定义皮肤可以分别调整身份操作按钮、粘贴区、拖放区域、安全提示和弹窗按钮,但不得隐藏或弱化权限继承与私钥安全提示。
+2
View File
@@ -28,6 +28,8 @@ The owner authorized inspection of the first two voice rooms in the KOOK server.
The connection page and voice workspace are full-page declarative surfaces in [components.json](./kaak-voice/components.json). The voice surface requests only the capabilities it uses: visible server shortcuts, channel and member data, cached profile-avatar display inside the trusted member-card widget, channel joining, channel chat, voice status, microphone/output controls, whisper controls, and disconnect. KAAK explicitly disables the share UI and does not request its member-card permissions. The host renders trusted connection, language, skin, and audio controls. It rechecks permissions and connection state when each action runs; approval is local to this skin version and can be revoked from the host access control.
The server header uses the live, privacy-filtered TeamSpeak server label and a trusted `voice.server-switcher` menu backed by favorites and recent connections. Its click handler reuses WebSpeak's existing connection flow with an opaque local ID; addresses and credentials never enter skin data. The left panel uses the trusted `voice.channel-tree` widget to retain TeamSpeak channel nesting, member counts and capacity, available avatars, and mute/speaking/away states. Expanding a branch is local UI state, a single click selects a channel, and double-click joins it. The skin does not add KOOK's separate text-channel list.
On desktop, right-clicking another member card opens the same host-owned member actions menu as the card's accessible action button. Keyboard activation remains anchored to the button, and touch layouts keep the action button available.
Member cards are rendered by WebSpeak's trusted `voice.member-cards` widget. It displays an already available TeamSpeak profile avatar, or the host-generated nickname initial when no avatar is available; image bytes stay in the host and are not exposed in the skin's data context or Wasm runtime. The skin does not receive server addresses, passwords, identity keys, raw audio, private messages, or arbitrary network/storage APIs. Its markup is data-only; it contains no executable JavaScript or Wasm. The `/demo` page uses synthetic data and does not connect to TeamSpeak.
Binary file not shown.
+73 -213
View File
@@ -131,19 +131,6 @@
"quickServerId": "{{server.id}}"
}
},
"select-channel": {
"type": "ui.setState",
"args": {
"key": "selectedchannel",
"value": "{{channel.id}}"
}
},
"join-channel": {
"type": "voice.joinChannel",
"args": {
"channelId": "{{channel.id}}"
}
},
"send-message": {
"type": "chat.sendMessage",
"args": {
@@ -184,7 +171,6 @@
}
},
"state": {
"selectedchannel": "",
"message": "",
"chatopen": true,
"voicegroupopen": true
@@ -338,20 +324,82 @@
"part": "server-summary",
"children": [
{
"tag": "strong",
"part": "server-name",
"tag": "div",
"part": "server-summary-heading",
"children": [
{
"text": "{{session.status.serverLabel}}"
"tag": "strong",
"part": "server-name",
"children": [
{
"text": "{{session.status.serverLabel}}"
}
]
},
{
"widget": "voice.server-switcher",
"part": "server-switcher"
}
]
},
{
"tag": "small",
"part": "server-subtitle",
{
"tag": "div",
"part": "server-connection-state",
"children": [
{
"text": "VOICE CHANNELS / 语音频道"
"tag": "span",
"part": "server-connection-dot",
"when": {
"path": "session.status.connectionState",
"equals": "connected"
},
"attributes": {
"aria-hidden": true
},
"children": [
{
"text": "●"
}
]
},
{
"tag": "small",
"part": "server-subtitle",
"when": {
"path": "session.status.connectionState",
"equals": "connected"
},
"children": [
{
"text": "已连接 · {{session.status.userName}}"
}
]
},
{
"tag": "small",
"part": "server-subtitle",
"when": {
"path": "session.status.connectionState",
"equals": "connecting"
},
"children": [
{
"text": "正在连接 / Connecting"
}
]
},
{
"tag": "small",
"part": "server-subtitle",
"when": {
"path": "session.status.connectionState",
"equals": "disconnected"
},
"children": [
{
"text": "未连接 / Disconnected"
}
]
}
]
}
@@ -399,205 +447,17 @@
}
]
},
{
{
"tag": "div",
"part": "voice-channel-list",
"children": [
"children": [
{
"tag": "div",
"part": "voice-channel-items",
"children": [
{
"tag": "div",
"part": "channel-item",
"repeat": {
"path": "session.channels",
"as": "channel"
},
"children": [
{
"tag": "button",
"part": "channel-row",
"attributes": {
"type": "button",
"aria-current": "{{channel.current}}",
"aria-label": "双击加入 {{channel.name}}",
"data-depth": "{{channel.depth}}"
},
"events": {
"click": "select-channel",
"dblclick": "join-channel"
},
"children": [
{
"tag": "span",
"part": "channel-glyph",
"children": [
{
"text": "◉"
}
]
},
{
"tag": "span",
"part": "channel-name",
"children": [
{
"text": "{{channel.name}}"
}
]
},
{
"tag": "small",
"part": "channel-join-hint",
"when": {
"path": "state.selectedchannel",
"equals": "{{channel.id}}"
},
"children": [
{
"text": "双击加入"
}
]
},
{
"tag": "small",
"part": "channel-count",
"children": [
{
"text": "{{channel.memberCountLabel}}"
},
{
"tag": "span",
"part": "channel-capacity",
"when": {
"path": "channel.maxClientsLimited",
"equals": true
},
"children": [
{
"text": "/{{channel.maxClients}}"
}
]
}
]
},
{
"tag": "span",
"part": "selected-channel-indicator",
"when": {
"path": "state.selectedchannel",
"equals": "{{channel.id}}"
},
"attributes": {
"aria-label": "当前频道"
}
}
]
},
{
"tag": "ul",
"part": "channel-voice-members",
"when": {
"path": "channel.members",
"empty": false
},
"attributes": {
"aria-label": "此频道中的语音成员 / Voice members in this channel"
},
"children": [
{
"tag": "li",
"part": "channel-voice-member",
"repeat": {
"path": "channel.members",
"as": "voicemember"
},
"children": [
{
"tag": "span",
"part": "channel-member-avatar",
"children": [
{
"text": "{{voicemember.avatarInitial}}"
}
]
},
{
"tag": "span",
"part": "channel-member-name",
"children": [
{
"text": "{{voicemember.name}}"
}
]
},
{
"tag": "span",
"part": "channel-member-muted",
"when": {
"path": "voicemember.status",
"equals": "muted"
},
"attributes": {
"aria-label": "麦克风已静音"
},
"children": [
{
"text": "已静音"
}
]
},
{
"tag": "span",
"part": "channel-member-away",
"when": {
"path": "voicemember.status",
"equals": "away"
},
"attributes": {
"aria-label": "离开"
},
"children": [
{
"text": "离开中"
}
]
},
{
"tag": "span",
"part": "channel-member-state",
"when": {
"path": "voicemember.self",
"equals": true
},
"children": [
{
"text": "你"
}
]
},
{
"tag": "span",
"part": "channel-member-state",
"when": {
"path": "voicemember.speaking",
"equals": true
},
"attributes": {
"aria-label": "正在讲话"
},
"children": [
{
"text": "●"
}
]
}
]
}
]
}
]
"widget": "voice.channel-tree",
"part": "voice-channel-tree"
}
]
}
+2 -2
View File
@@ -3,10 +3,10 @@
"packageType": "open-skin",
"id": "community.kaak-voice",
"name": "KAAK",
"version": "3.1.64",
"version": "3.1.65",
"author": "WebSpeak Project",
"license": "AGPL-3.0-only",
"description": "A KOOK-inspired voice workspace with collapsible voice groups, channel chat, TeamSpeak profile cards, accessible member controls, and WebSpeak screen sharing.",
"description": "A KOOK-inspired voice workspace with a live server header, quick server switching, a nested channel tree with member avatars, attached channel chat, and WebSpeak voice controls.",
"entry": "skin.css",
"components": "components.json",
"content": "content.json",
+79 -228
View File
@@ -387,31 +387,51 @@
}
[data-ws-plugin-part="kaak-workspace.server-summary"] {
position: relative;
z-index: 12;
display: flex;
flex-direction: column;
gap: 4px;
min-height: 49px;
padding: 3px 9px 13px;
gap: 7px;
min-height: 58px;
padding: 4px 8px 12px;
border-bottom: 1px solid #ffffff0b;
}
[data-ws-plugin-part="kaak-workspace.server-summary-heading"] {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
min-width: 0;
}
[data-ws-plugin-part="kaak-workspace.server-name"] {
min-width: 0;
overflow: hidden;
color: #e6eaf0;
font-size: 16px;
font-weight: 700;
line-height: 24px;
line-height: 22px;
text-overflow: ellipsis;
white-space: nowrap;
}
[data-ws-plugin-part="kaak-workspace.server-subtitle"] {
color: var(--skin-kaak-dim);
font-size: 10px;
font-weight: 800;
letter-spacing: .08em;
}
[data-ws-plugin-part="kaak-workspace.server-connection-state"] { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 14px; }
[data-ws-plugin-part="kaak-workspace.server-connection-dot"] { color: var(--skin-kaak-accent); font-size: 9px; line-height: 1; }
[data-ws-plugin-part="kaak-workspace.server-subtitle"] { color: var(--skin-kaak-dim); font-size: 10px; font-weight: 500; letter-spacing: normal; line-height: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-ws-plugin-part="kaak-workspace.server-switcher"] { position: relative; flex: 0 0 auto; z-index: 14; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-trigger{ display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 7px; color: var(--skin-kaak-muted); background: transparent; cursor: pointer; transition: color .14s ease, background-color .14s ease; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-trigger:hover, [data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-trigger[aria-expanded="true"]{ color: var(--skin-kaak-text); background: #ffffff0c; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-trigger:focus-visible{ outline: 2px solid var(--skin-kaak-accent); outline-offset: 2px; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-menu{ position: absolute; top: calc(100% + 7px); right: 0; z-index: 20; display: grid; gap: 3px; width: min(250px, calc(100vw - 40px)); max-height: min(340px, calc(100dvh - 120px)); overflow: auto; padding: 6px; border: 1px solid var(--skin-kaak-border); border-radius: 10px; background: #25262b; box-shadow: 0 12px 32px #0008; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-item{ display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 44px; padding: 5px 8px; border: 0; border-radius: 7px; color: var(--skin-kaak-text); background: transparent; text-align: left; cursor: pointer; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-item:hover:not(:disabled), [data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-item:focus-visible{ background: #ffffff0b; outline: none; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-item:disabled{ opacity: 1; cursor: default; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-icon{ display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; overflow: hidden; border-radius: 8px; color: var(--skin-kaak-text); background: #36383e; font-size: 12px; font-weight: 700; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-icon img{ width: 100%; height: 100%; object-fit: cover; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-label{ min-width: 0; flex: 1; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-current{ color: var(--skin-kaak-accent); }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-server-switcher-empty{ margin: 2px 4px 4px; color: var(--skin-kaak-dim); font-size: 10px; line-height: 1.5; }
[data-ws-plugin-part="kaak-workspace.voice-channel-group-toggle"] {
display: flex;
align-items: center;
@@ -480,167 +500,33 @@
transition: grid-template-rows .18s ease, opacity .14s ease, transform .18s ease, visibility 0s linear .18s;
}
[data-ws-plugin-part="kaak-workspace.voice-channel-items"] {
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
overflow: hidden;
}
[data-ws-plugin-part="kaak-workspace.channel-row"] {
position: relative;
display: flex;
align-items: center;
gap: 9px;
width: 100%;
min-height: 38px;
padding: 6px 9px;
border: 0;
border-radius: 6px;
color: var(--skin-kaak-muted);
background: transparent;
text-align: left;
cursor: pointer;
}
[data-ws-plugin-part="kaak-workspace.selected-channel-indicator"] {
position: absolute;
inset: 0;
border: 1px solid var(--skin-kaak-accent);
border-radius: inherit;
pointer-events: none;
}
[data-ws-plugin-part="kaak-workspace.channel-row"]:hover,
[data-ws-plugin-part="kaak-workspace.channel-row"][aria-current="true"] {
color: var(--skin-kaak-text);
background: var(--skin-kaak-raised);
}
[data-ws-plugin-part="kaak-workspace.channel-row"][aria-current="true"] {
box-shadow: inset 2px 0 var(--skin-kaak-accent);
}
[data-ws-plugin-part="kaak-workspace.channel-row"][data-depth="1"] { padding-inline-start: 19px; }
[data-ws-plugin-part="kaak-workspace.channel-row"][data-depth="2"] { padding-inline-start: 29px; }
[data-ws-plugin-part="kaak-workspace.channel-row"][data-depth="3"] { padding-inline-start: 39px; }
[data-ws-plugin-part="kaak-workspace.channel-row"][data-depth="4"] { padding-inline-start: 49px; }
[data-ws-plugin-part="kaak-workspace.channel-row"][data-depth="5"] { padding-inline-start: 59px; }
[data-ws-plugin-part="kaak-workspace.channel-row"][data-depth="6"] { padding-inline-start: 69px; }
[data-ws-plugin-part="kaak-workspace.channel-row"][data-depth="7"] { padding-inline-start: 79px; }
[data-ws-plugin-part="kaak-workspace.channel-row"][data-depth="8"] { padding-inline-start: 89px; }
[data-ws-plugin-part="kaak-workspace.channel-glyph"] {
display: grid;
place-items: center;
width: 18px;
color: var(--skin-kaak-dim);
font-size: 13px;
}
[data-ws-plugin-part="kaak-workspace.channel-name"] {
min-width: 0;
flex: 1;
overflow: hidden;
color: #e6eaf0;
font-size: 14px;
font-weight: 700;
line-height: 24px;
text-overflow: ellipsis;
white-space: nowrap;
}
[data-ws-plugin-part="kaak-workspace.channel-join-hint"] {
flex: 0 0 auto;
padding: 3px 5px;
border-radius: 4px;
color: #8cdda0;
background: #6cbf0018;
font-size: 9px;
line-height: 1;
white-space: nowrap;
animation: kaak-channel-join-hint .14s ease both;
}
[data-ws-plugin-part="kaak-workspace.channel-row"][aria-current="true"] [data-ws-plugin-part="kaak-workspace.channel-join-hint"] { display: none; }
@keyframes kaak-channel-join-hint {
from { opacity: 0; transform: translateY(2px); }
to { opacity: 1; transform: translateY(0); }
}
[data-ws-plugin-part="kaak-workspace.channel-count"] {
color: rgba(230, 234, 240, .4);
font-size: 12px;
font-weight: 400;
line-height: 24px;
}
[data-ws-plugin-part="kaak-workspace.channel-capacity"] {
color: rgba(230, 234, 240, .4);
font-size: 12px;
font-weight: 400;
line-height: 24px;
}
[data-ws-plugin-part="kaak-workspace.channel-voice-members"] {
display: grid;
gap: 1px;
margin: 0 0 6px 29px;
padding: 2px 0 3px;
list-style: none;
}
[data-ws-plugin-part="kaak-workspace.channel-voice-member"] {
display: grid;
grid-template-columns: 18px minmax(0, 1fr) auto auto;
align-items: center;
gap: 5px;
min-height: 21px;
color: var(--skin-kaak-muted);
font-size: 10px;
}
[data-ws-plugin-part="kaak-workspace.channel-member-avatar"] {
display: grid;
place-items: center;
width: 16px;
height: 16px;
overflow: hidden;
border-radius: 50%;
color: var(--skin-kaak-text);
background: #393b41;
font-size: 7px;
font-weight: 800;
}
[data-ws-plugin-part="kaak-workspace.channel-member-name"] {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
[data-ws-plugin-part="kaak-workspace.channel-member-state"] {
color: var(--skin-kaak-accent);
font-size: 8px;
font-weight: 800;
}
[data-ws-plugin-part="kaak-workspace.channel-member-muted"],
[data-ws-plugin-part="kaak-workspace.member-muted-state"] {
color: var(--skin-kaak-danger);
font-size: 8px;
font-weight: 800;
}
[data-ws-plugin-part="kaak-workspace.channel-member-away"],
[data-ws-plugin-part="kaak-workspace.member-away-state"] {
color: var(--skin-kaak-dim);
font-size: 8px;
font-weight: 800;
}
[data-ws-plugin-part="kaak-workspace.voice-channel-tree"] { min-width: 0; overflow: visible; }
[data-ws-plugin-part="kaak-workspace"] [data-ws-part="voice.channel-tree.list"]{ display: flex; flex-direction: column; gap: 2px; min-width: 0; margin: 0; padding: 0; list-style: none; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-node{ min-width: 0; margin: 0; padding: 0; list-style: none; border-radius: 6px; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-line{ display: flex; align-items: center; gap: 2px; min-width: 0; min-height: 44px; padding: 0 2px; border-radius: 6px; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-expander, [data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-expander-placeholder{ display: grid; flex: 0 0 32px; place-items: center; width: 32px; height: 44px; padding: 0; border: 0; border-radius: 4px; color: var(--skin-kaak-dim); background: transparent; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-expander{ cursor: pointer; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-expander:hover, [data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-expander:focus-visible{ color: var(--skin-kaak-text); background: #ffffff0a; outline: none; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-row{ display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; min-height: 44px; padding: 0 7px; border: 0; border-radius: 6px; color: var(--skin-kaak-muted); background: transparent; text-align: left; cursor: pointer; transition: color .14s ease, background-color .14s ease, box-shadow .14s ease; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-row:hover{ color: var(--skin-kaak-text); background: #ffffff08; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-row:focus-visible{ outline: 2px solid var(--skin-kaak-accent); outline-offset: 1px; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-node[data-current="true"] > .ws-voice-channel-line .ws-voice-channel-row{ color: #e6eaf0; background: #2b2d32; box-shadow: inset 2px 0 var(--skin-kaak-accent); }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-node[data-selected="true"]:not([data-current="true"]) > .ws-voice-channel-line .ws-voice-channel-row{ color: var(--skin-kaak-text); background: #ffffff08; box-shadow: inset 0 0 0 1px #ffffff12; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-type{ color: #9aa2ae; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-name{ min-width: 0; flex: 1; overflow: hidden; color: inherit; font-size: 14px; font-weight: 700; line-height: 24px; text-overflow: ellipsis; white-space: nowrap; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-join-hint{ flex: 0 0 auto; color: var(--skin-kaak-accent); font-size: 10px; font-weight: 600; line-height: 16px; white-space: nowrap; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-count{ flex: 0 0 auto; color: rgba(230, 234, 240, .4); font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 400; line-height: 18px; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-branch{ display: grid; grid-template-rows: 1fr; min-width: 0; opacity: 1; transform: translateY(0); visibility: visible; transition: grid-template-rows .18s ease, opacity .14s ease, transform .18s ease, visibility 0s; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-branch[data-expanded="false"]{ grid-template-rows: 0fr; opacity: 0; transform: translateY(-2px); visibility: hidden; transition: grid-template-rows .18s ease, opacity .14s ease, transform .18s ease, visibility 0s linear .18s; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-branch-content{ display: flex; flex-direction: column; gap: 1px; min-width: 0; min-height: 0; overflow: hidden; margin: 1px 0 4px 18px; padding: 0 0 0 8px; border-left: 1px solid #ffffff12; list-style: none; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-member{ display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 23px; padding: 2px 5px; border-radius: 5px; color: var(--skin-kaak-muted); font-size: 11px; font-weight: 400; line-height: 17px; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-member-avatar{ display: grid; flex: 0 0 18px; place-items: center; width: 18px; height: 18px; overflow: hidden; border-radius: 50%; color: #f0f2f4; background: #393b41; background-position: center; background-size: cover; font-size: 8px; font-weight: 700; transition: box-shadow .16s ease; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-member-avatar.is-speaking{ box-shadow: 0 0 0 2px #6cbf0080; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-member-name{ min-width: 0; flex: 1; overflow: hidden; color: inherit; text-overflow: ellipsis; white-space: nowrap; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-member-muted{ color: #f08a97; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-member-speaking{ flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--skin-kaak-accent); box-shadow: 0 0 8px #6cbf0080; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-member-away{ color: var(--skin-kaak-dim); }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-tree-empty{ padding: 8px 10px; color: var(--skin-kaak-dim); font-size: 11px; }
[data-ws-plugin-part="kaak-workspace.conversation"] {
grid-column: 4;
grid-row: 2;
@@ -1306,48 +1192,22 @@
border-bottom: 1px solid var(--skin-kaak-border);
}
[data-ws-plugin-part="kaak-workspace.server-summary"] {
min-height: 0;
flex-direction: row;
align-items: center;
gap: 8px;
padding: 0 2px;
border: 0;
}
[data-ws-plugin-part="kaak-workspace.server-name"] { max-width: 60%; font-size: 11px; }
[data-ws-plugin-part="kaak-workspace.server-subtitle"] { display: none; }
[data-ws-plugin-part="kaak-workspace.channel-list"] {
flex-direction: row;
align-items: center;
gap: 5px;
overflow: auto hidden;
padding: 0;
}
[data-ws-plugin-part="kaak-workspace.channel-list"] > [data-ws-plugin-part="kaak-workspace.voice-channel-group-toggle"] {
display: grid;
flex: 0 0 30px;
place-items: center;
width: 30px;
min-height: 38px;
margin: 0;
border-radius: 7px;
background: var(--skin-kaak-raised);
}
[data-ws-plugin-part="kaak-workspace.voice-group-name"] { display: none; }
[data-ws-plugin-part="kaak-workspace.voice-group-chevron"] { width: auto; font-size: 20px; }
[data-ws-plugin-part="kaak-workspace"]:has([data-ws-plugin-part="kaak-workspace.chat-panel-toggle"][aria-expanded="false"]) {
grid-template-columns: 86px minmax(0, 1fr);
grid-template-rows: 50px 126px minmax(176px, 24dvh) 0 122px;
}
[data-ws-plugin-part="kaak-workspace.voice-channel-list"] { flex: 0 0 auto; }
[data-ws-plugin-part="kaak-workspace.voice-channel-items"] { flex-direction: row; align-items: flex-start; gap: 5px; }
[data-ws-plugin-part="kaak-workspace.channel-item"] { flex: 0 0 auto; }
[data-ws-plugin-part="kaak-workspace.channel-row"] { width: max-content; min-width: 116px; min-height: 42px; margin: 0; }
[data-ws-plugin-part="kaak-workspace.channel-row"][data-depth] { padding-inline-start: 9px; }
[data-ws-plugin-part="kaak-workspace.channel-voice-members"] { display: none; }
[data-ws-plugin-part="kaak-workspace.voice-stage"] {
[data-ws-plugin-part="kaak-workspace.server-summary"] { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 44px 12px; align-items: center; gap: 0; min-height: 56px; padding: 0 2px; border: 0; }
[data-ws-plugin-part="kaak-workspace.server-summary-heading"] { grid-column: 1; grid-row: 1; min-width: 0; }
[data-ws-plugin-part="kaak-workspace.server-name"] { max-width: none; font-size: 12px; line-height: 18px; }
[data-ws-plugin-part="kaak-workspace.server-connection-state"] { grid-column: 1; grid-row: 2; min-height: 12px; }
[data-ws-plugin-part="kaak-workspace.server-subtitle"] { display: inline; font-size: 9px; line-height: 12px; }
[data-ws-plugin-part="kaak-workspace.channel-list"] { flex-direction: column; align-items: stretch; gap: 3px; min-height: 0; overflow: auto; padding: 0; }
[data-ws-plugin-part="kaak-workspace.channel-list"] > [data-ws-plugin-part="kaak-workspace.voice-channel-group-toggle"] { display: flex; flex: 0 0 auto; justify-content: flex-start; width: auto; min-height: 24px; margin: 0 4px; border-radius: 5px; background: transparent; }
[data-ws-plugin-part="kaak-workspace.voice-group-name"] { display: inline; }
[data-ws-plugin-part="kaak-workspace.voice-group-chevron"] { width: 12px; font-size: 17px; }
[data-ws-plugin-part="kaak-workspace.voice-channel-list"] { flex: 1 1 auto; min-height: 0; overflow: auto; }
[data-ws-plugin-part="kaak-workspace.voice-channel-items"] { display: block; min-height: 0; overflow: visible; }
[data-ws-plugin-part="kaak-workspace"] [data-ws-part="voice.channel-tree.list"]{ flex-direction: column; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-line{ min-height: 44px; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-row{ min-height: 44px; }
[data-ws-plugin-part="kaak-workspace"] .ws-voice-channel-join-hint{ display: none; }
[data-ws-plugin-part="kaak-workspace.voice-stage"] {
grid-column: 2;
grid-row: 3;
min-height: 0;
@@ -1815,20 +1675,11 @@
[data-ws-plugin-part="kaak-workspace.voice-dock-heading"] [data-ws-plugin-part="kaak-workspace.disconnect-control"] { width: 28px; min-width: 28px; height: 28px; min-height: 28px; }
}
[data-ws-plugin-part="kaak-workspace.server-subtitle"] { font-size: 11px; }
[data-ws-plugin-part="kaak-workspace.channel-voice-member"] { font-size: 12px; }
[data-ws-plugin-part="kaak-workspace.channel-member-name"] { font-size: 12px; }
[data-ws-plugin-part="kaak-workspace.channel-member-state"],
[data-ws-plugin-part="kaak-workspace.channel-member-muted"],
[data-ws-plugin-part="kaak-workspace.channel-member-away"],
[data-ws-plugin-part="kaak-workspace.member-muted-state"],
[data-ws-plugin-part="kaak-workspace.member-away-state"] { font-size: 10px; }
[data-ws-plugin-part="kaak-workspace.chat-empty"] { font-size: 12px; }
[data-ws-plugin-part="kaak-workspace.chat-message-author"] { font-size: 13px; }
[data-ws-plugin-part="kaak-workspace.chat-message-time"] { font-size: 11px; }
[data-ws-plugin-part="kaak-workspace.member-cards"] .voice-card > span { font-size: 11px; }
[data-ws-plugin-part="kaak-workspace"] [data-ws-part="voice.channel-tree.member"]{ font-size: 11px; }
[data-ws-plugin-part="kaak-workspace"] [data-ws-part="voice.channel-tree.member-name"]{ font-size: 11px; }
[data-ws-part="voice.channel-tree.member-muted"],
[data-ws-plugin-part="kaak-workspace"] [data-ws-part="voice.channel-tree.member-away"]{ font-size: 10px; }
[data-ws-plugin-part="kaak-workspace.voice-channel-name"] { font-size: 13px; }
[data-ws-plugin-part="kaak-workspace.performance-panel"] {
grid-column: 3;
grid-row: 1;
@@ -2502,7 +2353,7 @@
}
@media (prefers-reduced-motion: reduce) {
[data-ws-plugin-part="kaak-workspace.channel-join-hint"] { animation: none; }
[data-ws-plugin-part="kaak-workspace"] [data-ws-part="voice.channel-tree.branch"]{ transition-duration: .01ms; }
[data-ws-plugin-part="kaak-workspace.member-cards"] [data-ws-part="voice.member.action-trigger"] { transition: none; }
[data-ws-plugin-part="kaak-workspace.performance-panel"] .performance-refresh:disabled .ui-icon { animation: none; }
[data-ws-plugin-part="kaak-workspace.performance-panel"] .voice-performance-panel-enter-active,