Skip to content

Commit

Permalink
update: popular page 2 column style
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Oct 20, 2024
1 parent b3d60fc commit e5df4d2
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- 新增:稍后再看列表页 增大字号、修改列数、隐藏按钮
- 新增:字幕样式 字重设定
- 新增:弹幕样式 字体和字重设定
- 优化:热门页 双列样式

## 4.0.3

Expand Down
1 change: 1 addition & 0 deletions src/modules/rules/bangumi/groups/danmakuControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const bangumiDanmakuControlItems: Item[] = [
type: 'switch',
id: 'video-page-hide-bpx-player-sending-area',
name: '非全屏下 关闭弹幕栏',
description: ['字母 D 是弹幕开关快捷键'],
},
{
type: 'switch',
Expand Down
2 changes: 1 addition & 1 deletion src/modules/rules/bangumi/groups/player.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 隐藏 播放器内标题
// 隐藏 全屏下 播放器内标题
html[video-page-hide-bpx-player-top-left-title] {
.bpx-player-top-title {
display: none !important;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/rules/bangumi/groups/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const bangumiPlayerItems: Item[] = [
{
type: 'switch',
id: 'video-page-hide-bpx-player-top-left-title',
name: '隐藏 播放器内标题',
name: '隐藏 全屏下 播放器内标题',
},
{
type: 'switch',
Expand Down
2 changes: 1 addition & 1 deletion src/modules/rules/popular/groups/layout.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 官方默认 2 列布局
html[popular-layout-default] {
html[popular-layout-2-column] {
.cm-module {
display: none !important;
}
Expand Down
4 changes: 2 additions & 2 deletions src/modules/rules/popular/groups/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const popularLayoutItems: Item[] = [
type: 'list',
id: 'popular-layout',
name: '强制修改视频列数',
defaultValue: 'popular-layout-disable',
defaultValue: 'popular-layout-2-column',
disableValue: 'popular-layout-disable',
description: [
'默认隐藏视频简介、标签',
Expand All @@ -14,7 +14,7 @@ export const popularLayoutItems: Item[] = [
],
options: [
{
id: 'popular-layout-disable',
id: 'popular-layout-2-column',
name: '未启用',
},
{
Expand Down
1 change: 1 addition & 0 deletions src/modules/rules/video/groups/danmakuControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export const videoDanmakuControlItems: Item[] = [
type: 'switch',
id: 'video-page-hide-bpx-player-sending-area',
name: '非全屏下 关闭弹幕栏',
description: ['字母 D 是弹幕开关快捷键'],
},
{
type: 'switch',
Expand Down
2 changes: 1 addition & 1 deletion src/modules/rules/video/groups/player.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ html[video-page-hide-bpx-player-cmd-dm-wrap] {
}
}

// 隐藏 播放器内标题
// 隐藏 全屏下 播放器内标题
html[video-page-hide-bpx-player-top-left-title] {
.bpx-player-top-title {
display: none !important;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/rules/video/groups/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const videoPlayerItems: Item[] = [
{
type: 'switch',
id: 'video-page-hide-bpx-player-top-left-title',
name: '隐藏 播放器内标题',
name: '隐藏 全屏下 播放器内标题',
},
{
type: 'switch',
Expand Down

0 comments on commit e5df4d2

Please sign in to comment.