From 0baa93c6a367dfa4548b44127032271753984669 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Thu, 7 May 2026 23:59:12 -0700 Subject: [PATCH] Improve styling for other search inputs --- usr/share/gitweb/static/custom.css | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/usr/share/gitweb/static/custom.css b/usr/share/gitweb/static/custom.css index d63fcfe..5bbe921 100644 --- a/usr/share/gitweb/static/custom.css +++ b/usr/share/gitweb/static/custom.css @@ -28,21 +28,33 @@ body { margin-inline: auto; } -input[name="s"] { - font-size: 16px; - padding: 4px; - border: 1px solid hsl(216deg 20% 50%); - border-radius: 4px; +input { outline: 2px solid transparent; outline-offset: 1px; transition: outline-color 400ms; } -input[name="s"]:focus-within { +input:focus-within { transition: outline-color 200ms; outline-color: hsl(216deg 50% 40%); } +input[name="s"], +input[name="btnS"] { + font-size: 16px; + border: 1px solid hsl(216deg 20% 50%); + border-radius: 4px; +} + +input[name="s"] { + padding: 4px; +} + +input[name="btnS"] { + padding: 4px 6px; + cursor: pointer; +} + table.project_list, table.shortlog, table.tags, -- 2.47.3