+
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() {
-
+
-
+