aboutsummaryrefslogtreecommitdiff
path: root/w/view
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-11-05 18:08:39 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-11-05 18:08:39 +0100
commit687b1f851abbb28750d2921d4f5beaac24b3249d (patch)
tree8510acd3bcb73509a88fddcd1d928f9ef120836d /w/view
parente7bdf04e3e58aa2c1821918b72753f274d3684fb (diff)
downloadwcms-687b1f851abbb28750d2921d4f5beaac24b3249d.tar.gz
wcms-687b1f851abbb28750d2921d4f5beaac24b3249d.zip
fix bugs
Diffstat (limited to 'w/view')
-rw-r--r--w/view/templates/navart.php23
1 files changed, 22 insertions, 1 deletions
diff --git a/w/view/templates/navart.php b/w/view/templates/navart.php
index d591307..b6a7219 100644
--- a/w/view/templates/navart.php
+++ b/w/view/templates/navart.php
@@ -1,4 +1,25 @@
-<div class="menu" style="all: initial; position: fixed; top: 0; right: 0;">
+<style>
+.menu {
+ all:initial;
+ position: fixed;
+ top: 0;
+ right: 0;
+ z-index: 10;
+ background-color: var(--color1);
+}
+
+div#dropmenu {
+ display: none;
+}
+
+.menu:hover div#dropmenu {
+ display: block;
+}
+
+</style>
+
+
+<div class="menu" >
<?= $user->level() ?>
<div id="dropmenu">