diff --git a/PowerHuntShares.psm1 b/PowerHuntShares.psm1 index eb03e32..926cb8c 100644 --- a/PowerHuntShares.psm1 +++ b/PowerHuntShares.psm1 @@ -4,7 +4,7 @@ #-------------------------------------- # Author: Scott Sutherland, 2024 NetSPI # License: 3-clause BSD -# Version: v1.172 +# Version: v1.173 # References: This script includes custom code and code taken and modified from the open source projects PowerView, Invoke-Ping, and Invoke-Parrell. function Invoke-HuntSMBShares { @@ -4736,6 +4736,7 @@ $NewHtmlReport = @" -ms-text-size-adjust:100%; z-index: 9998; --transition: width 0.3s; /* Smooth transition when expanding/collapsing */ + transition: width 0.5s ease; background: linear-gradient(to bottom, #07142A 80%, rgba(0, 0, 0, 1) 98%, black 100%); --border-top: 0.25px dashed #345367; padding-left: 5px; @@ -4986,8 +4987,9 @@ $NewHtmlReport = @" .tabLabel+ .tabPanel{ display:block; - margin-top: 50px; - margin-left: 10px; + margin-top: 50px; + margin-left: 10px; + transition: margin-left 0.3s ease; } .tabPanel.nojs{ @@ -5642,6 +5644,7 @@ $NewHtmlReport = @" #main { margin-left: 200px; margin-right: 10px; + transition: margin 0.3s ease; --padding-left: 20px; } @@ -7052,7 +7055,7 @@ This section provide a summary and list of the affected shares grouped by name.
@@ -7266,7 +7269,7 @@ This section includes a list of the credentials that were recovered during data @@ -10335,13 +10338,21 @@ s.render(SankeyData); const menu = document.getElementById('sideMenu'); const icon = document.querySelector('.menu-button .icon'); const main = document.getElementById('main'); + const mytabs = document.getElementById('tabs'); menu.classList.toggle('collapsed'); if (menu.classList.contains('collapsed')) { icon.innerHTML = '☰'; main.style.marginLeft = '70px'; + main.style.transition = "margin-left 0.5s ease"; + mytabs.style.opacity= "0"; } else { icon.innerHTML = ''; main.style.marginLeft = '200px'; + main.style.transition = "margin-left 0.5s ease"; + setTimeout(() => { + mytabs.style.opacity= "1"; + }, 300); // Adjust delay here + } }