From 31ba8a86bf4ab99e3926240b2f45b087b5c7a6dd Mon Sep 17 00:00:00 2001 From: borissedw Date: Wed, 18 Oct 2023 17:36:55 +0300 Subject: [PATCH] 0.0.283 --- static/css/styles(boris).css | 12 +++++++++--- static/js/chat_socket_start.js | 2 +- static/js/global_js.js | 8 ++++---- templates/tb_base.html | 8 +++++--- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 0f9d251..3bd209d 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -628,15 +628,15 @@ .name_ticket{ width: 100%; filter: drop-shadow(-1px 4px 10px rgba(198, 199, 203, 0.20)) drop-shadow(0px -1px 10px rgba(198, 199, 203, 0.20)); - height: 60px; + height: 40px; background: #FFFFFF; /*padding: 20px;*/ - margin-bottom: 40px; + margin-bottom: 20px; border-radius: 3px; } .name_ticket > span{ - padding: 20px; + padding: 10px; font-size: 16px; display: block; overflow: hidden; @@ -1919,4 +1919,10 @@ .subscribe_type_txt{ color: #000; font-size: 14px; +} + +.header_big_background{ + height: 90px; + background: #F8F8F8; + width: 100%; } \ No newline at end of file diff --git a/static/js/chat_socket_start.js b/static/js/chat_socket_start.js index 270de63..3c35e71 100644 --- a/static/js/chat_socket_start.js +++ b/static/js/chat_socket_start.js @@ -15,7 +15,7 @@ // clearInterval(check_msg) // } // check_new_messages_timeout(new_timeout_time) -} + // function getSocketState () { diff --git a/static/js/global_js.js b/static/js/global_js.js index d4cea57..7739560 100644 --- a/static/js/global_js.js +++ b/static/js/global_js.js @@ -39,10 +39,10 @@ document.addEventListener('DOMContentLoaded', function() { }); window.addEventListener('scroll', () => { - let headerBG = document.getElementById('header_bg') - - headerBG.style.backgroundColor = 'rgb(248 248 248 / 90%)' - headerBG.style.padding = '20px 40px' + // let headerBG = document.getElementById('header_bg') + // + // headerBG.style.backgroundColor = 'rgb(248 248 248 / 90%)' + // headerBG.style.padding = '20px 40px' // headerBG.style.paddingBottom = 'padding: 10px 40px 10px 40px' // headerBG.style.paddingRight = 'padding: 10px 40px 10px 40px' // headerBG.style.paddingLeft = 'padding: 10px 40px 10px 40px' diff --git a/templates/tb_base.html b/templates/tb_base.html index 4f89445..553e43c 100644 --- a/templates/tb_base.html +++ b/templates/tb_base.html @@ -16,6 +16,7 @@ + {% if user and not user.is_anonymous %}