diff --git a/static/aerbimCSSMOBILE.css b/static/aerbimCSSMOBILE.css index 6d3ceec..3836352 100644 --- a/static/aerbimCSSMOBILE.css +++ b/static/aerbimCSSMOBILE.css @@ -6,6 +6,21 @@ } +@media(max-width: 1150px){ + .flex_container_buttons_3d_security_designer{ + display: block; + } + .flex_container_buttons_3d_security_designer .btn_download_plugin { + width: 100%; + margin-right: 0; + } + .flex_container_buttons_3d_security_designer .btn_inf_about_plugin { + width: 100%; + margin-top: 20px; + margin-left: 0; + } +} + @media (max-width: 1024px) { .cur_documentation_version{ font-size: 12px; diff --git a/static/aerbimJS.js b/static/aerbimJS.js index daa1c2b..2efa9be 100644 --- a/static/aerbimJS.js +++ b/static/aerbimJS.js @@ -514,12 +514,12 @@ function openVersionSwitcher(el){ let $arrow = $parent.querySelector(".documentation_switcher_arrow_picture") $content_part.classList.toggle("hidden") if ($arrow.style.rotate === '0deg' || $arrow.style.rotate === '') { - $($arrow).animate({rotate: '180deg'},200) + $($arrow).css({rotate: '180deg'}) let height = $content_part.offsetHeight $content_part.style.bottom = '-' + height + "px" $parent.style.borderBottom = '1px solid #fff' } else { - $($arrow).animate({rotate: '0deg'},200) + $($arrow).css({rotate: '0deg'}) $parent.style.borderBottom = '1px solid #CCCED1FF' } @@ -533,9 +533,9 @@ function closeVersionSwitcherOnBody () { $version_switcher_container_content.addClass("hidden") $(".documentation_version_switcher").css({borderBottom: '1px solid #CCCED1FF'}) if ($arrow.style.rotate !== '180deg'){ - $($arrow).animate({rotate: '180deg'},200) + $($arrow).css({rotate: '180deg'}) } else { - $($arrow).animate({rotate: '0deg'},200) + $($arrow).css({rotate: '0deg'}) } $("body")[0].setAttribute("onclick",'') }