Merge pull request #4 from the1812/preview

Update to 1.4.1
This commit is contained in:
Grant Howard 2018-09-24 10:23:33 +08:00 committed by GitHub
commit 9ad74340bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
83 changed files with 2815 additions and 996 deletions

View File

@ -20,6 +20,7 @@
兼备预览版和离线版的特点. 兼备预览版和离线版的特点.
> 某些破坏性的大更新会使旧版脚本**完全**无法工作, 请及时检查更新.
# 设置 # 设置
脚本启用后,在网页左侧中央会有一个齿轮图标,点击即可打开设置. 脚本启用后,在网页左侧中央会有一个齿轮图标,点击即可打开设置.
设置项的说明见功能概览一节. 设置项的说明见功能概览一节.
@ -28,8 +29,8 @@
![设置](images/gui-settings.png) ![设置](images/gui-settings.png)
## 默认值 ## 默认值
### 样式 ### 样式
- 新样式: `开启`
- 自定义颜色: `浅蓝色(#00A0D8)` - 自定义颜色: `浅蓝色(#00A0D8)`
- 新样式: `开启`
- 顶栏(对横幅)不透明度: `0.382` - 顶栏(对横幅)不透明度: `0.382`
- 夜间模式: `关闭` - 夜间模式: `关闭`
- 搜索栏位置调整: `开启` - 搜索栏位置调整: `开启`
@ -43,7 +44,7 @@
- 自动展开弹幕列表: `开启` - 自动展开弹幕列表: `开启`
- 缩放看板娘: `开启` - 缩放看板娘: `开启`
- 删除直播水印: `开启` - 删除直播水印: `开启`
- 删除视频标题层: `开启` - 删除视频标题层: `关闭`
- 模糊视频控制栏背景: `关闭` - 模糊视频控制栏背景: `关闭`
### 触摸 ### 触摸
- 顶栏触摸优化: `关闭` - 顶栏触摸优化: `关闭`
@ -52,40 +53,28 @@
> 因为部分浏览器对包含实验性效果的动画没有优化会很卡, 所以开放此选项. > 因为部分浏览器对包含实验性效果的动画没有优化会很卡, 所以开放此选项.
- 启用双击控制: `关闭` - 启用双击控制: `关闭`
### 其他 ### 其他
- 显示消息: `关闭` - 显示消息: `开启`
- 模糊设置面板背景: `关闭` - 模糊设置面板背景: `关闭`
# 功能概览 # 功能概览
为保证最佳体验,设备分辨率建议在1080P及以上,并且已登录哔哩哔哩账户. 为保证最佳体验,设备分辨率建议在1080P及以上,并且已登录哔哩哔哩账户.
## 新样式 ## 样式
改变顶栏的样式,并有一些界面微调.
### 效果
![主站](images/new-navbar.png)
![播放](images/new-navbar-stardust.png)
### 自定义颜色 ### 自定义颜色
设定顶栏(新样式启用时)和夜间模式使用的主题色.
![粉色](images/new-navbar-stardust.png) ![粉色](images/new-navbar-stardust.png)
![紫色](images/new-navbar-purple.png) ![紫色](images/new-navbar-purple.png)
![蓝色](images/new-navbar-lightBlue.png) ![蓝色](images/new-navbar-lightBlue.png)
![绿色](images/new-navbar-teal.png) ![绿色](images/new-navbar-teal.png)
![暗蓝色](images/new-navbar-blueGrey.png) ![暗蓝色](images/new-navbar-blueGrey.png)
### 新样式
改变顶栏的样式,并有一些界面微调.
#### 效果
![主站](images/new-navbar.png)
![播放](images/new-navbar-stardust.png)
### 夜间模式(实验性) ### 夜间模式(实验性)
夜间模式更适合光线暗的环境,并会大量应用自定义颜色. 夜间模式更适合光线暗的环境,并会大量应用自定义颜色.
目前支持的页面有: 目前仅支持部分常用页面,其他页面会陆续添加,不支持推广板块(会被`删除广告`功能去除的部分).
- 主站
- 动态
- 新版视频
- 稍后再看
- 观看历史
- 专栏阅读
- 个人空间
- 消息中心
- 搜索
- 直播间
- 相簿查看
- 新番时间表
之后会陆续添加其他页面,不支持推广板块(会被`删除广告`功能去除的部分).
#### 启用前 #### 启用前
![日间](images/light-style.png) ![日间](images/light-style.png)
#### 启用后 #### 启用后
@ -96,11 +85,11 @@
![不调整](images/original-navbar.png) ![不调整](images/original-navbar.png)
#### 启用后 #### 启用后
![调整](images/override-navbar.png) ![调整](images/override-navbar.png)
### 移除横幅 #### 移除横幅
在搜索框位置调整启用的时候,还可以使用此功能移除顶部横幅. 在搜索框位置调整启用的时候,还可以使用此功能移除顶部横幅.
#### 启用前 ##### 启用前
![不移除](images/override-navbar.png) ![不移除](images/override-navbar.png)
#### 启用后 ##### 启用后
![移除](images/no-banner.png) ![移除](images/no-banner.png)
## 工具 ## 工具
@ -124,7 +113,7 @@
## 视频与直播 ## 视频与直播
### 查看封面 ### 查看封面
在视频播放页面/直播间中,`设置`→`视频`/`直播间`下会出现查看封面按钮,点击可以查看或保存封面. 在视频播放页面/直播间中,`设置`→`视频与直播`下会出现查看封面按钮,点击可以查看或保存封面.
![查看封面按钮](images/view-cover-button.png) ![查看封面按钮](images/view-cover-button.png)
### 自动展开弹幕列表 ### 自动展开弹幕列表
新版播放页面中,弹幕列表默认收起以显示推荐的其他视频.启用此功能可在每次加载视频时自动展开弹幕列表. 新版播放页面中,弹幕列表默认收起以显示推荐的其他视频.启用此功能可在每次加载视频时自动展开弹幕列表.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,8 @@
// ==UserScript== // ==UserScript==
// @name Bilibili Evolved (Preview) // @name Bilibili Evolved (Preview)
// @version 1.3.13 // @version 1.4.1
// @description 增强哔哩哔哩Web端体验. (预览版分支) // @description 增强哔哩哔哩Web端体验. (预览版分支)
// @author Grant Howard // @author Grant Howard / Coulomb-G
// @match *://*.bilibili.com/* // @match *://*.bilibili.com/*
// @match *://*.bilibili.com // @match *://*.bilibili.com
// @run-at document-end // @run-at document-end
@ -23,9 +23,9 @@
const settings = { const settings = {
blurSettingsPanel: false, blurSettingsPanel: false,
blurVideoControl: false, blurVideoControl: false,
toast: false, toast: true,
fullTweetsTitle: false, fullTweetsTitle: true,
removeVideoTopMask: true, removeVideoTopMask: false,
removeLiveWatermark: true, removeLiveWatermark: true,
harunaScale: true, harunaScale: true,
removeAds: true, removeAds: true,
@ -49,7 +49,7 @@
notifyNewVersion: true, notifyNewVersion: true,
fixFullscreen: false, fixFullscreen: false,
latestVersionLink: "https://github.com/the1812/Bilibili-Evolved/raw/preview/bilibili-evolved.preview.user.js", latestVersionLink: "https://github.com/the1812/Bilibili-Evolved/raw/preview/bilibili-evolved.preview.user.js",
currentVersion: "1.3.13" currentVersion: "1.4.1"
}; };
function loadSettings() function loadSettings()
{ {
@ -76,46 +76,57 @@
GM_addValueChangeListener(key, change); GM_addValueChangeListener(key, change);
} }
} }
function runAndObserveDomMutation(selector, callback)
{
const element = document.querySelector(selector);
if (element)
{
const observer = new MutationObserver(callback);
observer.observe(element, { childList: true, subtree: true });
}
}
function loadResources() function loadResources()
{ {
Resource.root = "https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/"; Resource.root = "https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/";
Resource.all = { Resource.all = {
style: new Resource("style/style.min.scss", 1), style: new Resource("min/style.min.scss", 1),
oldStyle: new Resource("style/style-old.min.scss", 1), oldStyle: new Resource("min/old.min.scss", 1),
scrollbarStyle: new Resource("style/style-scrollbar.min.css", 1), scrollbarStyle: new Resource("min/scrollbar.min.css", 1),
darkStyle: new Resource("style/style-dark.min.scss", 2), darkStyle: new Resource("min/dark.min.scss", 2),
darkStyleImportant: new Resource("style/style-dark-important.min.scss"), darkStyleImportant: new Resource("min/dark-important.min.scss"),
touchPlayerStyle: new Resource("style/style-touch-player.min.scss", 3), darkStyleNavBar: new Resource("min/dark-navbar.min.scss"),
navbarOverrideStyle: new Resource("style/style-navbar-override.min.css", 4), touchPlayerStyle: new Resource("min/touch-player.min.scss", 3),
noBannerStyle: new Resource("style/style-no-banner.min.css", 5), navbarOverrideStyle: new Resource("min/navbar-override.min.css", 4),
removeAdsStyle: new Resource("style/style-remove-promotions.min.css", 6), noBannerStyle: new Resource("min/no-banner.min.css", 5),
guiSettingsStyle: new Resource("style/style-gui-settings.min.scss", 0), removeAdsStyle: new Resource("min/remove-promotions.min.css", 6),
fullTweetsTitleStyle: new Resource("style/style-full-tweets-title.min.css", 7), guiSettingsStyle: new Resource("min/gui-settings.min.scss", 0),
imageViewerStyle: new Resource("style/style-image-viewer.min.scss", 8), fullTweetsTitleStyle: new Resource("min/full-tweets-title.min.css", 7),
toastStyle: new Resource("style/style-toast.min.scss", 9), imageViewerStyle: new Resource("min/image-viewer.min.scss", 8),
blurVideoControlStyle: new Resource("style/style-blur-video-control.min.css", 10), toastStyle: new Resource("min/toast.min.scss", 9),
blurVideoControlStyle: new Resource("min/blur-video-control.min.css", 10),
guiSettingsDom: new Resource("utils/gui-settings.html"), guiSettingsDom: new Resource("utils/gui-settings.html"),
imageViewerDom: new Resource("utils/image-viewer.html"), imageViewerDom: new Resource("utils/image-viewer.html"),
latestVersion: new Resource("version.txt"), latestVersion: new Resource("version.txt"),
guiSettings: new Resource("utils/gui-settings.min.js"), guiSettings: new Resource("min/gui-settings.min.js"),
useDarkStyle: new Resource("style/dark-styles.min.js"), useDarkStyle: new Resource("min/dark-styles.min.js"),
useNewStyle: new Resource("style/new-styles.min.js"), useNewStyle: new Resource("min/new-styles.min.js"),
touchNavBar: new Resource("touch/touch-navbar.min.js"), overrideNavBar: new Resource("min/override-navbar.min.js"),
touchVideoPlayer: new Resource("touch/touch-player.min.js"), touchNavBar: new Resource("min/touch-navbar.min.js"),
expandDanmakuList: new Resource("video/expand-danmaku.min.js"), touchVideoPlayer: new Resource("min/touch-player.min.js"),
removeAds: new Resource("utils/remove-promotions.min.js"), expandDanmakuList: new Resource("min/expand-danmaku.min.js"),
watchLaterRedirect: new Resource("utils/watchlater.min.js"), removeAds: new Resource("min/remove-promotions.min.js"),
hideTopSearch: new Resource("utils/hide-top-search.min.js"), watchLaterRedirect: new Resource("min/watchlater.min.js"),
harunaScale: new Resource("video/haruna-scale.min.js"), hideTopSearch: new Resource("min/hide-top-search.min.js"),
removeLiveWatermark: new Resource("video/remove-watermark.min.js"), harunaScale: new Resource("min/haruna-scale.min.js"),
fullTweetsTitle: new Resource("utils/full-tweets-title.min.js"), removeLiveWatermark: new Resource("min/remove-watermark.min.js"),
viewCover: new Resource("video/view-cover.min.js"), fullTweetsTitle: new Resource("min/full-tweets-title.min.js"),
notifyNewVersion: new Resource("utils/notify-new-version.min.js"), viewCover: new Resource("min/view-cover.min.js"),
toast: new Resource("utils/toast.min.js"), notifyNewVersion: new Resource("min/notify-new-version.min.js"),
removeVideoTopMask: new Resource("video/remove-top-mask.min.js"), toast: new Resource("min/toast.min.js"),
blurVideoControl: new Resource("video/blur-video-control.min.js") removeVideoTopMask: new Resource("min/remove-top-mask.min.js"),
blurVideoControl: new Resource("min/blur-video-control.min.js")
}; };
(function () (function ()
{ {
@ -125,15 +136,19 @@
]; ];
this.useDarkStyle.dependencies = [ this.useDarkStyle.dependencies = [
this.darkStyle, this.darkStyle,
this.darkStyleImportant this.darkStyleImportant,
this.darkStyleNavBar,
this.scrollbarStyle
]; ];
this.useNewStyle.dependencies = [ this.useNewStyle.dependencies = [
this.style, this.style,
this.oldStyle, this.oldStyle,
this.navbarOverrideStyle,
this.noBannerStyle,
this.scrollbarStyle this.scrollbarStyle
]; ];
this.overrideNavBar.dependencies = [
this.navbarOverrideStyle,
this.noBannerStyle
];
this.touchVideoPlayer.dependencies = [ this.touchVideoPlayer.dependencies = [
this.touchPlayerStyle this.touchPlayerStyle
]; ];
@ -162,6 +177,7 @@
this.guiSettings.displayName = "设置"; this.guiSettings.displayName = "设置";
this.useDarkStyle.displayName = "夜间模式"; this.useDarkStyle.displayName = "夜间模式";
this.useNewStyle.displayName = "新样式"; this.useNewStyle.displayName = "新样式";
this.overrideNavBar.displayName = "搜索栏位置调整";
this.touchNavBar.displayName = "顶栏触摸优化"; this.touchNavBar.displayName = "顶栏触摸优化";
this.touchVideoPlayer.displayName = "播放器触摸支持"; this.touchVideoPlayer.displayName = "播放器触摸支持";
this.expandDanmakuList.displayName = "自动展开弹幕列表"; this.expandDanmakuList.displayName = "自动展开弹幕列表";

View File

@ -1,8 +1,8 @@
// ==UserScript== // ==UserScript==
// @name Bilibili Evolved // @name Bilibili Evolved
// @version 1.3.13 // @version 1.4.1
// @description 增强哔哩哔哩Web端体验. // @description 增强哔哩哔哩Web端体验.
// @author Grant Howard // @author Grant Howard / Coulomb-G
// @match *://*.bilibili.com/* // @match *://*.bilibili.com/*
// @match *://*.bilibili.com // @match *://*.bilibili.com
// @run-at document-end // @run-at document-end
@ -23,9 +23,9 @@
const settings = { const settings = {
blurSettingsPanel: false, blurSettingsPanel: false,
blurVideoControl: false, blurVideoControl: false,
toast: false, toast: true,
fullTweetsTitle: false, fullTweetsTitle: true,
removeVideoTopMask: true, removeVideoTopMask: false,
removeLiveWatermark: true, removeLiveWatermark: true,
harunaScale: true, harunaScale: true,
removeAds: true, removeAds: true,
@ -49,7 +49,7 @@
notifyNewVersion: true, notifyNewVersion: true,
fixFullscreen: false, fixFullscreen: false,
latestVersionLink: "https://github.com/the1812/Bilibili-Evolved/raw/master/bilibili-evolved.user.js", latestVersionLink: "https://github.com/the1812/Bilibili-Evolved/raw/master/bilibili-evolved.user.js",
currentVersion: "1.3.13" currentVersion: "1.4.1"
}; };
function loadSettings() function loadSettings()
{ {
@ -76,46 +76,57 @@
GM_addValueChangeListener(key, change); GM_addValueChangeListener(key, change);
} }
} }
function runAndObserveDomMutation(selector, callback)
{
const element = document.querySelector(selector);
if (element)
{
const observer = new MutationObserver(callback);
observer.observe(element, { childList: true, subtree: true });
}
}
function loadResources() function loadResources()
{ {
Resource.root = "https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/"; Resource.root = "https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/";
Resource.all = { Resource.all = {
style: new Resource("style/style.min.scss", 1), style: new Resource("min/style.min.scss", 1),
oldStyle: new Resource("style/style-old.min.scss", 1), oldStyle: new Resource("min/old.min.scss", 1),
scrollbarStyle: new Resource("style/style-scrollbar.min.css", 1), scrollbarStyle: new Resource("min/scrollbar.min.css", 1),
darkStyle: new Resource("style/style-dark.min.scss", 2), darkStyle: new Resource("min/dark.min.scss", 2),
darkStyleImportant: new Resource("style/style-dark-important.min.scss"), darkStyleImportant: new Resource("min/dark-important.min.scss"),
touchPlayerStyle: new Resource("style/style-touch-player.min.scss", 3), darkStyleNavBar: new Resource("min/dark-navbar.min.scss"),
navbarOverrideStyle: new Resource("style/style-navbar-override.min.css", 4), touchPlayerStyle: new Resource("min/touch-player.min.scss", 3),
noBannerStyle: new Resource("style/style-no-banner.min.css", 5), navbarOverrideStyle: new Resource("min/navbar-override.min.css", 4),
removeAdsStyle: new Resource("style/style-remove-promotions.min.css", 6), noBannerStyle: new Resource("min/no-banner.min.css", 5),
guiSettingsStyle: new Resource("style/style-gui-settings.min.scss", 0), removeAdsStyle: new Resource("min/remove-promotions.min.css", 6),
fullTweetsTitleStyle: new Resource("style/style-full-tweets-title.min.css", 7), guiSettingsStyle: new Resource("min/gui-settings.min.scss", 0),
imageViewerStyle: new Resource("style/style-image-viewer.min.scss", 8), fullTweetsTitleStyle: new Resource("min/full-tweets-title.min.css", 7),
toastStyle: new Resource("style/style-toast.min.scss", 9), imageViewerStyle: new Resource("min/image-viewer.min.scss", 8),
blurVideoControlStyle: new Resource("style/style-blur-video-control.min.css", 10), toastStyle: new Resource("min/toast.min.scss", 9),
blurVideoControlStyle: new Resource("min/blur-video-control.min.css", 10),
guiSettingsDom: new Resource("utils/gui-settings.html"), guiSettingsDom: new Resource("utils/gui-settings.html"),
imageViewerDom: new Resource("utils/image-viewer.html"), imageViewerDom: new Resource("utils/image-viewer.html"),
latestVersion: new Resource("version.txt"), latestVersion: new Resource("version.txt"),
guiSettings: new Resource("utils/gui-settings.min.js"), guiSettings: new Resource("min/gui-settings.min.js"),
useDarkStyle: new Resource("style/dark-styles.min.js"), useDarkStyle: new Resource("min/dark-styles.min.js"),
useNewStyle: new Resource("style/new-styles.min.js"), useNewStyle: new Resource("min/new-styles.min.js"),
touchNavBar: new Resource("touch/touch-navbar.min.js"), overrideNavBar: new Resource("min/override-navbar.min.js"),
touchVideoPlayer: new Resource("touch/touch-player.min.js"), touchNavBar: new Resource("min/touch-navbar.min.js"),
expandDanmakuList: new Resource("video/expand-danmaku.min.js"), touchVideoPlayer: new Resource("min/touch-player.min.js"),
removeAds: new Resource("utils/remove-promotions.min.js"), expandDanmakuList: new Resource("min/expand-danmaku.min.js"),
watchLaterRedirect: new Resource("utils/watchlater.min.js"), removeAds: new Resource("min/remove-promotions.min.js"),
hideTopSearch: new Resource("utils/hide-top-search.min.js"), watchLaterRedirect: new Resource("min/watchlater.min.js"),
harunaScale: new Resource("video/haruna-scale.min.js"), hideTopSearch: new Resource("min/hide-top-search.min.js"),
removeLiveWatermark: new Resource("video/remove-watermark.min.js"), harunaScale: new Resource("min/haruna-scale.min.js"),
fullTweetsTitle: new Resource("utils/full-tweets-title.min.js"), removeLiveWatermark: new Resource("min/remove-watermark.min.js"),
viewCover: new Resource("video/view-cover.min.js"), fullTweetsTitle: new Resource("min/full-tweets-title.min.js"),
notifyNewVersion: new Resource("utils/notify-new-version.min.js"), viewCover: new Resource("min/view-cover.min.js"),
toast: new Resource("utils/toast.min.js"), notifyNewVersion: new Resource("min/notify-new-version.min.js"),
removeVideoTopMask: new Resource("video/remove-top-mask.min.js"), toast: new Resource("min/toast.min.js"),
blurVideoControl: new Resource("video/blur-video-control.min.js") removeVideoTopMask: new Resource("min/remove-top-mask.min.js"),
blurVideoControl: new Resource("min/blur-video-control.min.js")
}; };
(function () (function ()
{ {
@ -125,15 +136,19 @@
]; ];
this.useDarkStyle.dependencies = [ this.useDarkStyle.dependencies = [
this.darkStyle, this.darkStyle,
this.darkStyleImportant this.darkStyleImportant,
this.darkStyleNavBar,
this.scrollbarStyle
]; ];
this.useNewStyle.dependencies = [ this.useNewStyle.dependencies = [
this.style, this.style,
this.oldStyle, this.oldStyle,
this.navbarOverrideStyle,
this.noBannerStyle,
this.scrollbarStyle this.scrollbarStyle
]; ];
this.overrideNavBar.dependencies = [
this.navbarOverrideStyle,
this.noBannerStyle
];
this.touchVideoPlayer.dependencies = [ this.touchVideoPlayer.dependencies = [
this.touchPlayerStyle this.touchPlayerStyle
]; ];
@ -162,6 +177,7 @@
this.guiSettings.displayName = "设置"; this.guiSettings.displayName = "设置";
this.useDarkStyle.displayName = "夜间模式"; this.useDarkStyle.displayName = "夜间模式";
this.useNewStyle.displayName = "新样式"; this.useNewStyle.displayName = "新样式";
this.overrideNavBar.displayName = "搜索栏位置调整";
this.touchNavBar.displayName = "顶栏触摸优化"; this.touchNavBar.displayName = "顶栏触摸优化";
this.touchVideoPlayer.displayName = "播放器触摸支持"; this.touchVideoPlayer.displayName = "播放器触摸支持";
this.expandDanmakuList.displayName = "自动展开弹幕列表"; this.expandDanmakuList.displayName = "自动展开弹幕列表";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

1
min/blur-video-control.min.js vendored Normal file
View File

@ -0,0 +1 @@
(()=>{return(i,r)=>{runAndObserveDomMutation("#bofqi",()=>{SpinQuery.count(()=>$(".bui-slider .bui-track.bui-track-video-progress,.bilibili-player-area .bilibili-player-video-control"),2,i=>{if(!i.hasClass("video-control-blur-container")){i.addClass("video-control-blur-container");i.prepend(`<div class="video-control-blur-layer"></div>`);r.applyStyle("blurVideoControlStyle","bilibili-blur-video-control")}})});return{ajaxReload:true}}})();

View File

@ -0,0 +1 @@
.link-footer{background-color:#222!important;}.wrapper .elec-btn.disabled,.f-list-hover:hover,.status_box .status_btn.disabled{background-color:#444!important;}blockquote,blockquote *,blockquote .color-blue-01,blockquote .color-blue-02,blockquote .color-blue-03,blockquote .color-blue-04,blockquote .color-gray-01,blockquote .color-gray-02,blockquote .color-gray-03,blockquote .color-green-01,blockquote .color-green-02,blockquote .color-green-03,blockquote .color-green-04,blockquote .color-lblue-01,blockquote .color-lblue-02,blockquote .color-lblue-03,blockquote .color-lblue-04,blockquote .color-pink-01,blockquote .color-pink-02,blockquote .color-pink-03,blockquote .color-pink-04,blockquote .color-purple-01,blockquote .color-purple-02,blockquote .color-purple-03,blockquote .color-purple-04,blockquote .color-yellow-01,blockquote .color-yellow-02,blockquote .color-yellow-03,blockquote .color-yellow-04,.status_box .status_btn.disabled{color:#aaa!important;}.home-page .sticky-bar .bar-content .message,.cover .disabled-cover,.el-input__inner,.commnent-screen-wrap .el-input__inner,.tag-list li.tag-item.on{color:#eee!important;}.link-footer,.el-input__inner,.commnent-screen-wrap .el-input__inner{border-color:transparent!important;}.home-page .sticky-bar .bar-content .message:hover,.other a a:hover,.more-data a:hover,.rank-item .content .info .detail a a:hover{color:$customStyleColor!important;}.season-timeline .season-group.today,.season-timeline .season-group.today .group-time::before,.aside-ctnr .author-info .communicate-btn,.tag-list li.tag-item.on{border-color:$customStyleColor!important;}.season-timeline .season-group.today.is-published .group-time::before,.bg-blue,.security-list .child-list li a.bg-blue:hover,.face-g-tab li.current,.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date,.tag-list li.tag-item.on,.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .btn-white{background-color:$customStyleColor!important;}.face-g-tab li.current,.current .tab-btn-link,.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date{color:$foreground!important;}

1
min/dark-navbar.min.scss Normal file
View File

@ -0,0 +1 @@
.bili-header-m .nav-menu .nav-con .nav-item:hover,.right-part>.shortcuts-ctnr .shortcut-item:hover,#link-navbar-vm>.link-navbar .nav-item:hover{background-color:#222;}.bili-header-m .nav-menu .nav-mask,#link-navbar-vm>.link-navbar,#navbar-vm>.link-navbar{background-color:#444;}.bili-header-m .nav-menu .nav-con .nav-item .t,#link-navbar-vm>.link-navbar .main-ctnr .nav-logo,.right-part>.shortcuts-ctnr,.right-part>.shortcuts-ctnr .shortcut-item:hover,#link-navbar-vm>.link-navbar .nav-item:hover,.my-link-btn .label{color:#eee;}#link-navbar-vm>.link-navbar-ctnr{box-shadow:none;}

1
min/dark-styles.min.js vendored Normal file
View File

@ -0,0 +1 @@
(()=>{return(l,a)=>{a.applyStyle("scrollbarStyle","bilibili-scrollbar-style");SpinQuery.any(()=>$(".custom-scrollbar"),l=>l.removeClass("custom-scrollbar"));if($("#banner_link").length===0||$("#banner_link").length>0&&l.overrideNavBar&&!l.showBanner){a.applyImportantStyle("darkStyleNavBar","bilibili-new-style-dark-nav-bar")}a.applyStyle("darkStyle","bilibili-new-style-dark");a.applyImportantStyle("darkStyleImportant","bilibili-new-style-dark-important");return{ajaxReload:false}}})();

1
min/dark.min.scss Normal file

File diff suppressed because one or more lines are too long

1
min/gui-settings.min.js vendored Normal file
View File

@ -0,0 +1 @@
(()=>{return(e,t)=>{const n={red:"#e57373",pink:"#F06292",purple:"#BA68C8",deepPurple:"#9575CD",indigo:"#7986CB",blue:"#2196F3",lightBlue:"#00A0D8",cyan:"#00ACC1",teal:"#26A69A",green:"#81C784",lightGreen:"#9CCC65",orange:"#FF9800",deepOrange:"#FF7043",brown:"#A1887F",grey:"#757575",blueGrey:"#78909C"};const s={settings:"M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",close:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",ok:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"};const o={customStyleColor:t=>{const n=t.match(/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/);if(n){if(t.length<7){return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`}else{return t}}else{return e.customStyleColor}},blurBackgroundOpacity:t=>{const n=t.match(/^([-\+]?\d+)(\.\d+)?$/);if(n){const e=parseFloat(t);if(e>=0&&e<=1){return t}}return e.blurBackgroundOpacity}};function i(e,t,n){$(`input[type='checkbox'][key='${e}']`).prop("checked",n).change();$(`input[type='text'][key='${e}']`).val(n)}function c(){for(const t in e){i(t,undefined,e[t])}}function a(){$(".gui-settings-header .gui-settings-close").on("click",()=>{$(".gui-settings-panel").removeClass("opened")});$("input[key='customStyleColor']").on("input",()=>{const e=o.customStyleColor($("input[key='customStyleColor']").val());$("div.custom-color-preview").css("background",e)});$("input[type='text'][key]").each((t,n)=>{$(n).attr("placeholder",e[$(n).attr("key")])});$("div.custom-color-preview").on("click",()=>{const e=$(".predefined-colors");e.toggleClass("opened")});const t=document.querySelector("button.save");const n=document.querySelector(".gui-settings-footer svg.gui-settings-ok");const s="save-complete";const a=()=>{n.classList.remove(s);t.classList.remove(s)};t.addEventListener("animationend",a);n.addEventListener("animationend",a);t.addEventListener("click",()=>{$("input[type='checkbox'][key]").each((t,n)=>{e[$(n).attr("key")]=$(n).prop("checked")});$("input[type='text'][key]").each((t,n)=>{const s=$(n).attr("key");const i=$(n).val();e[s]=o[s](i)});saveSettings(e);if([n,t].every(e=>!e.classList.contains(s))){t.classList.add(s);n.classList.add(s)}c()});onSettingsChange(i)}function r(){$(".gui-settings-close path").attr("d",s.close);$(".gui-settings-ok path").attr("d",s.ok);$(".gui-settings svg path").attr("d",s.settings)}function l(){const e={};$(`input[dependencies]`).each((t,n)=>{const s=$(n).attr("dependencies");if(s){e[$(n).attr("key")]=s}});$(`input[type='checkbox'][key]`).on("change",t=>{const n=$(t.target);const s=n.prop("checked");for(const t in e){const o=e[t].split(" ");if(o.indexOf(n.attr("key"))!==-1){let e=true;if(s&&o.every(e=>$(`input[key='${e}']`).prop("checked"))){e=false}$(`input[key='${t}']`).prop("disabled",e);if(e){$(`input[key='${t}'][type='text']`).parent().addClass("disabled")}else{$(`input[key='${t}'][type='text']`).parent().removeClass("disabled")}}}const o=$(".predefined-colors");if(o.hasClass("opened")){o.removeClass("opened")}})}function d(e){if($(".gui-settings").length===0){e.append(`<div class='gui-settings-icon-panel'><div class='gui-settings'>\n <svg style='width:24px;height:24px' viewBox='0 0 24 24'>\n <path/>\n </svg>\n </div></div>`);$(".gui-settings").on("click",()=>{$(".gui-settings-panel").addClass("opened")})}t.applyStyle("guiSettingsStyle","gui-settings-style")}function u(){const e=$(".predefined-colors-grid");for(const t of Object.values(n)){$(`<div class='predefined-colors-grid-block'></div>`).appendTo(e).css("background",t).attr("data-color",t).on("click",e=>{$(`input[key='customStyleColor']`).val($(e.target).attr("data-color")).trigger("input");$("div.custom-color-preview").on("click")})}}function p(){$(".gui-settings-content ul li.category, .gui-settings-content").addClass("blur")}new SpinQuery(()=>$("body"),e=>e.length>0&&unsafeWindow.$,n=>{d(n);const s=t.data.guiSettingsDom.text;if(s){$("body").append(s);a();r();l();c();u();if(e.blurSettingsPanel){p()}}}).start();return{ajaxReload:false}}})();

1
min/new-styles.min.js vendored Normal file
View File

@ -0,0 +1 @@
(()=>{return(e,l)=>{l.applyStyle("scrollbarStyle","bilibili-scrollbar-style");SpinQuery.any(()=>$(".custom-scrollbar"),e=>e.removeClass("custom-scrollbar"));SpinQuery.any(()=>$(".bili-wrapper,#link-navbar-vm,.link-navbar"),()=>{const e=document.getElementsByClassName("bili-wrapper")[0]||document.getElementById("link-navbar-vm")||document.getElementsByClassName("link-navbar")[0];let t=false;if(e instanceof Element){const l=parseInt(window.getComputedStyle(e).height);t=l===50||l===56}if(t){l.applyStyle("style","bilibili-new-style")}else{l.applyStyle("oldStyle","bilibili-new-style")}});return{ajaxReload:false}}})();

1
min/notify-new-version.min.js vendored Normal file
View File

@ -0,0 +1 @@
(()=>{return(t,e)=>{const s={less:-1,equal:0,greater:1,incomparable:NaN};class r{constructor(t){this.parts=t.split(".");this.versionString=t}isPositiveInteger(t){return/^\d+$/.test(t)}validateParts(){for(var t=0;t<this.parts.length;++t){if(!this.isPositiveInteger(this.parts[t])){return false}}return true}compareTo(t){if(!this.validateParts()||!t.validateParts()){return s.incomparable}for(let e=0;e<this.parts.length;++e){if(t.parts.length===e){return s.greater}if(this.parts[e]===t.parts[e]){continue}if(this.parts[e]>t.parts[e]){return s.greater}return s.less}if(this.parts.length!==t.parts.length){return s.less}return s.equal}greaterThan(t){return this.compareTo(t)===s.greater}lessThan(t){return this.compareTo(t)===s.less}equals(t){return this.compareTo(t)===s.equal}}const n=new r(e.data.latestVersion.text);const a=new r(t.currentVersion);if(n.greaterThan(a)){SpinQuery.any(()=>$(".gui-settings"),e=>{e.addClass("gui-settings-notification");const s=$(".gui-settings-footer");const r=`新版本${n.versionString}已发布.`;s.after(`\n <div class="gui-settings-footer">\n <span class="gui-settings-label">${r}</span>\n <a>\n <button\n class="gui-settings-button"\n id="new-version-update">\n 更新\n </button>\n </a>\n </div>`);$("#new-version-update").parent().attr("href",t.latestVersionLink);Toast.show(r,"检查更新",1e4)})}return{ajaxReload:false}}})();

View File

@ -1 +1 @@
.bili-header-m>.nav-menu{background:$customStyleColorff!important;box-shadow:$customStyleColor70 0px 2px 10px 1px!important;}body .bili-header-m .nav-menu div.nav-mask{background-color:transparent!important;box-shadow:none!important;}.bili-header-m .nav-menu .nav-con .nav-item .t{color:$foregroundd!important;}li.nav-item:hover{background-color:hsla(0,0%,$brightness,.2)!important;}.vip-m{background:white!important;}a.t>i.bili-icon{filter:brightness(0) $filterInvert!important;background-image:url(https://www.bilibili.com/favicon.ico)!important;background-size:cover!important;background-position:inherit!important;width:16px!important;height:16px!important;opacity:0.81!important;}#entryOld,.nav-search-submit,.b-icon-app,.title-icon{display:none!important;}.i-face>.face{border:1.5px solid #fff3!important;margin-top:-1px!important;}div.up-load{margin:5px 0 0 5px!important;height:32px!important;}.u-link{background:transparent!important;color:$foregroundd!important;border-radius:4px!important;line-height:30px!important;height:30px!important;border:1px solid $foregroundb!important;transition:background-color .2s!important;}.u-link:hover{opacity:1!important;background-color:hsla(0,0%,$brightness,.2)!important;}.nav-search{width:140px!important;}.nav-search-keyword{width:130px!important;}#nav_searchform{margin-top:0.1rem!important;border-radius:4px!important;background:#fffb!important;border:none!important;transition:background-color .2s!important;box-shadow:0px 2px 10px 1px #0002;}#nav_searchform:hover{background-color:#fff!important;}#bilibiliPlayer{box-shadow:0px 4px 16px 0px $customStyleColor40!important;}.blur-bg{opacity:$blurBackgroundOpacity!important;filter:blur(20px)!important;}.cancel{width:28px!important;}ul.bilibili-suggest{margin-left:-30px!important;width:200px!important;}li.suggest-item>a{max-width:155px!important;}div.num{border:1px solid #fff8!important;}#primary_menu,#primary_menu>ul.nav-menu{display:flex!important;align-items:center!important;}div.nav-gif,#primary_menu{padding:0!important;}.up-nav{top:37px!important;}.filter-item.search{margin:0!important;}.input-box textarea{padding:8px!important;}.bili-header-m .nav-search .nav-search-keyword{color:#222!important;}.tag-container .tag-item .tag-border .tag-border-inner{width:100%!important;}input.nav-search-keyword::placeholder{color:#888!important;}#home_noob.guide-box{display:flex!important;}@media only screen and (min-width: 1291px){.bilibili-suggest.nav,.nav-search{width:250px!important;margin-right:72px!important;}.nav-search-keyword{width:240px!important;}ul.bilibili-suggest{margin-left:0px!important;width:250px!important;}li.suggest-item>a{max-width:205px!important;}} .bili-header-m>.nav-menu{background:$customStyleColorff!important;box-shadow:$customStyleColor70 0px 2px 10px 1px!important;}body .bili-header-m .nav-menu div.nav-mask{background-color:transparent!important;box-shadow:none!important;}.bili-header-m .nav-menu .nav-con .nav-item .t{color:$foregroundd!important;}li.nav-item:hover{background-color:hsla(0,0%,$brightness,.2)!important;}.vip-m{background:white!important;}a.t>i.bili-icon{filter:brightness(0) $filterInvert!important;background-image:url(https://www.bilibili.com/favicon.ico)!important;background-size:cover!important;background-position:inherit!important;width:16px!important;height:16px!important;opacity:0.81!important;}#entryOld,.nav-search-submit,.b-icon-app,.title-icon{display:none!important;}.i-face>.face{border:1.5px solid #fff3!important;margin-top:-1px!important;}div.up-load{margin:5px 0 0 5px!important;height:32px!important;}.u-link{background:transparent!important;color:$foregroundd!important;border-radius:4px!important;line-height:30px!important;height:30px!important;border:1px solid $foregroundb!important;transition:background-color .2s!important;}.u-link:hover{opacity:1!important;background-color:hsla(0,0%,$brightness,.2)!important;}.nav-search{width:140px!important;}.nav-search-keyword{width:130px!important;}#nav_searchform{margin-top:0.1rem!important;border-radius:4px!important;background:#fffb!important;border:none!important;transition:background-color .2s!important;box-shadow:0px 2px 10px 1px #0002;}#nav_searchform:hover{background-color:#fff!important;}#bilibiliPlayer{box-shadow:0px 4px 16px 0px $customStyleColor40!important;}.blur-bg{opacity:$blurBackgroundOpacity!important;filter:blur(20px)!important;}.cancel{width:28px!important;}ul.bilibili-suggest{margin-left:-30px!important;width:200px!important;}li.suggest-item>a{max-width:155px!important;}div.num{border:1px solid #fff8!important;}#primary_menu,#primary_menu>ul.nav-menu{display:flex!important;align-items:center!important;}div.nav-gif,#primary_menu{padding:0!important;}.up-nav{top:37px!important;}.filter-item.search{margin:0!important;}.input-box textarea{padding:8px!important;}.bili-header-m .nav-search .nav-search-keyword{color:#222!important;}.tag-container .tag-item .tag-border .tag-border-inner{width:100%!important;}input.nav-search-keyword::placeholder,.search-module .search-block input::placeholder{color:#888!important;}#home_noob.guide-box{display:flex!important;}@media only screen and (min-width: 1291px){.bilibili-suggest.nav,.nav-search{width:250px!important;margin-right:72px!important;}.nav-search-keyword{width:240px!important;}ul.bilibili-suggest{margin-left:0px!important;width:250px!important;}li.suggest-item>a{max-width:205px!important;}}

1
min/override-navbar.min.js vendored Normal file
View File

@ -0,0 +1 @@
(()=>{return(e,r)=>{new SpinQuery(()=>$(".search").not(".filter-item"),e=>e.length>0&&$(".nav-con.fr").length>0,e=>{e.detach().insertAfter(".nav-con.fr")}).start();r.applyStyle("navbarOverrideStyle","bilibili-nav-bar-override");if(!e.showBanner){r.applyStyle("noBannerStyle","bilibili-banner-override")}return{ajaxReload:false}}})();

1
min/remove-promotions.min.css vendored Normal file
View File

@ -0,0 +1 @@
#slide_ad,#home_popularize,.gg-floor-module,.home-app-download,.activity-m,.bilibili-player-promote-wrap,.bili-header-m .nav-menu .nav-con .nav-item .text-red{display:none!important;}

1
min/style-dark.min.scss Normal file

File diff suppressed because one or more lines are too long

1
min/style.min.scss Normal file

File diff suppressed because one or more lines are too long

1
min/toast.min.js vendored Normal file
View File

@ -0,0 +1 @@
(()=>{return(t,s)=>{class e{constructor(t="",s="",e="default"){this.type=e;this.message=t;this.title=s;this.duration=3e3;this.element=$(this.cardHtml)[0];this.$element=$(this.element);$(".toast-card-container").append(this.$element)}show(){this.element.classList.add("visible");this.$element.find(".toast-card-dismiss").on("click",()=>this.dismiss());if(this.duration){setTimeout(()=>this.dismiss(),this.duration)}}dismiss(){if(this.element.classList.contains("visible")){this.$element.on("transitionend",()=>this.$element.remove());this.element.classList.remove("visible")}}get cardHtml(){return`\n <div class="toast-card toast-${this.type}">\n <div class="toast-card-header">\n <h1 class="toast-card-title">${this.title}</h1>\n <svg class="toast-card-dismiss" viewbox="0 0 24 24">\n <path d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z">\n </path>\n </svg>\n </div>\n <p class="toast-card-message">${this.message}</p>\n </div>\n `}static get container(){return $(".toast-card-container")}static createToastContainer(){if($(".toast-card-container").length===0){$("body").append(`<div class="toast-card-container"></div>`)}}static _show(t,s,i,a){const n=new e(t,s,a);n.duration=i;n.show()}static show(t,s,e=3e3){this._show(t,s,e,"default")}static info(t,s,e){this._show(t,s,e,"info")}static success(t,s,e){this._show(t,s,e,"success")}static error(t,s,e){this._show(t,s,e,"error")}}s.applyStyle("toastStyle","toast-style");e.createToastContainer();return{ajaxReload:false,export:e}}})();

1
min/toast.min.scss Normal file
View File

@ -0,0 +1 @@
.toast-card-container{position:fixed;left:16px;bottom:16px;display:flex;flex-direction:column;align-items:start;z-index:99999;}.toast-card{background:#444;min-width:240px;border-radius:8px;box-shadow:0 1px 20px rgba(0,0,0,.1);height:0;transition:all 0.3s cubic-bezier(0.18,0.89,0.32,1.28);transform:translateY(16px);transform-origin:bottom;opacity:0;overflow:hidden;display:flex;flex-direction:column;}.toast-card.visible{height:96px;transform:scale(1) translateY(0);opacity:0.95;margin-top:16px;}.toast-card-header{display:flex;align-items:center;}.toast-card-title{font-size:18px;color:#fff6;margin:16px;font-weight:bold;flex:1 1 auto;}svg.toast-card-dismiss{height:24px;width:24px;flex:0 0 auto;padding:16px;cursor:pointer;-webkit-tap-highlight-color:transparent;}svg.toast-card-dismiss path{fill:#fff6;}.toast-card-message{color:#eeed;font-size:14px;margin:16px;margin-top:0;}.toast-card.toast-default{background:#444;}.toast-card.toast-error{background:#652020;}.toast-card.toast-info{background:#303d61;}.toast-card.toast-success{background:#274227;}

1
min/touch-player.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1,20 +0,0 @@
(() =>
{
return (settings, resources) =>
{
if (settings.useNewStyle)
{
// const sliceCount = Object.keys(resources.data)
// .filter(k => k.indexOf("darkStyleSlice") !== -1).length;
// for (let i = sliceCount; i > 0; i--)
// {
// resources.applyStyle(`darkStyleSlice${i}`, `bilibili-new-style-dark-slice-${i}`);
// }
resources.applyStyle("darkStyle", "bilibili-new-style-dark");
resources.applyImportantStyle("darkStyleImportant", "bilibili-new-style-dark-important");
}
return {
ajaxReload: false
};
};
})();

View File

@ -1 +0,0 @@
(()=>{return(e,l)=>{if(e.useNewStyle){l.applyStyle("darkStyle","bilibili-new-style-dark");l.applyImportantStyle("darkStyleImportant","bilibili-new-style-dark-important")}return{ajaxReload:false}}})();

View File

@ -3,7 +3,8 @@
background-color: #222 !important; background-color: #222 !important;
} }
.wrapper .elec-btn.disabled, .wrapper .elec-btn.disabled,
.f-list-hover:hover .f-list-hover:hover,
.status_box .status_btn.disabled
{ {
background-color: #444 !important; background-color: #444 !important;
} }
@ -36,14 +37,16 @@ blockquote .color-purple-04,
blockquote .color-yellow-01, blockquote .color-yellow-01,
blockquote .color-yellow-02, blockquote .color-yellow-02,
blockquote .color-yellow-03, blockquote .color-yellow-03,
blockquote .color-yellow-04 blockquote .color-yellow-04,
.status_box .status_btn.disabled
{ {
color: #aaa !important; color: #aaa !important;
} }
.home-page .sticky-bar .bar-content .message, .home-page .sticky-bar .bar-content .message,
.cover .disabled-cover, .cover .disabled-cover,
.el-input__inner, .el-input__inner,
.commnent-screen-wrap .el-input__inner .commnent-screen-wrap .el-input__inner,
.tag-list li.tag-item.on
{ {
color: #eee !important; color: #eee !important;
} }
@ -56,14 +59,18 @@ blockquote .color-yellow-04
} }
.home-page .sticky-bar .bar-content .message:hover .home-page .sticky-bar .bar-content .message:hover,
.other a a:hover,
.more-data a:hover,
.rank-item .content .info .detail a a:hover
{ {
color: $customStyleColor !important; color: $customStyleColor !important;
} }
.season-timeline .season-group.today, .season-timeline .season-group.today,
.season-timeline .season-group.today .group-time::before, .season-timeline .season-group.today .group-time::before,
.aside-ctnr .author-info .communicate-btn .aside-ctnr .author-info .communicate-btn,
.tag-list li.tag-item.on
{ {
border-color: $customStyleColor !important; border-color: $customStyleColor !important;
} }
@ -73,7 +80,9 @@ blockquote .color-yellow-04
.face-g-tab li.current, .face-g-tab li.current,
.el-date-table td.current:not(.disabled), .el-date-table td.current:not(.disabled),
.el-date-table td.end-date, .el-date-table td.end-date,
.el-date-table td.start-date .el-date-table td.start-date,
.tag-list li.tag-item.on,
.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .btn-white
{ {
background-color: $customStyleColor !important; background-color: $customStyleColor !important;
} }

View File

@ -0,0 +1,25 @@
.bili-header-m .nav-menu .nav-con .nav-item:hover,
.right-part>.shortcuts-ctnr .shortcut-item:hover,
#link-navbar-vm>.link-navbar .nav-item:hover
{
background-color: #222;
}
.bili-header-m .nav-menu .nav-mask,
#link-navbar-vm>.link-navbar,
#navbar-vm>.link-navbar
{
background-color: #444;
}
.bili-header-m .nav-menu .nav-con .nav-item .t,
#link-navbar-vm>.link-navbar .main-ctnr .nav-logo,
.right-part>.shortcuts-ctnr,
.right-part>.shortcuts-ctnr .shortcut-item:hover,
#link-navbar-vm>.link-navbar .nav-item:hover,
.my-link-btn .label
{
color: #eee;
}
#link-navbar-vm>.link-navbar-ctnr
{
box-shadow: none;
}

View File

@ -170,7 +170,6 @@ div.con,
.gift-item.buy.hover, .gift-item.buy.hover,
.gift-presets .gift-panel-switch, .gift-presets .gift-panel-switch,
.chat-history-panel .chat-history-list .chat-item.system-msg, .chat-history-panel .chat-history-list .chat-item.system-msg,
.chat-history-panel .chat-history-list .chat-item.system-msg .msg-icon,
.bilibili-live-player-loading-panel, .bilibili-live-player-loading-panel,
.guard-rank-cntr .rank-cntr .btn-box .buy:hover, .guard-rank-cntr .rank-cntr .btn-box .buy:hover,
.rank.rank-4, .rank.rank-4,
@ -1727,7 +1726,7 @@ canvas.cliper.is-img,
.bui-bar.bui-bar-buffer, .bui-bar.bui-bar-buffer,
.bilibili-player-video-progress-buffer-range .bilibili-player-video-progress-buffer-range
{ {
opacity: 0.5 !important; opacity: 0.382 !important;
} }
.vote-user-face.opacity .vote-user-face.opacity
{ {
@ -2056,7 +2055,6 @@ a.tcd-number:hover,
.bb-comment .comment-list .list-item .info .plad a:hover, .bb-comment .comment-list .list-item .info .plad a:hover,
a.more-hot, a.more-hot,
a.btn-more, a.btn-more,
.bilibili-player-video-hint>a:hover,
.bpui-selectmenu-list-row[data-selected], .bpui-selectmenu-list-row[data-selected],
.bui-checkbox:hover .bui-checkbox-name, .bui-checkbox:hover .bui-checkbox-name,
.bilibili-player-block-filter-type.disabled .bilibili-player-block-filter-label, .bilibili-player-block-filter-type.disabled .bilibili-player-block-filter-label,
@ -2241,7 +2239,6 @@ a.up-name:hover,
.block-setting-ctnr .title, .block-setting-ctnr .title,
.block-user-type.active .user-type-hint, .block-user-type.active .user-type-hint,
.awarding-panel .title, .awarding-panel .title,
header,
.live-status-label, .live-status-label,
.blpui-btn.icon-btn:hover>i, .blpui-btn.icon-btn:hover>i,
.blpui-btn.text-btn.active, .blpui-btn.text-btn.active,

View File

@ -80,16 +80,22 @@ li.season-item .season-body .season-title span.follow,
.audioplayer, .audioplayer,
.log-empty, .log-empty,
.follow-container .follow-right .follow-intro .follow-fold, .follow-container .follow-right .follow-intro .follow-fold,
.follow-container .follow-right .follow-intro .follow-fold:hover,
.link-top-container, .link-top-container,
.audios-wrap #audios-box, .audios-wrap #audios-box,
.link-top-container, .link-top-container,
.medal,
.ui-btn.grey-radius, .ui-btn.grey-radius,
.ui-btn.grey-radius:hover,
.sponsor-rank-item.simple .sp-msg, .sponsor-rank-item.simple .sp-msg,
.sponsor-pay-dialog-v2 .sp-pay-index .sponsor-btn-primary.disabled, .sponsor-pay-dialog-v2 .sp-pay-index .sponsor-btn-primary.disabled,
.sponsor-pay-dialog-v2 .sp-pay-index .sponsor-btn-primary.disabled:hover .timer-wrap .quit,
a.bp_box_bot_click,
.bangumi-collection-card .bangumi-funcs .btn-unfollow li,
.bangumi-collection-card .bangumi-funcs .btn-unfollow,
.section .count,
.progress-bar-ctnr .bar-body,
.user-info > .tag-flag,
.result.is-web,
.has-prize,
.selector-wrapper .more-type-wrapper
{ {
background-color: #222 !important; background-color: #222 !important;
} }
@ -123,7 +129,6 @@ li.season-item .season-body .season-title span.follow,
.media-tab-module-content .spread-module .num, .media-tab-module-content .spread-module .num,
.media-info-card, .media-info-card,
.review-feed-wrapper, .review-feed-wrapper,
.pagelistbox .custom-right .custom-right-inner,
.season-slider-wrapper .slider-wrapper .season-slider-list li:after, .season-slider-wrapper .slider-wrapper .season-slider-list li:after,
.project-list .project-list-item, .project-list .project-list-item,
.ban-app .case-tip, .ban-app .case-tip,
@ -144,7 +149,6 @@ li.season-item .season-body .season-title span.follow,
.player-auxiliary-auxiliary-area .player-auxiliary-adv-danmaku, .player-auxiliary-auxiliary-area .player-auxiliary-adv-danmaku,
.player-auxiliary-auxiliary-area .player-auxiliary-setting, .player-auxiliary-auxiliary-area .player-auxiliary-setting,
.btn-pay-wrapper.is-vip a, .btn-pay-wrapper.is-vip a,
.btn-pay-wrapper.is-vip a:hover,
.bangumi-info .info-right .info-title .func-module .bangumi-btn .btn-follow.followed, .bangumi-info .info-right .info-title .func-module .bangumi-btn .btn-follow.followed,
.episode-item, .episode-item,
.bangumi-list-wrapper .bottom-block .slider-contro span, .bangumi-list-wrapper .bottom-block .slider-contro span,
@ -160,7 +164,6 @@ li.season-item .season-body .season-title span.follow,
.security_content, .security_content,
.side-bar, .side-bar,
.favourite-card, .favourite-card,
.containe,
.container, .container,
.security-list:hover, .security-list:hover,
.security-list-jump:hover, .security-list-jump:hover,
@ -205,7 +208,27 @@ li.season-item .season-body .season-title span.follow,
.ui-calendar .main-wrap, .ui-calendar .main-wrap,
.sponsor-rank-dialog .sp-rank-body, .sponsor-rank-dialog .sp-rank-body,
.sponsor-rank-dialog .sponsor-rank-content .sp-rank-header .sp-list-nav, .sponsor-rank-dialog .sponsor-rank-content .sp-rank-header .sp-list-nav,
.sponsor-pay-dialog-v2 .sp-pay-index .sponsor-pay-dialog-v2 .sp-pay-index,
.bilibili-player-block-filter-image .bilibili-player-block-filter-disabled,
.bilibili-player-block-filter-image .bilibili-player-block-filter-disabled,
.cc-nav-wrp .down-link:hover,
.ui-checkbox input[type=checkbox]:disabled + .ui-checkbox-icon,
.charge-participate,
#article-list-index,
#bp_user_box,
.bb_box,
.bp_box,
.b-info,
.bb-intro-top,
.tag-list li.tag-item,
.pager .jump-pager input[type=text],
.tabnav,
.toolbar-wrapper,
.timeline-box .timeline-item .item-right p.num a,
.timeline-box .timeline-item .item-right p.num span,
.new-stat-module .zone-title .headline .new-stat-more,
.pgc-rank-dropdown,
.block-area .timeline-title .headline .timeline-more
{ {
background-color: #444 !important; background-color: #444 !important;
} }
@ -224,10 +247,6 @@ li.season-item .season-body .season-title span.follow,
{ {
background-color: #aaa !important; background-color: #aaa !important;
} }
// a
// {
// background-color: #eee !important;
// }
.sponsor-rank-item.normal .sp-left .face-wrap, .sponsor-rank-item.normal .sp-left .face-wrap,
.coin-nav .on .coin-nav .on
{ {
@ -271,21 +290,22 @@ li.season-item .season-body .season-title span.follow,
.bilibili-player-auxiliary-area .bilibili-player-info .bilibili-player-setting-menu:hover, .bilibili-player-auxiliary-area .bilibili-player-info .bilibili-player-setting-menu:hover,
.bilibili-player-area .bilibili-player-video-control .bilibili-player-video-btn:hover, .bilibili-player-area .bilibili-player-video-control .bilibili-player-video-btn:hover,
.bilibili-player-area .bilibili-player-video-control .bilibili-player-video-btn.bilibili-player-video-btn-fullscreen .bilibili-player-video-web-fullscreen, .bilibili-player-area .bilibili-player-video-control .bilibili-player-video-btn.bilibili-player-video-btn-fullscreen .bilibili-player-video-web-fullscreen,
.bilibili-player-area .bilibili-player-video-control .bilibili-player-video-btn.bilibili-player-video-btn-fullscreen .bilibili-player-video-web-fullscreen:hover,
.bilibili-player-video-sendbar .bilibili-player-video-btn:hover, .bilibili-player-video-sendbar .bilibili-player-video-btn:hover,
.bilibili-player-video-sendbar .bilibili-player-video-btn > i, .bilibili-player-video-sendbar .bilibili-player-video-btn > i,
.nav-upload-container .nav-upload-item:hover, .nav-upload-container .nav-upload-item:hover,
.contri-condition .contri-sort .contri-sort-type li:hover, .contri-condition .contri-sort .contri-sort-type li:hover,
.share-module .share-module,
.sponsor-rank-item.simple .sp-rank i,
.prize-winner-block
{ {
background-color: transparent !important; background-color: transparent !important;
} }
// a
// {
// background: #fff1 !important;
// }
.fav-main .fav-action-top .back-to-info, .fav-main .fav-action-top .back-to-info,
.cc-nav-wrp .nav-cut-off-line .cc-nav-wrp .nav-cut-off-line,
.section .count:before,
.tag-more .b-toggle-btn,
.no-data,
.block-area .timeline-toggle-block .timeline-toggle-btn
{ {
background: transparent !important; background: transparent !important;
} }
@ -299,7 +319,7 @@ li.season-item .season-body .season-title span.follow,
.live-ctn .live-attch .host, .live-ctn .live-attch .host,
.dynamic-m .title span:not(.sp), .dynamic-m .title span:not(.sp),
.history-tag, .history-tag,
li.no-data, .no-data,
.bilibili-player-ending-panel-box-functions .bui-button.bui-button-disabled, .bilibili-player-ending-panel-box-functions .bui-button.bui-button-disabled,
.paging-box-big .page-jump, .paging-box-big .page-jump,
.coin-operated-m .coin-bottom .tips, .coin-operated-m .coin-bottom .tips,
@ -355,7 +375,6 @@ li.no-data,
.player-auxiliary-block-list .player-auxiliary-block-line-sync, .player-auxiliary-block-list .player-auxiliary-block-line-sync,
.bilibili-player .bilibili-player-auxiliary-area .bilibili-player-info .bilibili-player-watching .bilibili-player-watching-number, .bilibili-player .bilibili-player-auxiliary-area .bilibili-player-info .bilibili-player-watching .bilibili-player-watching-number,
.recom-item a .recom-info .info-title, .recom-item a .recom-info .info-title,
.s-imgUnit .s-imgUnit-text a,
.modal-head a, .modal-head a,
.first-change-lb span, .first-change-lb span,
.descript, .descript,
@ -467,7 +486,70 @@ li.no-data,
.container .musician-recommend .recommend-item .recommend-info .recommend-text, .container .musician-recommend .recommend-item .recommend-info .recommend-text,
.audioplayer .ap-playlist .ap-playlist-header .ap-playlist-amount, .audioplayer .ap-playlist .ap-playlist-header .ap-playlist-amount,
.sponsor-rank-item.simple .sp-msg, .sponsor-rank-item.simple .sp-msg,
.sponsor-pay-dialog-v2 .sp-pay-index .sponsor-hint .sponsor-point .sponsor-pay-dialog-v2 .sp-pay-index .sponsor-hint .sponsor-point,
.bilibili-player-video-sendbar .bilibili-player-video-inputbar .bilibili-player-video-hint,
.episode-item .ep-title,
.bilibili-player-block-filter-function .bilibili-player-block-filter-image .bilibili-player-block-filter-disabled,
.bilibili-player-block-filter-type .bilibili-player-block-filter-image .bilibili-player-block-filter-disabled,
.timer-wrap .canvas-wrap .canvas-title,
.fjw-case-detail .ban-detail .content-box .jury-status .status-left .voted .graph .txt,
.cm-model .report-detail .child-comment .child-list .detail .report-cnt .rep-name,
.cm-model .report-detail .detail .date,
.cm-model .report-detail .more-list,
.data-card .data-box .tab .fan-tab,
.data-card .fans-box .tab .fan-tab,
.notice-card .notice-list .notice-item .notice-time,
.cc-nav-wrp .nav-item i:last-child,
.cc-nav-wrp .down-link .version,
.dc-section .section-tip,
.dc-section-item_title_name small,
.normal-empty,
.growup-participate .status_box .limited,
.announce li span,
.announce h3.title span,
.announce h3.title span .fontvt,
.ui-checkbox input[type=checkbox]:disabled + .ui-checkbox-icon,
.charge-participate .benefit-item .long-desc,
.title-container .info span,
.bp-user-box .bp-user-box-bb,
.bp-user-box .bp-user-box-bk,
.bp-user-box-bottom p,
.b-info .info-tip,
.b-info .balance-footer,
.bb-intro-top .b-question .b-question-title,
.bangumi-collection-wrapper .bangumi-collection-count,
.bangumi-collection-card .bangumi-info .type-and-area,
.bangumi-collection-card .bangumi-info .bangumi-state,
.bangumi-collection-card .bangumi-info .watch-state,
.be-input-word-counter,
#page-index .fav-item .state,
.section .count,
.tag-list-wrp .title .small,
.mod-2 li .r .up-info .v-author,
.mod-2 li .r .v-info .v-info-i,
.mod-1 .r .v-desc,
.mod-1 .r .up-info .v-date,
.mod-1 .r .up-info .v-author,
.mod-1 .r .v-info .v-info-i,
.mod-3 .r .v-info .v-info-i,
.mod-3 .r .up-info .v-author,
.bilibili-player-mode-selection-container .bilibili-player-mode-selection-panel .bilibili-player-mode-selection-row .row-selection .selection-span .selection-icon,
.user-box,
.user-box .grade-dec,
.tabnav-item,
.user-info > .user-uid,
.user-name,
.backdrop .title-box .close-button,
.footer a,
.pagination-wrapper .pagination .pageNum,
.selector-wrapper .city-list,
.selector-wrapper .order-list,
.selector-wrapper .type-list,
.selector-wrapper .more-type-wrapper,
.selector-wrapper .more-type-list .more-type-item,
.bangumi-home-crumb .fcname ul.n_num li a,
.bangumi-home-crumb .fcname ul.n_num li,
.pgc-rank-list .rank-item .ri-detail .ri-point
{ {
color: #aaa !important; color: #aaa !important;
} }
@ -510,7 +592,6 @@ button.button.more,
.bb-comment .nameplate .nameplate-card .nameplate-text, .bb-comment .nameplate .nameplate-card .nameplate-text,
.fav-main .fav-action-top .back-to-info, .fav-main .fav-action-top .back-to-info,
.fav-main .fav-action-bottom li, .fav-main .fav-action-bottom li,
.fav-main .fav-action-bottom li:hover,
.fav-main .fav-action-bottom ul.filter-disable li:hover, .fav-main .fav-action-bottom ul.filter-disable li:hover,
.media-tab-nav ul li, .media-tab-nav ul li,
.media-tab-module-wrp .media-tab-module-content .sl-ep-nav .sl-ep-nav-list, .media-tab-module-wrp .media-tab-module-content .sl-ep-nav .sl-ep-nav-list,
@ -747,7 +828,6 @@ h2.title,
.media-info-wrp .media-info-content .media-info-inner .media-info-r .media-info-title .media-tag, .media-info-wrp .media-info-content .media-info-inner .media-info-r .media-info-title .media-tag,
.media-info-count .media-info-count-item *, .media-info-count .media-info-count-item *,
.btn-pay-wrapper.is-vip a, .btn-pay-wrapper.is-vip a,
.btn-pay-wrapper.is-vip a:hover,
.sponsor-rank-item.normal .sp-right .sp-user .sp-name, .sponsor-rank-item.normal .sp-right .sp-user .sp-name,
.sponsor-rank-item.simple .sp-user, .sponsor-rank-item.simple .sp-user,
.sponsor-rank-dialog .sponsor-rank-content .sp-rank-header .sp-rank-title, .sponsor-rank-dialog .sponsor-rank-content .sp-rank-header .sp-rank-title,
@ -758,14 +838,61 @@ h2.title,
.sponsor-pay-dialog-v2 .sp-pay-index .sponsor-hint, .sponsor-pay-dialog-v2 .sp-pay-index .sponsor-hint,
.sponsor-pay-dialog-v2 .sp-pay-index .sponsor-agree a, .sponsor-pay-dialog-v2 .sp-pay-index .sponsor-agree a,
.sponsor-pay-dialog-v2 .sp-pay-index .sponsor-btn-primary.disabled, .sponsor-pay-dialog-v2 .sp-pay-index .sponsor-btn-primary.disabled,
.sponsor-pay-dialog-v2 .sp-pay-index .sponsor-btn-primary.disabled:hover .timer-wrap .quit p,
.fjw-random .point-wrap .cnt .no-data .title,
.fjw-case-detail .ban-detail .content-box .jury-status .status-left .voted .graph .people,
.timer-wrap .vote-dialog-new .footer .b-able,
.contri-condition .contri-search,
.cc-nav-wrp .down-link .title,
.ui-calendar .main-wrap .shortmenus a,
.assist-wrap .assist-log header .tools .search-wrp input[type=text],
.bili-tab,
.dc-section-title,
#audience-page .version-switch-section .bili-tab,
.dc-section-item_title_name p,
.pie-empty-wrapper,
.announce li > div a,
.setting .setting-title,
.charge-participate .benefit-item .short-desc,
.charge-participate .part-btn,
.bp-user-box-top p,
.bp-user-box i,
.bp_box_top p,
.bp_box_bot a,
.bb-intro-top .b-icon-title,
.b-info .balance-footer .balance-part .part-balance-price,
.b-info .bb-quan,
.b-info .button,
.level-dia,
.bangumi-collection-wrapper .bangumi-collection-title,
.bangumi-collection-card .bangumi-info .bangumi-title,
.bangumi-collection-card .bangumi-funcs .btn-unfollow,
.tag-list-wrp .title .name,
.tag-more .b-toggle-btn,
.video-floor-m .dynamic-title .title .name,
.mod-2 li .r .title,
.video-list .vl-hd .tab-list li,
.pager .jump-pager input[type=text],
.mod-1 .r .title,
.mod-3 .r .title,
.season-slider-wrapper .slider-wrapper .season-slider-list li.cur,
.media-info-wrp .media-info-content .media-info-inner .media-info-r .media-info-btns .bangumi-btn .btn-follow,
.user-info > .user-name,
.user-box .num,
.selector-wrapper .title,
.video-item-biref .biref-info .biref-title,
.block-area .timeline-title .headline .name,
.new-stat-module .zone-title .headline .name,
.carousel-wrapper .carou-info span a,
.new-stat-module .zone-title .headline .new-stat-more,
.block-area .timeline-title .headline .timeline-more,
.block-area .timeline-title .headline .timeline-more:hover,
.block-area .timeline-toggle-block .timeline-toggle-btn,
.timeline-box .timeline-item .item-right p.num a,
.timeline-box .timeline-item .item-right p.num span
{ {
color: #eee !important; color: #eee !important;
} }
// a
// {
// color: #222 !important;
// }
.gift-item-wrap .num, .gift-item-wrap .num,
.side-bar-popup-cntr, .side-bar-popup-cntr,
@ -834,7 +961,6 @@ button.button.more,
.first-change-lb, .first-change-lb,
.btn-pay-wrapper.is-vip a, .btn-pay-wrapper.is-vip a,
.bgray-btn, .bgray-btn,
.bgray-btn:hover,
.main-container .player-wrapper, .main-container .player-wrapper,
.bilibili-player .bilibili-player-auxiliary-area, .bilibili-player .bilibili-player-auxiliary-area,
.episode-item, .episode-item,
@ -903,7 +1029,6 @@ button.button.more,
.main-content-title, .main-content-title,
.nav-list li, .nav-list li,
.m-help, .m-help,
.m-help:hover,
.integrity-table-wrapper, .integrity-table-wrapper,
.record-exp-title, .record-exp-title,
.record-exp-table-wrapper, .record-exp-table-wrapper,
@ -944,7 +1069,46 @@ table.invtable td,
.sponsor-pay-dialog-v2 .sponsor-pay-header.border, .sponsor-pay-dialog-v2 .sponsor-pay-header.border,
.sponsor-pay-dialog-v2 .sp-pay-index ul.sponsor-choice li input, .sponsor-pay-dialog-v2 .sp-pay-index ul.sponsor-choice li input,
.sponsor-pay-dialog-v2 .sp-pay-index .sponsor-btn-primary.disabled, .sponsor-pay-dialog-v2 .sp-pay-index .sponsor-btn-primary.disabled,
.sponsor-pay-dialog-v2 .sp-pay-index .sponsor-btn-primary.disabled:hover .bilibili-player .bilibili-player-block-filter-function .bilibili-player-block-filter-image .bilibili-player-block-filter-disabled,
.bilibili-player .bilibili-player-block-filter-type .bilibili-player-block-filter-image .bilibili-player-block-filter-disabled,
.announce li > div span,
.announce li,
.setting .watermark-setting,
#bp_user_box,
.bp-user-box-top,
.bb_box,
.bp_box,
.bp_box_top,
.b-info,
.bb-intro-top,
.bangumi-collection-wrapper .bangumi-collection-count,
.bangumi-collection-card .bangumi-funcs .btn-unfollow,
.section .count,
.tag-list li.tag-item,
.mod-2 li,
.video-list .vl-hd,
.pager .jump-pager input[type=text],
.mod-1 .r .up-info .v-date,
.mod-1 .r,
.mod-3 .l-item,
.sponsor-rank-item.simple .sp-msg,
.nav-item-ctnr.expanded .nav-item,
.nav-item-ctnr.expanded .sub-pages-item-ctnr,
.user,
.app-body .section-block.with-radius,
.user-hd,
.tabnav,
.app-body .section-block.with-bottom-radius,
.backdrop .title-box,
.prize-img,
.selector-wrapper .more-type-wrapper,
.selector-wrapper .more-city-letter-list,
.footer .border,
.selector-wrapper .city-selector-wrapper,
.selector-wrapper .type-selector-wrapper,
.new-stat-module .zone-title .headline .new-stat-more,
.pgc-rank-dropdown,
.block-area .timeline-title .headline .timeline-more
{ {
border-color: transparent !important; border-color: transparent !important;
} }
@ -965,14 +1129,12 @@ li.history,
.home-userstatus, .home-userstatus,
.right-more-btn, .right-more-btn,
.points-pendant-item, .points-pendant-item,
.container .host-list-layout .hot-list-wrap .hot-song-list .song-info .song-content .iconfont .container .host-list-layout .hot-list-wrap .hot-song-list .song-info .song-content .iconfont,
.bpui-button-text-only .bpui-button-text .bpui-flex-wrap,
.bp-user-box-bb
{ {
border-color: #aaa !important; border-color: #aaa !important;
} }
// a
// {
// border-color: #222 !important;
// }
.hot-live .room-list, .hot-live .room-list,
.player-auxiliary-danmaku-date-picker-header, .player-auxiliary-danmaku-date-picker-header,
.table-normal tbody tr td, .table-normal tbody tr td,
@ -980,15 +1142,7 @@ li.history,
{ {
border-color: #444 !important; border-color: #444 !important;
} }
// a
// {
// border-color: #99a2aa !important;
// }
// a
// {
// transition: all .2s !important;
// }
.player-auxiliary-danmaku-date-picker-btn, .player-auxiliary-danmaku-date-picker-btn,
.audioplayer svg:not(.ap-svg-exclude) path, .audioplayer svg:not(.ap-svg-exclude) path,
.audioplayer svg:not(.ap-svg-exclude) polygon .audioplayer svg:not(.ap-svg-exclude) polygon
@ -1002,7 +1156,15 @@ li.history,
.home-to-space .m-arrow, .home-to-space .m-arrow,
.h-mp-space .m-arrow, .h-mp-space .m-arrow,
.go-secuirty .m-arrow, .go-secuirty .m-arrow,
.right-more-btn .m-arrow .right-more-btn .m-arrow,
.growup-participate .status_box img,
.i-m-title .icon-i-title,
.tag-more .b-toggle-btn .b-icon-toggle-down,
.tag-more .b-toggle-btn .b-icon-toggle-up,
.new-stat-module .zone-title .headline .new-stat-more .icon,
.pgc-rank-dropdown .icon-arrow-down,
.sec-rank .more-link .icon-arrow-r,
.block-area .timeline-toggle-block .timeline-toggle-btn i
{ {
filter: brightness(0) invert(1) !important; filter: brightness(0) invert(1) !important;
} }
@ -1027,7 +1189,10 @@ li.history,
.bangumi-list-wrapper .top-block .mode-select li.detail-mode.selected, .bangumi-list-wrapper .top-block .mode-select li.detail-mode.selected,
.bangumi-list-wrapper .top-block .mode-select li.detail-mode:hover, .bangumi-list-wrapper .top-block .mode-select li.detail-mode:hover,
.bangumi-list-wrapper .top-block .mode-select li.simple-mode.selected, .bangumi-list-wrapper .top-block .mode-select li.simple-mode.selected,
.bangumi-list-wrapper .top-block .mode-select li.simple-mode:hover .bangumi-list-wrapper .top-block .mode-select li.simple-mode:hover,
.fjw-random header h2 .head-icon,
.timer-wrap .timer-top h2 .head-icon,
.bp-svg-icon
{ {
filter: $blueImageFilter !important; filter: $blueImageFilter !important;
} }
@ -1035,7 +1200,12 @@ li.history,
li.season-item .season-body .season-title span.follow, li.season-item .season-body .season-title span.follow,
.user-panel-ctnr .ctrl-btn .svg-icon, .user-panel-ctnr .ctrl-btn .svg-icon,
.publish-panel .publish-list .publish-item a, .publish-panel .publish-list .publish-item a,
.episode-item .mark-icon.badge-pink-vip .episode-item .mark-icon.badge-pink-vip,
.episode-item .mark-icon.badge-pink-first,
.tag-list li.tag-item .hot,
.toolbar-wrapper .service-icon,
.toolbar-wrapper .scroll-icon,
.block-area .timeline-title .headline .timeline-more i
{ {
filter: $pinkImageFilter !important; filter: $pinkImageFilter !important;
} }
@ -1059,7 +1229,8 @@ li.season-item .season-body .season-title span.follow,
.text-article-wrp .info-wrp .img, .text-article-wrp .info-wrp .img,
.cc-album-manage .info-wrp .no-img, .cc-album-manage .info-wrp .no-img,
.compila-not-find .compila-not-find-image, .compila-not-find .compila-not-find-image,
.contri-not-find .contri-not-find-image .contri-not-find .contri-not-find-image,
.charge-participate .benefit-item .pic
{ {
filter: brightness(0.72) !important; filter: brightness(0.72) !important;
} }
@ -1073,10 +1244,6 @@ li.season-item .season-body .season-title span.follow,
filter: brightness(0.5) !important; filter: brightness(0.5) !important;
} }
// a
// {
// background-image: none !important;
// }
.i-live .i-live-fo-btn, .i-live .i-live-unfo-btn .i-live .i-live-fo-btn, .i-live .i-live-unfo-btn
{ {
border-radius: 4px !important; border-radius: 4px !important;
@ -1110,18 +1277,6 @@ li.season-item .season-body .season-title span.follow,
{ {
display: none !important; display: none !important;
} }
// a
// {
// opacity: 0 !important;
// }
// a
// {
// opacity: 0.5 !important;
// }
// a
// {
// opacity: 1 !important;
// }
.link-input:focus, .link-input:focus,
.dynamic-list-item-wrap .item-user a.stick, .dynamic-list-item-wrap .item-user a.stick,
@ -1159,7 +1314,21 @@ li.season-item .season-body .season-title span.follow,
.contri-condition .contri-select.active, .contri-condition .contri-select.active,
.container .song-list .song-li .song-shadow, .container .song-list .song-li .song-shadow,
.container .host-list-layout .hot-list-wrap .hot-song-list .song-info .song-content .iconfont:hover, .container .host-list-layout .hot-list-wrap .hot-song-list .song-info .song-content .iconfont:hover,
.container .musician-recommend .recommend-item .recommend-info .listen-btn .container .musician-recommend .recommend-item .recommend-info .listen-btn,
.bilibili-player .bilibili-player-block .bilibili-player-block-tabpanel .bilibili-player-block-tabpanel-row.active-1 .bilibili-player-block-type-keyword,
.bilibili-player .bilibili-player-block .bilibili-player-block-tabpanel .bilibili-player-block-tabpanel-row.active-2 .bilibili-player-block-type-user,
.bpui-button-text-only.bpui-state-active .bpui-button-text .bpui-flex-wrap,
.data-card .data-box .tab .fan-tab.current,
.data-card .fans-box .tab .fan-tab.current,
.bili-tab.current,
.bili-tab.current:after,
#audience-page .version-switch-section .bili-tab.current,
.contri-condition .contri-select.active:after,
.video-list .vl-hd .order-tab li.on,
.user-info > .tag-flag,
.tabnav-item.current .tabnav-content,
.project-list .project-list-item .promo-item,
.carousel-wrapper .carou-mini .thumb-cursor
{ {
border-color: $customStyleColor !important; border-color: $customStyleColor !important;
} }
@ -1171,7 +1340,6 @@ li.season-item .season-body .season-title span.follow,
.news-list .news-item .type, .news-list .news-item .type,
.author-info .favourite-btn, .author-info .favourite-btn,
.live-status.on-live, .live-status.on-live,
.live-status.on-live:hover,
.paging-box-big .next:hover, .paging-box-big .next:hover,
.paging-box-big .prev:hover, .paging-box-big .prev:hover,
.bilibili-player-ending-panel-box-functions .bilibili-player-upinfo-electric, .bilibili-player-ending-panel-box-functions .bilibili-player-upinfo-electric,
@ -1206,25 +1374,30 @@ li.season-item .season-body .season-title span.follow,
.history-list .cover-contain .label, .history-list .cover-contain .label,
.coin-text-p .coin-i, .coin-text-p .coin-i,
.invitation-btn, .invitation-btn,
.invitation-btn:hover,
.notice-card .academy-entry, .notice-card .academy-entry,
.section-item .diff-wrp .no-improve, .section-item .diff-wrp .no-improve,
.cc-nav-wrp .nav-upload-btn > a, .cc-nav-wrp .nav-upload-btn > a,
.song-playbtn, .song-playbtn,
.song-playbtn:hover,
.audioplayer .ap-controller .ap-controller-right .ap-volume-thumb-dot, .audioplayer .ap-controller .ap-controller-right .ap-volume-thumb-dot,
.cc-btn.is-main, .cc-btn.is-main,
.cc-btn.is-main:hover,
.cc-album-manage .info-wrp .cc-btn, .cc-album-manage .info-wrp .cc-btn,
.cc-album-manage .info-wrp .cc-btn:hover,
.compila-condition .compila-right .compila-add.single, .compila-condition .compila-right .compila-add.single,
.compila-not-find .compila-not-find-ime, .compila-not-find .compila-not-find-ime,
.contri-not-find .contri-not-find-ime, .contri-not-find .contri-not-find-ime,
.bili-btn.ok, .bili-btn.ok,
.container .host-list-layout .hot-list-wrap .bg-wrap .top-info-content .right-info .right-btn, .host-list-layout .hot-list-wrap .bg-wrap .top-info-content .right-info .right-btn,
.container .host-list-layout .hot-list-wrap .bg-wrap .top-info-content .right-info .right-btn:hover,
.sponsor-rank-dialog .sponsor-rank-content .sp-rank-header .sp-rank-title, .sponsor-rank-dialog .sponsor-rank-content .sp-rank-header .sp-rank-title,
.media-sponsor-wrapper .sponsor-right-area .sponsor-btn .media-sponsor-wrapper .sponsor-right-area .sponsor-btn,
.bilibili-player-ending-panel-box-functions .bilibili-player-pgcinfo-follow-binge-watching,
.ban-detail .content-box .vote-success .success-txt button,
.timer-wrap .vote-dialog-new .footer .b-able,
.charge-participate .part-btn,
.b-info .button,
.bpui-button-text-only.bpui-state-active .bpui-button-text .bpui-flex-button,
.selector-wrapper .more-city-letter-list .more-city-letter-item .letter-item.active:after,
.timeline-box .timeline-item.new p.num a,
.new-stat-module .zone-title .headline .new-stat-more:hover,
.block-area .timeline-title .headline .timeline-more:hover
{ {
background-color: $customStyleColor !important; background-color: $customStyleColor !important;
} }
@ -1253,7 +1426,6 @@ button.button.more:hover,
.link-footer a:hover, .link-footer a:hover,
.chat-history-panel .chat-item.welcome-guard .username, .chat-history-panel .chat-item.welcome-guard .username,
.bilibili-player-ending-panel-box-functions div.active, .bilibili-player-ending-panel-box-functions div.active,
.bilibili-player-ending-panel-box-functions div.active:hover,
.bilibili-player-ending-panel-box-recommend-add-watchlater .icon-22wait-choice, .bilibili-player-ending-panel-box-recommend-add-watchlater .icon-22wait-choice,
.coin-operated-m .mc-box.on .c-num, .coin-operated-m .mc-box.on .c-num,
.bilibili-player-context-menu-container span.bppl-state-selected, .bilibili-player-context-menu-container span.bppl-state-selected,
@ -1315,7 +1487,6 @@ button.button.more:hover,
.coin-num, .coin-num,
.m-help:hover, .m-help:hover,
.main-content-title a, .main-content-title a,
.main-content-title a:hover,
.record-exp-title .s, .record-exp-title .s,
.btn-delete:hover, .btn-delete:hover,
.data-card .tab .data-tab.current, .data-card .tab .data-tab.current,
@ -1326,24 +1497,66 @@ button.button.more:hover,
.song-introText, .song-introText,
.song-lrcFold, .song-lrcFold,
.song-title .font18, .song-title .font18,
.song-title .font18:hover,
.hotsong-li .font24:hover, .hotsong-li .font24:hover,
.hotsong-li .hotsong-title a:hover, .hotsong-li .hotsong-title a:hover,
.song-li .song-right .song-intro a:hover, .song-li .song-right .song-intro a:hover,
.audioplayer .ap-controller .ap-controller-right .ap-playlist-button:hover .ap-playlist-button-amount, .audioplayer .ap-controller .ap-controller-right .ap-playlist-button:hover .ap-playlist-button-amount,
.follow-container .follow-right .follow-intro .follow-fold, .follow-container .follow-right .follow-intro .follow-fold,
.song-info .song-info-content a, .song-info .song-info-content a,
.song-info .song-info-content a:hover,
.contri-condition .contri-select.active, .contri-condition .contri-select.active,
.contri-condition .contri-sort .contri-sort-type li:hover, .contri-condition .contri-sort .contri-sort-type li:hover,
.medal .medal-form .page-tip a:hover, .medal .medal-form .page-tip a:hover,
.danmu-container .empty-danmu a, .danmu-container .empty-danmu a,
.danmu-container .empty-danmu a:hover,
.container .host-list-layout .hot-list-wrap .hot-song-list .song-info .song-content .iconfont:hover, .container .host-list-layout .hot-list-wrap .hot-song-list .song-info .song-content .iconfont:hover,
.container .host-list-layout .hot-list-wrap .show-more-song:hover .iconfont, .container .host-list-layout .hot-list-wrap .show-more-song:hover .iconfont,
.container .host-list-layout .hot-list-wrap .show-more-song:hover, .container .host-list-layout .hot-list-wrap .show-more-song:hover,
.container .musician-recommend .recommend-item .recommend-info .listen-btn, .container .musician-recommend .recommend-item .recommend-info .listen-btn,
.sponsor-pay-dialog-v2 .sp-pay-index .sponsor-agree a:hover .sponsor-pay-dialog-v2 .sp-pay-index .sponsor-agree a:hover,
.data-card .data-box .tab .fan-tab.current,
.data-card .fans-box .tab .fan-tab.current,
span.flatpickr-weekday,
.ui-calendar .main-wrap .shortmenus a:hover,
.bili-tab.current,
#audience-page .version-switch-section .bili-tab.current,
.announce li > div span,
.announce li .fontvt,
.setting .section-edit,
.charge-participate h1,
a.bp_box_bot_click,
.b-info .balance-name,
.bb-intro-top .b-question .b-question-title:hover,
.bp_box_bot a:hover,
.mini-item .detail a:hover,
.tag-more .b-toggle-btn:hover,
.mod-2 li .r .title:hover,
.video-list .vl-hd .type-tab li.on,
.video-list .vl-hd .order-tab li.on,
.mod-1 .r .up-info .v-author:hover,
.mod-3 .r .title:hover,
.mod-3 .r .up-info .v-author:hover,
.mod-2 li .r .up-info .v-author:hover,
.mod-1 .r .title:hover,
.bilibili-player-video-sendbar .bilibili-player-video-inputbar .bilibili-player-video-hint a:hover,
.user-box .vip-btn,
.user-box .btn:active,
.user-box .btn,
.icon-edit,
.user-info > .tag-flag,
.tabnav-item.current,
.selector-wrapper .city-list .city-item.active,
.selector-wrapper .city-list .city-item:hover,
.selector-wrapper .order-list .city-item.active,
.selector-wrapper .order-list .city-item:hover,
.selector-wrapper .li-more .active,
.selector-wrapper .more-city-list .more-city-item:hover,
.toolbar-wrapper,
.project-list .project-list-item .promo-item,
.toolbar-wrapper .toolbar-title,
.pagination-wrapper .pagination .pageNum.active,
.pagination-wrapper .pagination .pageNum:hover,
.bangumi-home-crumb .fcname ul.n_num li.on a,
.timeline-box .timeline-item .item-right a:hover,
.block-area .timeline-toggle-block .timeline-toggle-btn:hover
{ {
color: $customStyleColor !important; color: $customStyleColor !important;
} }
@ -1382,16 +1595,6 @@ button.button.more:hover,
fill: $customStyleColor !important; fill: $customStyleColor !important;
} }
// a
// {
// border-top-color: transparent !important;
// border-bottom-color: transparent !important;
// }
// a
// {
// border-top-color: transparent !important;
// border-right-color: transparent !important;
// }
.sl-ep-nav .sl-ep-nav-list .sl-ep-nav-item.on:after, .sl-ep-nav .sl-ep-nav-list .sl-ep-nav-item.on:after,
.sponsor-rank-tab .indicator:after, .sponsor-rank-tab .indicator:after,
.security-right, .security-right,
@ -1401,24 +1604,13 @@ button.button.more:hover,
.el-radio-button:first-child .el-radio-button__inner, .el-radio-button:first-child .el-radio-button__inner,
.el-picker-panel [slot=sidebar], .el-picker-panel [slot=sidebar],
.danmu-container, .danmu-container,
.media-info-count .media-info-count-item .media-info-count .media-info-count-item,
a.bp_box_bot_click,
.b-info,
.bb-intro-top,
.mod-2 li .l-item,
.video-list .vl-hd .s-line
{ {
border-left-color: transparent !important; border-left-color: transparent !important;
border-right-color: transparent !important; border-right-color: transparent !important;
} }
// .chat-history-panel .chat-history-list::-webkit-scrollbar-track,
// .multi-page .cur-list ul::-webkit-scrollbar-track
// {
// background: #444 !important;
// }
// .chat-history-panel .chat-history-list::-webkit-scrollbar-thumb,
// .multi-page .cur-list ul::-webkit-scrollbar-thumb
// {
// background: #222 !important;
// }
// .chat-history-panel .chat-history-list::-webkit-scrollbar-thumb:hover,
// .multi-page .cur-list ul::-webkit-scrollbar-thumb:hover
// {
// background: #333 !important;
// }

View File

@ -0,0 +1,522 @@
.bilibili-player-video-sendbar,
.medal-up-trueLove,
.el-date-table td,
.el-date-table td.in-range:hover,
.el-pagination__editor,
.el-pagination button.disabled,
.el-pagination .btn-next,
.el-pagination .btn-prev,
.el-pager li,
.nav-guide-container .nav-guide-tip,
.guide-card.card,
.data-card.card,
.notice-card.card,
.notice-card .notice-list .notice-item,
.income-card.card,
.academy-card.card,
.dc-section-body,
.audioplayer .ap-playlist,
.audioplayer .ap-playlist .ap-playlist-body,
.audioplayer .ap-controller,
.cc-content-body .setting,
.setting .watermark-setting .watermark-wrp .watermark-modal,
.bili-switcher,
.grid .banner,
.bui-sns-info a .bd,
.search-module .search-block .search-word-panel,
.search-module .search-block .search-word-panel .panel-title p span,
div#square.container,
#rankList .list-wrap .list .switch-day .switch-list:hover,
.bili-header-m .head-banner,
.link-navbar-ctnr
{
background-color: #222 !important;
}
.main-container .title>span,
.content-panel .title span,
.face-g-list .mp-block .right ul li.base .round,
.security-list .child-list li a:hover,
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover,
.el-select-dropdown__item.hover,
.el-select-dropdown__item:hover,
.el-picker-panel__shortcut:hover,
.el-date-table td:hover,
.el-date-table td.in-range,
.el-date-table td.next-month:hover,
.el-date-table td.prev-month:hover,
.nav-guide-container .guide-tip-btn .guide-tip-btn-right,
.guide-card .guide-box a,
.footer-content .social-item,
.audioplayer .ap-controller .ap-controller-right .ap-volume-bar-wrap,
.audioplayer .ap-controller .ap-controller-center .ap-play-bar-wrap,
.audioplayer .ap-controller .ap-controller-right .ap-playlist-button-bg,
.pie-empty-wrapper,
.audioplayer .ap-playlist .ap-playlist-body li.ap-playlist-line-active,
.audioplayer .ap-playlist .ap-playlist-body li:hover,
.canvas-card dt .img-contain,
.article-item .item-holder .article-title-holder .list-mark,
.search-module .search-block .search-word-panel .history-item:hover,
.search-module .search-block .search-word-panel .suggest-item:hover,
.rank-module .rank-list .item .rank-index,
.page-content .right-side .rank-module .complete-rank,
.page-content .right-side .up-list .fresh-btn,
body>div.to-top.on,
.s-lineMore-more,
.slide-controller .slide-btn,
.s-rank.gray,
#rankList .list-wrap .list .switch-day,
.index-nav .n-i.gotop .btn_gotop,
.list-wrap .s-showMore,
#activeCenter .s-imgUnit .s-imgUnit-img,
.guide .old-btn a
{
background-color: #444 !important;
}
// a
// {
// background-color: #555 !important;
// }
// a
// {
// background-color: #aaa !important;
// }
.bilibili-player-video-time-seek
{
background-color: #fff1 !important;
}
#mp-mine-header,
#mp-mine-header.active,
.fans-icon,
.guide-card .guide-box a,
.rank-list .canvas-card:nth-child(-n+3)::after
{
background-image: none !important;
}
.mode-fullscreen .bilibili-player-video-btn-widescreen,
.mode-webfullscreen .bilibili-player-video-sendbar,
.mode-fullscreen .bilibili-player-video-sendbar,
.bilibili-player-video-bottom-area::before,
.live-sidebar-ctnr,
.pagelistbox .custom-right .custom-right-inner,
#app>div>.container,
.article-list-holder .article-item,
.search-module .search-block input,
.rank-module .rank-list .item,
.chat-history-panel .chat-history-list .chat-item.system-msg .msg-icon,
.page-content .right-side .up-list,
#rankList .list-wrap .list .switch-day .switch-list,
.index-nav .n-i .name:hover
{
background-color: transparent !important;
}
// a
// {
// background: #fff1 !important;
// }
// a
// {
// background: transparent !important;
// }
.scroll-loading,
.room-card-item .info .s-info,
.fans-no-data::after,
.fans-no-data-wear::after,
.record-item-line .comment-floor,
.record-item-line .comment-location,
.record-item-line .comment-time,
.record-item-line .good,
.no-data-integrity,
.nav-guide-container .nav-guide-tip .guide-tip-content-main p,
.nav-guide-container .nav-guide-tip .guide-tip-content-main h3 span,
.footer-content .social-item,
.dc-section-item_title_time,
.setting .watermark-switcher .switcher-tip,
.setting .section-title span,
.setting .watermark-setting .tooltip,
.article-item .item-holder .article-desc,
.article-item .item-holder .article-info-bar .up-content .nick-name,
.article-item .item-holder .article-info-bar .category,
.article-item .item-holder .article-info-bar .like,
.article-item .item-holder .article-info-bar .reply,
.article-item .item-holder .article-info-bar .view,
.search-module .search-block .search-word-panel .panel-title p span,
.rank-module .rank-tabs-bar .rank-tabs-list li,
.up-list .up-item .info-holder .dynamic,
.more .help .info,
.more .link .info,
.s-imgUnit-text p,
.box .content .item
{
color: #aaa !important;
}
.main-container .title>span,
.content-panel .title span em,
.medal-up-trueLove,
.u-info .u-name,
.bottom-actions .action-item,
.el-pagination__editor,
.el-pagination .btn-next,
.el-pagination .btn-prev,
.el-pager li.btn-quicknext,
.el-pager li.btn-quickprev,
.nav-guide-container .guide-tip-btn .guide-tip-btn-right,
.guide-card .guide-box a,
.setting .watermark-switcher span,
.bili-btn.plain,
.pgc-rank-dropdown .selected,
.article-item .item-holder .article-title-holder .list-mark,
.search-module .search-block input,
.rank-module .rank-tabs-bar label,
.rank-module .rank-list .item .rank-index,
.rank-module .rank-list .item a,
.rank-module .complete-rank,
.up-list .title,
.up-list .fresh-btn,
.up-list .up-item .info-holder .head .nick-name,
.up-list .up-item .info-holder .dynamic .arc-title,
.more .top-bar,
.more .help .title,
.more .link .title,
.page-content .left-side .partitio-name,
.s-lineMore-more,
#mangoTv .mango-rank .text-list a,
.s-imgUnit-text a,
.s-rank.gray,
#rankList .list-wrap .text-list a,
#rankList .list-wrap .list .bar .text,
#rankList .list-wrap .list .switch-day,
.list-wrap .s-showMore,
.footer .boston-postcards li .tips,
.guide .old-btn a,
.gift-box>.num
{
color: #eee !important;
}
// a
// {
// color: #222 !important;
// }
.content-panel .title span,
.medal-up-trueLove,
.el-picker-panel,
.el-time-range-picker__body,
.el-autocomplete-suggestion__wrap,
.el-pager li,
.el-pager li:last-child,
.nav-guide-container .guide-tip-btn .guide-tip-btn-right,
.grid .banner,
.article-item .item-holder .article-title-holder .list-mark,
.search-module .search-block .search-word-panel,
.rank-module .rank-tabs-bar,
.up-list .title,
.up-list .fresh-btn,
.more .top-bar,
body>div.to-top.on,
.s-lineMore-more,
#rankList .list-wrap .list,
#rankList .list-wrap .list .switch-day,
.index-nav .n-i.gotop .btn_gotop,
.list-wrap .s-showMore,
.guide .old-btn a,
.guide .feedback-btn a
{
border-color: transparent !important;
}
// a
// {
// border-color: #aaa !important;
// }
// a
// {
// border-color: #222 !important;
// }
.up-info-holder .fixed-box .up-article-list-block .block-title,
.up-info-holder .fixed-box .more .top-bar,
.el-date-range-picker__content.is-left,
.el-picker-panel [slot=sidebar],
.el-picker-panel__sidebar,
.bili-switcher,
.bui-sns-info a .bd,
.pagelistbox .custom-right .custom-right-inner.custompage,
.article-list-holder .article-item,
.search-module .search-block,
.search-module .search-block .search-word-panel .panel-title .split-line
{
border-color: #444 !important
}
// a
// {
// border-color: #99a2aa !important;
// }
// a
// {
// transition: all .2s !important;
// }
.bilibili-player-video-sendbar .bilibili-player-video-inputbar .bilibili-player-video-hint a
{
fill: #aaa !important;
}
.security-list .first-level .m-arrow,
.page-content .right-side .up-list .fresh-btn:before,
.s-lineMore-more .icon-right,
.slide-controller .slide-btn .icon,
#rankList .list-wrap .list .switch-day .icon-bottom,
.list-wrap .s-showMore .icon-right
{
filter: brightness(0) invert(1) !important;
}
.bp-svg-icon.link,
.face-g-list .mp-block .right ul li.reach::after,
.cc-nav-wrp .logo,
.prize-item .prize-img,
.el-carousel .el-carousel__indicators .el-carousel__indicator.is-active,
.banner .slides-pagination li.selected,
.bui-sns-info>a>img,
.slideshow .slides-next:hover,
.slideshow .slides-prev:hover,
.slideshow .slides-pagination li.selected,
.mainmenu ul.grid li a.yxlb:hover,
.mainmenu ul.grid li.hover a.yxlb,
.mainmenu ul.grid li a.lbzx:hover,
.mainmenu ul.grid li.hover a.lbzx,
.carousel .indicator .indicator-btn-holder .indicator-btn.on
{
filter: $blueImageFilter !important;
}
.svg-icon.good-6-click
{
filter: $pinkImageFilter !important;
}
.article-item .item-holder .article-info-bar .like:before,
.article-item .item-holder .article-info-bar .reply:before,
.article-item .item-holder .article-info-bar .view:before,
.search-module .search-block .search-icon,
.search-module .search-block .search-word-panel .history-item .cancel,
.rank-module .complete-rank::after,
body>div.to-top.on
{
filter: grayscale(1) !important;
}
// a
// {
// filter: none !important;
// }
.tab-mk2.active,
.face-g-more,
.bangumi-player,
.record-nav .on,
.m-help .m-arrow
{
background-image: none !important;
}
// a
// {
// border-radius: 4px !important;
// }
.bangumi-player,
.live-sidebar-ctnr,
.el-picker-panel,
.cc-article-wrp .info-wrp .cc-btn,
.media-sponsor-wrapper .sponsor-right-area .sponsor-btn,
.canvas-card dd .icon-contain .support,
.bui-sns-info a .bd,
.guide .old-btn a,
.link-navbar-ctnr
{
box-shadow: none !important;
}
#bilibiliPlayer
{
box-shadow: 0px 4px 16px 0px $customStyleColor40 !important;
}
.guide .feedback-btn a
{
box-shadow: 0px 1px 10px 0px $customStyleColor30 !important;
}
.main-container .title span::before,
.top-banner,
.nav-guide-container .nav-guide-tip .guide-tip-triangle,
.canvas-card dd .icon-contain .support::after,
.nav-bar .sub-nav::after,
.bui-sns-info a .bd::after,
.more .help .icon,
.more .link .icon
{
display: none !important;
}
// a
// {
// opacity: 0 !important;
// }
// a
// {
// opacity: 0.5 !important;
// }
// a
// {
// opacity: 1 !important;
// }
@supports (backdrop-filter: blur(64px)) or (-webkit-backdrop-filter: blur(64px))
{
.gui-settings-content.blur
{
background: #222c !important;
}
}
.face-g-list .mp-block .right ul li.base .round
{
z-index: 100 !important;
}
.more .help,
.more .link
{
padding-left: 0 !important;
}
body>div.to-top.on
{
background-repeat: no-repeat !important;
}
.list-filter-bar .sort-box .item.active,
.list-filter-bar .sort-box .item:hover,
.data-card .tab .data-tab.current:after,
.audioplayer .ap-playlist .ap-playlist-body .ap-playlist-column-name-value:hover,
.bili-switcher.checked,
.pagelistbox .custom-right .custom-right-inner.custompage:focus,
.sort-item.on i.active,
.rank-module .rank-tabs-bar .rank-tabs-list li.on,
.up-list .up-item .info-holder .head .follow,
#rankList .list-wrap .list .switch.active,
#rankList .list-wrap .list .switch:hover,
#rankList .list-wrap .list .switch.active.active:after,
#rankList .list-wrap .list .switch:hover.active:after
{
border-color: $customStyleColor !important;
}
.audioplayer .ap-controller,
.audioplayer .ap-playlist
{
border: 1px solid $customStyleColor !important;
}
.medal-progress>i,
.gift-item-wrap .expiration,
.el-date-table td.in-range.start-date:hover,
.el-date-table td.in-range.end-date:hover,
.el-date-table td.in-range.start-date,
.el-date-table td.in-range.end-date,
.nav-guide-container .guide-tip-btn .guide-tip-btn-left,
.audioplayer .ap-controller .ap-controller-center .ap-progress-bar,
.audioplayer .ap-controller .ap-controller-right .ap-volume-bar,
.bili-switcher.checked,
.rank-list .canvas-card:nth-child(-n+3)::after,
.rank-list .item:nth-child(-n+3) .rank-index,
.s-lineMore-more:hover,
.s-rank.pink,
.index-nav .n-i.gotop .btn_gotop:hover,
.guide .feedback-btn a,
.gift>.expires
{
background-color: $customStyleColor !important;
}
.audioplayer .ap-play-button svg,
.audioplayer .ap-controller .ap-controller-center .ap-buffer-bar
{
background-color: $customStyleColor60 !important;
}
.audioplayer .ap-play-button:hover svg
{
background-color: $customStyleColor90 !important;
}
.face-g-more,
.room-card-item:hover .room-name,
.content-panel .title span:hover,
.list-filter-bar .sort-box .item.active,
.list-filter-bar .sort-box .item:hover,
.list-filter-bar .pic-type-box .item.active,
.list-filter-bar .pic-type-box .item:hover,
.content-panel .title span:hover em,
.medal-up-name>a,
.list-link a,
.record-nav .on,
.noHover-link,
.my-moral i,
.viphelp span,
.el-pager li:hover,
.audioplayer .ap-playlist .ap-playlist-body li.ap-playlist-line-active,
.audioplayer .ap-playlist .ap-playlist-body li:hover,
.audioplayer .ap-button:hover,
.bilibili-player-video-subtitle-setting-left-more:hover,
.bilibili-player-video-subtitle-setting-left-more:hover .bp-svgicon,
.bilibili-player-video-subtitle-setting-right-more:hover,
.bilibili-player-video-subtitle-setting-right-more:hover .bp-svgicon,
.setting .watermark-setting .watermark-wrp .is-selected,
.search-module .search-block .search-word-panel .suggest_high_light,
.rank-module .rank-tabs-bar .rank-tabs-list li.on,
.rank-module .rank-list .item:hover a,
.rank-module .complete-rank:hover,
.up-list .up-item .info-holder .head .follow,
.up-list .up-item .info-holder .head .nick-name:hover,
.more .help .title:hover,
.more .link .title:hover,
.s-imgUnit-text a:hover,
#mangoTv .mango-rank .text-list a:hover,
#rankList .list-wrap .list .bar .text:hover,
#rankList .list-wrap .list .switch.active,
#rankList .list-wrap .list .switch:hover,
#rankList .list-wrap .text-list a:hover,
.list-wrap .s-showMore:hover,
#activeCenter .s-imgUnit-img .overlay .des,
.common-popup-wrap header,
.gift-box:hover>.num
{
color: $customStyleColor !important;
}
.gift-item-wrap .expiration,
.el-date-table td.in-range.start-date:hover,
.el-date-table td.in-range.end-date:hover,
.el-date-table td.in-range.start-date,
.el-date-table td.in-range.end-date,
.nav-guide-container .guide-tip-btn .guide-tip-btn-left,
.rank-list .item:nth-child(-n+3) .rank-index,
.s-lineMore-more:hover,
.s-rank.pink,
.index-nav .n-i .name:hover,
.guide .feedback-btn a,
.gift>.expires
{
color: $foreground !important;
}
.bilibili-player-video-danmaku-setting-left-more:hover .bp-svgicon,
.bilibili-player-video-danmaku-setting-right-more:hover .bp-svgicon,
.audioplayer .ap-progress-thumb svg path:first-child,
.audioplayer .ap-progress-thumb svg path:nth-child(2),
.bilibili-player-video-subtitle-setting-left-more:hover,
.bilibili-player-video-subtitle-setting-left-more:hover .bp-svgicon,
.bilibili-player-video-subtitle-setting-right-more:hover,
.bilibili-player-video-subtitle-setting-right-more:hover .bp-svgicon,
.bilibili-player-video-sendbar .bilibili-player-video-inputbar .bilibili-player-video-hint a:hover
{
fill: $customStyleColor !important;
}
// a
// {
// border-top-color: transparent !important;
// border-bottom-color: transparent !important;
// }
// a
// {
// border-top-color: transparent !important;
// border-right-color: transparent !important;
// }
.data-card .tab .data-tab.current:after,
.sort-item.on i.active,
#rankList .list-wrap .list .switch.active.active:after,
#rankList .list-wrap .list .switch:hover.active:after
{
border-left-color: transparent !important;
border-right-color: transparent !important;
}

View File

@ -0,0 +1,379 @@
.canvas-card dd .icon-contain .support,
#page .game,
.game-more,
#page .game .game-box h4,
#footer,
.dc-option:hover,
.cc-content-body .medal,
.comment-manage-wrap .search input,
.comment-manage-wrap .head .search .bili-input
{
background-color: #222 !important;
}
.container .host-list-layout .hot-list-wrap .hot-song-list,
.rank-list-container .rank-list-wrapper .rank-list,
.rank-list-container .rank-list-wrapper,
.rank-item-first .detail,
.rank-item-first,
.canvas-card,
.activity-card,
.link-panigation .panigation,
.banner-text,
.bui-sns-info,
.nav-notice li a,
.container .host-list-layout .hot-list-wrap .show-more-song,
.dc-select .dc-option-group,
.comment-manage-wrap .content .action-bar,
.comment-manage-wrap .no-content,
.comment-manage-wrap .head .dropdown-btn,
.comment-manage-wrap .dropdown .dropdown-btn:hover,
.dropdown .dropdown-menu,
.comment-manage-wrap .dropdown.open .dropdown-btn,
.comment-manage-wrap .head .dropdown-btn .text,
.recent-danmu-wrp .danmu-filter .left .delete .option-wrp .act-btn,
.recent-danmu-wrp .head .dropdown-btn,
.rank-item .content,
.rank-tab-wrap,
.rank-list-head .rank_tips
{
background-color: #444 !important;
}
// a
// {
// background-color: #555 !important;
// }
// a
// {
// background-color: #aaa !important;
// }
// a
// {
// background-color: #fff1 !important;
// }
// a
// {
// background-image: none !important;
// }
.link-footer .footer-linker .footer-linker-line,
.nav-notice li,
.nav-notice li.hover
{
background-color: transparent !important;
}
// a
// {
// background: #fff1 !important;
// }
.recent-danmu-wrp .danmu-filter .left .line
{
background: transparent !important;
}
.link-footer .footer-img-linker .footer-img-item,
.canvas-card dd h4 .user-container span,
.canvas-card dd h4 .user-container a,
.nav-bar .sub-nav .sub-tab,
ul.navigation li span,
.activity-card dd span,
.sort-item,
.filter-block .filter-item-wrapper,
.bangumi-index-crumb ul li a,
.bangumi-item .pub-info,
.link-footer .footer-img-linker .footer-img-text,
.cinema-home-crumb ul li a,
.video-item-biref .biref-info .biref-title-sec,
.banner-p a,
.banner-p p,
#page .game .game-box dl a,
.footer-text p,
.footer-text .record,
.dc-radio-button,
#dc-section_summary .follow-tool-box .follow-line-legend .legend-item .legend-text,
.info-item-active p,
.info-item-charge p,
.info-item-medal p,
.info-item-total p,
.rank-active-target,
.rank-fans-medal,
.rank-vedio-target,
.rank-vedio-view,
.dc-radio-button_inner,
.comment-manage-wrap .content .action-bar .dropdown .sort-btn,
.comment-manage-wrap .search .fontvt,
.comment-manage-wrap .dropdown .dropdown-menu li,
.comment-manage-wrap .head .dropdown-menu .article-list .ac-link,
.recent-danmu-wrp .danmu-filter .left .delete .option-wrp .act-btn,
.recent-danmu-wrp .head .dropdown-menu .article-list li,
.recent-danmu-wrp .tips,
.danmu-wrp .section .title-tip .sub,
.danmu-wrp .section .title-tip,
.danmu-wrp .black-tip,
.rank-menu li,
.rank-item .content .info .pts,
.rank-item .content .info .detail a,
.rank-item .content .info .detail,
.rank-tab-wrap,
.rank-list-head .rank_tips,
.more-data,
.other span,
.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .mp-descr,
.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .mp-gettime
{
color: #aaa !important;
}
.rank-item .detail .work-name,
.rank-list-container .more .text,
.canvas-card dd h3 a,
.canvas-card dd .icon-contain .support,
.rank-list .canvas-card:after,
.rank-list .canvas-card:nth-child(-n+3):after,
ul.navigation li.activated span,
.activity-card dd h4,
.link-panigation .panigation,
.link-panigation .panigation.selected,
.panigation .arrow-right i,
.activity-card .category-tab,
.filter-block .filter-name,
.bangumi-item .bangumi-title,
.filter-wrapper .filter-title,
.bangumi-item .cover-wrapper .shadow,
.bangumi-item .cover-wrapper .corner-tag,
.block-area .block-left .block-header .block-title,
#page .game .game-box h4,
.nav-notice li a,
.nav-notice li.hover,
.game-more,
.bui-sns-info a,
.footer-box a,
.dc-section-item_title_custom .sectionTitle,
.ellipsis,
.dc-option,
.dc-section-item_title,
.comment-manage-wrap .content .action-bar .action-btn span,
.comment-manage-wrap .search input,
.comment-manage-wrap .dropdown .dropdown-btn,
.comment-manage-wrap .head .search .bili-input,
.recent-danmu-wrp .dropdown .dropdown-btn,
.danmu-wrp .section .title,
.danmu-wrp .input-group,
.btn-sponsor-wrapper a.sponsor-btn,
.main-container .sponsor-wrapper .sponsor-right-area .sponsor-btn,
.rank-item .num,
.rank-item .content .info .pts div,
.other a,
.other strong,
.video-model header h2,
.info-model header h2,
.fjw-random header h2,
.timer-wrap .timer-top h2,
.fjw-point header h2,
.comment-wrap header h2,
.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .title,
.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .btn,
.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .btn-white
{
color: #eee !important;
}
// a
// {
// color: #222 !important;
// }
.container .host-list-layout .hot-list-wrap .hot-song-list,
.link-footer .footer-img-linker .footer-img-item,
.canvas-card dd .icon-contain .support,
.link-panigation .panigation,
.cinema-home-crumb ul li,
.banner,
.nav-notice li,
.nav-notice li.hover,
.rank-active-target,
.rank-fans-medal,
.rank-vedio-target,
.rank-vedio-view,
.dc-select-label,
.dc-select .dc-option-group,
.comment-manage-wrap .no-content,
.comment-manage-wrap .content .action-bar .action-btn span,
.comment-manage-wrap .content .check-box.checked,
.comment-manage-wrap .search input,
.comment-manage-wrap .dropdown .dropdown-btn,
.comment-manage-wrap .head .dropdown-btn .text,
.recent-danmu-wrp .danmu-filter .left .danmu-type,
.recent-danmu-wrp .danmu-filter .left .protect,
.recent-danmu-wrp .danmu-filter .left .refresh,
.recent-danmu-wrp .danmu-filter .left .delete,
.recent-danmu-wrp .dropdown .dropdown-btn,
.bilibili-player .bilibili-player-area-separator,
div.num,
.rank-item,
.other,
.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info,
.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .btn:hover,
.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .btn
{
border-color: transparent !important;
}
.banner-p a,
.fjw-random .point-wrap .cnt,
.fjw-random .point-wrap .cnt .list,
.face-g-list#my-g-list .face-g-block .my-mp-block
{
border-color: #aaa !important;
}
// a
// {
// border-color: #222 !important;
// }
// a
// {
// border-color: #444 !important
// }
// a
// {
// border-color: #99a2aa !important;
// }
// a
// {
// transition: all .2s !important;
// }
// a
// {
// fill: #aaa !important;
// }
.mainmenu ul.grid li a.yxzx,
.footer-logo,
.more-data i
{
filter: brightness(0) invert(1) !important;
}
// a
// {
// filter: $blueImageFilter !important;
// }
.episode-item .mark-icon
{
filter: $pinkImageFilter !important;
}
// a
// {
// filter: grayscale(1) !important;
// }
// a
// {
// filter: none !important;
// }
// a
// {
// background-image: none !important;
// }
// a
// {
// border-radius: 4px !important;
// }
// a
// {
// box-shadow: none !important;
// }
// a
// {
// box-shadow: 0px 1px 10px 0px $customStyleColor30 !important;
// }
.icon-hot,
.icon-new,
.icon-home
{
display: none !important;
}
// a
// {
// opacity: 0 !important;
// }
// a
// {
// opacity: 0.5 !important;
// }
// a
// {
// opacity: 1 !important;
// }
.sort-item.on i.active,
.banner-p h3,
.banner-p a:hover,
#page .game .game-box h4 span,
.dc-radio-button.is-active,
.dc-radio-button.is-active:after,
.rank-menu li.active
{
border-color: $customStyleColor !important;
}
.nav-bar .nav-wrapper .slide-block,
ul.navigation li:after,
.link-panigation .panigation.selected,
.bangumi-item .cover-wrapper .corner-tag.badge_0,
.comment-manage-wrap .content .check-box.checked,
.btn-sponsor-wrapper a.sponsor-btn,
.main-container .sponsor-wrapper .sponsor-right-area .sponsor-btn,
.bilibili-player .bilibili-player-auxiliary-area .bilibili-player-info .bilibili-player-setting-menu-wrap .bilibili-player-setting-menu-list .active-point,
.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .btn:hover,
.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .btn
{
background-color: $customStyleColor !important;
}
.canvas-card dd h4 .user-container a:hover,
.nav-bar .sub-nav .sub-tab.active,
.rank-item .detail .work-name:hover,
ul.navigation li:hover,
.activity-card dd h4 a:hover,
.link-panigation .panigation:not(.selected):hover,
.panigation .arrow-right:hover i,
.filter-block .filter-item-wrapper .filter-item.on,
.bangumi-index-crumb ul li.on a,
.bangumi-index-crumb ul li:hover a,
.sort-item.on,
.bangumi-item .bangumi-title:hover,
.link-panigation .panigation:hover,
.cinema-home-crumb ul li.on a,
.cinema-home-crumb ul li:hover a,
.banner .slides-pagination li a:hover,
#page .game .game-box dl a:hover,
.banner-p a:hover,
#page .game .game-box dl dt,
.footer-box .footer-text a:hover,
.dc-radio-button.is-active,
.dc-option:hover,
.comment-manage-wrap .dropdown .dropdown-menu .selected,
.comment-manage-wrap .content .action-bar .dropdown .sort-btn:hover,
.rank-menu li.active,
.rank-tab-wrap .rank-tab .active
{
color: $customStyleColor !important;
}
// a
// {
// color: $foreground !important;
// }
// a
// {
// fill: $customStyleColor !important;
// }
#page .game .game-box,
.comment-manage-wrap .head .dropdown-menu .article-list
{
border-top-color: transparent !important;
border-bottom-color: transparent !important;
}
// a
// {
// border-top-color: transparent !important;
// border-right-color: transparent !important;
// }
#page .game .game-box-1,
#page .game .game-box-3,
.game-box-all,
.footer-logo
{
border-left-color: transparent !important;
border-right-color: transparent !important;
}

23
style/dark/dark-styles.js Normal file
View File

@ -0,0 +1,23 @@
(() =>
{
return (settings, resources) =>
{
resources.applyStyle("scrollbarStyle", "bilibili-scrollbar-style");
SpinQuery.any(
() => $(".custom-scrollbar"),
it => it.removeClass("custom-scrollbar")
);
if ($("#banner_link").length === 0 ||
$("#banner_link").length > 0 &&
settings.overrideNavBar &&
!settings.showBanner)
{
resources.applyImportantStyle("darkStyleNavBar", "bilibili-new-style-dark-nav-bar");
}
resources.applyStyle("darkStyle", "bilibili-new-style-dark");
resources.applyImportantStyle("darkStyleImportant", "bilibili-new-style-dark-important");
return {
ajaxReload: false
};
};
})();

View File

@ -0,0 +1,168 @@
// a
// {
// background-color: #222 !important;
// }
// a
// {
// background-color: #444 !important;
// }
// a
// {
// background-color: #555 !important;
// }
// a
// {
// background-color: #aaa !important;
// }
// a
// {
// background-color: #fff1 !important;
// }
// a
// {
// background-image: none !important;
// }
// a
// {
// background-color: transparent !important;
// }
// a
// {
// background: #fff1 !important;
// }
// a
// {
// background: transparent !important;
// }
// a
// {
// color: #aaa !important;
// }
// a
// {
// color: #eee !important;
// }
// a
// {
// color: #222 !important;
// }
// a
// {
// border-color: transparent !important;
// }
// a
// {
// border-color: #aaa !important;
// }
// a
// {
// border-color: #222 !important;
// }
// a
// {
// border-color: #444 !important
// }
// a
// {
// border-color: #99a2aa !important;
// }
// a
// {
// transition: all .2s !important;
// }
// a
// {
// fill: #aaa !important;
// }
// a
// {
// filter: brightness(0) invert(1) !important;
// }
// a
// {
// filter: $blueImageFilter !important;
// }
// a
// {
// filter: $pinkImageFilter !important;
// }
// a
// {
// filter: grayscale(1) !important;
// }
// a
// {
// filter: none !important;
// }
// a
// {
// background-image: none !important;
// }
// a
// {
// border-radius: 4px !important;
// }
// a
// {
// box-shadow: none !important;
// }
// a
// {
// box-shadow: 0px 1px 10px 0px $customStyleColor30 !important;
// }
// a
// {
// display: none !important;
// }
// a
// {
// opacity: 0 !important;
// }
// a
// {
// opacity: 0.5 !important;
// }
// a
// {
// opacity: 1 !important;
// }
// a
// {
// border-color: $customStyleColor !important;
// }
// a
// {
// background-color: $customStyleColor !important;
// }
// a
// {
// color: $customStyleColor !important;
// }
// a
// {
// color: $foreground !important;
// }
// a
// {
// fill: $customStyleColor !important;
// }
// a
// {
// border-top-color: transparent !important;
// border-bottom-color: transparent !important;
// }
// a
// {
// border-top-color: transparent !important;
// border-right-color: transparent !important;
// }
// a
// {
// border-left-color: transparent !important;
// border-right-color: transparent !important;
// }

File diff suppressed because it is too large Load Diff

View File

@ -31,25 +31,6 @@
resources.applyStyle("oldStyle", "bilibili-new-style"); resources.applyStyle("oldStyle", "bilibili-new-style");
} }
}); });
if (settings.overrideNavBar)
{
new SpinQuery(
() => $(".search").not(".filter-item"),
it => it.length > 0 && $(".nav-con.fr").length > 0,
textBox =>
{
textBox.detach()
.insertAfter(".nav-con.fr");
}
).start();
resources.applyStyle("navbarOverrideStyle", "bilibili-nav-bar-override");
if (!settings.showBanner)
{
resources.applyStyle("noBannerStyle", "bilibili-banner-override");
}
}
return { return {
ajaxReload: false ajaxReload: false
}; };

View File

@ -1 +0,0 @@
(()=>{return(e,l)=>{l.applyStyle("scrollbarStyle","bilibili-scrollbar-style");SpinQuery.any(()=>$(".custom-scrollbar"),e=>e.removeClass("custom-scrollbar"));SpinQuery.any(()=>$(".bili-wrapper,#link-navbar-vm,.link-navbar"),()=>{const e=document.getElementsByClassName("bili-wrapper")[0]||document.getElementById("link-navbar-vm")||document.getElementsByClassName("link-navbar")[0];let n=false;if(e instanceof Element){const l=parseInt(window.getComputedStyle(e).height);n=l===50||l===56}if(n){l.applyStyle("style","bilibili-new-style")}else{l.applyStyle("oldStyle","bilibili-new-style")}});if(e.overrideNavBar){new SpinQuery(()=>$(".search").not(".filter-item"),e=>e.length>0&&$(".nav-con.fr").length>0,e=>{e.detach().insertAfter(".nav-con.fr")}).start();l.applyStyle("navbarOverrideStyle","bilibili-nav-bar-override");if(!e.showBanner){l.applyStyle("noBannerStyle","bilibili-banner-override")}}return{ajaxReload:false}}})();

View File

@ -163,7 +163,8 @@ div.nav-gif,
{ {
width: 100% !important; width: 100% !important;
} }
input.nav-search-keyword::placeholder input.nav-search-keyword::placeholder,
.search-module .search-block input::placeholder
{ {
color: #888 !important; color: #888 !important;
} }

24
style/override-navbar.js Normal file
View File

@ -0,0 +1,24 @@
(() =>
{
return (settings, resources) =>
{
new SpinQuery(
() => $(".search").not(".filter-item"),
it => it.length > 0 && $(".nav-con.fr").length > 0,
textBox =>
{
textBox.detach()
.insertAfter(".nav-con.fr");
}
).start();
resources.applyStyle("navbarOverrideStyle", "bilibili-nav-bar-override");
if (!settings.showBanner)
{
resources.applyStyle("noBannerStyle", "bilibili-banner-override");
}
return {
ajaxReload: false
};
};
})();

View File

@ -3,7 +3,8 @@
.gg-floor-module, .gg-floor-module,
.home-app-download, .home-app-download,
.activity-m, .activity-m,
.bilibili-player-promote-wrap .bilibili-player-promote-wrap,
.bili-header-m .nav-menu .nav-con .nav-item .text-red
{ {
display: none !important; display: none !important;
} }

View File

@ -1 +0,0 @@
.link-footer{background-color:#222!important;}.wrapper .elec-btn.disabled,.f-list-hover:hover{background-color:#444!important;}blockquote,blockquote *,blockquote .color-blue-01,blockquote .color-blue-02,blockquote .color-blue-03,blockquote .color-blue-04,blockquote .color-gray-01,blockquote .color-gray-02,blockquote .color-gray-03,blockquote .color-green-01,blockquote .color-green-02,blockquote .color-green-03,blockquote .color-green-04,blockquote .color-lblue-01,blockquote .color-lblue-02,blockquote .color-lblue-03,blockquote .color-lblue-04,blockquote .color-pink-01,blockquote .color-pink-02,blockquote .color-pink-03,blockquote .color-pink-04,blockquote .color-purple-01,blockquote .color-purple-02,blockquote .color-purple-03,blockquote .color-purple-04,blockquote .color-yellow-01,blockquote .color-yellow-02,blockquote .color-yellow-03,blockquote .color-yellow-04{color:#aaa!important;}.home-page .sticky-bar .bar-content .message,.cover .disabled-cover,.el-input__inner,.commnent-screen-wrap .el-input__inner{color:#eee!important;}.link-footer,.el-input__inner,.commnent-screen-wrap .el-input__inner{border-color:transparent!important;}.home-page .sticky-bar .bar-content .message:hover{color:$customStyleColor!important;}.season-timeline .season-group.today,.season-timeline .season-group.today .group-time::before,.aside-ctnr .author-info .communicate-btn{border-color:$customStyleColor!important;}.season-timeline .season-group.today.is-published .group-time::before,.bg-blue,.security-list .child-list li a.bg-blue:hover,.face-g-tab li.current,.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date{background-color:$customStyleColor!important;}.face-g-tab li.current,.current .tab-btn-link,.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date{color:$foreground!important;}

View File

@ -1,325 +0,0 @@
.bilibili-player-video-sendbar,
.medal-up-trueLove,
.el-date-table td,
.el-date-table td.in-range:hover,
.el-pagination__editor,
.el-pagination button.disabled,
.el-pagination .btn-next,
.el-pagination .btn-prev,
.el-pager li,
.nav-guide-container .nav-guide-tip,
.guide-card.card,
.data-card.card,
.notice-card.card,
.notice-card .notice-list .notice-item,
.income-card.card,
.academy-card.card,
.audioplayer .ap-playlist,
.audioplayer .ap-playlist .ap-playlist-body,
.audioplayer .ap-controller
{
background-color: #222 !important;
}
.main-container .title>span,
.content-panel .title span,
.face-g-list .mp-block .right ul li.base .round,
.security-list .child-list li a:hover,
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover,
.el-select-dropdown__item.hover,
.el-select-dropdown__item:hover,
.el-picker-panel__shortcut:hover,
.el-date-table td:hover,
.el-date-table td.in-range,
.el-date-table td.next-month:hover,
.el-date-table td.prev-month:hover,
.nav-guide-container .guide-tip-btn .guide-tip-btn-right,
.guide-card .guide-box a,
.footer-content .social-item,
.audioplayer .ap-controller .ap-controller-right .ap-volume-bar-wrap,
.audioplayer .ap-controller .ap-controller-center .ap-play-bar-wrap,
.audioplayer .ap-controller .ap-controller-right .ap-playlist-button-bg,
.audioplayer .ap-playlist .ap-playlist-body li.ap-playlist-line-active,
.audioplayer .ap-playlist .ap-playlist-body li:hover
{
background-color: #444 !important;
}
// a
// {
// background-color: #555 !important;
// }
// a
// {
// background-color: #aaa !important;
// }
.bilibili-player-video-time-seek
{
background-color: #fff1 !important;
}
#mp-mine-header,
#mp-mine-header.active,
.fans-icon,
.guide-card .guide-box a
{
background-image: none !important;
}
.mode-fullscreen .bilibili-player-video-btn-widescreen,
.mode-webfullscreen .bilibili-player-video-sendbar,
.mode-fullscreen .bilibili-player-video-sendbar,
.bilibili-player-video-bottom-area::before,
.live-sidebar-ctnr
{
background-color: transparent !important;
}
// a
// {
// background: #fff1 !important;
// }
// a
// {
// background: transparent !important;
// }
.scroll-loading,
.room-card-item .info .s-info,
.fans-no-data::after,
.fans-no-data-wear::after,
.record-item-line .comment-floor,
.record-item-line .comment-location,
.record-item-line .comment-time,
.record-item-line .good,
.no-data-integrity,
.nav-guide-container .nav-guide-tip .guide-tip-content-main p,
.nav-guide-container .nav-guide-tip .guide-tip-content-main h3 span,
.footer-content .social-item
{
color: #aaa !important;
}
.main-container .title>span,
.content-panel .title span em,
.medal-up-trueLove,
.u-info .u-name,
.bottom-actions .action-item,
.el-pagination__editor,
.el-pagination .btn-next,
.el-pagination .btn-prev,
.el-pager li.btn-quicknext,
.el-pager li.btn-quickprev,
.nav-guide-container .guide-tip-btn .guide-tip-btn-right,
.guide-card .guide-box a
{
color: #eee !important;
}
// a
// {
// color: #222 !important;
// }
.content-panel .title span,
.medal-up-trueLove,
.el-picker-panel,
.el-time-range-picker__body,
.el-autocomplete-suggestion__wrap,
.el-pager li,
.el-pager li:last-child,
.nav-guide-container .guide-tip-btn .guide-tip-btn-right
{
border-color: transparent !important;
}
// a
// {
// border-color: #aaa !important;
// }
// a
// {
// border-color: #222 !important;
// }
.up-info-holder .fixed-box .up-article-list-block .block-title,
.up-info-holder .fixed-box .more .top-bar,
.el-date-range-picker__content.is-left,
.el-picker-panel [slot=sidebar],
.el-picker-panel__sidebar
{
border-color: #444 !important
}
// a
// {
// border-color: #99a2aa !important;
// }
// a
// {
// transition: all .2s !important;
// }
// a
// {
// fill: #aaa !important;
// }
.security-list .first-level .m-arrow
{
filter: brightness(0) invert(1) !important;
}
.bp-svg-icon.link,
.face-g-list .mp-block .right ul li.reach::after,
.cc-nav-wrp .logo
{
filter: $blueImageFilter !important;
}
// a
// {
// filter: $pinkImageFilter !important;
// }
// a
// {
// filter: grayscale(1) !important;
// }
// a
// {
// filter: none !important;
// }
.tab-mk2.active,
.face-g-more,
.bangumi-player,
.record-nav .on,
.m-help .m-arrow
{
background-image: none !important;
}
// a
// {
// border-radius: 4px !important;
// }
.bangumi-player,
.live-sidebar-ctnr,
.el-picker-panel
{
box-shadow: none !important;
}
// a
// {
// box-shadow: 0px 1px 10px 0px $customStyleColor30 !important;
// }
.main-container .title span::before,
.top-banner,
.nav-guide-container .nav-guide-tip .guide-tip-triangle
{
display: none !important;
}
// a
// {
// opacity: 0 !important;
// }
// a
// {
// opacity: 0.5 !important;
// }
// a
// {
// opacity: 1 !important;
// }
@supports (backdrop-filter: blur(64px)) or (-webkit-backdrop-filter: blur(64px))
{
.gui-settings-content.blur
{
background: #222c !important;
}
}
.face-g-list .mp-block .right ul li.base .round
{
z-index: 100 !important;
}
.list-filter-bar .sort-box .item.active,
.list-filter-bar .sort-box .item:hover,
.data-card .tab .data-tab.current:after,
.audioplayer .ap-playlist .ap-playlist-body .ap-playlist-column-name-value:hover
{
border-color: $customStyleColor !important;
}
.audioplayer .ap-controller,
.audioplayer .ap-playlist
{
border: 1px solid $customStyleColor !important;
}
.medal-progress>i,
.gift-item-wrap .expiration,
.el-date-table td.in-range.start-date:hover,
.el-date-table td.in-range.end-date:hover,
.el-date-table td.in-range.start-date,
.el-date-table td.in-range.end-date,
.nav-guide-container .guide-tip-btn .guide-tip-btn-left,
.audioplayer .ap-controller .ap-controller-center .ap-progress-bar,
.audioplayer .ap-controller .ap-controller-right .ap-volume-bar
{
background-color: $customStyleColor !important;
}
.audioplayer .ap-play-button svg,
.audioplayer .ap-controller .ap-controller-center .ap-buffer-bar
{
background-color: $customStyleColor60 !important;
}
.audioplayer .ap-play-button:hover svg
{
background-color: $customStyleColor90 !important;
}
.face-g-more,
.room-card-item:hover .room-name,
.content-panel .title span:hover,
.list-filter-bar .sort-box .item.active,
.list-filter-bar .sort-box .item:hover,
.list-filter-bar .pic-type-box .item.active,
.list-filter-bar .pic-type-box .item:hover,
.content-panel .title span:hover em,
.medal-up-name>a,
.list-link a,
.record-nav .on,
.noHover-link,
.my-moral i,
.viphelp span,
.el-pager li:hover,
.audioplayer .ap-playlist .ap-playlist-body li.ap-playlist-line-active,
.audioplayer .ap-playlist .ap-playlist-body li:hover,
.audioplayer .ap-button:hover,
.bilibili-player-video-subtitle-setting-left-more:hover,
.bilibili-player-video-subtitle-setting-left-more:hover .bp-svgicon,
.bilibili-player-video-subtitle-setting-right-more:hover,
.bilibili-player-video-subtitle-setting-right-more:hover .bp-svgicon
{
color: $customStyleColor !important;
}
.gift-item-wrap .expiration,
.el-date-table td.in-range.start-date:hover,
.el-date-table td.in-range.end-date:hover,
.el-date-table td.in-range.start-date,
.el-date-table td.in-range.end-date,
.nav-guide-container .guide-tip-btn .guide-tip-btn-left
{
color: $foreground !important;
}
.bilibili-player-video-danmaku-setting-left-more:hover .bp-svgicon,
.bilibili-player-video-danmaku-setting-right-more:hover .bp-svgicon,
.audioplayer .ap-progress-thumb svg path:first-child,
.audioplayer .ap-progress-thumb svg path:nth-child(2),
.bilibili-player-video-subtitle-setting-left-more:hover,
.bilibili-player-video-subtitle-setting-left-more:hover .bp-svgicon,
.bilibili-player-video-subtitle-setting-right-more:hover,
.bilibili-player-video-subtitle-setting-right-more:hover .bp-svgicon
{
fill: $customStyleColor !important;
}
// a
// {
// border-top-color: transparent !important;
// border-bottom-color: transparent !important;
// }
// a
// {
// border-top-color: transparent !important;
// border-right-color: transparent !important;
// }
.data-card .tab .data-tab.current:after
{
border-left-color: transparent !important;
border-right-color: transparent !important;
}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
#slide_ad,#home_popularize,.gg-floor-module,.home-app-download,.activity-m,.bilibili-player-promote-wrap{display:none!important;}

View File

@ -1 +0,0 @@
.toast-card-container{position:fixed;left:16px;bottom:16px;display:flex;flex-direction:column;align-items:start;z-index:9999;}.toast-card{background:#444;min-width:240px;border-radius:8px;box-shadow:0 1px 20px rgba(0,0,0,.1);height:0;transition:all 0.3s cubic-bezier(0.18,0.89,0.32,1.28);transform:translateY(16px);transform-origin:bottom;opacity:0;overflow:hidden;display:flex;flex-direction:column;}.toast-card.visible{height:96px;transform:scale(1) translateY(0);opacity:0.95;margin-top:16px;}.toast-card-header{display:flex;align-items:center;}.toast-card-title{font-size:18px;color:#fff6;margin:16px;font-weight:bold;flex:1 1 auto;}svg.toast-card-dismiss{height:24px;width:24px;flex:0 0 auto;padding:16px;cursor:pointer;-webkit-tap-highlight-color:transparent;}svg.toast-card-dismiss path{fill:#fff6;}.toast-card-message{color:#eeed;font-size:14px;margin:16px;margin-top:0;}.toast-card.toast-default{background:#444;}.toast-card.toast-error{background:#652020;}.toast-card.toast-info{background:#303d61;}.toast-card.toast-success{background:#274227;}

File diff suppressed because one or more lines are too long

View File

@ -51,7 +51,8 @@ div.stardust-player
.shortcuts-ctnr, .shortcuts-ctnr,
.link-navbar .nav-item:hover, .link-navbar .nav-item:hover,
.link-navbar .main-ctnr .nav-switcher, .link-navbar .main-ctnr .nav-switcher,
.my-link-btn .my-link-btn,
.link-navbar .nav-item.selected .label
{ {
color: $foregroundd !important; color: $foregroundd !important;
} }

View File

@ -6,7 +6,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: start; align-items: start;
z-index: 9999; z-index: 99999;
} }
.toast-card .toast-card
{ {

View File

@ -396,6 +396,11 @@
} }
} }
} }
function unbindIconsClick(icons)
{
icons.unbind("click");
}
function setupTouchPlayer(player) function setupTouchPlayer(player)
{ {
if ($(".touch-video-box").length !== 0) if ($(".touch-video-box").length !== 0)
@ -595,15 +600,16 @@
} }
} }
function overrideClickHandler(playerArea) function overrideClickHandler(playerArea)
{
if (!playerArea.hasClass("disable-original-hover"))
{ {
playerArea.addClass("disable-original-hover"); playerArea.addClass("disable-original-hover");
const video = unsafeWindow.$(".bilibili-player-video"); const video = unsafeWindow.$(".bilibili-player-video");
const hoverClassName = "touch-video-control-show"; const hoverClassName = "touch-video-control-show";
const originalClickHandler = video.data("events").click[0].handler; const originalClickHandler = video.data("events").click[0].handler;
video.unbind("click");
let clickedOnce = false; let clickedOnce = false;
const clickHandler = (double, e) => const handleTap = (double, e) =>
{ {
if (double) if (double)
{ {
@ -614,7 +620,7 @@
playerArea.toggleClass(hoverClassName); playerArea.toggleClass(hoverClassName);
} }
}; };
video.on("click", e => const clickHandler = e =>
{ {
if (!clickedOnce) if (!clickedOnce)
{ {
@ -624,27 +630,33 @@
if (clickedOnce) if (clickedOnce)
{ {
clickedOnce = false; clickedOnce = false;
clickHandler(false, e); handleTap(false, e);
} }
}, 160); }, 160);
} }
else else
{ {
clickedOnce = false; clickedOnce = false;
clickHandler(true, e); handleTap(true, e);
} }
}); };
video.unbind("click");
video.on("click", clickHandler);
} }
}
function main()
{
SpinQuery.any( SpinQuery.any(
() => $(".bilibili-player-iconfont,.bilibili-player-video-quality-menu"), () => $(".bilibili-player-iconfont,.bilibili-player-video-quality-menu"),
icons => icons.unbind("click") unbindIconsClick
); );
new SpinQuery( new SpinQuery(
() => $(".bilibili-player-video"), () => $(".bilibili-player-video"),
it => it.length > 0 && $("video").length > 0 && $("video").prop("duration"), it => it.length > 0 && $("video").length > 0 && $("video").prop("duration"),
setupTouchPlayer setupTouchPlayer
).start(); ).start();
if (settings.touchVideoPlayerDoubleTapControl) if (settings.touchVideoPlayerDoubleTapControl)
{ {
new SpinQuery( new SpinQuery(
@ -655,6 +667,9 @@
overrideClickHandler overrideClickHandler
).start(); ).start();
} }
}
runAndObserveDomMutation("#bofqi", () => main());
resources.applyStyle("touchPlayerStyle", "bilibili-touch-video-player"); resources.applyStyle("touchPlayerStyle", "bilibili-touch-video-player");
return { return {

File diff suppressed because one or more lines are too long

View File

@ -9,8 +9,7 @@
<div class="gui-settings-content"> <div class="gui-settings-content">
<ul> <ul>
<category>样式</category> <category>样式</category>
<checkbox indent="0" key="useNewStyle" dependencies=""></checkbox> <li class="indent-0">
<li class="indent-1">
<label class="gui-settings-textbox-container"> <label class="gui-settings-textbox-container">
<span>自定义颜色</span> <span>自定义颜色</span>
<div class="custom-color-preview"> <div class="custom-color-preview">
@ -18,20 +17,19 @@
<div class="predefined-colors-grid"></div> <div class="predefined-colors-grid"></div>
</div> </div>
</div> </div>
<input key="customStyleColor" dependencies="useNewStyle" spellcheck="false" type="text" /> <input key="customStyleColor" dependencies="" spellcheck="false" type="text" />
</label> </label>
</li> </li>
<checkbox indent="0" key="useNewStyle" dependencies=""></checkbox>
<li class="indent-1"> <li class="indent-1">
<label class="gui-settings-textbox-container"> <label class="gui-settings-textbox-container">
<span>顶栏(对横幅)不透明度</span> <span>顶栏(对横幅)不透明度</span>
<input key="blurBackgroundOpacity" dependencies="useNewStyle" spellcheck="false" type="text" /> <input key="blurBackgroundOpacity" dependencies="useNewStyle" spellcheck="false" type="text" />
</label> </label>
</li> </li>
<checkbox indent="1" key="useDarkStyle" dependencies="useNewStyle"></checkbox> <checkbox indent="0" key="useDarkStyle" dependencies=""></checkbox>
<checkbox indent="1" key="overrideNavBar" dependencies="useNewStyle"> <checkbox indent="0" key="overrideNavBar" dependencies=""></checkbox>
搜索栏位置调整 <checkbox indent="1" key="showBanner" dependencies="overrideNavBar">
</checkbox>
<checkbox indent="2" key="showBanner" dependencies="useNewStyle overrideNavBar">
显示顶部横幅 显示顶部横幅
</checkbox> </checkbox>
<category>工具</category> <category>工具</category>

View File

@ -90,12 +90,9 @@
$(element).attr("placeholder", settings[$(element).attr("key")]); $(element).attr("placeholder", settings[$(element).attr("key")]);
}); });
$("div.custom-color-preview").on("click", () => $("div.custom-color-preview").on("click", () =>
{
if ($("input[key='useNewStyle']").prop("checked"))
{ {
const box = $(".predefined-colors"); const box = $(".predefined-colors");
box.toggleClass("opened"); box.toggleClass("opened");
}
}); });
const button = document.querySelector("button.save"); const button = document.querySelector("button.save");

View File

@ -1 +0,0 @@
(()=>{return(e,t)=>{const n={red:"#e57373",pink:"#F06292",purple:"#BA68C8",deepPurple:"#9575CD",indigo:"#7986CB",blue:"#2196F3",lightBlue:"#00A0D8",cyan:"#00ACC1",teal:"#26A69A",green:"#81C784",lightGreen:"#9CCC65",orange:"#FF9800",deepOrange:"#FF7043",brown:"#A1887F",grey:"#757575",blueGrey:"#78909C"};const s={settings:"M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",close:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",ok:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"};const o={customStyleColor:t=>{const n=t.match(/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/);if(n){if(t.length<7){return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`}else{return t}}else{return e.customStyleColor}},blurBackgroundOpacity:t=>{const n=t.match(/^([-\+]?\d+)(\.\d+)?$/);if(n){const e=parseFloat(t);if(e>=0&&e<=1){return t}}return e.blurBackgroundOpacity}};function i(e,t,n){$(`input[type='checkbox'][key='${e}']`).prop("checked",n).change();$(`input[type='text'][key='${e}']`).val(n)}function c(){for(const t in e){i(t,undefined,e[t])}}function a(){$(".gui-settings-header .gui-settings-close").on("click",()=>{$(".gui-settings-panel").removeClass("opened")});$("input[key='customStyleColor']").on("input",()=>{const e=o.customStyleColor($("input[key='customStyleColor']").val());$("div.custom-color-preview").css("background",e)});$("input[type='text'][key]").each((t,n)=>{$(n).attr("placeholder",e[$(n).attr("key")])});$("div.custom-color-preview").on("click",()=>{if($("input[key='useNewStyle']").prop("checked")){const e=$(".predefined-colors");e.toggleClass("opened")}});const t=document.querySelector("button.save");const n=document.querySelector(".gui-settings-footer svg.gui-settings-ok");const s="save-complete";const a=()=>{n.classList.remove(s);t.classList.remove(s)};t.addEventListener("animationend",a);n.addEventListener("animationend",a);t.addEventListener("click",()=>{$("input[type='checkbox'][key]").each((t,n)=>{e[$(n).attr("key")]=$(n).prop("checked")});$("input[type='text'][key]").each((t,n)=>{const s=$(n).attr("key");const i=$(n).val();e[s]=o[s](i)});saveSettings(e);if([n,t].every(e=>!e.classList.contains(s))){t.classList.add(s);n.classList.add(s)}c()});onSettingsChange(i)}function r(){$(".gui-settings-close path").attr("d",s.close);$(".gui-settings-ok path").attr("d",s.ok);$(".gui-settings svg path").attr("d",s.settings)}function l(){const e={};$(`input[dependencies]`).each((t,n)=>{const s=$(n).attr("dependencies");if(s){e[$(n).attr("key")]=s}});$(`input[type='checkbox'][key]`).on("change",t=>{const n=$(t.target);const s=n.prop("checked");for(const t in e){const o=e[t].split(" ");if(o.indexOf(n.attr("key"))!==-1){let e=true;if(s&&o.every(e=>$(`input[key='${e}']`).prop("checked"))){e=false}$(`input[key='${t}']`).prop("disabled",e);if(e){$(`input[key='${t}'][type='text']`).parent().addClass("disabled")}else{$(`input[key='${t}'][type='text']`).parent().removeClass("disabled")}}}const o=$(".predefined-colors");if(o.hasClass("opened")){o.removeClass("opened")}})}function d(e){if($(".gui-settings").length===0){e.append(`<div class='gui-settings-icon-panel'><div class='gui-settings'>\n <svg style='width:24px;height:24px' viewBox='0 0 24 24'>\n <path/>\n </svg>\n </div></div>`);$(".gui-settings").on("click",()=>{$(".gui-settings-panel").addClass("opened")})}t.applyStyle("guiSettingsStyle","gui-settings-style")}function u(){const e=$(".predefined-colors-grid");for(const t of Object.values(n)){$(`<div class='predefined-colors-grid-block'></div>`).appendTo(e).css("background",t).attr("data-color",t).on("click",e=>{$(`input[key='customStyleColor']`).val($(e.target).attr("data-color")).trigger("input");$("div.custom-color-preview").on("click")})}}function p(){$(".gui-settings-content ul li.category, .gui-settings-content").addClass("blur")}new SpinQuery(()=>$("body"),e=>e.length>0&&unsafeWindow.$,n=>{d(n);const s=t.data.guiSettingsDom.text;if(s){$("body").append(s);a();r();l();c();u();if(e.blurSettingsPanel){p()}}}).start();return{ajaxReload:false}}})();

View File

@ -1 +1 @@
(()=>{return(t,e)=>{const s={less:-1,equal:0,greater:1,incomparable:NaN};class r{constructor(t){this.parts=t.split(".");this.versionString=t}isPositiveInteger(t){return/^\d+$/.test(t)}validateParts(){for(var t=0;t<this.parts.length;++t){if(!this.isPositiveInteger(this.parts[t])){return false}}return true}compareTo(t){if(!this.validateParts()||!t.validateParts()){return s.incomparable}for(let e=0;e<this.parts.length;++e){if(t.parts.length===e){return s.greater}if(this.parts[e]===t.parts[e]){continue}if(this.parts[e]>t.parts[e]){return s.greater}return s.less}if(this.parts.length!==t.parts.length){return s.less}return s.equal}greaterThan(t){return this.compareTo(t)===s.greater}lessThan(t){return this.compareTo(t)===s.less}equals(t){return this.compareTo(t)===s.equal}}const n=new r(e.data.latestVersion.text);const a=new r(t.currentVersion);if(n.greaterThan(a)){SpinQuery.any(()=>$(".gui-settings"),e=>{e.addClass("gui-settings-notification");const s=$(".gui-settings-footer");const r=`新版本${n.versionString}已发布.`;s.after(`\n <div class="gui-settings-footer">\n <span class="gui-settings-label">${r}</span>\n <a>\n <button\n class="gui-settings-button"\n id="new-version-update">\n 更新\n </button>\n </a>\n </div>`);$("#new-version-update").parent().attr("href",t.latestVersionLink);Toast.show(r,"检查更新",1e4)})}return{ajaxReload:false}}})(); (()=>{return(t,e)=>{const s={less:-1,equal:0,greater:1,incomparable:NaN};class r{constructor(t){this.parts=t.split(".");this.versionString=t}isPositiveInteger(t){return/^\d+$/.test(t)}validateParts(){for(var t=0;t<this.parts.length;++t){if(!this.isPositiveInteger(this.parts[t])){return false}}return true}compareTo(t){if(!this.validateParts()||!t.validateParts()){return s.incomparable}for(let e=0;e<this.parts.length;++e){if(t.parts.length===e){return s.greater}if(this.parts[e]===t.parts[e]){continue}if(this.parts[e]>t.parts[e]){return s.greater}return s.less}if(this.parts.length!==t.parts.length){return s.less}return s.equal}greaterThan(t){return this.compareTo(t)===s.greater}lessThan(t){return this.compareTo(t)===s.less}equals(t){return this.compareTo(t)===s.equal}}const n=new r(e.data.latestVersion.text);const a=new r(t.currentVersion);if(n.greaterThan(a)){const r=`新版本${n.versionString}已发布.`;Toast.show(r,"检查更新",1e4)}return{ajaxReload:false}}})();

2
utils/toast.min.js vendored
View File

@ -1 +1 @@
(()=>{return(t,s)=>{class e{constructor(t="",s="",e="default"){this.type=e;this.message=t;this.title=s;this.duration=3e3;this.element=$(this.cardHtml)[0];this.$element=$(this.element);$(".toast-card-container").append(this.$element)}show(){this.element.classList.add("visible");this.$element.find(".toast-card-dismiss").on("click",()=>this.dismiss());if(this.duration){setTimeout(()=>this.dismiss(),this.duration)}}dismiss(){if(this.element.classList.contains("visible")){this.$element.on("transitionend",()=>this.$element.remove());this.element.classList.remove("visible")}}get cardHtml(){return`\n <div class="toast-card toast-${this.type}">\n <div class="toast-card-header">\n <h1 class="toast-card-title">${this.title}</h1>\n <svg class="toast-card-dismiss" viewbox="0 0 24 24">\n <path d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z">\n </path>\n </svg>\n </div>\n <p class="toast-card-message">${this.message}</p>\n </div>\n `}static get container(){return $(".toast-card-container")}static createToastContainer(){if($(".toast-card-container").length===0){$("body").append(`<div class="toast-card-container"></div>`)}}static _show(t,s,i,a){const n=new e(t,s,a);n.duration=i;n.show()}static show(t,s,e=3e3){this._show(t,s,e,"default")}static info(t,s,e){this._show(t,s,e,"info")}static success(t,s,e){this._show(t,s,e,"success")}static error(t,s,e){this._show(t,s,e,"error")}}s.applyStyle("toastStyle","toast-style");e.createToastContainer();return{ajaxReload:false,export:e}}})(); (()=>{return(t,s)=>{class e{constructor(t="",s="",e="default"){this.type=e;this.message=t;this.title=s;this.duration=3e3;this.element=$(this.cardHtml)[0];this.$element=$(this.element);$(".toast-card-container").append(this.$element)}show(){this.element.classList.add("visible");this.$element.find(".toast-card-dismiss").on("click",()=>this.dismiss());if(this.duration){setTimeout(()=>this.dismiss(),this.duration)}}dismiss(){if(this.element.classList.contains("visible")){this.$element.on("transitionend",()=>this.$element.remove());this.element.classList.remove("visible")}}get cardHtml(){return`\n <div class="toast-card toast-${this.type}">\n <div class="toast-card-header">\n <h1 class="toast-card-title">${this.title}</h1>\n <svg class="toast-card-dismiss" viewbox="0 0 24 24">\n <path d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z">\n </path>\n </svg>\n </div>\n <p class="toast-card-message">${this.message}</p>\n </div>\n `}static get container(){return $(".toast-card-container")}static createToastContainer(){if($(".toast-card-container").length===0){$("body").append(`<div class="toast-card-container"></div>`)}}static _show(t,s,i,a){const n=new e(t,s,a);n.duration=i;n.show()}static show(t,s,e=3e3){this._show(t,s,e,"default")}static info(t,s,e){this._show(t,s,e,"info")}static success(t,s,e){this._show(t,s,e,"success")}static error(t,s,e){this._show(t,s,e,"error")}}s.applyStyleFromText(`<style id="toast-style">.toast-card-container{position:fixed;left:16px;bottom:16px;display:flex;flex-direction:column;align-items:start;z-index:99999;}.toast-card{background:#444;min-width:240px;border-radius:8px;box-shadow:0 1px 20px rgba(0,0,0,.1);height:0;transition:all 0.3s cubic-bezier(0.18,0.89,0.32,1.28);transform:translateY(16px);transform-origin:bottom;opacity:0;overflow:hidden;display:flex;flex-direction:column;}.toast-card.visible{height:96px;transform:scale(1) translateY(0);opacity:0.95;margin-top:16px;}.toast-card-header{display:flex;align-items:center;}.toast-card-title{font-size:18px;color:#fff6;margin:16px;font-weight:bold;flex:1 1 auto;}svg.toast-card-dismiss{height:24px;width:24px;flex:0 0 auto;padding:16px;cursor:pointer;-webkit-tap-highlight-color:transparent;}svg.toast-card-dismiss path{fill:#fff6;}.toast-card-message{color:#eeed;font-size:14px;margin:16px;margin-top:0;}.toast-card.toast-default{background:#444;}.toast-card.toast-error{background:#652020;}.toast-card.toast-info{background:#303d61;}.toast-card.toast-success{background:#274227;}</style>`);e.createToastContainer();return{ajaxReload:false,export:e}}})();

View File

@ -1 +1 @@
1.3.13 1.4.1

View File

@ -1,18 +1,25 @@
(() => (() =>
{ {
return (_, resources) => return (_, resources) =>
{
runAndObserveDomMutation("#bofqi", () =>
{ {
SpinQuery.count( SpinQuery.count(
() => $(".bui-slider .bui-track.bui-track-video-progress,.bilibili-player-area .bilibili-player-video-control"), () => $(".bui-slider .bui-track.bui-track-video-progress,.bilibili-player-area .bilibili-player-video-control"),
2, 2,
containers => containers =>
{ {
if (!containers.hasClass("video-control-blur-container"))
{
containers.addClass("video-control-blur-container");
containers.prepend(`<div class="video-control-blur-layer"></div>`); containers.prepend(`<div class="video-control-blur-layer"></div>`);
resources.applyStyle("blurVideoControlStyle", "bilibili-blur-video-control"); resources.applyStyle("blurVideoControlStyle", "bilibili-blur-video-control");
}
});
}); });
return { return {
ajaxReload: false ajaxReload: true
}; };
}; };
})(); })();

View File

@ -1 +0,0 @@
(()=>{return(i,l)=>{SpinQuery.count(()=>$(".bui-slider .bui-track.bui-track-video-progress,.bilibili-player-area .bilibili-player-video-control"),2,i=>{i.prepend(`<div class="video-control-blur-layer"></div>`);l.applyStyle("blurVideoControlStyle","bilibili-blur-video-control")});return{ajaxReload:false}}})();