ux: hide uploads table until something happens

This commit is contained in:
ed 2022-07-01 09:16:23 +02:00
parent 098184ff7b
commit 1d74240b9a
4 changed files with 20 additions and 6 deletions

View file

@ -41,6 +41,11 @@ var u2min = `
border: none !important; border: none !important;
} }
#wrap {margin-left:2em !important} #wrap {margin-left:2em !important}
.logue {
border: none !important;
margin: 2em auto !important;
}
.logue:before {content:'' !important}
</style> </style>

View file

@ -238,6 +238,7 @@ html.b {
--u2-txt-bg: transparent; --u2-txt-bg: transparent;
--u2-tab-1-sh: var(--bg); --u2-tab-1-sh: var(--bg);
--u2-b1-bg: rgba(128,128,128,0.15); --u2-b1-bg: rgba(128,128,128,0.15);
--u2-b2-bg: var(--u2-b1-bg);
--u2-o-bg: var(--btn-bg); --u2-o-bg: var(--btn-bg);
--u2-o-h-bg: var(--btn-h-bg); --u2-o-h-bg: var(--btn-h-bg);
@ -352,6 +353,8 @@ html.cy {
--srv-1: #f00; --srv-1: #f00;
--op-aa-bg: #fff; --op-aa-bg: #fff;
--u2-b1-bg: #f00;
--u2-b2-bg: #f00;
--u2-o-bg: #ff0; --u2-o-bg: #ff0;
--u2-o-1-bg: #f00; --u2-o-1-bg: #f00;
} }
@ -412,8 +415,8 @@ html.dz {
--u2-tab-1-b2: #583; --u2-tab-1-b2: #583;
--u2-tab-1-sh: #280; --u2-tab-1-sh: #280;
--u2-b-fg: #fff; --u2-b-fg: #fff;
--u2-b1-bg: #c38; --u2-b1-bg: #3a3;
--u2-b2-bg: #d80; --u2-b2-bg: #3a3;
--u2-inf-bg: #07a; --u2-inf-bg: #07a;
--u2-inf-b1: #0be; --u2-inf-b1: #0be;
--u2-ok-bg: #380; --u2-ok-bg: #380;
@ -522,6 +525,8 @@ html.dy {
--u2-tab-1-b2: a; --u2-tab-1-b2: a;
--u2-tab-1-fg: a; --u2-tab-1-fg: a;
--u2-tab-1-bg: a; --u2-tab-1-bg: a;
--u2-b1-bg: #000;
--u2-b2-bg: #000;
--ud-b1: a; --ud-b1: a;
--sort-1: a; --sort-1: a;
@ -2207,6 +2212,9 @@ html.y #bbox-overlay figcaption a {
transition: min-height .2s; transition: min-height .2s;
margin: 2em 0; margin: 2em 0;
} }
#u2tabw.na>table {
display: none;
}
#u2tab { #u2tab {
border-collapse: collapse; border-collapse: collapse;
width: calc(100% - 2em); width: calc(100% - 2em);
@ -2371,6 +2379,9 @@ html.y #bbox-overlay figcaption a {
position: relative; position: relative;
bottom: -0.08em; bottom: -0.08em;
} }
#u2conf input+a.b {
background: var(--u2-b2-bg);
}
html.b #u2conf a.b:hover { html.b #u2conf a.b:hover {
background: var(--btn-h-bg); background: var(--btn-h-bg);
} }
@ -2600,9 +2611,6 @@ html.c #u2cards,
html.a #u2cards { html.a #u2cards {
margin: 0 auto -1em auto; margin: 0 auto -1em auto;
} }
html.a #u2conf input+a.b {
background: var(--u2-b2-bg);
}
html.c #u2foot:empty, html.c #u2foot:empty,
html.a #u2foot:empty { html.a #u2foot:empty {
margin-bottom: -1em; margin-bottom: -1em;

View file

@ -761,7 +761,7 @@ ebi('op_up2k').innerHTML = (
'</div>\n' + '</div>\n' +
'<div id="u2tabw"><table id="u2tab">\n' + '<div id="u2tabw" class="na"><table id="u2tab">\n' +
' <thead>\n' + ' <thead>\n' +
' <tr>\n' + ' <tr>\n' +
' <td>' + L.utl_name + '</td>\n' + ' <td>' + L.utl_name + '</td>\n' +

View file

@ -1062,6 +1062,7 @@ function up2k_init(subtle) {
pvis.drawcard("q"); pvis.drawcard("q");
pvis.changecard(pvis.act); pvis.changecard(pvis.act);
} }
ebi('u2tabw').className = 'ye';
} }
function more_one_file() { function more_one_file() {