Improve form- and element-error styling
This commit is contained in:
parent
2f40365fc8
commit
16ce2eb425
|
@ -112,16 +112,39 @@ form.link-like input[type="submit"]:hover, form.link-like input[type="submit"]:f
|
||||||
color: @colorLinkDefault;
|
color: @colorLinkDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
form ul.errors {
|
.non-list-like-list {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin: 0.3em 0 0 0.6em;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
form ul.errors li {
|
form div.element ul.errors {
|
||||||
color: @colorCritical;
|
.non-list-like-list;
|
||||||
font-weight: bold;
|
margin: 0.3em 0 0 0.6em;
|
||||||
line-height: 1.5em;
|
|
||||||
|
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 {
|
form div.element {
|
||||||
|
|
Loading…
Reference in New Issue