From f40a5c551fd60e71399b626247d8f9354b94ba3d Mon Sep 17 00:00:00 2001 From: "Ishan S. Patel" Date: Sat, 7 Mar 2026 11:46:24 -0500 Subject: [PATCH] YACWC --- SearchFrontend/search_ui/src/App.jsx | 210 +++++++++++++++++++++------ 1 file changed, 165 insertions(+), 45 deletions(-) diff --git a/SearchFrontend/search_ui/src/App.jsx b/SearchFrontend/search_ui/src/App.jsx index 13622ca..07561d4 100644 --- a/SearchFrontend/search_ui/src/App.jsx +++ b/SearchFrontend/search_ui/src/App.jsx @@ -605,25 +605,52 @@ function App() { display: "flex", alignItems: "center", justifyContent: "center", - gap: "16px", - flexWrap: "wrap", - padding: "12px 16px" + gap: "12px", + flexWrap: "nowrap", + padding: "12px 16px", + background: "linear-gradient(135deg, #2a2d3a 0%, #1f2129 100%)", + borderRadius: "12px", + boxShadow: "0 4px 12px rgba(0, 0, 0, 0.15)", + border: "1px solid #3a3f4f", + overflowX: "auto" }}> -
+
-
+
-
+
setQueryText(e.target.value)} onKeyDown={(e) => { if (e.key === "Enter") handleResubmit(); }} style={{ - padding: "8px 12px", - borderRadius: "4px", - border: "1px solid #343a40", - color: "#fff", - backgroundColor: "#1a1d23", + padding: "10px 12px", + borderRadius: "6px", + border: "2px solid #3a3f4f", + color: "#e1e5e9", + backgroundColor: "rgba(26, 29, 35, 0.8)", width: "100%", boxSizing: "border-box", - fontSize: "0.9em" + fontSize: "0.9em", + fontWeight: "400", + outline: "none", + transition: "all 0.2s ease", + boxShadow: "inset 0 2px 4px rgba(0, 0, 0, 0.1)" + }} + onFocus={(e) => { + e.target.style.borderColor = "#4a90e2"; + e.target.style.boxShadow = "inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(74, 144, 226, 0.15)"; + }} + onBlur={(e) => { + e.target.style.borderColor = "#3a3f4f"; + e.target.style.boxShadow = "inset 0 2px 4px rgba(0, 0, 0, 0.1)"; }} ref={inputRef} /> @@ -660,8 +699,13 @@ function App() { display: "flex", alignItems: "center", gap: "6px", - color: "#fff", - fontSize: "0.9em" + color: "#e1e5e9", + fontSize: "0.85em", + background: "rgba(255, 255, 255, 0.05)", + padding: "6px 10px", + borderRadius: "6px", + border: "1px solid rgba(255, 255, 255, 0.1)", + flexShrink: 0 }}> - HD Video + HD
- + updateDataAndValue(e.target.value)} style={{ - width: "100px", - margin: "0 4px" + width: "80px", + height: "6px", + background: "linear-gradient(to right, #3a3f4f 0%, #4a90e2 100%)", + borderRadius: "3px", + outline: "none", + appearance: "none" }} /> {sliderValue.toFixed(2)} @@ -708,58 +775,111 @@ function App() {
-
+
-
+