mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-02 19:42:51 +08:00
feat(web): add skinnable favorite server switching
This commit is contained in:
1 parent
ae1cd707be
commit
b6e4d349a2
19 files changed
+1220
-44
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# ILLUSIA风
|
||||
|
||||
ILLUSIA风 is a visual-only `.wskin` example built from the local artwork in `illusia-voice/assets/`. It styles the WebSpeak home page, voice workspace, screen-share player, and `/demo` with bright glass surfaces and cyan accents. The homepage skin follows the supplied reference art for the translucent navigation, matching glass skin and language selectors, an illustrated animated ILLUSIA skin option, a floating mascot with a visibly pulsing cyan waveform and expanding halo in the join card, a softly animated cyan aurora inspired by the visitor badge, three feature tiles, character visitor badge, mascot-accented join action, and full-width curved footer. The ambient waveform and halo slow down when reduced motion is enabled instead of disappearing. The voice-room skin uses the resting chibi illustration as the message-empty backdrop and places the main character illustration on the dedicated non-interactive artwork layer so it can rest over the edge of member cards or a live screen-share player without moving or blocking their controls.
|
||||
ILLUSIA风 is a visual-only `.wskin` example built from the local artwork in `illusia-voice/assets/`. It styles the WebSpeak home page, voice workspace, screen-share player, and `/demo` with bright glass surfaces and cyan accents. The homepage skin follows the supplied reference art for the translucent navigation, matching glass skin and language selectors, an illustrated animated ILLUSIA skin option, a floating mascot with a visibly pulsing cyan waveform and expanding halo in the join card, a softly animated cyan aurora inspired by the visitor badge, three feature tiles, character visitor badge, mascot-accented join action, and full-width curved footer. The ambient waveform and halo slow down when reduced motion is enabled instead of disappearing. The voice-room skin uses the resting chibi illustration as the message-empty backdrop and places the main character illustration on the dedicated non-interactive artwork layer so it can rest over the edge of member cards or a live screen-share player without moving or blocking their controls. The favorite-server rail, compact strip, active-server marker, switch status and quick-connect dialog also use the published skin hooks, with a coordinated light-glass treatment to check compatibility across desktop and mobile layouts.
|
||||
|
||||
This package intentionally omits `content.json`: the existing WebSpeak translations supply every label and message, including the current and total visitor counts. A skin may optionally add localized copy overrides, but missing locales and fields continue to use WebSpeak's base content. Its CSS is visual-only: WebSpeak retains its component positions, dimensions, text flow, and interactions. In the voice room, the main illustration and headset use separate, non-interactive foreground layers with restrained perspective and shadows; the chat's empty state includes a CSS-drawn speech-bubble ornament, while its translated copy remains visible. The footer wave is a pre-rendered transparent asset sampled from the example's original curve, so it decorates the existing footer instead of introducing another layout element.
|
||||
|
||||
|
||||
Binary file not shown.
@@ -2,11 +2,11 @@
|
||||
"schemaVersion": 1,
|
||||
"id": "community.illusia-voice",
|
||||
"name": "ILLUSIA风",
|
||||
"version": "1.0.27",
|
||||
"version": "1.0.28",
|
||||
"author": "WebSpeak Project",
|
||||
"license": "All rights reserved",
|
||||
"description": "A bright original-character art skin for the home, voice room, and demo pages.",
|
||||
"entry": "skin.css",
|
||||
"preview": "assets/background-composite.webp",
|
||||
"minAppVersion": "0.2.6"
|
||||
"minAppVersion": "0.2.7-preview"
|
||||
}
|
||||
@@ -891,6 +891,133 @@
|
||||
box-shadow: 0 0 0 2px rgba(255, 255, 255, .94), 0 0 0 4px rgba(71, 201, 212, .72);
|
||||
}
|
||||
|
||||
/* Favorite-server navigation shares the voice room's light glass appearance. */
|
||||
[data-ws-part="voice.favorite-servers.rail"],
|
||||
[data-ws-part="voice.favorite-servers.strip"] {
|
||||
color: var(--skin-illusia-ink);
|
||||
background: linear-gradient(180deg, rgba(248, 254, 255, .92), rgba(225, 246, 250, .86));
|
||||
border-color: rgba(112, 190, 204, .38);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .84);
|
||||
backdrop-filter: blur(16px);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.server"],
|
||||
[data-ws-part="voice.favorite-servers.strip.server"],
|
||||
[data-ws-part="voice.favorite-servers.add"],
|
||||
[data-ws-part="voice.favorite-servers.strip.add"] {
|
||||
color: var(--skin-illusia-ink);
|
||||
border-color: rgba(104, 183, 198, .4);
|
||||
background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(220, 245, 249, .88));
|
||||
box-shadow: 0 5px 16px rgba(37, 122, 143, .12), inset 0 1px 0 rgba(255, 255, 255, .92);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.server"][data-ws-state="current"],
|
||||
[data-ws-part="voice.favorite-servers.strip.server"][data-ws-state="current"] {
|
||||
border-color: rgba(15, 151, 157, .72);
|
||||
background: linear-gradient(145deg, rgba(220, 255, 249, .98), rgba(178, 239, 239, .94));
|
||||
box-shadow: 0 0 0 2px rgba(26, 180, 180, .18), 0 8px 20px rgba(27, 143, 157, .18);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.server"]:hover,
|
||||
[data-ws-part="voice.favorite-servers.server"]:focus-visible,
|
||||
[data-ws-part="voice.favorite-servers.strip.server"]:hover,
|
||||
[data-ws-part="voice.favorite-servers.strip.server"]:focus-visible,
|
||||
[data-ws-part="voice.favorite-servers.add"]:focus-visible,
|
||||
[data-ws-part="voice.favorite-servers.strip.add"]:focus-visible {
|
||||
border-color: rgba(12, 151, 159, .8);
|
||||
box-shadow: 0 0 0 3px rgba(35, 183, 188, .22), 0 8px 20px rgba(27, 143, 157, .16);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.avatar"] {
|
||||
outline: 1px solid rgba(255, 255, 255, .82);
|
||||
box-shadow: inset 0 0 0 1px rgba(20, 103, 119, .12), 0 3px 9px rgba(28, 104, 125, .16);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.tooltip"] {
|
||||
color: var(--skin-illusia-ink);
|
||||
border-color: rgba(107, 189, 202, .48);
|
||||
background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(230, 249, 251, .96));
|
||||
box-shadow: 0 10px 26px rgba(25, 94, 115, .2), inset 0 1px 0 #fff;
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.remove"] {
|
||||
border-color: rgba(255, 255, 255, .96);
|
||||
box-shadow: 0 2px 7px rgba(26, 82, 94, .22);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.switch-status"] {
|
||||
color: var(--skin-illusia-ink);
|
||||
border-color: rgba(53, 172, 180, .42);
|
||||
background: linear-gradient(105deg, rgba(224, 250, 250, .96), rgba(250, 255, 255, .94));
|
||||
box-shadow: 0 8px 20px rgba(34, 120, 139, .1), inset 0 1px 0 #fff;
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.switch-status"][data-ws-state="failed"] {
|
||||
border-color: rgba(190, 91, 105, .42);
|
||||
background: linear-gradient(105deg, rgba(255, 239, 241, .98), rgba(255, 251, 251, .96));
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.current-toggle"][data-ws-state="saved"] {
|
||||
color: #b47a09;
|
||||
background: linear-gradient(145deg, rgba(255, 245, 205, .96), rgba(255, 255, 255, .94));
|
||||
box-shadow: inset 0 0 0 1px rgba(224, 166, 47, .24);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.dialog"] {
|
||||
color: var(--skin-illusia-ink);
|
||||
border-color: rgba(112, 190, 204, .52);
|
||||
background: linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(226, 246, 250, .98));
|
||||
box-shadow: 0 24px 70px rgba(16, 72, 91, .3), inset 0 1px 0 #fff;
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.dialog-backdrop"] {
|
||||
background: rgba(16, 54, 62, .48);
|
||||
backdrop-filter: blur(7px);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.dialog.header"] {
|
||||
color: var(--skin-illusia-ink);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.dialog.close"] {
|
||||
color: var(--skin-illusia-ink);
|
||||
border-color: rgba(112, 190, 204, .4);
|
||||
background: linear-gradient(145deg, #fff, #e7f6f9);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.dialog.field"] {
|
||||
color: var(--skin-illusia-ink);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.dialog.hint"] {
|
||||
color: #547782;
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.dialog.input"] {
|
||||
color: var(--skin-illusia-ink);
|
||||
border-color: rgba(108, 174, 189, .48);
|
||||
background: rgba(248, 254, 255, .96);
|
||||
box-shadow: inset 0 1px 3px rgba(34, 104, 125, .08);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.dialog.input"]:focus-visible {
|
||||
border-color: rgba(11, 148, 154, .84);
|
||||
box-shadow: 0 0 0 3px rgba(34, 183, 185, .2), inset 0 1px 3px rgba(34, 104, 125, .08);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.dialog.submit"] {
|
||||
color: #fff;
|
||||
border-color: rgba(7, 121, 130, .86);
|
||||
background: linear-gradient(110deg, #0a9997, #08717e);
|
||||
box-shadow: 0 7px 16px rgba(10, 116, 130, .22), inset 0 1px 0 rgba(255, 255, 255, .24);
|
||||
}
|
||||
|
||||
[data-ws-part="voice.favorite-servers.dialog.cancel"] {
|
||||
color: var(--skin-illusia-ink);
|
||||
border-color: rgba(116, 179, 192, .4);
|
||||
background: linear-gradient(145deg, #fff, #eaf7f9);
|
||||
}
|
||||
|
||||
/* The demo keeps its original controls, labels, and interactions. */
|
||||
[data-ws-page="demo"] {
|
||||
color: var(--skin-illusia-ink);
|
||||
|
||||
Reference in new issue
Block a user