From 5c583f5681e060f247d98cca255c52a91fc4b75e Mon Sep 17 00:00:00 2001
From: Piotr Jasiun
Date: Tue, 17 Feb 2015 15:25:57 +0100
Subject: [PATCH] Use pointer-events: none and auto combination so margin do
not capture clicking.
---
skins/kama/notification.css | 6 ++++++
skins/moono/notification.css | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/skins/kama/notification.css b/skins/kama/notification.css
index 5e6a5b178fe..a1b167871d0 100644
--- a/skins/kama/notification.css
+++ b/skins/kama/notification.css
@@ -44,8 +44,14 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
* Success and info notifications have the same structure as warning, but use
* `cke_notification_success` and `cke_notification_info` instead of `cke_notification_warning`.
*/
+.cke_notifications_area
+{
+ /* Prevent notifications margin capture clicking. */
+ pointer-events: none;
+}
.cke_notification
{
+ pointer-events: auto;
position: relative;
margin: 10px;
width: 300px;
diff --git a/skins/moono/notification.css b/skins/moono/notification.css
index d392e402bdb..d1e0b77cc19 100644
--- a/skins/moono/notification.css
+++ b/skins/moono/notification.css
@@ -44,8 +44,14 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
* Success and info notifications have the same structure as warning, but use
* `cke_notification_success` and `cke_notification_info` instead of `cke_notification_warning`.
*/
+.cke_notifications_area
+{
+ /* Prevent notification margin capture clicking. */
+ pointer-events: none;
+}
.cke_notification
{
+ pointer-events: auto;
position: relative;
margin: 10px;
width: 300px;