Skip to content

Commit

Permalink
🐛 fix mega menu position issue, 🎨 update the module chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
ahamed committed Aug 20, 2021
1 parent 035a588 commit 9b093bd
Show file tree
Hide file tree
Showing 13 changed files with 2,432 additions and 2,375 deletions.
38 changes: 38 additions & 0 deletions templates/shaper_helixultimate/html/layouts/chromes/sp_xhtml.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?php
/**
* @package Joomla.Site
* @subpackage Templates.cassiopeia
*
* @copyright (C) 2020 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

defined('_JEXEC') or die;

$module = $displayData['module'];
$params = $displayData['params'];
$attribs = $displayData['attribs'];

if ($module->content === null || $module->content === '')
{
return;
}

$moduleTag = htmlspecialchars($params->get('module_tag', 'div'), ENT_QUOTES, 'UTF-8');
$bootstrapSize = (int) $params->get('bootstrap_size', 0);
$moduleClass = $bootstrapSize !== 0 ? ' span' . $bootstrapSize : '';
$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_QUOTES, 'UTF-8');
$headerClass = htmlspecialchars($params->get('header_class', 'sp-module-title'), ENT_COMPAT, 'UTF-8');

if ($module->content) {
echo '<' . $moduleTag . ' class="sp-module ' . htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8') . $moduleClass . '">';

if ($module->showtitle) {
echo '<' . $headerTag . ' class="' . $headerClass . '">' . $module->title . '</' . $headerTag . '>';
}

echo '<div class="sp-module-content">';
echo $module->content;
echo '</div>';
echo '</' . $moduleTag . '>';
}
Empty file modified templates/shaper_helixultimate/scss/animation.scss
100644 → 100755
Empty file.
Empty file modified templates/shaper_helixultimate/scss/bs4-rtl.scss
100644 → 100755
Empty file.
Empty file modified templates/shaper_helixultimate/scss/edit.scss
100644 → 100755
Empty file.
Empty file modified templates/shaper_helixultimate/scss/legacy.scss
100644 → 100755
Empty file.
Empty file modified templates/shaper_helixultimate/scss/master.scss
100644 → 100755
Empty file.
Empty file modified templates/shaper_helixultimate/scss/menu.scss
100644 → 100755
Empty file.
Loading

0 comments on commit 9b093bd

Please sign in to comment.