Merge branch 'preview' into player-agent

This commit is contained in:
the1812 2021-09-02 09:21:38 +08:00
commit 3525dd4176
21 changed files with 278 additions and 27 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -44,9 +44,9 @@
"copy-feeds-link.min.js": "36D7C804F088A6C6905CD91C5F9D2D58E20634C7E0814AE03740CCEC790F6BB4",
"custom-control-background.min.css": "1981FD2BF3B17ECF33F98D5DEDAF0D32ACBE9532A51FDB70822286991AB98EF3",
"custom-control-background.min.js": "483F57DDD56F5B3A77C9CB35EB7CA191BF34CB6B3EEF5E12A4C10A42ADE563A2",
"custom-navbar.min.css": "66B12A504E09B5CBAD985668A09887322210A9525279EFF0611290CCDE518ED2",
"custom-navbar.min.css": "E60563863833FC164DF6D90EE2AE95B0BD12359BB2B351541A964B236A77A4C5",
"custom-navbar.min.html": "1F95ABCE9F19727CAF3B48C40E517EA4C2F602E9C2A73BD822B56BF91AB3F631",
"custom-navbar.min.js": "2A7B441224DE0D9C91A787EE99629D8F59919CB3050FE0B0E246758E1DAE2878",
"custom-navbar.min.js": "10B966977B2C67E9EB8DF8EF21D0CF27C627961E8AFE0AB181E58A94CC68D6C8",
"custom-navbar-activities.min.js": "A7AB41C75EFEF45F3186D5A110629FA98F16C552E3B6F58BA0A735CB86E58547",
"custom-navbar-blank.min.js": "E8F08DA7CD2C67F9D064B959A64CFC6658103DBCBE2B9B58D978A1742E02D829",
"custom-navbar-category.min.js": "F5E2A5D316D372BF43769D20095C4700A3A3E5F63CE3607F17030AF0784F1D34",
@ -70,8 +70,8 @@
"danmaku-segment.min.js": "43CC3236AFABA89BD0AE24D640809BE333772824E3994541AFC3CDDD9F881613",
"danmaku-send-bar.min.css": "F309FC17E7657BAA676D446458750D8069051617B44DD3D1457B4A9C519B2ED1",
"danmaku-send-bar.min.js": "3F635F4209092B6BA41865A945496861F4B1E0D9F2D31ABB5C021967B1B9FA19",
"dark.min.css": "0406EDF1A0549F6CD7B43D891CE373F395870950DB3E4719234138C3ACE2317C",
"dark.user.css": "209259CD8781584CF3B392C67F22DA273E7F15E15FF3113E075E552C98324FBC",
"dark.min.css": "C79C6C92F7BCBDFCA692E2BA3D54DCA47BA21E5C80C94B5BDACC2921F57A2D59",
"dark.user.css": "D1A0A239704D64D32558C169F7F07CA9E3024FB82CD0EE80770192915258A006",
"dark-color-scheme.min.js": "7C89C14ACEE44CCE2E402A63768A3B53251B4B1D82675DD85532AABB8F2082FA",
"dark-important.min.css": "29FAC0857FB4BDF4EAD24582D4984471E80FC83EF9BD9A108B17D5AC5617DE75",
"dark-navbar.min.css": "7FAD547E326B768904B3739C978DF86FFDDD5E5064FB8F490710D197CCC3018B",
@ -132,13 +132,13 @@
"full-tweets-title.min.js": "5A32D349D6DDD4F1DE73175D9A0AFE520B316F73A852B2BBE6A0436C8D8CBBB2",
"gbk.min.js": "0EDFCB94F519365A8CCA9BF3AECE57DC6DB273EF3F41545095B8F03625782F0D",
"get-number.min.js": "E644267B8A2DCEF2577BB9270F5C738BCE89C1C128071EBD3645903A930E08E0",
"gui-settings.min.css": "1B1D6F4FFE7E3FEB26CB0FD5F19A3EF2F6C9AD7356F2D56660E75DE1061DE201",
"gui-settings.min.css": "54ABFAE9B7A91CB8D7D2A6D3FAB844C256DFC2286710D592E85FB9A8479823F2",
"gui-settings.min.html": "ED34D4DF52333541FDF96C47091924E6016655E8DF82D75871E3B99D70F46AC5",
"gui-settings.min.js": "3AF95BAF62666E0C2FE990FB6F15A3A4B459F42F49E04FFF06848CFFEC350B12",
"haruna-scale.min.js": "2410662D47006D2AC49FE43DEB85F8D2C1B6F6D353DD767C2F11F7802A81F605",
"hide-bangumi-reviews.min.js": "0E8D100A27D523008041BAF95B7809855B505F4C02D4EE32CC62917528E46DBE",
"hide-bangumi-sponsors.min.js": "61CF35F5F1DDD9BA068196E4D02C8F206178D58A6DFD43DE5024A7AE50A2029D",
"hide-banner.min.css": "68D798C7FE5D4C94B6BA1FB0075EFDFA285EAF1B04D4F54A8D37B031B560994B",
"hide-banner.min.css": "DC4CE710DF9C3799C9832871ADD8672404C0CE78DE21A19ED535896F805C98B0",
"hide-banner.min.js": "1FC0511F83C87E07F2BDE94A10D7AB2F7067E77AC93261D563BB699BECFB035D",
"hide-category.min.css": "2EB4AB96C9EA12E91910AB3F1EAAFD76CFED77890CF2138232388415E1418C46",
"hide-category.min.js": "343424E56C09D06ECC9CEFEF79B8F780B7E1D9082F1878CF3D35ADD33FA294D6",
@ -207,8 +207,8 @@
"record-live-danmaku.vue.min.js": "CFBB560D1C9C1D3510A4217E141FEDD4A7F227F3825859BB7F729544A1B86DAC",
"remember-video-speed.min.js": "207AB95275A06977CE46AE37C5892FB7823A696C67DC40B4B13EAE82DED330C6",
"remove-guide-popup.min.js": "801E2EAA47B55CBBF8DF2570781A76C411BB3EA3A8C3A87BB0A8369FF9E6D9EB",
"remove-promotions.min.css": "DE7F28B81D660117F5C515D6F6360CD63F1CAF31AF06DE8BEF492FD3552C4B60",
"remove-promotions.min.js": "AE5C33D42077619647218BF635B7EBF371966C0245641856E18CD0F4039D225A",
"remove-promotions.min.css": "0BF20D07A075A2F6F2B59A3234B53FCBDC87D4A3640707B604B187D681100758",
"remove-promotions.min.js": "A59D69F284C865B414B63B855EE25EC6614E1205C38267BC76E3C034A1C1751D",
"remove-top-mask.min.js": "AD087C766DF146FDF8DCFF5F98950DBFAA4A43E3848FEEA0EC8D3A0A5CD276EA",
"remove-video-popup.min.js": "97E6C386E85D79BFA9FA86422F06FB7723DED0AA25F27A7F94BCFB222AF7865E",
"remove-vote-popup.min.js": "00FB123A3E41AC0EB8D35F1C37E2E6A38C87E6DFD8666488E3A37E8B6B12BABF",

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
min/dark.min.css vendored

File diff suppressed because one or more lines are too long

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 +1 @@
#banner_link,.custom-navbar .blur-layer,.z-top-container.has-banner>.header{display:none!important}.b-header-mask-wrp .b-header-mask-bg,div.blur-bg{opacity:0!important}.international-header .bili-banner,.international-home .bili-banner{visibility:hidden!important;height:50px!important;min-height:unset!important}
#banner_link,.custom-navbar .blur-layer,.home-header__banner,.z-top-container.has-banner>.header{display:none!important}.b-header-mask-wrp .b-header-mask-bg,div.blur-bg{opacity:0!important}.international-header .bili-banner,.international-home .bili-banner{visibility:hidden!important;height:50px!important;min-height:unset!important}

View File

@ -1 +1 @@
#home_popularize .adpos,#home_popularize .l-con,#reportFirst2 .extension,#slide_ad,.ad-report,.bili-header-m .nav-menu .nav-con .nav-item .text-red,.bilibili-player-promote-wrap,.bypb-window .operate-card,.gg-floor-module,.gg-window .operate-card,.home-app-download,.home-content .ad-panel,.international-home .banner-card,.mascot,.mobile-link-l,.rank-container .cm-module,.recommend-list .rec-list>:not(.video-page-card),.v-wrap .vcd,.video-page-game-card,.video-page-special-card,body.remove-game-match-module #reportFirst3,body.remove-game-match-module .bili-wrapper>.home-match,body:not(.preserve-event-banner) .activity-m{display:none!important}.recommend-list .rec-list>:not(.video-page-card)+.video-page-card{padding-top:0!important}#home_popularize{position:relative!important}.gg-window .online,.popularize-module .online{position:absolute!important;top:50%!important;right:.5%!important;transform:translateY(-100%)!important}.gg-window .online{right:0!important;padding:0 16px!important}#reportFirst2{position:relative;margin-bottom:4px}.blocked{width:440px;height:220px;display:flex;color:#888;background-color:#8882;font-size:24pt;font-weight:700;align-items:center;justify-content:space-evenly}.blocked.new{width:100%;height:100%;background-color:#eee}body.dark .blocked.new{background-color:#333}body.compact .blocked{width:480px;height:240px}
#home_popularize .adpos,#home_popularize .l-con,#reportFirst2 .extension,#slide_ad,.ad-report,.bili-header-m .nav-menu .nav-con .nav-item .text-red,.bilibili-player-promote-wrap,.bypb-window .operate-card,.eva-banner,.eva-extension-area,.gg-floor-module,.gg-window .operate-card,.home-app-download,.home-content .ad-panel,.international-home .banner-card,.mascot,.mobile-link-l,.rank-container .cm-module,.recommend-list .rec-list>:not(.video-page-card),.v-wrap .vcd,.video-page-game-card,.video-page-special-card,body.remove-game-match-module #reportFirst3,body.remove-game-match-module .bili-wrapper>.home-match,body:not(.preserve-event-banner) .activity-m{display:none!important}.recommend-list .rec-list>:not(.video-page-card)+.video-page-card{padding-top:0!important}#home_popularize{position:relative!important}.gg-window .online,.popularize-module .online{position:absolute!important;top:50%!important;right:.5%!important;transform:translateY(-100%)!important}.gg-window .online{right:0!important;padding:0 16px!important}#reportFirst2{position:relative;margin-bottom:4px}.blocked{width:440px;height:220px;display:flex;color:#888;background-color:#8882;font-size:24pt;font-weight:700;align-items:center;justify-content:space-evenly}.blocked.new{width:100%;height:100%;background-color:#eee}body.dark .blocked.new{background-color:#333}body.compact .blocked{width:480px;height:240px}

View File

@ -1 +1 @@
(()=>(e,n)=>{if(document.URL.replace(window.location.search,"")==="https://www.bilibili.com/"){SpinQuery.any((()=>dqa(".gg-pic")),(n=>{n.forEach((n=>{const t=n.parentElement;t.style.display="none";const l=[...t.parentElement.childNodes].indexOf(t)+1;const i=t.parentElement.parentElement.querySelector(`.pic li:nth-child(${l})`);if(i){i.style.display="flex";const n=i.querySelector("a:not(.more-text)");n.insertAdjacentHTML("afterend",`\n<div class="blocked">${e.showBlockedAdsTip?"🚫已屏蔽广告":""}</div>\n`);n.style.visibility="hidden";i.querySelector("a.more-text").style.display="none";i.querySelector("img").style.display="none"}}))}));SpinQuery.select(".focus-carousel.home-slide").then((n=>{if(!n){return}[...n.querySelectorAll(".gg-icon,.bypb-icon")].map((e=>e.parentElement.parentElement)).forEach((n=>{n.style.display="none";n.insertAdjacentHTML("afterend",`\n<div class="blocked new">${e.showBlockedAdsTip?"🚫已屏蔽广告":""}</div>\n`)}))}))}addSettingsListener("preserveEventBanner",(e=>{document.body.classList.toggle("preserve-event-banner",e)}),true)})();
(()=>(e,n)=>{if(document.URL.replace(window.location.search,"")==="https://www.bilibili.com/"){SpinQuery.select(".eva-extension-area").then((e=>{e.parentElement.style.margin="12px"}));SpinQuery.any((()=>dqa(".gg-pic")),(n=>{n.forEach((n=>{const t=n.parentElement;t.style.display="none";const l=[...t.parentElement.childNodes].indexOf(t)+1;const i=t.parentElement.parentElement.querySelector(`.pic li:nth-child(${l})`);if(i){i.style.display="flex";const n=i.querySelector("a:not(.more-text)");n.insertAdjacentHTML("afterend",`\n<div class="blocked">${e.showBlockedAdsTip?"🚫已屏蔽广告":""}</div>\n`);n.style.visibility="hidden";i.querySelector("a.more-text").style.display="none";i.querySelector("img").style.display="none"}}))}));SpinQuery.select(".focus-carousel.home-slide").then((n=>{if(!n){return}[...n.querySelectorAll(".gg-icon,.bypb-icon")].map((e=>e.parentElement.parentElement)).forEach((n=>{n.style.display="none";n.insertAdjacentHTML("afterend",`\n<div class="blocked new">${e.showBlockedAdsTip?"🚫已屏蔽广告":""}</div>\n`)}))}))}addSettingsListener("preserveEventBanner",(e=>{document.body.classList.toggle("preserve-event-banner",e)}),true)})();

View File

@ -152,7 +152,8 @@ li.nav-item[report-id="playpage_dynamic"] .i-frame,
.international-header .mini-header,
.bili-header-m .head-banner .head-content .head-logo,
#biliMainHeader .mini-header,
#biliMainHeader .base-mini-header {
#biliMainHeader .base-mini-header,
.home-header .mini-header-container {
display: none !important;
}
.van-popover {
@ -205,6 +206,9 @@ li.nav-item[report-id="playpage_dynamic"] .i-frame,
display: flex;
justify-content: center;
body.player-fullscreen-fix & {
z-index: 1;
}
&:not(.fill) .custom-navbar-iconfont {
color: var(--theme-color);
}

View File

@ -74,7 +74,7 @@ export default (() => {
true
)
})
SpinQuery.select('#banner_link,.international-header .bili-banner').then(banner => {
SpinQuery.select('#banner_link,.international-header .bili-banner,.home-header__banner').then(banner => {
if (banner === null || !(banner instanceof HTMLElement)) {
return
}

View File

@ -439,3 +439,240 @@
@include color("a");
}
}
#i_cecream {
@include background-color();
.mini-header {
.header-entry-avatar {
@include border-color("3");
}
.default-entry,
.right-entry-icon,
.mini-header__title > span {
@include color("e");
}
.right-entry-text {
@include color("a");
}
.header-upload-entry {
@include theme-background-color();
@include foreground-color();
.header-upload-entry__icon {
@include foreground-color();
}
&:hover {
@include theme-background-color("90");
}
}
}
.home-header {
@include background-color();
&__banner {
@include background-color("3");
}
&.fixed-top .home-header__bar {
@include background-color("2");
}
&__channel {
@include background-color();
.channel-entry-more__link,
.channel-link {
@include color("e");
@include background-color("3");
@include border-color();
&:hover {
@include color("e");
@include background-color("5");
}
}
}
.channel-icons {
&__item {
@include color("e");
}
.channel-notify {
@include border-color("2");
}
}
}
.primary-btn {
@include color("e");
@include background-color("3");
@include border-color();
&:hover {
@include background-color("5");
}
}
.area-header {
.roll-btn {
@include color("e");
}
.title {
@include color("e");
&:hover {
@include theme-color();
}
}
.track-switch {
@include background-color("3");
@include color("a");
.switch-bar {
@include theme-background-color();
}
button {
&:hover {
@include background-color("5");
}
&.is-active {
@include foreground-color();
}
}
}
}
:not(.aside-head) > .area-header {
.mouse-switch > * {
@include color("a");
@include background-color("3");
&:hover {
@include color("a");
@include background-color("5");
}
&.is-active {
@include theme-background-color();
@include foreground-color();
}
}
}
.aside-head {
.mouse-switch > * {
@include color("a");
&.is-active {
@include theme-color();
&::after {
@include theme-background-color();
}
}
}
}
.aside-body {
.list-state-error,
.list-state-nothing,
.list-state-loading {
@include background-color("4");
span {
@include color("a");
}
}
}
}
.v-popover-content {
@include border-color();
@include background-color("3");
}
$media-types: (video, bangumi, cheese, live, manga, movie, ogv, article);
@each $type in $media-types {
.bili-rank-list-#{$type} {
&__list {
@include border-color();
@include background-color();
}
&__item:nth-of-type(2n + 1) {
@include background-color("3");
}
&__item:nth-of-type(2n) {
@include background-color("4");
}
.rank-#{$type}-card {
&__popover {
@include background-color();
&--icon,
&--stats,
&--subtitle,
&--author {
@include color("a");
}
&--stats {
@include border-color("4");
}
}
&__cover {
@include background-color("3");
}
&__info--pts,
&__info--schedule,
&__info--styles {
@include color("a");
}
}
}
.bili-#{$type}-card {
&__info--tit {
&:hover {
@include theme-color();
}
}
&__info--living {
@include to-theme("pink");
}
&__info--pub,
&__info--subtitle,
&__info--styles,
&__info--uname {
@include color("a");
}
&__info--owner {
@include color("a");
&:hover {
@include theme-color();
}
}
.v-img,
&__image,
&__cover,
&__image--wrap {
@include background-color("3");
}
&__skeleton {
&--light,
&--text,
&--face,
&--cover {
@include background-color("4");
}
}
}
}
#bilibili-footer {
@include background-color();
.split-line {
@include background-color("4");
}
p {
@include color("e");
}
a {
@include color("e");
&:hover {
@include theme-color();
}
}
.link-item .bt {
@include color("a");
}
.text-con {
&__line {
&--link {
@include color("a");
}
}
}
}
.footer-qrcode-popover,
.footer-wechat-popover {
.qrcode-text {
@include color("e");
}
}

View File

@ -1,6 +1,7 @@
#banner_link,
.z-top-container.has-banner > .header,
.custom-navbar .blur-layer {
.custom-navbar .blur-layer,
.home-header__banner {
display: none !important;
}
div.blur-bg,

View File

@ -17,6 +17,9 @@
transform: rotate(360deg);
font-size: 12px;
}
body.player-fullscreen-fix & {
z-index: 1;
}
}
.gui-settings,
.gui-settings-widgets {

View File

@ -2,6 +2,9 @@ if (document.URL.replace(window.location.search, '') === 'https://www.bilibili.c
// addSettingsListener('removeGameMatchModule', value => {
// document.body.classList.toggle('remove-game-match-module', value)
// }, true)
SpinQuery.select('.eva-extension-area').then(it => {
it.parentElement.style.margin = '12px'
})
SpinQuery.any(
() => dqa('.gg-pic'),
it => {

View File

@ -20,7 +20,10 @@ body:not(.preserve-event-banner) .activity-m,
body.remove-game-match-module .bili-wrapper > .home-match,
body.remove-game-match-module #reportFirst3,
.home-content .ad-panel,
.recommend-list .rec-list > :not(.video-page-card) {
.recommend-list .rec-list > :not(.video-page-card),
.eva-extension-area,
.eva-banner
{
display: none !important;
}
.recommend-list .rec-list > :not(.video-page-card) + .video-page-card {