Fix styles

This commit is contained in:
the1812 2019-05-19 11:49:31 +08:00
parent 0e56c73b8e
commit 140f4a3efd
10 changed files with 27 additions and 24 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

File diff suppressed because one or more lines are too long

2
min/icons.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -762,6 +762,8 @@ li.nav-item[report-id='playpage_dynamic'] .i-frame,
background: var(--navbar-background);
padding-top: 16px;
box-shadow: #0002 0 1px 10px 1px;
font-size: 16px;
line-height: 1.5;
}
.custom-navbar-settings.dark
{

View File

@ -217,20 +217,14 @@ const attributes = {
},
unload: () =>
{
const navbar = document.querySelector(".custom-navbar");
if (navbar !== null)
{
navbar.style.display = "none";
}
const navbar = document.querySelectorAll(".custom-navbar,.custom-navbar-settings");
navbar.forEach(it => it.style.display = "none");
resources.removeStyle("customNavbarStyle");
},
reload: () =>
{
const navbar = document.querySelector(".custom-navbar");
if (navbar !== null)
{
navbar.style.display = "flex";
}
const navbar = document.querySelector(".custom-navbar,.custom-navbar-settings");
navbar.forEach(it => it.style.display = "flex");
resources.applyImportantStyle("customNavbarStyle");
},
};
@ -259,6 +253,7 @@ const supportedUrls = [
];
const unsupportedUrls = [
"/t.bilibili.com/lottery/h5/index/#/result",
"/member.bilibili.com/video/upload",
]
if (!supportedUrls.some(it => document.URL.includes(it))
|| unsupportedUrls.some(it => document.URL.includes(it)))

View File

@ -17,6 +17,7 @@
transition: all 0.2s;
opacity: 0.6;
transform: rotate(180deg);
font-size: 12px;
}
.gui-settings:hover i,
.gui-settings-widgets:hover i

View File

@ -4,6 +4,7 @@
height: 24px;
display: inline-block;
background-image: none;
font-size: 12px;
}
.icons-enabled [class^=icon-]::after
{
@ -12,6 +13,10 @@
height: 24px;
display: inline-block;
}
.icons-enabled [class^=icon-]::before
{
content: none !important;
}
.icons-enabled .icon-view::after
{