mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 20:12:52 +08:00
Match KAAK plugin launcher icon sizing to rail controls
This commit is contained in:
1 parent
12a37fc26f
commit
2cb8b8d161
6 files changed
+18
-11
No files matched your search
Binary file not shown.
@@ -3,7 +3,7 @@
|
|||||||
"packageType": "open-skin",
|
"packageType": "open-skin",
|
||||||
"id": "community.kaak-voice",
|
"id": "community.kaak-voice",
|
||||||
"name": "KAAK",
|
"name": "KAAK",
|
||||||
"version": "3.1.133",
|
"version": "3.1.134",
|
||||||
"author": "WebSpeak Project",
|
"author": "WebSpeak Project",
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
"description": "A KOOK-inspired WebSpeak skin with a split-screen connection home, searchable server header, TeamSpeak banner, nested channel members, unified chat with local history, and a compact audio dock.",
|
"description": "A KOOK-inspired WebSpeak skin with a split-screen connection home, searchable server header, TeamSpeak banner, nested channel members, unified chat with local history, and a compact audio dock.",
|
||||||
|
|||||||
@@ -4700,7 +4700,7 @@
|
|||||||
[data-ws-plugin-part="kaak-workspace.rail-skin"] .skin-switcher,
|
[data-ws-plugin-part="kaak-workspace.rail-skin"] .skin-switcher,
|
||||||
[data-ws-plugin-part="kaak-workspace.rail-skin"] .skin-trigger,
|
[data-ws-plugin-part="kaak-workspace.rail-skin"] .skin-trigger,
|
||||||
[data-ws-plugin-part="kaak-workspace.rail-language"] .language-switcher,
|
[data-ws-plugin-part="kaak-workspace.rail-language"] .language-switcher,
|
||||||
[data-ws-plugin-part="kaak-workspace.rail-language"] .language-trigger { width: 44px; height: 44px; min-height: 44px; border-radius: 14px; }
|
[data-ws-plugin-part="kaak-workspace.rail-language"] .language-trigger { width: 44px; min-width: 44px; height: 44px; min-height: 44px; border-radius: 14px; }
|
||||||
}
|
}
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
[data-ws-plugin-part="kaak-workspace.rail-links"] a { transition: none; }
|
[data-ws-plugin-part="kaak-workspace.rail-links"] a { transition: none; }
|
||||||
@@ -4722,9 +4722,11 @@
|
|||||||
width: var(--skin-kaak-app-button-size);
|
width: var(--skin-kaak-app-button-size);
|
||||||
--skin-kaak-app-button-size: 58px;
|
--skin-kaak-app-button-size: 58px;
|
||||||
}
|
}
|
||||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"] > button {
|
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"][data-presentation="drawer-side"] > button {
|
||||||
display: grid;
|
display: flex;
|
||||||
place-items: center;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-sizing: border-box;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: var(--skin-kaak-app-button-size);
|
width: var(--skin-kaak-app-button-size);
|
||||||
height: var(--skin-kaak-app-button-size);
|
height: var(--skin-kaak-app-button-size);
|
||||||
@@ -4733,10 +4735,15 @@
|
|||||||
color: #d1d5dc;
|
color: #d1d5dc;
|
||||||
background: var(--skin-kaak-rail-item-bg);
|
background: var(--skin-kaak-rail-item-bg);
|
||||||
}
|
}
|
||||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"] > button > span {
|
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"][data-presentation="drawer-side"] > button svg {
|
||||||
|
flex: none;
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
}
|
||||||
|
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"][data-presentation="drawer-side"] > button > span {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"] > button:is(:hover, :focus-visible, [aria-expanded="true"]) {
|
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"][data-presentation="drawer-side"] > button:is(:hover, :focus-visible, [aria-expanded="true"]) {
|
||||||
border-color: #699b32;
|
border-color: #699b32;
|
||||||
color: #a8ed50;
|
color: #a8ed50;
|
||||||
background: #2b3524;
|
background: #2b3524;
|
||||||
@@ -4754,7 +4761,7 @@
|
|||||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-drawer.app"]:is(:hover, :focus-visible) {
|
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-drawer.app"]:is(:hover, :focus-visible) {
|
||||||
background: #2b3524;
|
background: #2b3524;
|
||||||
}
|
}
|
||||||
@media (max-height: 620px), (max-width: 500px) {
|
@media (max-height: 620px) {
|
||||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] { --skin-kaak-app-button-size: 44px; }
|
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] { --skin-kaak-app-button-size: 44px; }
|
||||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"] > button { border-radius: 14px; }
|
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"][data-presentation="drawer-side"] > button { border-radius: 14px; }
|
||||||
}
|
}
|
||||||
Binary file not shown.
@@ -46,7 +46,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [
|
|||||||
{
|
{
|
||||||
id: BUILTIN_KAAK_SKIN_ID,
|
id: BUILTIN_KAAK_SKIN_ID,
|
||||||
name: "KAAK",
|
name: "KAAK",
|
||||||
version: "3.1.133",
|
version: "3.1.134",
|
||||||
author: "WebSpeak Project",
|
author: "WebSpeak Project",
|
||||||
license: "AGPL-3.0-only",
|
license: "AGPL-3.0-only",
|
||||||
description: "A KOOK-inspired WebSpeak skin with a split-screen connection home, searchable server header, TeamSpeak banner, nested channel members, unified chat with local history, and a compact audio dock.",
|
description: "A KOOK-inspired WebSpeak skin with a split-screen connection home, searchable server header, TeamSpeak banner, nested channel members, unified chat with local history, and a compact audio dock.",
|
||||||
|
|||||||
@@ -490,7 +490,7 @@ test("the distributable KAAK package provides full home and voice surfaces", asy
|
|||||||
const file = new File([archive], "kaak-voice.wskin", { type: "application/octet-stream" });
|
const file = new File([archive], "kaak-voice.wskin", { type: "application/octet-stream" });
|
||||||
const skin = await importSkinPack(file);
|
const skin = await importSkinPack(file);
|
||||||
assert.equal(skin.id, "community.kaak-voice");
|
assert.equal(skin.id, "community.kaak-voice");
|
||||||
assert.equal(skin.version, "3.1.133");
|
assert.equal(skin.version, "3.1.134");
|
||||||
assert.equal(skin.workspace, undefined);
|
assert.equal(skin.workspace, undefined);
|
||||||
assert.equal(skin.minAppVersion, "0.3.2");
|
assert.equal(skin.minAppVersion, "0.3.2");
|
||||||
assert.equal(BUILTIN_SKIN_CATALOG.find((entry) => entry.id === skin.id)?.version, skin.version);
|
assert.equal(BUILTIN_SKIN_CATALOG.find((entry) => entry.id === skin.id)?.version, skin.version);
|
||||||
|
|||||||
Reference in new issue
Block a user