This commit is contained in:
2023-11-02 17:53:51 +03:00
parent 63d5b62229
commit defce7a85c
4 changed files with 17 additions and 5 deletions

View File

@@ -434,11 +434,11 @@
.btns_f_curtain.right{
float: right;
}
.btns_f_curtain.open{
.menu_buttons.close .btns_f_curtain{
transform: rotate(90deg);
}
.btns_f_curtain.close{
transform: rotate(270deg);
.menu_buttons.open .btns_f_curtain{
transform: rotate(92700deg);
}
.text_f_curtain{

View File

@@ -632,4 +632,16 @@ function show_header_list () {
if (el) {
el.classList.toggle("show")
}
}
function open_curtain (left,right){
let curtain = ''
if (left){
curtain = document.querySelector(".menu_buttons")
} else if (right) {
curtain = ''
}
curtain.classList.toggle("close")
curtain.classList.toggle("open")
}