clean up login html

This commit is contained in:
Christoph Hagen 2021-11-30 20:59:50 +01:00
parent 7716b37fb3
commit e7b3ac3e9f
2 changed files with 11 additions and 7 deletions

View File

@ -30,9 +30,9 @@
<div id="table-list">
</div>
<div class="signup-window" id="signup-window">
<div class="signup-window-vertical-center">
<div class="signup-window-inner">
<div id="login-window">
<div id="login-window-vertical-center">
<div id="login-window-inner">
<label for="usrname">Username</label>
<input type="text" id="user-name" name="usrname" required>

View File

@ -33,7 +33,7 @@ input {
background-color: var(--standard-background);
}
.signup-window input {
#login-window input {
width: 100%;
margin-top: 6px;
margin-bottom: 16px;
@ -51,7 +51,7 @@ body, html {
background-color: var(--standard-background);
}
.signup-window {
#login-window {
background-color: var(--standard-background);
height: 100%;
width: 100%;
@ -61,12 +61,12 @@ body, html {
position: absolute;
}
.signup-window-vertical-center {
#login-window-vertical-center {
display: table-cell;
vertical-align: middle;
}
.signup-window-inner {
#login-window-inner {
background-color: var(--element-background);
margin-left: auto;
margin-right: auto;
@ -83,6 +83,10 @@ body, html {
margin-top: 5px;
}
#login-error {
margin-top: 8px;
}
#top-bar {
height: 50px;
background-color: var(--element-background);