From bc636ee10f39c363d1b108c0703fae4a00ff7b9d Mon Sep 17 00:00:00 2001 From: Zly Org Date: Wed, 5 Feb 2020 23:58:57 +0100 Subject: [PATCH] =?UTF-8?q?funguje=20rozbalov=C3=A1n=C3=AD=20mobiln=C3=ADh?= =?UTF-8?q?o=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/static/css/mamweb.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/mamweb/static/css/mamweb.css b/mamweb/static/css/mamweb.css index d4cc27e1..77e093e3 100644 --- a/mamweb/static/css/mamweb.css +++ b/mamweb/static/css/mamweb.css @@ -428,6 +428,9 @@ ul.submenu { ul.menu_mobile { display: block; + z-index: 10; + position: sticky; + background-color: #e94e0f; } ul.menu_mobile br { @@ -437,6 +440,23 @@ ul.submenu { nav.nav-button { display: block; position: sticky; + position: -webkit-sticky; + top: 0; + z-index: 10; + } + + button.navbar-button { + background-color: #e94e0f; + border-radius: 0px; + width: 100%; + } + + li.dropdown div.submenu_mobile{ + display: none; + } + + li.dropdown.open div.submenu_mobile{ + display: block; } p.license-mobile {