diff --git a/templates/web/account/base.html.twig b/templates/web/account/base.html.twig
index e2983bcab8..fde620de15 100644
--- a/templates/web/account/base.html.twig
+++ b/templates/web/account/base.html.twig
@@ -46,5 +46,14 @@
- {% block scripts %}{% endblock %}
+ {% block scripts %}
+
+ {% endblock %}
{% endblock %}
diff --git a/templates/web/login/common/macros.html.twig b/templates/web/login/common/macros.html.twig
index 02df8b0e0e..40e1c77cdf 100644
--- a/templates/web/login/common/macros.html.twig
+++ b/templates/web/login/common/macros.html.twig
@@ -138,28 +138,33 @@
{% endmacro %}
+{% macro alert(type, message) %}
+
+ {% set sign = "icon-exclamation-sign" %}
+
+ {% if type == "error" %}
+ {% set sign = "icon-warning-sign" %}
+ {% elseif type == "success" %}
+ {% set sign = "icon-ok-sign" %}
+ {% elseif type == "info" %}
+ {% set sign = "icon-info-sign" %}
+ {% endif %}
+
+
+
+ |
+ {{ message }} |
+ × |
+
+
+
+{% endmacro %}
+
{% macro flashes() %}
+ {% import _self as login %}
{% for type in app.getAvailableFlashTypes %}
{% for message in app.getFlash(type) %}
-
- {% set sign = "icon-exclamation-sign" %}
-
- {% if type == "error" %}
- {% set sign = "icon-warning-sign" %}
- {% elseif type == "success" %}
- {% set sign = "icon-ok-sign" %}
- {% elseif type == "info" %}
- {% set sign = "icon-info-sign" %}
- {% endif %}
-
-
-
- |
- {{ message }} |
- × |
-
-
-
+ {{ login.alert(type, message) }}
{% endfor %}
{% endfor %}
{% endmacro %}
diff --git a/www/skins/account/skin.less b/www/skins/account/skin.less
index 18e6f9e2df..96448e8d4a 100644
--- a/www/skins/account/skin.less
+++ b/www/skins/account/skin.less
@@ -257,8 +257,8 @@ ul {
border-left: 1px solid darken(@warningBackground, 20%);
}
-.alert .close {
- position: static;
+.alert-block-close a {
+ color: @white;
}
.alert table {
diff --git a/www/skins/account/variables.less b/www/skins/account/variables.less
index 56b3c50e2b..976e2cadd5 100644
--- a/www/skins/account/variables.less
+++ b/www/skins/account/variables.less
@@ -269,20 +269,20 @@
// Form states and alerts
// -------------------------
-@warningText: #c09853;
-@warningBackground: #fcf8e3;
+@warningText: @white;
+@warningBackground: @grayDark;
@warningBorder: darken(spin(@warningBackground, -10), 3%);
-@errorText: #b94a48;
-@errorBackground: #f2dede;
+@errorText: @white;
+@errorBackground: #c9322b;
@errorBorder: darken(spin(@errorBackground, -10), 3%);
-@successText: #468847;
-@successBackground: #dff0d8;
+@successText: @white;
+@successBackground: #1f914f;
@successBorder: darken(spin(@successBackground, -10), 5%);
-@infoText: #3a87ad;
-@infoBackground: #d9edf7;
+@infoText: @white;
+@infoBackground: #4889af;
@infoBorder: darken(spin(@infoBackground, -10), 7%);