Commit ba19b883 authored by imac's avatar imac

[Bugix]JIRA : NAP-59 -> Stop close menu when open login popup on desktop

parent 30690bbb
...@@ -1857,19 +1857,19 @@ label.chevron.bottom::first-letter { ...@@ -1857,19 +1857,19 @@ label.chevron.bottom::first-letter {
-moz-transform: rotate(-90deg); -moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg); -ms-transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
left: -9px; left: -9px;
} }
.filter-btn.selected-filter span:after{ .filter-btn.selected-filter span:after{
content: ''; content: '';
height: 5px; height: 5px;
width: 5px; width: 5px;
border-radius: 50%; border-radius: 50%;
background: #fff; background: #fff;
display: inline-block; display: inline-block;
vertical-align: super; vertical-align: super;
margin-left: 8px; margin-left: 8px;
position: absolute; position: absolute;
top: 2px; top: 2px;
} }
.filter-btn span:before{ .filter-btn span:before{
content: ''; content: '';
...@@ -2452,6 +2452,9 @@ div.wpcf7-mail-sent-ok{ ...@@ -2452,6 +2452,9 @@ div.wpcf7-mail-sent-ok{
z-index: 99999999; z-index: 99999999;
display: none; display: none;
background: rgba(18,22,45,0.5); background: rgba(18,22,45,0.5);
bottom: 0;
left: 0;
right: 0;
} }
.popup { .popup {
width: 365px; width: 365px;
......
...@@ -166,8 +166,11 @@ $.fn.loadPageContent = function(){ ...@@ -166,8 +166,11 @@ $.fn.loadPageContent = function(){
}); });
$(document).on('click','.acces li .login, .login-user',function(e){ $(document).on('click','.acces li .login, .login-user',function(e){
e.stopImmediatePropagation(); e.stopImmediatePropagation();
var windowWidth = $(window).width();
$('.popup-container').fadeIn(); $('.popup-container').fadeIn();
$( ".c-hamburger" ).trigger( "click" ); if (windowWidth < 860){
$( ".c-hamburger" ).trigger( "click" );
}
// $('#user_login').attr('placeholder', 'Identifiant'); // $('#user_login').attr('placeholder', 'Identifiant');
// $('#user_pass').attr('placeholder', 'Mot de passe'); // $('#user_pass').attr('placeholder', 'Mot de passe');
$('.popup-first').removeClass('fadeOutDown ').addClass('animated visible-elem pulse'); $('.popup-first').removeClass('fadeOutDown ').addClass('animated visible-elem pulse');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment