Changed payment error message style

This commit is contained in:
Siarhei Puhach 2017-08-04 12:38:24 +03:00
parent 29fb771afb
commit 8769c4cd1f
2 changed files with 7 additions and 3 deletions

View file

@ -537,6 +537,10 @@ a.unlink:hover {
border-radius: 3px;
padding: 5px;
}
.card-warning-error {
border: 1px solid #EB4D5C;
color: #EB4D5C;
}
.stripe-payment-btn {
outline: none;
@ -718,4 +722,4 @@ a.unlink:hover {
.footer-light a:hover, .footer-light a:focus, .footer-light a:active {
color: #ddd;
}
}

View file

@ -138,11 +138,11 @@
{% endblocktrans %}
</p>
{% endif %}
<div class="help-block with-errors">
<div>
{% for message in messages %}
{% if 'failed_payment' in message.tags %}
<ul class="list-unstyled"><li>
<p class="alert alert-danger">{{ message|safe }}</p>
<p class="card-warning-content card-warning-error">{{ message|safe }}</p>
</li></ul>
{% endif %}
{% endfor %}