From 30315f28804ad187c233639b3ee0224e8279417d Mon Sep 17 00:00:00 2001 From: Boran Date: Fri, 13 Nov 2026 15:03:54 +0300 Subject: [PATCH] fix: declutter topbar layout and move utility tools to left panel --- src/pixelflow/api/static/index.html | 177 ++++++++++++++++++++++------ 1 file changed, 140 insertions(+), 37 deletions(-) diff --git a/src/pixelflow/api/static/index.html b/src/pixelflow/api/static/index.html index 15c42f4..e32e406 100644 --- a/src/pixelflow/api/static/index.html +++ b/src/pixelflow/api/static/index.html @@ -148,7 +148,7 @@ /* Üst Gezinme Çubuğu (Fotor Style - 2. Resim) */ .topbar { - height: 46px; + height: 48px; background: var(--pf-bg-sidebar); border-bottom: 1px solid var(--pf-border); display: flex; @@ -157,14 +157,26 @@ padding: 0 14px; z-index: 150; flex-shrink: 0; + white-space: nowrap; + min-width: 0; } .topbar-left, - .topbar-center, .topbar-right { display: flex; align-items: center; - gap: 10px; + gap: 8px; + flex-shrink: 0; + } + + .topbar-center { + display: flex; + align-items: center; + justify-content: center; + gap: 8px; + flex-shrink: 1; + min-width: 0; + overflow: hidden; } .brand-logo { @@ -545,6 +557,63 @@ border-right: none; } + /* Sol Panel Altı: Hızlı Yardımcı Araçlar (Utility Tools) */ + .pro-left-quick-tools { + flex-shrink: 0; + border-top: 1px solid rgba(255, 255, 255, 0.08); + background: #090d15; + padding: 10px 12px; + display: flex; + flex-direction: column; + gap: 6px; + } + + .quick-tools-header { + font-size: 10px; + font-weight: 700; + color: var(--pf-text-muted); + text-transform: uppercase; + letter-spacing: 0.6px; + margin-bottom: 2px; + } + + .quick-tools-grid { + display: grid; + grid-template-columns: 1fr; + gap: 5px; + } + + .btn-quick-util { + display: flex; + align-items: center; + gap: 8px; + background: rgba(255, 255, 255, 0.04); + border: 1px solid rgba(255, 255, 255, 0.08); + border-radius: 6px; + padding: 6px 10px; + color: #cbd5e1; + font-size: 11px; + font-weight: 500; + cursor: pointer; + text-align: left; + transition: all 0.15s ease; + width: 100%; + } + + .btn-quick-util:hover { + background: rgba(56, 189, 248, 0.12); + border-color: rgba(56, 189, 248, 0.4); + color: #ffffff; + transform: translateX(2px); + } + + .btn-quick-util svg { + width: 14px; + height: 14px; + flex-shrink: 0; + color: var(--pf-accent); + } + .btn-reopen-panel { position: absolute; top: 14px; @@ -1171,7 +1240,7 @@ top: 0; left: 0; right: 0; - bottom: 0; + bottom: 24px; display: flex; flex-direction: column; align-items: center; @@ -1507,7 +1576,7 @@ display: inline-flex; align-items: center; gap: 8px; - background: rgba(16, 21, 31, 0.7); + background: rgba(16, 21, 31, 0.75); border: 1px solid var(--pf-border); border-radius: 20px; padding: 4px 12px; @@ -1515,6 +1584,9 @@ cursor: pointer; font-size: 11.5px; transition: all 0.16s ease; + white-space: nowrap; + flex-shrink: 0; + max-width: 260px; } .command-search-capsule:hover { @@ -1671,6 +1743,10 @@ /* DaVinci Pro Alt Durum Çubuğu */ .pro-canvas-statusbar { + position: absolute; + bottom: 0; + left: 0; + right: 0; height: 24px; background: #090c12; border-top: 1px solid rgba(255, 255, 255, 0.07); @@ -1681,7 +1757,7 @@ font-size: 10.5px; color: #64748b; user-select: none; - z-index: 10; + z-index: 35; flex-shrink: 0; } @@ -1927,6 +2003,27 @@ max-width: 92vw; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7); } + + @media (max-width: 1200px) { + .cmd-search-text { + display: none; + } + .command-search-capsule { + padding: 4px 8px; + } + .workspace-mode-switcher .mode-tab span { + font-size: 10px; + } + } + + @media (max-width: 992px) { + #btnOpenExportOptimizer span { + display: none; + } + #btnOpenExportOptimizer { + padding: 5px 8px; + } + } @@ -1975,46 +2072,18 @@ - Sol Panel - - - - - - -
@@ -2401,6 +2470,40 @@
+ + +
+
+ Yardımcı Araçlar +
+
+ + + +
+