Skip to content

Commit

Permalink
pkp/pkp-lib#4684 Renamed classes
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkbulecount2 authored and ajnyga committed Nov 17, 2019
1 parent a4b11cf commit 5d5823b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions plugins/themes/default/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});


Expand Down
8 changes: 4 additions & 4 deletions plugins/themes/default/styles/head.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}

// Mobile navigation menu
.toggle {
.pkp_site_nav_toggle {
@thickness: 3px;

position: absolute;
Expand Down Expand Up @@ -75,7 +75,7 @@
}
}

.toggle--transform {
.pkp_site_nav_toggle--transform {

> span {

Expand All @@ -96,7 +96,7 @@
}
}

.menu {
.pkp_site_nav_menu {
display: none;
border-top: 1px solid rgba(255,255,255,0.2);

Expand All @@ -105,7 +105,7 @@
}
}

.menu--isOpen {
.pkp_site_nav_menu--isOpen {
display: block;

.pkp_navigation_primary_row {
Expand Down

0 comments on commit 5d5823b

Please sign in to comment.