From 11621b23940da892e817101f1d2adb4763a531a5 Mon Sep 17 00:00:00 2001 From: zv Date: Tue, 23 Jun 2026 20:21:47 +0200 Subject: [PATCH] style: separate query preview actions --- src/app/App.tsx | 29 ++++++++++++++++------------- src/styles.css | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 13 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index 9eaf250..1438f21 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -587,22 +587,25 @@ export function App() { -
+
-

Query Preview

-
- - +
+

Query Preview

+

Advanced output generated from the current search.

+
+ + +
             {queryPreview.query || queryPreview.error || 'Choose a preset to generate a query.'}
           
diff --git a/src/styles.css b/src/styles.css index efd3f89..7788241 100644 --- a/src/styles.css +++ b/src/styles.css @@ -630,6 +630,43 @@ a { min-height: 0; } +.query-panel-separated { + position: relative; + gap: 0.65rem; + border-top: 1px solid #dbe3dc; + background: + linear-gradient(180deg, rgb(238 246 242 / 62%) 0%, rgb(250 251 248 / 0%) 100%); + margin-top: 0.15rem; + padding-top: 1rem; +} + +.query-panel-separated::before { + content: "Advanced"; + position: absolute; + top: -0.62rem; + left: 0; + background: #fafbf8; + color: #6b7770; + padding-right: 0.55rem; + font-size: 0.72rem; + font-weight: 760; + letter-spacing: 0; + text-transform: uppercase; +} + +.query-actions { + border: 1px solid #d7ded5; + border-radius: 8px; + background: #ffffff; + padding: 0.45rem; +} + +.query-actions button { + min-height: 34px; + padding: 0.42rem 0.64rem; + font-size: 0.82rem; +} + .panel-heading { display: flex; align-items: center;