From 3cd882f6183089e423b102cbec4cf8c193a9f016 Mon Sep 17 00:00:00 2001 From: Paul-Vincent Roll Date: Sat, 2 Apr 2016 20:27:59 +0200 Subject: [PATCH] Notification styling --- modules/default/alert/alert.js | 2 +- modules/default/alert/ns-default.css | 21 +-------------------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/modules/default/alert/alert.js b/modules/default/alert/alert.js index bab3927c..7a7da6fd 100644 --- a/modules/default/alert/alert.js +++ b/modules/default/alert/alert.js @@ -23,7 +23,7 @@ Module.register('alert',{ return ['ns-default.css', 'sweetalert.css']; }, show_notification: function (message) { - message = "" + message.title + "
" + message.message + "" + message = "" + message.title + "
" + message.message + "" new NotificationFx({ message : message, layout : "growl", diff --git a/modules/default/alert/ns-default.css b/modules/default/alert/ns-default.css index e82715da..a5cb67f7 100755 --- a/modules/default/alert/ns-default.css +++ b/modules/default/alert/ns-default.css @@ -7,7 +7,6 @@ line-height: 1.4; margin-top: 10px; z-index: 1000; - pointer-events: none; color: black; font-size: 70%; position: relative; @@ -16,29 +15,16 @@ top: auto; left: 30px; + max-width: 100%; border-radius: 5px; } -.ns-box.ns-show { - pointer-events: auto; -} - .ns-box a { color: inherit; opacity: 0.7; font-weight: 700; } -.ns-box p { - margin: 0; -} - -.ns-box.ns-show, -.ns-box.ns-visible { - pointer-events: auto; -} - - /* Flip */ .ns-effect-flip { @@ -84,10 +70,7 @@ .ns-effect-bouncyflip { -webkit-transform-origin: 50% 0%; transform-origin: 50% 0%; - background: #fff; - color: #484860; top: 0; - box-shadow: 0 13px 10px -5px rgba(0,0,0,0.2); } .ns-effect-bouncyflip p { @@ -198,8 +181,6 @@ /* Expanding Loader */ .ns-effect-exploader { - background: #fff; - color: #7a7264; -webkit-transform-origin: 0 0; transform-origin: 0 0; }