mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Independent dark style
This commit is contained in:
parent
03c42da7b9
commit
0955494573
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,18 +1,9 @@
|
||||
(() =>
|
||||
{
|
||||
return (settings, resources) =>
|
||||
return (_, 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");
|
||||
}
|
||||
resources.applyStyle("darkStyle", "bilibili-new-style-dark");
|
||||
resources.applyImportantStyle("darkStyleImportant", "bilibili-new-style-dark-important");
|
||||
return {
|
||||
ajaxReload: false
|
||||
};
|
||||
|
||||
2
style/dark-styles.min.js
vendored
2
style/dark-styles.min.js
vendored
@ -1 +1 @@
|
||||
(()=>{return(e,l)=>{if(e.useNewStyle){l.applyStyle("darkStyle","bilibili-new-style-dark");l.applyImportantStyle("darkStyleImportant","bilibili-new-style-dark-important")}return{ajaxReload:false}}})();
|
||||
(()=>{return(l,t)=>{t.applyStyle("darkStyle","bilibili-new-style-dark");t.applyImportantStyle("darkStyleImportant","bilibili-new-style-dark-important");return{ajaxReload:false}}})();
|
||||
@ -1 +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{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;}
|
||||
.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;}
|
||||
File diff suppressed because one or more lines are too long
@ -4661,7 +4661,9 @@ ul.navigation li span,
|
||||
.rank-tab-wrap,
|
||||
.rank-list-head .rank_tips,
|
||||
.more-data,
|
||||
.other span
|
||||
.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;
|
||||
}
|
||||
@ -4706,7 +4708,16 @@ ul.navigation li.activated span,
|
||||
.rank-item .num,
|
||||
.rank-item .content .info .pts div,
|
||||
.other a,
|
||||
.other strong
|
||||
.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;
|
||||
}
|
||||
@ -4742,11 +4753,17 @@ ul.navigation li.activated span,
|
||||
.bilibili-player .bilibili-player-area-separator,
|
||||
div.num,
|
||||
.rank-item,
|
||||
.other
|
||||
.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
|
||||
.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;
|
||||
}
|
||||
@ -4844,7 +4861,9 @@ ul.navigation li:after,
|
||||
.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
|
||||
.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;
|
||||
}
|
||||
|
||||
@ -27,13 +27,13 @@
|
||||
<input key="blurBackgroundOpacity" dependencies="useNewStyle" spellcheck="false" type="text" />
|
||||
</label>
|
||||
</li>
|
||||
<checkbox indent="1" key="useDarkStyle" dependencies="useNewStyle"></checkbox>
|
||||
<checkbox indent="1" key="overrideNavBar" dependencies="useNewStyle">
|
||||
<checkbox indent="0" key="overrideNavBar" dependencies="">
|
||||
搜索栏位置调整
|
||||
</checkbox>
|
||||
<checkbox indent="2" key="showBanner" dependencies="useNewStyle overrideNavBar">
|
||||
<checkbox indent="1" key="showBanner" dependencies="overrideNavBar">
|
||||
显示顶部横幅
|
||||
</checkbox>
|
||||
<checkbox indent="0" key="useDarkStyle" dependencies=""></checkbox>
|
||||
<category>工具</category>
|
||||
<checkbox indent="0" key="removeAds" dependencies=""></checkbox>
|
||||
<checkbox indent="0" key="watchLaterRedirect" dependencies=""></checkbox>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user