Autonomous OODA-loop pentesting agent. Hermes brain, Kali + Playwright tools over MCP, ATT&CK as the Orient language.
Python ai-agentsautonomous-agentskali-linuxllm-agentsoffensive-securityooda-looppentestingplaywrightsecurity
feat(web): lightbox zoom on screenshot images
irraze71e537855dc
diff --git a/docs/index.html b/docs/index.htmlindex 6d0c192..e006c09 100644--- a/docs/index.html+++ b/docs/index.html@@ -542,7 +542,39 @@})();</script>+ <!-- Lightbox -->+ <div id="lightbox" role="dialog" aria-modal="true" aria-label="Image zoom">+ <button id="lightbox-close" aria-label="Close">✕</button>+ <img id="lightbox-img" src="" alt="">+ </div>+<script>+ // ── Lightbox ──────────────────────────────────────────────────+ (function () {+ var lb = document.getElementById('lightbox');+ var lbImg = document.getElementById('lightbox-img');+ var lbBtn = document.getElementById('lightbox-close');+ if (!lb) return;++ document.querySelectorAll('.screenshot-img').forEach(function (img) {+ img.addEventListener('click', function () {+ lbImg.src = img.src;+ lbImg.alt = img.alt;+ lb.classList.add('lb--open');+ document.body.style.overflow = 'hidden';+ });+ });++ function closeLb() {+ lb.classList.remove('lb--open');+ document.body.style.overflow = '';+ setTimeout(function () { lbImg.src = ''; }, 200);+ }+ lbBtn.addEventListener('click', closeLb);+ lb.addEventListener('click', function (e) { if (e.target === lb) closeLb(); });+ document.addEventListener('keydown', function (e) { if (e.key === 'Escape') closeLb(); });+ })();+// Fetch live GitHub stats (stars + latest release version)function setAll(id, val) {document.querySelectorAll(id).forEach(function(el){ el.textContent = val; });diff --git a/docs/styles.css b/docs/styles.cssindex a94df65..0164edd 100644--- a/docs/styles.css+++ b/docs/styles.css@@ -1717,5 +1717,49 @@ body.has-sysbar .hero::before {display: block;opacity: 0.9;transition: opacity 0.2s;+ cursor: zoom-in;}.screenshot-img:hover { opacity: 1; }++/* ── Lightbox ────────────────────────────────────────────────── */+#lightbox {+ position: fixed;+ inset: 0;+ z-index: 9000;+ background: rgba(0,0,0,0.92);+ display: flex;+ align-items: center;+ justify-content: center;+ cursor: zoom-out;+ opacity: 0;+ pointer-events: none;+ transition: opacity 0.2s ease;+}+#lightbox.lb--open {+ opacity: 1;+ pointer-events: auto;+}+#lightbox img {+ max-width: 92vw;+ max-height: 88vh;+ border: 1px solid var(--accent);+ border-radius: 4px;+ box-shadow: 0 0 60px rgba(176,58,58,0.4);+ object-fit: contain;+ transition: transform 0.2s ease;+}+#lightbox-close {+ position: absolute;+ top: 1.5rem;+ right: 1.5rem;+ background: transparent;+ border: 1px solid var(--accent);+ border-radius: 4px;+ color: var(--accent-soft);+ font-size: 1.1rem;+ cursor: pointer;+ padding: 0.3rem 0.7rem;+ font-family: var(--mono);+ transition: background 0.15s;+}+#lightbox-close:hover { background: rgba(176,58,58,0.2); }