diff --git a/ui/suite/css/desktop.css b/ui/suite/css/desktop.css index fc27fc5..1b8aa1c 100644 --- a/ui/suite/css/desktop.css +++ b/ui/suite/css/desktop.css @@ -136,3 +136,45 @@ .overflow-y-auto { overflow-y: auto; } .bg-\[\#fafdfa\] { background-color: var(--bg, #fafdfa); } + +.window-header { + height: 40px; + background-color: var(--surface, rgba(255, 255, 255, 0.95)); + border-bottom: 1px solid var(--border, #e5e7eb); + display: flex; + align-items: center; + justify-content: space-between; + padding: 0 16px; + user-select: none; + cursor: move; +} +.window-header .font-mono { + font-family: 'Fira Code', monospace; + font-size: 12px; + font-weight: 700; + color: var(--accent, #16a34a); + letter-spacing: 0.025em; +} +.window-header .flex { + display: flex; + gap: 12px; + color: var(--text-muted, #9ca3af); +} +.window-header button { + background: transparent; + border: none; + cursor: pointer; + transition: color 0.15s ease; +} +.window-header button:hover { + color: var(--text, #4b5563); +} +.window-header .btn-close:hover { + color: var(--error, #ef4444); +} +.window-content { + flex: 1; + overflow-y: auto; + position: relative; + background-color: var(--bg, #ffffff); +} diff --git a/ui/suite/js/window-manager.js b/ui/suite/js/window-manager.js index 8f6c39e..3475763 100644 --- a/ui/suite/js/window-manager.js +++ b/ui/suite/js/window-manager.js @@ -39,14 +39,14 @@ if (typeof window.WindowManager === 'undefined') { const top = 100 + offset; const left = 150 + offset; - windowEl.className = 'absolute w-[700px] h-[500px] rounded-lg shadow-2xl flex flex-col border overflow-hidden window-element'; + windowEl.className = 'window-element'; windowEl.style.top = `${top}px`; windowEl.style.left = `${left}px`; windowEl.style.zIndex = this.zIndexCounter++; windowEl.innerHTML = ` -