From 405cae84fee1f551133ef181164365cfcce4dfc9 Mon Sep 17 00:00:00 2001 From: borissedw Date: Fri, 10 Nov 2023 19:14:00 +0300 Subject: [PATCH] 0.0.342 --- static/css/styles(boris).css | 6 ++++++ static/js/global_js.js | 2 +- static/js/user_profile_2.js | 2 +- templates/tb_base.html | 20 +++++++++++--------- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 10e264a..608dc69 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -2207,6 +2207,7 @@ position: absolute; width: 320px; opacity: 0; + /*display: none;*/ } /* for curtain right*/ @@ -2218,6 +2219,8 @@ margin: auto; z-index: 10002; top: 61px; + float: right; + height: 695px; } .menu_buttons{ @@ -2266,6 +2269,8 @@ padding-top: 10px; float: left; width: 33%; + background: #FFFFFF; + border-radius: 10px; } .handler_menu.left.close{ background: #FF613A; @@ -2354,6 +2359,7 @@ overflow-y: auto; height: calc(100vh - 120px); max-height: 667px; + background: #F8F8F8; } .menu_profile.background{ diff --git a/static/js/global_js.js b/static/js/global_js.js index 4fe044d..0a7ae2b 100644 --- a/static/js/global_js.js +++ b/static/js/global_js.js @@ -13,7 +13,7 @@ function middleWareJS(){ let footer = document.querySelector("footer") let body = document.querySelector("body") - if (document.querySelector(".block-list-of-users")){ + if (document.querySelector(".menu_buttons.curtain.left")){ footer.style.display = "none" body.style.overflow = "hidden" diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index cc5f7fd..d568970 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -755,7 +755,7 @@ function open_curtain (left=null,right=null,overlay=null,close=null){ } //тут боди по неведомой для меня причне получал перманентный оверфлоу в значении hidden и вырубал все блоки кроме Новое Сообщение, вероятно для него эта проверка и делалась - if (body.style.overflowY === 'hidden'){ + if (!curtain.classList.contains('show')){ body.style.overflowY = '' } else { body.style.overflowY = 'hidden' diff --git a/templates/tb_base.html b/templates/tb_base.html index 765f490..bca0731 100644 --- a/templates/tb_base.html +++ b/templates/tb_base.html @@ -57,16 +57,18 @@
{% include 'blocks/b_header.html' %} -
-
-