- Removed large promise from Download, and turned it into a sole trigger - Fixed a nasty bug that threw unresolved promises - Added error callback for IDownload
72 lines
832 B
CSS
72 lines
832 B
CSS
:root
|
|
{
|
|
--fg1: black;
|
|
--fg2: gray;
|
|
--bg1: white;
|
|
--bg2: lightgray;
|
|
|
|
--fge: red;
|
|
--bge: yellow;
|
|
}
|
|
|
|
main
|
|
{
|
|
top: 0;
|
|
left: 0;
|
|
position: absolute;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
min-width: 100vw;
|
|
min-height: 100vh;
|
|
max-width: 100vw;
|
|
max-height: 100vh;
|
|
}
|
|
|
|
#menu
|
|
{
|
|
flex: 1;
|
|
margin: 1em;
|
|
padding: 1em;
|
|
border-radius: 1em;
|
|
background-color: var(--bg2);
|
|
}
|
|
|
|
.entry
|
|
{
|
|
border-radius: 1em;
|
|
background-color: var(--bg1);
|
|
margin-bottom: .5em;
|
|
}
|
|
|
|
.entry > div
|
|
{
|
|
padding: 1em;
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
#errors > div
|
|
{
|
|
color: var(--fge);
|
|
background-color: var(--bge);
|
|
}
|
|
|
|
/*
|
|
#downloads
|
|
{
|
|
}
|
|
*/
|
|
|
|
#queue
|
|
{
|
|
flex: 1;
|
|
}
|
|
|
|
.progress-text
|
|
{
|
|
text-align: right;
|
|
min-width: 4em;
|
|
}
|