Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -23,24 +23,28 @@
|
||||
src: url("/static/fonts/inter/Inter-Regular.ttf") format('truetype');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face{
|
||||
font-family: 'Inter';
|
||||
src: url("/static/fonts/inter/Inter-Medium.ttf") format('truetype') ;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face{
|
||||
font-family: 'Inter';
|
||||
src: url("/static/fonts/inter/Inter-SemiBold.ttf") format('truetype') ;
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face{
|
||||
font-family: 'Inter';
|
||||
src: url("/static/fonts/inter/Inter-Bold.ttf") format('truetype') ;
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
@@ -267,11 +271,15 @@ section.register>h1 {
|
||||
border-radius: 10px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.footer_input_wrap.hide{
|
||||
display: none;
|
||||
}
|
||||
.footer_input_wrap {
|
||||
display: flex;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
.footer_input::placeholder {
|
||||
color: rgba(39, 36, 36, 0.60);
|
||||
font-size: 16px;
|
||||
|
||||
@@ -47,15 +47,16 @@ window.onload = function (){
|
||||
function goToChatIfChat () {
|
||||
if (document.querySelector('.block-chat')){
|
||||
let scroll_el = document.querySelector('.block-chat')
|
||||
if (document.querySelector(".name_ticket")){
|
||||
scroll_el = document.querySelector(".name_ticket")
|
||||
}
|
||||
if (document.querySelector(".name_ticket")){
|
||||
scroll_el = document.querySelector(".name_ticket")
|
||||
}
|
||||
let top = scroll_el.offsetTop
|
||||
window.scrollTo({top:top})
|
||||
}
|
||||
document.addEventListener('focusout', function(e,scroll_el) {
|
||||
window.scrollTo(scroll_el, 0)
|
||||
document.addEventListener('focusout', function(e,scroll_el) {
|
||||
window.scrollTo(scroll_el, 0)
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -159,15 +160,15 @@ 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'
|
||||
// headerBG.style.paddingBottom = 'padding: 10px 40px 10px 40px'
|
||||
// headerBG.style.paddingRight = 'padding: 10px 40px 10px 40px'
|
||||
// headerBG.style.paddingLeft = 'padding: 10px 40px 10px 40px'
|
||||
})
|
||||
// window.addEventListener('scroll', () => {
|
||||
// // 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'
|
||||
// })
|
||||
|
||||
// Действия при изменении URL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user