This commit is contained in:
Alexander Agnarson 2020-08-17 11:12:11 +02:00
parent c8f29f10fd
commit 03bf108d8c
2 changed files with 9 additions and 2 deletions

View file

@ -1,7 +1,7 @@
/*
Theme Name: Curver
Theme URI: http://alx.media/themes/curver/
Version: 1.1.3
Version: 1.1.4
Requires at least: 5.0
Requires PHP: 5.6
Tested up to: 5.5
@ -613,6 +613,10 @@ background-image: linear-gradient(to top left,#ff8a00,#da1b60); }
.nav-menu:not(.mobile) .menu ul li { position: relative; }
.nav-menu:not(.mobile) .menu ul a { display: block; padding: 10px 20px; transition: background-color 0.15s linear; width: 100%; }
.nav-menu:not(.mobile) .menu li.menu-item-has-children.focus > ul { min-width: 180px; max-width: 180px; max-height: 300vh; overflow: visible; opacity: 1; transform: translateY(0); transition: opacity 0.15s linear, transform 0.15s linear; }
.nav-menu:not(.mobile) .menu li ul.sub-menu:not(.active) { opacity: 0; }
.nav-menu:not(.mobile) .menu li.hover ul.sub-menu:not(.active) { opacity: 1; }
.nav-menu:not(.mobile) .menu li.focus ul ul.sub-menu:not(.active) { opacity: 0; }
.nav-menu:not(.mobile) .menu li.focus ul li.hover ul.sub-menu { opacity: 1; }
.nav-menu:not(.mobile) .menu ul:before,
.nav-menu:not(.mobile) .menu ul:after { content: ""; display: block; position: absolute; bottom: 100%; }