Refactored CSS and HTML templates and polished UI (#10), changed JavaScript variable names to camelCase, adjusted filenames and some url parameter names in urlpatterns, and more.

This commit is contained in:
W13R 2022-11-04 20:35:28 +01:00
parent 1e32e2b5dd
commit 8599f49857
30 changed files with 401 additions and 403 deletions

View file

@ -1,15 +1,11 @@
/* login page */
body.overflowHidden {
overflow-y: hidden !important;
overflow-x: hidden !important;
}
main {
margin-top: 2vh;
}
main > h1 {
display: none;
}
.userlistContainer {
.userlistcontainer {
display: flex;
flex-direction: column;
align-items: center;
@ -47,10 +43,10 @@ main > h1 {
text-align: center;
padding: .8rem 1.1rem;
}
.userlistButton {
.userlistbutton {
font-size: 1.1rem;
}
.passwordOverlayContainer {
.passwordoverlaycontainer {
position: absolute;
top: 0;
width: 100vw;
@ -62,30 +58,41 @@ main > h1 {
background: var(--page-background);
z-index: 40;
}
.passwordOverlay {
.passwordoverlay {
display: flex;
flex-direction: column;
justify-content: start;
align-items: center;
}
.passwordOverlay > form {
.passwordoverlay > form {
min-width: unset;
width: fit-content;
}
.passwordOverlay > form > h1 {
.passwordoverlay > form > h1 {
margin-top: 2rem;
margin-bottom: 2rem;
}
form input[type="password"], form input[type="text"] {
/* loginform */
.loginform {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.loginform input[type="password"], form input[type="text"] {
width: 94%;
padding-top: .5rem;
padding-bottom: .5rem;
font-size: 1rem;
margin: .1rem 0;
}
form .horizontalButtonList {
.loginform .horizontalbuttonlist {
margin-top: 1.5rem;
}
.horizontalbuttonlist .button, .horizontalbuttonlist button {
font-size: 1rem;
}
/***/
.pinpad {
margin-top: 1.5rem;
margin-bottom: 0;
@ -109,7 +116,7 @@ form .horizontalButtonList {
margin: .2rem !important;
}
@media only screen and (max-width: 700px) {
.userlistContainer {
.userlistcontainer {
width: 95vw;
}
.userlist {