Hide navbar on light off (#1872)

This commit is contained in:
the1812 2021-05-28 20:05:01 +08:00
parent 52e25eb8d3
commit 883bbf2aa0
2 changed files with 5 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -191,13 +191,16 @@ li.nav-item[report-id="playpage_dynamic"] .i-frame,
body.fixed-navbar & { body.fixed-navbar & {
position: fixed; position: fixed;
} }
body.player-mode-blackmask & {
visibility: hidden;
}
top: 0; top: 0;
left: 0; left: 0;
height: var(--navbar-height); height: var(--navbar-height);
width: 100%; width: 100%;
background-color: var(--navbar-background); background-color: var(--navbar-background);
color: var(--navbar-foreground); color: var(--navbar-foreground);
z-index: 10017; z-index: 10001;
/* z-index: 1999; */ /* z-index: 1999; */
display: flex; display: flex;
justify-content: center; justify-content: center;