diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index 05dc463..a00b718 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -21,6 +21,10 @@ body,html{ 'sans-serif'; } +body.n_scroll{ + overflow-y: hidden; +} + .header{ height: 50px; width: 100%; diff --git a/static/aerbimCSSMOBILE.css b/static/aerbimCSSMOBILE.css index 5e8c584..bff6f24 100644 --- a/static/aerbimCSSMOBILE.css +++ b/static/aerbimCSSMOBILE.css @@ -97,7 +97,7 @@ background: #10212B; width: 320px; position: fixed; - top: 40px; + top: 50px; right: 0; z-index: 101; transition: 200ms; @@ -128,6 +128,7 @@ } .block_overlay.show{ display: block; + background: rgba(16, 33, 43, 0.70); } .curtain_txt_float{ float: right; @@ -173,6 +174,10 @@ color: #000000; padding-bottom: 15px; border-bottom: 1px solid #D1D1D1; + text-transform: uppercase; + } + .line_go_to_sections .orange{ + color: #FB6952; } .description_txt{ display: block; @@ -214,6 +219,8 @@ } .img_go_to_section{ width: 8px; + position: relative; + top: 1.6px; } .description_sections_buttons{ display: block; diff --git a/static/aerbimJS.js b/static/aerbimJS.js index b1df737..634df6c 100644 --- a/static/aerbimJS.js +++ b/static/aerbimJS.js @@ -146,4 +146,10 @@ function openOverlay () { let overlay = document.querySelector(".block_overlay") overlay.classList.toggle("show") overlay.classList.toggle("hide") + removeScrollBody() +} + +function removeScrollBody () { + let body = document.querySelector("body") + body.classList.toggle("n_scroll") } \ No newline at end of file diff --git a/templates/blocks/dynamic/b_sections_buttons.html b/templates/blocks/dynamic/b_sections_buttons.html index 95bc9a8..2e4dbd5 100644 --- a/templates/blocks/dynamic/b_sections_buttons.html +++ b/templates/blocks/dynamic/b_sections_buttons.html @@ -7,7 +7,7 @@