File tree Expand file tree Collapse file tree 11 files changed +54
-35
lines changed
Expand file tree Collapse file tree 11 files changed +54
-35
lines changed Original file line number Diff line number Diff line change 44
55- 新增:播放页 隐藏举报按钮
66- 优化:夜间模式
7+ - 优化:精简分享菜单
78- 移除:全屏时显示弹幕数,保留在看人数
89- 更新:部分功能细节
910
Original file line number Diff line number Diff line change 1- // 净化分享功能
2- html [video-page-simple-share ] {
3- #share-container-id [class ^= ' Share_boxBottom' ] {
4- display : none !important ;
5- }
6- #share-container-id [class ^= ' Share_boxTop' ] {
7- padding : 15px !important ;
8- }
9- #share-container-id [class ^= ' Share_boxTopRight' ] {
10- display : none !important ;
11- }
12- #share-container-id [class ^= ' Share_boxTopLeft' ] {
13- padding : 0 !important ;
14- }
15- }
16-
171// 顶栏 滚动页面后不再吸附顶部
182html [video-page-hide-fixed-header ] {
193 .fixed-header .bili-header__bar {
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export const bangumiBasicItems: Item[] = [
77 name : '净化分享功能' ,
88 defaultEnable : true ,
99 description : [ '点击分享按钮时,复制纯净链接' ] ,
10+ noStyle : true ,
1011 enableFn : async ( ) => {
1112 // 监听shareBtn出现
1213 let counter = 0
Original file line number Diff line number Diff line change 1+ // 精简 分享按钮弹出菜单
2+ html [video-page-simple-video-share-popover ] {
3+ #share-container-id {
4+ [class ^= ' Share_boxBottom' ] {
5+ display : none !important ;
6+ }
7+ [class ^= ' Share_boxTop' ] {
8+ padding : 15px !important ;
9+ }
10+ [class ^= ' Share_boxTopRight' ] {
11+ display : none !important ;
12+ }
13+ [class ^= ' Share_boxTopLeft' ] {
14+ padding : 0 !important ;
15+ }
16+ }
17+ }
18+
119// 隐藏 分享按钮弹出菜单
220html [video-page-hide-video-share-popover ] {
321 #share-container-id [class ^= ' Share_share' ] {
Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ export const bangumiToolbarItems: Item[] = [
3535 }
3636 } ,
3737 } ,
38+ {
39+ type : 'switch' ,
40+ id : 'video-page-simple-video-share-popover' ,
41+ name : '精简 分享按钮弹出菜单' ,
42+ defaultEnable : true ,
43+ } ,
3844 {
3945 type : 'switch' ,
4046 id : 'video-page-hide-video-share-popover' ,
Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ export const bangumiGroups: Group[] = [
4242 items : bangumiDanmakuItems ,
4343 } ,
4444 {
45- name : '视频下方 工具栏/作品信息' ,
45+ name : '工具栏/作品信息' ,
4646 fold : true ,
4747 items : bangumiToolbarItems ,
4848 } ,
4949 {
50- name : '右栏 作品选集/其他推荐 ' ,
50+ name : '右栏' ,
5151 fold : true ,
5252 items : bangumiRightItems ,
5353 } ,
Original file line number Diff line number Diff line change 1- // 净化分享功能
2- html [video-page-simple-share ] {
3- .video-share-popover .video-share-dropdown .dropdown-bottom {
4- display : none !important ;
5- }
6- .video-share-popover .video-share-dropdown .dropdown-top {
7- padding : 15px !important ;
8- }
9- .video-share-popover .video-share-dropdown .dropdown-top .dropdown-top-right {
10- display : none !important ;
11- }
12- .video-share-popover .video-share-dropdown .dropdown-top .dropdown-top-left {
13- padding-right : 0 !important ;
14- }
15- }
16-
171// 顶栏 滚动页面后 不再吸附顶部
182html [video-page-hide-fixed-header ] {
193 .fixed-header .bili-header__bar {
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ export const videoBasicItems: Item[] = [
6969 id : 'video-page-simple-share' ,
7070 name : '净化分享功能' ,
7171 description : [ '点击分享按钮时,复制纯净链接' ] ,
72+ noStyle : true ,
7273 // 净化分享按钮写入剪贴板内容
7374 enableFn : async ( ) => {
7475 // 监听shareBtn出现
Original file line number Diff line number Diff line change 1+ // 精简 分享按钮弹出菜单
2+ html [video-page-simple-video-share-popover ] {
3+ .video-share-popover .video-share-dropdown {
4+ .dropdown-bottom {
5+ display : none !important ;
6+ }
7+ .dropdown-top {
8+ padding : 15px !important ;
9+ .dropdown-top-right {
10+ display : none !important ;
11+ }
12+ .dropdown-top-left {
13+ padding-right : 0 !important ;
14+ }
15+ }
16+ }
17+ }
18+
119// 隐藏 分享按钮弹出菜单
220html [video-page-hide-video-share-popover ] {
321 .video-share-popover {
Original file line number Diff line number Diff line change @@ -39,6 +39,12 @@ export const videoToolbarItems: Item[] = [
3939 }
4040 } ,
4141 } ,
42+ {
43+ type : 'switch' ,
44+ id : 'video-page-simple-video-share-popover' ,
45+ name : '精简 分享按钮弹出菜单' ,
46+ defaultEnable : true ,
47+ } ,
4248 {
4349 type : 'switch' ,
4450 id : 'video-page-hide-video-share-popover' ,
You can’t perform that action at this time.
0 commit comments