mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix styles
This commit is contained in:
parent
0e56c73b8e
commit
140f4a3efd
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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
2
min/gui-settings.min.css
vendored
2
min/gui-settings.min.css
vendored
File diff suppressed because one or more lines are too long
2
min/icons.min.css
vendored
2
min/icons.min.css
vendored
File diff suppressed because one or more lines are too long
@ -762,6 +762,8 @@ li.nav-item[report-id='playpage_dynamic'] .i-frame,
|
|||||||
background: var(--navbar-background);
|
background: var(--navbar-background);
|
||||||
padding-top: 16px;
|
padding-top: 16px;
|
||||||
box-shadow: #0002 0 1px 10px 1px;
|
box-shadow: #0002 0 1px 10px 1px;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
.custom-navbar-settings.dark
|
.custom-navbar-settings.dark
|
||||||
{
|
{
|
||||||
|
|||||||
@ -217,20 +217,14 @@ const attributes = {
|
|||||||
},
|
},
|
||||||
unload: () =>
|
unload: () =>
|
||||||
{
|
{
|
||||||
const navbar = document.querySelector(".custom-navbar");
|
const navbar = document.querySelectorAll(".custom-navbar,.custom-navbar-settings");
|
||||||
if (navbar !== null)
|
navbar.forEach(it => it.style.display = "none");
|
||||||
{
|
|
||||||
navbar.style.display = "none";
|
|
||||||
}
|
|
||||||
resources.removeStyle("customNavbarStyle");
|
resources.removeStyle("customNavbarStyle");
|
||||||
},
|
},
|
||||||
reload: () =>
|
reload: () =>
|
||||||
{
|
{
|
||||||
const navbar = document.querySelector(".custom-navbar");
|
const navbar = document.querySelector(".custom-navbar,.custom-navbar-settings");
|
||||||
if (navbar !== null)
|
navbar.forEach(it => it.style.display = "flex");
|
||||||
{
|
|
||||||
navbar.style.display = "flex";
|
|
||||||
}
|
|
||||||
resources.applyImportantStyle("customNavbarStyle");
|
resources.applyImportantStyle("customNavbarStyle");
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -259,6 +253,7 @@ const supportedUrls = [
|
|||||||
];
|
];
|
||||||
const unsupportedUrls = [
|
const unsupportedUrls = [
|
||||||
"/t.bilibili.com/lottery/h5/index/#/result",
|
"/t.bilibili.com/lottery/h5/index/#/result",
|
||||||
|
"/member.bilibili.com/video/upload",
|
||||||
]
|
]
|
||||||
if (!supportedUrls.some(it => document.URL.includes(it))
|
if (!supportedUrls.some(it => document.URL.includes(it))
|
||||||
|| unsupportedUrls.some(it => document.URL.includes(it)))
|
|| unsupportedUrls.some(it => document.URL.includes(it)))
|
||||||
|
|||||||
@ -17,6 +17,7 @@
|
|||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
transform: rotate(180deg);
|
transform: rotate(180deg);
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
.gui-settings:hover i,
|
.gui-settings:hover i,
|
||||||
.gui-settings-widgets:hover i
|
.gui-settings-widgets:hover i
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
height: 24px;
|
height: 24px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
.icons-enabled [class^=icon-]::after
|
.icons-enabled [class^=icon-]::after
|
||||||
{
|
{
|
||||||
@ -12,6 +13,10 @@
|
|||||||
height: 24px;
|
height: 24px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
.icons-enabled [class^=icon-]::before
|
||||||
|
{
|
||||||
|
content: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.icons-enabled .icon-view::after
|
.icons-enabled .icon-view::after
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user