move progress bar, end positioning, fix ui setmode corner case

This commit is contained in:
Stewart Allen 2020-06-07 23:20:49 -04:00
commit 23151260a1
3 changed files with 11 additions and 6 deletions

View file

@ -66,6 +66,7 @@
hasModes.forEach(function(div) {
div.setMode(div._group && !groupShow[div._group] ? NOMODE : mode);
});
hidePoppers();
}
function setExpert(bool) {

View file

@ -354,6 +354,10 @@ th, tr, td {
}
#end {
left: 0;
right: 0;
bottom: 0;
position: fixed;
text-align: center;
font-size: smaller;
height: 25px;
@ -362,24 +366,24 @@ th, tr, td {
#progress {
display: none;
position: absolute;
bottom: 0px;
top: 0px;
left: 10%;
right: 10%;
text-align: center;
background-color: #ddd;
background-color: rgba(0,0,0,0.15);
border-radius: 3px;
}
#progbar {
width: 100%;
text-align: left;
position: relative;
background-color: rgba(255,0,0,0.75);
background-color: rgba(255,0,0,0.65);
border-radius: 3px;
}
#progtxt {
color: white;
height: 25px;
padding: 0 5px 0 5px;
margin: 0 5px 0 5px;
padding: 0 5px 2px 5px;
white-space: nowrap;
flex-direction: row;
align-items: center;

View file

@ -46,6 +46,7 @@
</div>
<div id="mid-sep"></div>
<div id="mid" class="grow row">
<div id="progress"><div id="progbar"><div id="progtxt">loading</div></div></div>
<div id="curtain" class="j-center a-center">loading...</div>
<div id="mid-lcol" class="col j-center">
<div id="lt-top"></div>
@ -296,7 +297,6 @@
</div>
</div>
<div id="end" class="col a-center">
<div id="progress"><div id="progbar"><div id="progtxt">loading</div></div></div>
<div id="bottom">
<div id="layers"></div>
</div>