From 5d5823b9635be549ac3527769bce58f7c49d661e Mon Sep 17 00:00:00 2001 From: thinkbulecount2 <38994650+thinkbulecount2@users.noreply.github.com> Date: Mon, 22 Jul 2019 09:41:16 -0400 Subject: [PATCH] pkp/pkp-lib#4684 Renamed classes --- plugins/themes/default/js/main.js | 6 +++--- plugins/themes/default/styles/head.less | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/themes/default/js/main.js b/plugins/themes/default/js/main.js index 17fcf20ab8b..0ef69ac0b71 100644 --- a/plugins/themes/default/js/main.js +++ b/plugins/themes/default/js/main.js @@ -32,9 +32,9 @@ } // Toggle nav menu on small screens - $('.toggle').click(function(e) { - $('.menu').toggleClass('menu--isOpen'); - $('.toggle').toggleClass('toggle--transform'); + $('.pkp_site_nav_toggle').click(function(e) { + $('.pkp_site_nav_menu').toggleClass('pkp_site_nav_menu--isOpen'); + $('.pkp_site_nav_toggle').toggleClass('pkp_site_nav_toggle--transform'); }); diff --git a/plugins/themes/default/styles/head.less b/plugins/themes/default/styles/head.less index 56a0d58f72f..246a9d188ca 100644 --- a/plugins/themes/default/styles/head.less +++ b/plugins/themes/default/styles/head.less @@ -26,7 +26,7 @@ } // Mobile navigation menu -.toggle { +.pkp_site_nav_toggle { @thickness: 3px; position: absolute; @@ -75,7 +75,7 @@ } } -.toggle--transform { +.pkp_site_nav_toggle--transform { > span { @@ -96,7 +96,7 @@ } } -.menu { +.pkp_site_nav_menu { display: none; border-top: 1px solid rgba(255,255,255,0.2); @@ -105,7 +105,7 @@ } } -.menu--isOpen { +.pkp_site_nav_menu--isOpen { display: block; .pkp_navigation_primary_row {