Add color to login error for better visability (#478)

This commit is contained in:
Florian Gareis 2019-03-08 12:42:22 +01:00 committed by Otto Winter
parent 23df5d8af7
commit c4ada8c9f0
2 changed files with 8 additions and 1 deletions

View File

@ -235,3 +235,10 @@ ul.stepper:not(.horizontal) .step.active::before, ul.stepper:not(.horizontal) .s
vertical-align: middle;
color: #666 !important;
}
.error {
background: #e53935;
color: #fff;
padding: 10px 15px;
margin-top: 15px;
}

View File

@ -35,7 +35,7 @@
Please login using your Home Assistant credentials.
</p>
{% if error is not None %}
<p>
<p class="error">
{{ escape(error) }}
</p>
{% end %}