Fix bad looking login form errors

This commit is contained in:
Eric Lippmann 2019-08-05 17:17:32 +02:00
parent fab25f87a7
commit 53529115e5
2 changed files with 16 additions and 17 deletions

View File

@ -55,20 +55,24 @@
line-height: @line-height;
}
.control-group .errors {
background-color: @color-critical;
font-size: @font-size-small;
margin: 2em 0 0 0;
padding: 0;
> li {
padding: 1em;
color: @body-bg-color;
}
.errors,
.form-errors {
list-style-type: none;
padding: 0.5em;
}
.control-group {
margin: 0 auto; // Center horizontally
.errors {
background-color: @color-critical;
color: white;
}
.form-errors {
margin-top: 0;
padding: 0;
}
.control-group,
.form-errors {
width: 24em;
}

View File

@ -90,11 +90,6 @@
}
#login {
.form-controls {
margin: .5em;
}
#icinga-logo {
max-width: 12em;
}