From 1303431972414bcc92d6a082dbfeada61dd55c28 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Thu, 10 Sep 2026 14:42:11 +0330 Subject: [PATCH] semantic search --- .../_SemanticSearchWidgetPartial.cshtml | 39 ++++++++++++++----- RMuseum/RMuseum.xml | 28 +++++++++---- 2 files changed, 50 insertions(+), 17 deletions(-) diff --git a/GanjooRazor/Pages/Shared/_SemanticSearchWidgetPartial.cshtml b/GanjooRazor/Pages/Shared/_SemanticSearchWidgetPartial.cshtml index 028dd658..57d73207 100644 --- a/GanjooRazor/Pages/Shared/_SemanticSearchWidgetPartial.cshtml +++ b/GanjooRazor/Pages/Shared/_SemanticSearchWidgetPartial.cshtml @@ -98,14 +98,35 @@ flex-shrink: 0; } - #ss-widget-query { - flex: 1; - padding: 8px 12px; + #ss-widget-form input[type="text"], + #ss-widget-form input[type="submit"] { + box-sizing: border-box; + height: 38px; + font-size: 0.95rem; border-radius: 8px; border: 1px solid var(--border-gold); + } + + #ss-widget-query { + flex: 1; + padding: 0 12px; background: var(--card-inner); color: inherit; - font-size: 0.95rem; + } + + #ss-widget-form input[type="submit"] { + padding: 0 16px; + background: var(--card-inner); + color: var(--brand); + -webkit-text-fill-color: var(--brand); + font-weight: 600; + white-space: nowrap; + cursor: pointer; + transition: background 0.2s ease; + } + + #ss-widget-form input[type="submit"]:hover { + background: var(--card-nested); } #ss-widget-status { @@ -158,7 +179,7 @@ } - + @@ -168,7 +189,7 @@