0.0.342
This commit is contained in:
@@ -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{
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -57,16 +57,18 @@
|
||||
<div class="wrapper_main">
|
||||
|
||||
{% include 'blocks/b_header.html' %}
|
||||
<div class="block_overlay {% if page_type == 'profile' %}show{% else %}hidden n_profile{% endif %}" onclick="open_curtain()"></div>
|
||||
<div class="cut_width_f_curtain">
|
||||
<div class="menu_buttons curtain right {% if page_type == 'profile' %}open{% else %} close{% endif %}" data-name="Меню">
|
||||
<div class="cut-width">
|
||||
<div class="block_overlay {% if page_type == 'profile' %}show{% else %}hidden n_profile{% endif %}" onclick="open_curtain()"></div>
|
||||
<div class="cut_width_f_curtain">
|
||||
<div class="menu_buttons curtain right {% if page_type == 'profile' %}open{% else %} close{% endif %}" data-name="Меню">
|
||||
|
||||
{% include "blocks/profile/b_buttons_menu_profile.html" %}
|
||||
<div class="handler_menu close" onclick="open_curtain(null,'right')">
|
||||
<img class="btns_f_curtain close left" src="{% static 'img/svg/arrow_f_curtain.svg' %}">
|
||||
<div class="text_f_curtain left">Меню</div>
|
||||
<img class="btns_f_curtain close right" src="{% static 'img/svg/arrow_f_curtain.svg' %}">
|
||||
<div class="clear_both"></div>
|
||||
{% include "blocks/profile/b_buttons_menu_profile.html" %}
|
||||
<div class="handler_menu close" onclick="open_curtain(null,'right')">
|
||||
<img class="btns_f_curtain close left" src="{% static 'img/svg/arrow_f_curtain.svg' %}">
|
||||
<div class="text_f_curtain left">Меню</div>
|
||||
<img class="btns_f_curtain close right" src="{% static 'img/svg/arrow_f_curtain.svg' %}">
|
||||
<div class="clear_both"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user