From f8cad8c9595177239f557649306e38d1a540f47c Mon Sep 17 00:00:00 2001 From: maTh Date: Fri, 4 Feb 2022 16:27:42 +0100 Subject: Improve showing notification banner (#4023) * bad notification show double time of good notification * stop timer, when mouse is over the notification * after leaving the mouse hover close the notification in 1 second * onlick to eddEventListener * code fix * fixed code * more code fixes * set default in template.css * theme alternative dark * theme ansum * theme Blue lagoon * theme dark * theme flat * theme Origine compact * theme Origine * theme Pafat * theme Screwdriver * theme Swage * fixed RTL error * fix css code * mouseleave = 3sec. --- p/themes/Screwdriver/screwdriver.css | 2 -- p/themes/Screwdriver/screwdriver.rtl.css | 2 -- 2 files changed, 4 deletions(-) (limited to 'p/themes/Screwdriver') diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index 6f29c1562..a943642c8 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -990,7 +990,6 @@ a.btn { /*=== Notification and actualize notification */ .notification { - padding: 0 0 0 5px; background: #222; color: #fff; font-size: 0.9em; @@ -999,7 +998,6 @@ a.btn { box-shadow: 0px 0px 4px rgba(0,0,0,0.45), 0 -1px rgba(255,255,255,0.08) inset, 0 2px 2px #171717 inset; text-align: center; font-weight: bold; - line-height: 3em; position: absolute; top: 0; z-index: 10; diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index 7dd1bc717..51be738de 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -990,7 +990,6 @@ a.btn { /*=== Notification and actualize notification */ .notification { - padding: 0 5px 0 0; background: #222; color: #fff; font-size: 0.9em; @@ -999,7 +998,6 @@ a.btn { box-shadow: 0px 0px 4px rgba(0,0,0,0.45), 0 -1px rgba(255,255,255,0.08) inset, 0 2px 2px #171717 inset; text-align: center; font-weight: bold; - line-height: 3em; position: absolute; top: 0; z-index: 10; -- cgit v1.2.3