feat(字幕): 添加字幕样式设置面板及拖拽缩放功能

添加字幕样式设置浮动面板,包含宽度、高度、字体大小等配置项
实现字幕容器的拖拽移动和缩放功能
添加字幕容器自动检测和初始化逻辑
This commit is contained in:
2026-05-06 14:24:18 +08:00
parent ed21ce8f2c
commit 8b069194aa
3 changed files with 190 additions and 0 deletions

View File

@@ -333,6 +333,13 @@ body {
}
/* ===== 对话控制面板 ===== */
/* ===== 字幕样式面板 ===== */
.caption-panel {
bottom: calc(var(--spacing-xl) + 60px);
right: var(--spacing-xl);
width: 320px;
}
/* ===== 日志面板 ===== */
.log-panel {
bottom: calc(var(--spacing-xl) + 60px);