misc: update error style not to use an image

This commit is contained in:
Frédéric Péters 2016-06-15 22:51:06 +02:00
parent bc207e4b53
commit 11010e3f47
1 changed files with 15 additions and 6 deletions

View File

@ -6,14 +6,23 @@ form div.widget {
margin-bottom: 2ex;
}
div.error {
color: black;
font-weight: bold;
background: transparent url(../dialog-warning.png) top left no-repeat;
padding-left: 22px;
margin-left: 5px;
div.errornotice p {
margin: 1ex 0;
}
div.error {
color: black;
font-weight: normal;
background: transparent;
padding-left: 0px;
margin-left: 2px;
}
div.error::before {
content: "\f071"; /* fa-exclamation-triangle */
font-family: FontAwesome;
padding-right: 1ex;
}
span.required {
margin-left: 0.7ex;