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