This commit is contained in:
SBD
2023-11-21 23:14:16 +03:00
parent 6f7551abbf
commit 38a8cef3d9
3 changed files with 13 additions and 3 deletions

View File

@@ -2600,7 +2600,7 @@
.menu_buttons.open .text_f_curtain > img{
transition: 200ms;
transform: rotate(90deg);
transform: rotate(270deg);
filter: brightness(0) saturate(100%) invert(0%) sepia(100%) saturate(21%) hue-rotate(344deg) brightness(105%) contrast(106%);
}

View File

@@ -835,6 +835,16 @@ function curtainMove (curtain,container_curtain,curtain_name,body){
container_curtain.classList.toggle("open")
}
function check_ev_f_cut_width_f_curtain (event) {
let el = event.srcElement
if (!el.attributes.hasOwnProperty('onclick')){
open_curtain()
} else {
el.click()
}
}
function turnOffFirst (el) {
if (el.classList.contains('first')){
el.classList.remove('first')

View File

@@ -58,11 +58,11 @@
{% include 'blocks/b_header.html' %}
<div class="cut_width_f_curtain close{% if page_type == 'profile' %}{% else %} n_profile{% endif %}" onclick="open_curtain(null,'right')">
<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="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" %}
<div class="handler_menu close">
<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"><img style='width: 25px;display: block;position: relative;bottom: 2px;transform: rotate(270deg);' src='{% static "/img/svg/burger.svg" %}'></div>
<img class="btns_f_curtain close right" src="{% static 'img/svg/arrow_f_curtain.svg' %}">