diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index f8bd9a86..a3ad0ef5 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -1710,6 +1710,18 @@ html.dz .btn { background: var(--btn-1-bg); text-shadow: none; } +#tree ul a.ld::before { + font-weight: bold; + font-family: sans-serif; + display: inline-block; + text-align: center; + width: 1em; + margin: 0 .3em 0 -1.3em; + color: var(--fg-max); + opacity: 0; + content: '◠'; + animation: .5s linear infinite forwards spin, ease .25s 1 forwards fadein; +} #tree ul a.par { color: var(--fg-max); } diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index fc51609a..2505ffff 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -6140,8 +6140,6 @@ function tree_neigh(n) { links[act].click(); else treectl.treego.call(links[act]); - - links[act].focus(); } @@ -7246,6 +7244,7 @@ var treectl = (function () { r.reqls(href, true); r.dir_cb = tree_scrollto; thegrid.setvis(true); + clmod(this, 'ld', 1); } r.reqls = function (url, hpush, back, hydrate) {