The frontend/UI server, written in JS using the MarkoJS library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

157 lines
2.4 KiB

div.overlay {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
padding-top: 1em;
z-index: 999;
background-color: rgba(0, 0, 0, 0.90);
overflow-y: scroll;
h1 {
text-align: center;
}
h2 {
opacity: 0.5;
margin: 0;
margin-top: 1em;
border-bottom: 0.5px solid;
padding-bottom: 0.125em;
text-align: center;
}
div.modal {
width: 60ch;
max-width: 95%;
margin: auto;
label {
display: block;
margin-top: 1em;
margin-left: 0.5ch;
font-size: 0.75em;
opacity: 0.5;
}
input {
display: block;
width: 100%;
padding: 0 0.5ch;
border: none;
font-family: inherit;
background: none;
outline: none;
opacity: 0.5;
}
input.big {
font-size: 1.5em;
padding: 0 0.3336ch;
}
select {
display: block;
width: 100%;
padding: 0 0ch;
border: none;
font-family: inherit;
background: none;
outline: none;
opacity: 0.5;
option {
background-color: black;
}
}
select.big {
font-size: 1.5em;
margin: 0;
}
select:focus {
opacity: 1;
}
textarea {
display: block;
width: 100%;
height: 8em;
padding: 0 0.5ch;
border: none;
font-family: inherit;
background: none;
outline: none;
opacity: 0.5;
resize: none;
overflow-y: scroll;
}
textarea.tall {
height: 24em;
}
input:focus, textarea:focus {
opacity: 1;
}
button {
border: 1px solid;
background-color: rgba(0, 0, 0, 0.75);
margin: 2em auto;
display: block;
padding: 0.5em 4ch;
opacity: 0.75;
}
button:hover {
opacity: 1;
cursor: pointer;
}
div.summary {
text-align: left;
margin: auto;
p {
margin: 0;
text-indent: -2ch;
margin-left: 2ch;
}
}
}
div.modal.nolabel {
input, textarea {
margin-bottom: 0.5em;
}
}
div.overlay-options {
width: 60ch;
max-width: 95%;
margin: auto;
text-align: right;
div {
opacity: 0.75;
user-select: none;
cursor: pointer;
}
div:hover {
opacity: 1;
}
}
}
div.overlay.notification-overlay {
padding-top: 20%;
div.modal {
text-align: center;
}
}