1
0
Fork 0

[CSS, SITE] migrate to bootstrap v4-beta

This commit is contained in:
Jannik Beyerstedt 2017-08-19 01:35:03 +02:00
parent f30049a8ac
commit a59227a733
31 changed files with 208 additions and 197 deletions

View file

@ -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>