fix(voice): improve performance panel dismissal

This commit is contained in:
illusia committed 2026-10-11 03:53:14 +08:00
1 parent 3ff6507943
commit deb5ca4e43
9 files changed
+76 -21

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ KAAK is a schema v3 open-skin package with full connection and voice-workspace s
The single TeamSpeak voice-channel group in the left tree collapses and expands with a short two-way height and fade transition 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.
The design target is the voice-client portion of KOOK, as requested by the project owner. It does not include discovery, companion/party, event, store, advertising, administrator, or other service-operator pages. It does not add a KOOK account flow, direct messages, server administration, or channels absent from the connected TeamSpeak server.
The design target is the voice-client portion of KOOK, as requested by the project owner. It does not include discovery, companion/party, event, store, advertising, administrator, or other service-operator pages. It does not add a KOOK account flow, direct messages, server administration, or channels absent from the connected TeamSpeak server. The voice performance card also closes on outside click or Escape; Escape returns focus to its trigger, and its entrance/exit motion respects reduced-motion preferences.
## Reference access note
Binary file not shown.
+1 -1
View File
@@ -3,7 +3,7 @@
"packageType": "open-skin",
"id": "community.kaak-voice",
"name": "KAAK",
"version": "3.1.33",
"version": "3.1.34",
"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.",
+17 -5
View File
@@ -1435,12 +1435,23 @@
border: 1px solid #3b3c42;
border-radius: 12px;
box-shadow: 0 16px 36px #0009;
animation: kaak-performance-enter .16s cubic-bezier(.2, .75, .25, 1) both;
}
@keyframes kaak-performance-enter {
from { opacity: 0; transform: translateY(7px) scale(.985); }
to { opacity: 1; transform: translateY(0) scale(1); }
[data-ws-plugin-part="kaak-workspace.performance-panel"] .voice-performance-panel-enter-active,
[data-ws-plugin-part="kaak-workspace.performance-panel"] .voice-performance-panel-leave-active {
transition: opacity .16s cubic-bezier(.2, .75, .25, 1), transform .16s cubic-bezier(.2, .75, .25, 1);
}
[data-ws-plugin-part="kaak-workspace.performance-panel"] .voice-performance-panel-enter-from,
[data-ws-plugin-part="kaak-workspace.performance-panel"] .voice-performance-panel-leave-to {
opacity: 0;
transform: translateY(7px) scale(.985);
}
[data-ws-plugin-part="kaak-workspace.performance-panel"] .voice-performance-panel-enter-to,
[data-ws-plugin-part="kaak-workspace.performance-panel"] .voice-performance-panel-leave-from {
opacity: 1;
transform: translateY(0) scale(1);
}
[data-ws-plugin-part="kaak-workspace.performance-panel"] .performance-panel header strong {
@@ -1805,7 +1816,8 @@
@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-plugin-part="kaak-workspace.performance-panel"] .voice-performance-panel-enter-active,
[data-ws-plugin-part="kaak-workspace.performance-panel"] .voice-performance-panel-leave-active { transition-duration: .01ms; }
[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; }