[CSS, SITE] migrate to bootstrap v4-beta
This commit is contained in:
parent
f30049a8ac
commit
a59227a733
31 changed files with 208 additions and 197 deletions
|
@ -21,7 +21,7 @@ if ($page->depth() == 1) {
|
|||
?>
|
||||
|
||||
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
||||
<label class="hidden-sm-up" for="nav-trigger">Menü</label>
|
||||
<label class="d-sm-none" for="nav-trigger">Menü</label>
|
||||
|
||||
<nav class="mobile">
|
||||
<ul class="nav mobileNav">
|
||||
|
@ -50,7 +50,7 @@ if ($page->depth() == 1) {
|
|||
<?php endif; ?>
|
||||
|
||||
<nav aria-hidden="true">
|
||||
<ul class="nav hidden-xs-down">
|
||||
<ul class="nav d-none d-sm-block">
|
||||
<?php if(!$subnav) : ?>
|
||||
<?php foreach ($site->children()->visible() as $p) : ?>
|
||||
<a href="<?php echo $p->url()?>" <?php echo ($page == $p || $page->parent() == $p)?'class="active"':'' ?>><li><?php echo $p->title() ?></li></a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue