This commit is contained in:
SBD
2023-11-18 17:30:15 +03:00
parent 7c991024b7
commit ba8bde1153
3 changed files with 11 additions and 2 deletions

View File

@@ -2361,6 +2361,7 @@
float: left;
text-align: left;
position: absolute;
top: 293px;
}
.support .menu_buttons.left.open{

View File

@@ -51,4 +51,13 @@ function open_chat (user_id){
let href = host + '/ru/profile/page/chat/' + user_id_
// window.location.href = host + '/profile/chat/' + user_id
window.location.replace(href)
}
function scroll_ev (event,el){
let curtain = document.querySelector(".menu_buttons.filters")
if (el.scrollY === 300 || el.scrollY > 300){
curtain.style.top = "0"
} else if (el.scrollY < 300) {
curtain.style.top = "293px"
}
}

View File

@@ -52,8 +52,7 @@
{% block meta %}
{% endblock %}
</head>
<body>
<body {% if page_type == 'routes' %}onscroll="scroll_ev(event,this)" {% endif %}>
<div class="block_overlay {% if page_type == 'profile' %}show{% elif page_type == 'routes' %} show routes n_profile{% else %}hidden n_profile{% endif %}" onclick="open_curtain()"></div>
<div class="wrapper_main">