fix issue #4: add option to hide the logo
This commit is contained in:
parent
f85b5de28d
commit
407073dd98
7 changed files with 63 additions and 19 deletions
24
templates/css/stylesheet.php
Normal file
24
templates/css/stylesheet.php
Normal 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; ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue