Improve form- and element-error styling

This commit is contained in:
Johannes Meyer 2014-10-15 16:35:21 +02:00
parent 2f40365fc8
commit 16ce2eb425
1 changed files with 29 additions and 6 deletions

View File

@ -112,17 +112,40 @@ form.link-like input[type="submit"]:hover, form.link-like input[type="submit"]:f
color: @colorLinkDefault;
}
form ul.errors {
.non-list-like-list {
list-style-type: none;
margin: 0.3em 0 0 0.6em;
margin: 0;
padding: 0;
}
form ul.errors li {
form div.element ul.errors {
.non-list-like-list;
margin: 0.3em 0 0 0.6em;
li {
color: @colorCritical;
font-weight: bold;
line-height: 1.5em;
}
}
form ul.form-errors {
.non-list-like-list;
display: inline-block;
padding: 0.5em 1em;
border-radius: 1em;
background-color: @colorCritical;
ul.errors {
.non-list-like-list;
}
li {
color: white;
font-weight: bold;
line-height: 1.5em;
}
}
form div.element {
margin: 0.5em 0;