From 959879ef53d7e510355d2a956e7291a68a041241 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Tue, 19 Jul 2016 06:55:35 -0400 Subject: Unhide menu toggle --- _sass/_dl-menu.scss | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/_sass/_dl-menu.scss b/_sass/_dl-menu.scss index 8869c31..04de01a 100644 --- a/_sass/_dl-menu.scss +++ b/_sass/_dl-menu.scss @@ -41,6 +41,11 @@ border-radius: 0 0 3px 0; opacity: 0.6; box-shadow: 0 12px 24px rgba(#000,0.4); + transition: 0.4s ease-in-out; + + &:hover { + opacity: 1; + } @media #{$medium} { border-radius: 3px; @@ -66,10 +71,6 @@ 0 20px 0 #fff; } - button.dl-active { - display: none; - } - ul { padding: 0; list-style: none; @@ -144,7 +145,7 @@ } .dl-menu { - margin: 0; + margin: 5px 0 0 0; position: relative; width: 100%; max-height: 90%; @@ -196,7 +197,7 @@ } /* -When a submenu is openend, we will hide all li siblings. +When a submenu is opened, we will hide all li siblings. For that we give a class to the parent menu called "dl-subview". We also hide the submenu link. The opened submenu will get the class "dl-subviewopen". -- cgit v1.2.3