This commit is contained in:
ed 2021-11-05 02:12:25 +01:00
parent 9da2dbdc1c
commit c3add751e5
2 changed files with 8 additions and 7 deletions

View file

@ -664,23 +664,22 @@ input.eq_gain {
border: 1px solid #333; border: 1px solid #333;
box-shadow: 0 0 1em #181818; box-shadow: 0 0 1em #181818;
} }
#treeh,
#treepar {
z-index: 1;
border-bottom: 1px solid #111;
}
#treeh { #treeh {
position: sticky; position: sticky;
z-index: 1;
top: 0; top: 0;
height: 2.2em; height: 2.2em;
line-height: 2.2em; line-height: 2.2em;
border-bottom: 1px solid #111;
overflow: hidden; overflow: hidden;
} }
#tree #treepar { #tree #treepar {
z-index: 1;
position: fixed; position: fixed;
margin-top: -3px; margin-top: -3px;
margin-left: -2em; margin-left: -2em;
width: calc(var(--nav-sz) + 1em); width: calc(var(--nav-sz) + 0.5em);
border-bottom: 1px solid #444;
} }
#tree, #treeh { #tree, #treeh {
border-radius: 0 .3em 0 0; border-radius: 0 .3em 0 0;
@ -1227,7 +1226,8 @@ html.light #tree ul a.hl {
html.light #tree ul a.hl:hover { html.light #tree ul a.hl:hover {
background: #059; background: #059;
} }
html.light #tree li { html.light #tree li,
html.light #tree #treepar {
border-color: #f7f7f7 #fff #ddd #fff; border-color: #f7f7f7 #fff #ddd #fff;
} }
html.light #tree ul a:hover { html.light #tree ul a:hover {

View file

@ -3401,6 +3401,7 @@ var treectl = (function () {
if (!r.pdir.length || y > r.pdir.slice(-1)[0][0] || y < r.pdir[0][0]) { if (!r.pdir.length || y > r.pdir.slice(-1)[0][0] || y < r.pdir[0][0]) {
parp.style.display = 'none'; parp.style.display = 'none';
r.pdirh = null;
} }
else { else {
var h1 = [], h2 = []; var h1 = [], h2 = [];