This commit is contained in:
SBD
2023-11-19 17:05:21 +03:00
parent 3311ab5b37
commit 89721ce797
8 changed files with 20 additions and 12 deletions

View File

@@ -602,6 +602,8 @@
float: unset;
padding-top: 10px;
width: 320px;
height: 100vh;
max-height: 100vh;
}
.support .menu_buttons.left.open{
margin-top: 0;

View File

@@ -1147,7 +1147,7 @@ h2.title_new_route{
padding: 10px;
text-align: center;
position: relative;
height: 15px;
height: 40px;
}
.menu_profile>div:first-of-type {
border-radius: 10px;
@@ -1158,7 +1158,7 @@ h2.title_new_route{
padding: 10px;
text-align: center;
position: relative;
height: 40px;
height: 15px;
}
/*.menu_profile>div>a {*/

BIN
static/img/svg/group.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Pro 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"/></svg>

After

Width:  |  Height:  |  Size: 849 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Pro 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"/></svg>

After

Width:  |  Height:  |  Size: 849 B

View File

@@ -474,15 +474,19 @@ function selectedUserMessenger (ticket_id=null,user_id=null,el){
}
document.querySelector(".info_profile").innerHTML = data.html;
document.querySelector(".enter-message-inp").focus()
let user_type = getInfoAboutUser()
document.querySelector(".tab_user_messanger.select").scrollIntoView({behavior: "smooth",block:'nearest',inline:'nearest'});
let menu = document.querySelector(".menu_buttons.curtain.left")
let container_user_messenger = document.querySelector(".container-messenger")
if (!container_user_messenger.classList.contains('margin') || !menu.classList.contains('margin')){
container_user_messenger.classList.add('margin')
menu.classList.add('margin')
if (document.querySelector('.support') && user_type !== 'mobile' && user_type !== 'laptop'){
let menu = document.querySelector(".menu_buttons.curtain.left")
let container_user_messenger = document.querySelector(".container-messenger")
if (!container_user_messenger.classList.contains('margin') || !menu.classList.contains('margin')){
container_user_messenger.classList.add('margin')
menu.classList.add('margin')
}
}
let user_type = getInfoAboutUser()
let curt_f_close = getCurtainWIncreaceZindex(document.querySelectorAll('.curtain'))
if (user_type === 'mobile' || user_type === 'laptop') {
closeCurtain('left')