mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Improve styles
This commit is contained in:
parent
eb95f81abb
commit
c21d3756eb
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
@ -33,7 +33,7 @@ body
|
|||||||
|
|
||||||
.custom-navbar
|
.custom-navbar
|
||||||
{
|
{
|
||||||
--navbar-foreground: black;
|
--navbar-foreground: #555;
|
||||||
--navbar-background: white;
|
--navbar-background: white;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -43,6 +43,8 @@ body
|
|||||||
background-color: var(--navbar-background);
|
background-color: var(--navbar-background);
|
||||||
color: var(--navbar-foreground);
|
color: var(--navbar-foreground);
|
||||||
z-index: 10001;
|
z-index: 10001;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.custom-navbar:not(.fill) .custom-navbar-iconfont
|
.custom-navbar:not(.fill) .custom-navbar-iconfont
|
||||||
{
|
{
|
||||||
@ -50,11 +52,7 @@ body
|
|||||||
}
|
}
|
||||||
.custom-navbar path
|
.custom-navbar path
|
||||||
{
|
{
|
||||||
fill: black;
|
fill: var(--navbar-foreground);
|
||||||
}
|
|
||||||
.custom-navbar.dark:not(.fill) path
|
|
||||||
{
|
|
||||||
fill: #eee;
|
|
||||||
}
|
}
|
||||||
.custom-navbar.fill path
|
.custom-navbar.fill path
|
||||||
{
|
{
|
||||||
@ -105,6 +103,7 @@ body
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin: 0 5%;
|
margin: 0 5%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
.custom-navbar ul
|
.custom-navbar ul
|
||||||
{
|
{
|
||||||
@ -239,7 +238,7 @@ body
|
|||||||
#upload-actions a,
|
#upload-actions a,
|
||||||
#message-list a
|
#message-list a
|
||||||
{
|
{
|
||||||
padding: 8px 16px;
|
padding: 8px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
border-bottom: 2px solid transparent;
|
border-bottom: 2px solid transparent;
|
||||||
@ -283,6 +282,18 @@ li.nav-item[report-id='playpage_dynamic'] .i-frame,
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
--submit-button-size: 30px;
|
--submit-button-size: 30px;
|
||||||
|
opacity: 0.4;
|
||||||
|
}
|
||||||
|
.custom-navbar.fill form
|
||||||
|
{
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
.custom-navbar form:focus-within,
|
||||||
|
.custom-navbar form:hover,
|
||||||
|
.custom-navbar.fill form:focus-within,
|
||||||
|
.custom-navbar.fill form:hover
|
||||||
|
{
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
.custom-navbar form input
|
.custom-navbar form input
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user