From 0b89235091e75fff6b0d650f3a4441e2c8dfe33a Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 25 Nov 2009 11:57:51 +0100 Subject: [PATCH] Always show notification bubble. --- kronolith/js/kronolith.js | 2 +- kronolith/templates/index/index.inc | 4 ++-- kronolith/themes/screen.css | 9 ++++++++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index a07529cc9..3f8a5be71 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -184,7 +184,7 @@ KronolithCore = { }); var notify = $('kronolithNotifications'), className = m.type.replace(/\./, '-'), - order = 'horde-error,horde-warning,horde-alarm,horde-message,horde-success'; + order = 'horde-error,horde-warning,horde-message,horde-success,kronolithNotifications'; if (!notify.className || order.indexOf(notify.className) > order.indexOf(className)) { notify.className = className; diff --git a/kronolith/templates/index/index.inc b/kronolith/templates/index/index.inc index 0794b41e2..952a2adcd 100644 --- a/kronolith/templates/index/index.inc +++ b/kronolith/templates/index/index.inc @@ -4,8 +4,8 @@
- "> · - · ' . $help_link; if ($logout_link) echo ' | ' . $logout_link ?> + · + · ' . $help_link; if ($logout_link) echo ' | ' . $logout_link ?>
diff --git a/kronolith/themes/screen.css b/kronolith/themes/screen.css index 21832ae99..eca0b52a9 100644 --- a/kronolith/themes/screen.css +++ b/kronolith/themes/screen.css @@ -396,12 +396,19 @@ body.kronolithAjax { /* User data and options */ #kronolithServices { float: right; - margin-top: 8px; + margin-top: 10px; margin-right: 10px; text-align: right; } #kronolithNotifications { padding: 3px 5px; + height: 25px; + line-height: 25px; +} +.kronolithNotifications { + background-color: #d9d9d9; + opacity: .3; + filter: alpha(opacity=30); } /* Main area */ -- 2.11.0