diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index db61f6b..dd81372 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -1137,10 +1137,12 @@ float: unset; /*background: linear-gradient(92deg, #000000 1%, #ffffff 93%, #ffffff);*/ /*background: linear-gradient(90deg, #000000 1%, #ffffff 81%, #ffffff);*/ - -webkit-text-fill-color: unset; padding-right: unset; font-size: 14px; top: unset; + background: linear-gradient(99deg, #000000 1%, #ffffff 16%, #ffffff); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; } .email_carrier{ display: inline-block; diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 153675e..16f1488 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -936,6 +936,8 @@ border-radius: 10px; display: flex; padding: 13px; + position: relative; + z-index: 1000; } .container_form_search_carrier > form{ @@ -1925,6 +1927,7 @@ width: 100%; color: #272424; margin-bottom: 20px; + margin-top: 15px; } .method_transport{ @@ -2620,6 +2623,7 @@ .menu_profile{ width: 320px; text-align: -webkit-center; + text-align: -moz-center; padding: 0; overflow-y: auto; height: calc(100vh - 95px); diff --git a/static/css/styles.css b/static/css/styles.css index 9a10653..61d054b 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -895,7 +895,7 @@ section.register>form { background: #FFF; display: flex; height: 70px; - margin-bottom: 40px; + margin: 0 auto; } @@ -2479,7 +2479,7 @@ button#send_feedback_form{ /*tabs_on_main_page*/ .pre_bottom_block_static{ - width: 90%; + width: 100%; margin: auto; } .pre_bottom_block_static>h2{ diff --git a/static/js/chat_socket_functions/etc_operations_for_chat_socket.js b/static/js/chat_socket_functions/etc_operations_for_chat_socket.js index 543ab89..0aac18f 100644 --- a/static/js/chat_socket_functions/etc_operations_for_chat_socket.js +++ b/static/js/chat_socket_functions/etc_operations_for_chat_socket.js @@ -21,15 +21,21 @@ function loader_show_message (data) { let send_btn = document.querySelector(".send-message") let at = document.querySelector(".attach-file-btn-message") if (loader){ - if (loader.classList.contains("show")){ - send_btn.classList.remove("hide") - loader.classList.remove("show") - at.classList.remove("loader") - } else { - send_btn.classList.add("hide") - loader.classList.add("show") - at.classList.add("loader") - } + send_btn.classList.add("hide") + loader.classList.add("show") + at.classList.add("loader") + } else { + console.log("cannot find loader") + } +} +function loader_hide_message (data) { + let loader = document.querySelector(".loader_show_message"); + let send_btn = document.querySelector(".send-message") + let at = document.querySelector(".attach-file-btn-message") + if (loader){ + send_btn.classList.remove("hide") + loader.classList.remove("show") + at.classList.remove("loader") } else { console.log("cannot find loader") diff --git a/static/js/chat_sockets.js b/static/js/chat_sockets.js index 7d9e2c6..6fbeaa8 100644 --- a/static/js/chat_sockets.js +++ b/static/js/chat_sockets.js @@ -106,6 +106,7 @@ function wsReceiveData (e) { play_required_beep(data,beep) } loader_show_message(data) + loader_hide_message(data) } diff --git a/templates/forms/f_registration.html b/templates/forms/f_registration.html index fe75d63..21dc32c 100644 --- a/templates/forms/f_registration.html +++ b/templates/forms/f_registration.html @@ -12,21 +12,7 @@