feat: 添加快速选择模板按钮的选中状态

- 为模板选择按钮添加选中后保持深色的视觉反馈
- 选中状态与hover状态共享相同的样式
- 用户可以清楚地看到当前选中的模板
This commit is contained in:
farion1231
2025-08-21 21:46:48 +08:00
parent 3097894d30
commit 0c7043154a
2 changed files with 9 additions and 4 deletions

View File

@@ -69,7 +69,8 @@
transition: all 0.2s;
}
.preset-btn:hover {
.preset-btn:hover,
.preset-btn.selected {
background: #3498db;
color: white;
}