fix(shell): fine-tune header/footer to zibll contracts

Move nav-fixed to body, apply show-slide overlay tokens, rebuild footer
as zibll template_1 list-inline (logo/links/contact/mini + footer-conter),
and align navbar brand/logo/menu spacing with zibll main.css.
This commit is contained in:
2026-07-12 18:54:03 +08:00
parent ecba297700
commit 07e1b64951
4 changed files with 498 additions and 206 deletions
+6 -1
View File
@@ -30,6 +30,11 @@ if (class_exists('AKSRT_Settings') && method_exists('AKSRT_Settings', 'initial_t
$aksrt_has_initial_theme = in_array($aksrt_initial_theme_mode, ['dark', 'light'], true);
$aksrt_body_classes = ['header-nav-style-' . $aksrt_header_settings['nav_style']];
// Zibll contract: body.nav-fixed drives top padding + hero pull-under-nav.
if (!empty($aksrt_header_settings['fixed'])) {
$aksrt_body_classes[] = 'nav-fixed';
}
if ($aksrt_initial_theme_mode === 'dark') {
$aksrt_body_classes[] = 'theme-dark';
$aksrt_body_classes[] = 'dark-theme';
@@ -191,8 +196,8 @@ if (!empty($aksrt_bg_styles)) {
$aksrt_header_classes = [
'header',
'header-layout-' . $aksrt_header_settings['layout'],
$aksrt_header_settings['fixed'] ? 'nav-fixed' : 'nav-static',
];
// Fixed state lives on body.nav-fixed (zibll); nav keeps site-nav--fixed.
if ($aksrt_show_header_slide) {
$aksrt_header_classes[] = 'show-slide';
}