mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix style issues
This commit is contained in:
parent
9e2e325191
commit
29672688b6
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -149,12 +149,13 @@ function saveSettings(newSettings)
|
||||
GM_setValue(key, newSettings[key]);
|
||||
}
|
||||
}
|
||||
function onSettingsChange(change)
|
||||
function onSettingsChange()
|
||||
{
|
||||
// for (const key in settings)
|
||||
// {
|
||||
// GM_addValueChangeListener(key, change);
|
||||
// }
|
||||
console.warn("此功能已弃用.");
|
||||
}
|
||||
// if (typeof GM_addValueChangeListener === "undefined")
|
||||
// {
|
||||
|
||||
@ -149,12 +149,13 @@ function saveSettings(newSettings)
|
||||
GM_setValue(key, newSettings[key]);
|
||||
}
|
||||
}
|
||||
function onSettingsChange(change)
|
||||
function onSettingsChange()
|
||||
{
|
||||
// for (const key in settings)
|
||||
// {
|
||||
// GM_addValueChangeListener(key, change);
|
||||
// }
|
||||
console.warn("此功能已弃用.");
|
||||
}
|
||||
// if (typeof GM_addValueChangeListener === "undefined")
|
||||
// {
|
||||
|
||||
@ -124,10 +124,11 @@ export function saveSettings(newSettings)
|
||||
GM_setValue(key, newSettings[key]);
|
||||
}
|
||||
}
|
||||
export function onSettingsChange(change)
|
||||
export function onSettingsChange()
|
||||
{
|
||||
// for (const key in settings)
|
||||
// {
|
||||
// GM_addValueChangeListener(key, change);
|
||||
// }
|
||||
console.warn("此功能已弃用.");
|
||||
}
|
||||
2
min/custom-navbar.min.css
vendored
2
min/custom-navbar.min.css
vendored
File diff suppressed because one or more lines are too long
2
min/custom-navbar.min.js
vendored
2
min/custom-navbar.min.js
vendored
File diff suppressed because one or more lines are too long
@ -15,9 +15,20 @@
|
||||
content: "\\E725";
|
||||
}
|
||||
|
||||
.custom-navbar
|
||||
body
|
||||
{
|
||||
--navbar-height: 50px;
|
||||
}
|
||||
|
||||
.bili-header-m>.nav-menu,
|
||||
.z_top
|
||||
{
|
||||
visibility: hidden !important;
|
||||
height: var(--navbar-height) !important;
|
||||
}
|
||||
|
||||
.custom-navbar
|
||||
{
|
||||
--navbar-foreground: black;
|
||||
--navbar-background: white;
|
||||
position: absolute;
|
||||
@ -151,6 +162,7 @@
|
||||
.custom-navbar a:hover
|
||||
{
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#custom-navbar-home-popup
|
||||
@ -364,8 +376,8 @@ li.nav-item[report-id='playpage_dynamic'] .i-frame,
|
||||
.user-info-panel .type
|
||||
{
|
||||
padding: 4px;
|
||||
background: var(--theme-color);
|
||||
color: var(--foreground-color);
|
||||
background: var(--theme-color) !important;
|
||||
color: var(--foreground-color) !important;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.user-info-panel .coins,
|
||||
|
||||
@ -5,6 +5,8 @@ if (isIframe())
|
||||
const supportedUrls = [
|
||||
"/www.bilibili.com",
|
||||
"/t.bilibili.com",
|
||||
"/search.bilibili.com",
|
||||
"/space.bilibili.com",
|
||||
];
|
||||
if (!supportedUrls.some(it => document.URL.includes(it)))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user