Skip to content

Commit

Permalink
feat: live page remove wallpaper #97
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Jul 4, 2024
1 parent 0c7a651 commit 2809c96
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- 新增:动态过滤 标题过滤
- 新增:动态过滤 时长过滤
- 新增:直播页 折叠房间观众/大航海
- 新增:直播页 禁用壁纸
- 优化:评论区 踩/回复只在hover时显示,增加延迟减少跳变
- 优化:顶栏 隐藏活动,搜索框样式

Expand Down
16 changes: 16 additions & 0 deletions src/rules/live.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,22 @@ if (isPageLiveRoom()) {
}
`,
}),
// 禁用 直播背景
new CheckboxItem({
itemID: 'live-page-remove-wallpaper',
description: '禁用 直播背景',
itemCSS: `
.room-bg {
background-image: unset !important;
}
#player-ctnr {
box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
border-radius: 12px;
}
#aside-area-vm {
box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}`,
}),
// 修复字体
new CheckboxItem({
itemID: 'font-patch',
Expand Down

0 comments on commit 2809c96

Please sign in to comment.