style: adjust styles

* feat: fixed anime playback & movie page topbar
* chore: rename animeVideoPage.scss to animePlayback&MoviePage.scss
This commit is contained in:
Hakadao
2023-09-24 15:02:48 +08:00
parent 2d56a757ec
commit 34967939d5
6 changed files with 310 additions and 206 deletions

View File

@@ -35,6 +35,8 @@ if (isFirefox) {
if (
// video page
/https?:\/\/(www.)?bilibili.com\/video\/.*/.test(currentUrl)
// anime playback & movie page
|| /https?:\/\/(www.)?bilibili.com\/bangumi\/play\/.*/.test(currentUrl)
// watch later playlist
|| /https?:\/\/(www.)?bilibili.com\/list\/watchlater.*/.test(currentUrl)
// favorite playlist
@@ -91,8 +93,8 @@ function injectApp() {
// video page
|| /https?:\/\/(www.)?bilibili.com\/video\/.*/.test(currentUrl)
// anime video page
|| /https?:\/\/(www.)?bilibili.com\/bangumi\/play\/ss.*/.test(currentUrl)
// anime playback & movie page
|| /https?:\/\/(www.)?bilibili.com\/bangumi\/play\/.*/.test(currentUrl)
// watch later playlist
|| /https?:\/\/(www.)?bilibili.com\/list\/watchlater.*/.test(currentUrl)
// favorite playlist

View File

@@ -83,8 +83,8 @@ const isTopbarFixed = computed(() => {
// || /https?:\/\/search.bilibili.com\/.*$/.test(location.href)
// video page
|| /https?:\/\/(www.)?bilibili.com\/video\/.*/.test(location.href)
// anime video page
|| /https?:\/\/(www.)?bilibili.com\/bangumi\/play\/ss.*/.test(location.href)
// anime playback & movie page
|| /https?:\/\/(www.)?bilibili.com\/bangumi\/play\/.*/.test(location.href)
// moment page
|| /https?:\/\/t.bilibili.com.*/.test(location.href)
)