[skip ci] Convert navbar-toggle to navbar-toggler
This commit is contained in:
parent
46031d63cd
commit
737854e6c9
4 changed files with 6 additions and 6 deletions
|
@ -189,7 +189,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
$container.remove();
|
||||
});
|
||||
|
||||
$('.navbar-toggle').on('click', () => {
|
||||
$('.navbar-toggler').on('click', () => {
|
||||
$('.header-content').toggleClass('menu-expanded');
|
||||
gl.lazyLoader.loadCheck();
|
||||
});
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
}
|
||||
|
||||
.container-fluid {
|
||||
.navbar-toggle {
|
||||
.navbar-toggler {
|
||||
border-left: 1px solid lighten($color-700, 10%);
|
||||
}
|
||||
}
|
||||
|
@ -289,8 +289,8 @@ body {
|
|||
}
|
||||
|
||||
.container-fluid {
|
||||
.navbar-toggle,
|
||||
.navbar-toggle:hover {
|
||||
.navbar-toggler,
|
||||
.navbar-toggler:hover {
|
||||
color: $theme-gray-700;
|
||||
border-left: 1px solid $theme-gray-200;
|
||||
}
|
||||
|
|
|
@ -156,7 +156,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.navbar-toggle {
|
||||
.navbar-toggler {
|
||||
right: -10px;
|
||||
border-radius: 0;
|
||||
min-width: 45px;
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
%div
|
||||
= link_to "Sign in / Register", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in'
|
||||
|
||||
%button.navbar-toggle.d-block.d-sm-none{ type: 'button' }
|
||||
%button.navbar-toggler.d-block.d-sm-none{ type: 'button' }
|
||||
%span.sr-only Toggle navigation
|
||||
= sprite_icon('more', size: 12, css_class: 'more-icon js-navbar-toggle-right')
|
||||
= sprite_icon('close', size: 12, css_class: 'close-icon js-navbar-toggle-left')
|
||||
|
|
Loading…
Reference in a new issue