This commit is contained in:
Alexander Agnarson 2020-08-17 13:15:00 +02:00
parent 03bf108d8c
commit f20a586d67
2 changed files with 7 additions and 2 deletions

View file

@ -1,7 +1,7 @@
/*
Theme Name: Curver
Theme URI: http://alx.media/themes/curver/
Version: 1.1.4
Version: 1.1.5
Requires at least: 5.0
Requires PHP: 5.6
Tested up to: 5.5
@ -535,6 +535,7 @@ background-image: linear-gradient(to top left,#ff8a00,#da1b60); }
/* header : search
/* ------------------------------------ */
.toggle-search { background: transparent; z-index: 3; position: absolute; right: 30px; top: 0; border: 0; width: 60px; color: #333; text-align: center; font-size: 20px; line-height: 24px; cursor: pointer; padding: 17px 0 17px; margin: 0; display: block; }
.toggle-search:focus { outline: none; }
.search-expand { display: none; position: absolute; top: 13px; right: 70px; width: 340px; z-index: 3; }
.search-expand-inner { padding: 0 10px 10px; }
.search-expand .themeform input { background: #f2f2f2; width: 100%; border: 1px solid #eee; border-radius: 20px; }
@ -613,6 +614,7 @@ 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.menu-item-has-children.focus > ul:focus-within { opacity: 1!important; }
.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; }