mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
shove #files aside while prologue sandbox is loading
This commit is contained in:
parent
78d2f69ed5
commit
b47635150a
|
@ -811,6 +811,9 @@ html.y #path a:hover {
|
||||||
.logue>iframe.focus {
|
.logue>iframe.focus {
|
||||||
box-shadow: 0 0 .1em .1em var(--a);
|
box-shadow: 0 0 .1em .1em var(--a);
|
||||||
}
|
}
|
||||||
|
#pro.logue>iframe {
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
#pro.logue {
|
#pro.logue {
|
||||||
margin-bottom: .8em;
|
margin-bottom: .8em;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5761,7 +5761,6 @@ var wfp_debounce = (function () {
|
||||||
r.n = 0;
|
r.n = 0;
|
||||||
clearTimeout(r.t);
|
clearTimeout(r.t);
|
||||||
ebi('wfp').style.opacity = 'unset';
|
ebi('wfp').style.opacity = 'unset';
|
||||||
ebi('wrap').style.opacity = 'unset';
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
r.reset = function () {
|
r.reset = function () {
|
||||||
|
@ -6760,11 +6759,8 @@ function sandbox(tgt, rules, cls, html) {
|
||||||
hash = location.hash,
|
hash = location.hash,
|
||||||
want = '';
|
want = '';
|
||||||
|
|
||||||
if (!cls) {
|
if (!cls)
|
||||||
wfp_debounce.hide();
|
wfp_debounce.hide();
|
||||||
if (tid == 'pro')
|
|
||||||
ebi('wrap').style.opacity = 0.2;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (hash.startsWith('#md-'))
|
if (hash.startsWith('#md-'))
|
||||||
want = hash.slice(1);
|
want = hash.slice(1);
|
||||||
|
|
Loading…
Reference in a new issue