From 56a675f713f3e971b1c9ccb60ab818f583dfc29e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 11 Oct 2017 21:32:23 +0200 Subject: z-index issue and some icons. rename notifications-btn-1 to notifications-btn --- view/theme/redbasic/css/style.css | 2 +- view/theme/redbasic/js/redbasic.js | 2 +- view/tpl/navbar_default.tpl | 2 +- view/tpl/notifications_widget.tpl | 10 +++++++--- 4 files changed, 10 insertions(+), 6 deletions(-) (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 8b4a6ac82..aea75df65 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -50,7 +50,7 @@ main { height: 100%; background: rgba(0, 0, 0, .5); cursor: pointer; - z-index: 1029; + z-index: 1028; } h1, .h1 { diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 4f71c1e73..04199ea95 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -83,7 +83,7 @@ $(document).ready(function() { }); var notifications_parent = $('#notifications_wrapper')[0].parentElement.id; - $('#notifications-btn-1').click(function() { + $('#notifications-btn').click(function() { if($('#notifications_wrapper').hasClass('fs')) $('#notifications_wrapper').prependTo('#' + notifications_parent); else diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl index 9495ea7a4..cf7235b14 100755 --- a/view/tpl/navbar_default.tpl +++ b/view/tpl/navbar_default.tpl @@ -67,7 +67,7 @@ {{if $localuser || $nav.pubs}} - {{/if}} diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 1c37fedff..6865879ad 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -17,7 +17,7 @@ width: 100%; max-width: 100%; height: 100%; - z-index: 1025; + z-index: 1029; overflow: auto; } @@ -44,10 +44,14 @@ -- cgit v1.2.3