From 044d8277f8c0538e22159d75c33079ef4750e1e6 Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Tue, 31 Mar 2026 16:48:12 -0500 Subject: [PATCH] CSS and Joomla 6 fixes: dropdown icons, footer, drawers, horizontal menu - Replace CSS border-triangle dropdown toggles with FontAwesome chevron icon - Fix footer: use --nav-bg-color background, --mainmenu-nav-link-color links, add display:flex to grid-child - Dynamic footer padding-right when theme control is active - Drawer close buttons: align left in left drawer, right in right drawer - Fix .menu-horizontal selector (was .metismenu.menu-horizontal, actual output is .mod-menu.menu-horizontal) - Add horizontal padding to .mod-list li - Joomla 6 compat: replace legacy JHtml with namespaced HTMLHelper in mod_kunenalogin Co-Authored-By: Claude Opus 4.6 (1M context) --- src/html/mod_kunenalogin/mobile.php | 5 ++- src/index.php | 9 ++++- src/media/css/template.css | 60 +++++++++++++++-------------- 3 files changed, 42 insertions(+), 32 deletions(-) diff --git a/src/html/mod_kunenalogin/mobile.php b/src/html/mod_kunenalogin/mobile.php index ccbe30a..0d28dc3 100644 --- a/src/html/mod_kunenalogin/mobile.php +++ b/src/html/mod_kunenalogin/mobile.php @@ -11,6 +11,7 @@ defined('_JEXEC') or die; +use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; @@ -88,7 +89,7 @@ $wrapperClass = 'mod-kunena-login mod-kunena-login-responsive ' . $moduleclass_s - + @@ -181,7 +182,7 @@ $wrapperClass = 'mod-kunena-login mod-kunena-login-responsive ' . $moduleclass_s - + diff --git a/src/index.php b/src/index.php index bf27832..3cc55e4 100644 --- a/src/index.php +++ b/src/index.php @@ -60,6 +60,7 @@ $params_developmentmode = $this->params->get('developmentmode', false); // Theme params $params_theme_enabled = $this->params->get('theme_enabled', 1); +$params_theme_control_type = (string) $this->params->get('theme_control_type', 'radios'); $params_theme_fab_enabled = $this->params->get('theme_fab_enabled', 1); $params_theme_fab_pos = $this->params->get('theme_fab_pos', 'br'); @@ -286,6 +287,10 @@ $wa->useScript('user.js'); // js/user.js }); + + + + useScript('user.js'); // js/user.js countModules('drawer-left', true)) : ?>