Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -606,6 +606,20 @@
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
.cut_width_f_curtain.n_profile.left{
|
||||
position: fixed;
|
||||
min-width: 1280px;
|
||||
}
|
||||
|
||||
.cut_width_f_curtain.n_profile.close{
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.cut_width_f_curtain.n_profile.open{
|
||||
z-index: 101;
|
||||
}
|
||||
|
||||
|
||||
.menu_buttons{
|
||||
/*background: #FFFFFF;*/
|
||||
height: 100vh;
|
||||
|
||||
@@ -2358,7 +2358,7 @@
|
||||
height: 695px;
|
||||
}
|
||||
|
||||
.cut_width_f_curtain.n_profile{
|
||||
.cut_width_f_curtain.n_profile.right{
|
||||
position: fixed;
|
||||
min-width: 1280px;
|
||||
}
|
||||
|
||||
@@ -775,7 +775,7 @@ function open_curtain (left=null,right=null,overlay=null,close=null){
|
||||
function curtainMove (curtain,container_curtain,curtain_name,body){
|
||||
let user_type = getInfoAboutUser()
|
||||
// if (user_type === 'mobile' || !window.location.host.includes('profile') || user_type === 'laptop' )
|
||||
// заменил host на href ибо в host хранится имя хоста, а не путь в котором мы ищем profile
|
||||
// artem заменил host на href ибо в host хранится имя хоста, а не путь в котором мы ищем profile
|
||||
if (user_type === 'mobile' || !window.location.href.includes('profile') || user_type === 'laptop' )
|
||||
{
|
||||
curtain.classList.toggle("open")
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
{% include 'blocks/b_header.html' %}
|
||||
|
||||
<div class="cut_width_f_curtain close{% if page_type == 'profile' %}{% else %} n_profile{% endif %}" onclick="check_ev_f_cut_width_f_curtain(event)">
|
||||
<div class="cut_width_f_curtain close{% if page_type == 'profile' %}{% else %} n_profile{% endif %} right" onclick="check_ev_f_cut_width_f_curtain(event)">
|
||||
<div class="menu_buttons curtain right {% if page_type == 'profile' %}open{% else %} n_profile close{% endif %}" data-name="<img style='width: 25px;display: block;position: relative;bottom: 2px;transform: rotate(270deg);' src='{% static "/img/svg/burger.svg" %}'>">
|
||||
|
||||
{% include "blocks/profile/b_buttons_menu_profile.html" %}
|
||||
@@ -71,7 +71,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% if page_type == 'routes' %}
|
||||
<div class="cut_width_f_curtain left">
|
||||
<div class="cut_width_f_curtain{% if page_type == 'profile' %}{% else %} n_profile{% endif %} left ">
|
||||
<div class="menu_buttons curtain left open first filters" data-name="<img style='width: 25px;display: block;position: relative;bottom: 2px;transform: rotate(270deg);' src='{% static "/img/svg/filter.svg" %}'>">
|
||||
|
||||
{% include "forms/f_find_route_filters_form.html" %}
|
||||
|
||||
Reference in New Issue
Block a user