diff --git a/core/admin/assets/js/admin-ui-temp.js b/core/admin/assets/js/admin-ui-temp.js index f276668593..1b77270a5f 100644 --- a/core/admin/assets/js/admin-ui-temp.js +++ b/core/admin/assets/js/admin-ui-temp.js @@ -28,6 +28,11 @@ }); + // Allow notifications to be dismissed + $(document).on('click', '.js-notification .close', function () { + $(this).parent().fadeOut(200, function () { $(this).remove(); }); + }); + $(document).ready(function () { // ## Set interactions for all menus diff --git a/core/admin/assets/sass/modules/global.scss b/core/admin/assets/sass/modules/global.scss index 5e14bda16a..6c8493e966 100644 --- a/core/admin/assets/sass/modules/global.scss +++ b/core/admin/assets/sass/modules/global.scss @@ -861,7 +861,7 @@ nav { }; display: inline-block; color: rgba(255,255,255,0.6); - + cursor: pointer; &:hover { color: #fff; } } diff --git a/core/admin/views/partials/flashes.hbs b/core/admin/views/partials/flashes.hbs index 460bed84ed..53ce4dfda8 100644 --- a/core/admin/views/partials/flashes.hbs +++ b/core/admin/views/partials/flashes.hbs @@ -1,24 +1,24 @@ {{#if messages}} {{#each messages.error}} -
+
{{.}}
{{/each}} {{#each messages.success}} -
+
{{.}}
{{/each}} {{#each messages.warn}} -
+
{{.}}
{{/each}} {{#each messages.info}} -
+
{{.}}