fix issue #4: add option to hide the logo

This commit is contained in:
Simon Vieille 2020-04-15 12:17:17 +02:00
commit 407073dd98
Signed by: deblan
GPG key ID: 03383D15A1D31745
7 changed files with 63 additions and 19 deletions

View file

@ -0,0 +1,24 @@
:root {
<?php foreach ($_['vars'] as $key => $value): ?>
<?php if ($key === 'opener'): ?>
--side-menu-<?php echo $key ?>: url('../img/<?php echo $value ?>.svg');
<?php else: ?>
--side-menu-<?php echo $key ?>: <?php echo $value ?>;
<?php endif; ?>
<?php endforeach; ?>
}
<?php if ($_['display-logo'] === false): ?>
.side-menu-logo {
display: none;
}
.side-menu-header {
height: 50px;
}
.side-menu-apps-list {
height: calc(100vh - 60px);
top: 60px;
}
<?php endif; ?>