From 57ae0a6cb6c115285a5ca16e05d5c06966af6e4d Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 2 Feb 2017 08:41:09 -0800 Subject: [PATCH] Admin area: Fix for responsive navigation menu. --- e107_handlers/menumanager_class.php | 2 +- e107_handlers/theme_handler.php | 2 +- e107_themes/bootstrap3/admin_style.css | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/e107_handlers/menumanager_class.php b/e107_handlers/menumanager_class.php index a6ece27e4..9b43e9b05 100644 --- a/e107_handlers/menumanager_class.php +++ b/e107_handlers/menumanager_class.php @@ -1830,7 +1830,7 @@ class e_menuManager { function menuSetConfigList() { - e107::getMessage()->addDebug("Scanning for Menu config files"); + e107::getDebug()->log("Scanning for Menu config files"); $sql = e107::getDb(); $pref = e107::getPref(); diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php index 4c375be67..282820c8d 100644 --- a/e107_handlers/theme_handler.php +++ b/e107_handlers/theme_handler.php @@ -1519,7 +1519,7 @@ class themeHandler if(($this->themeConfigObj === null) ) { - $mes->addDebug("Loading : ".$confile); + e107::getDebug()->log("Loading : ".$confile); include ($confile); $className = 'theme_'.$this->id; diff --git a/e107_themes/bootstrap3/admin_style.css b/e107_themes/bootstrap3/admin_style.css index 607a64e31..c6d484b73 100644 --- a/e107_themes/bootstrap3/admin_style.css +++ b/e107_themes/bootstrap3/admin_style.css @@ -1410,7 +1410,7 @@ form#simplesef h4 { margin: 0 } .admin-icon-debug i { margin-right:10px; cursor:help} -.navbar-fixed-top { height: 51px; +.navbar-fixed-top { font-size: 14px; left: 0px; line-height: 20px; @@ -1473,6 +1473,11 @@ footer { } */ + +@media (min-width: 1101px ){ +.navbar-fixed-top { height: 51px; } +} + @media (max-width: 1400px ){ ul.navbar-nav.navbar-left > li > a > i { display:none; }