From f963c37012b966bbd2ccd788d37de7382b99cca9 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Tue, 24 Mar 2026 10:17:41 -0400 Subject: [PATCH] feat: Introduce a dedicated popout page for standalone file viewing, including content rendering and actions. --- frontend/popout.html | 197 ++++++++++++++++++++++++++++--------------- 1 file changed, 130 insertions(+), 67 deletions(-) diff --git a/frontend/popout.html b/frontend/popout.html index b9b6cd6..9a6e907 100644 --- a/frontend/popout.html +++ b/frontend/popout.html @@ -14,57 +14,8 @@ padding: 0; height: 100%; overflow: hidden; - background: #0d1117; /* GitHub-like dark background */ - color: #e6edf3; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; + background: var(--bg-primary); } - .popout-container { - display: flex; - flex-direction: column; - height: 100vh; - border: 1px solid #30363d; - box-sizing: border-box; - } - .popout-header { - padding: 12px 20px; - background: #161b22; - border-bottom: 1px solid #30363d; - display: flex; - justify-content: space-between; - align-items: center; - flex-shrink: 0; - } - .popout-title { - font-size: 0.9rem; - font-weight: 600; - color: #7d8590; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - } - .popout-content { - flex: 1; - padding: 3.5rem 2rem; - overflow-y: auto; - } - .main-wrapper { - max-width: 840px; - margin: 0 auto; - padding: 2.5rem; - background: #161b22; - border: 1px solid #30363d; - border-radius: 12px; - box-shadow: 0 12px 48px rgba(0,0,0,0.3); - } - .markdown-body { - line-height: 1.7; - color: #e6edf3; - } - /* Hide default scrollbar but keep functionality */ - ::-webkit-scrollbar { width: 8px; } - ::-webkit-scrollbar-track { background: transparent; } - ::-webkit-scrollbar-thumb { background: #30363d; border-radius: 10px; } - ::-webkit-scrollbar-thumb:hover { background: #484f58; } .popout-loading { position: absolute; @@ -72,7 +23,8 @@ display: flex; align-items: center; justify-content: center; - background: #0d1117; + background: var(--bg-primary); + color: var(--text-primary); z-index: 100; transition: opacity 0.3s; } @@ -81,22 +33,15 @@
Chargement...
-
-
-
ObsiGate
-
-
-
-
-
-
-
+
+
+ +