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.
 
 
 
 

111 lines
1.7 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;
}
div.modal {
width: 60ch;
max-width: 95%;
margin: auto;
label {
display: block;
margin-top: 1em;
font-size: 0.75em;
}
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.3333ch;
}
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.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;
}
}