From ba8bde11530049e719755f5dffb3089211c9840c Mon Sep 17 00:00:00 2001 From: SBD Date: Sat, 18 Nov 2023 17:30:15 +0300 Subject: [PATCH] 0.8.360 --- static/css/styles(boris).css | 1 + static/js/find_route.js | 9 +++++++++ templates/tb_base.html | 3 +-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index d2d084a..c180e8c 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -2361,6 +2361,7 @@ float: left; text-align: left; position: absolute; + top: 293px; } .support .menu_buttons.left.open{ diff --git a/static/js/find_route.js b/static/js/find_route.js index e5cdb6a..fa2adf8 100644 --- a/static/js/find_route.js +++ b/static/js/find_route.js @@ -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" + } } \ No newline at end of file diff --git a/templates/tb_base.html b/templates/tb_base.html index 469088b..3e03f11 100644 --- a/templates/tb_base.html +++ b/templates/tb_base.html @@ -52,8 +52,7 @@ {% block meta %} {% endblock %} - - +