From 0593ef9212cd5cd8f8c87262828fba774103796a Mon Sep 17 00:00:00 2001 From: NewName Date: Tue, 20 May 2025 20:25:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=95=9C=E5=83=8F=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E8=BE=93=E5=85=A5=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ghproxy/public/search.html | 60 ++++++++++++++++++++++++++++++++------ 1 file changed, 51 insertions(+), 9 deletions(-) diff --git a/ghproxy/public/search.html b/ghproxy/public/search.html index 0dd39cd..db04e04 100644 --- a/ghproxy/public/search.html +++ b/ghproxy/public/search.html @@ -298,38 +298,80 @@ width: 100%; margin-top: 20px; position: relative; + background: var(--card-bg); + padding: 15px; + border-radius: 10px; + border: 2px solid #39c5bc; + box-shadow: 0 2px 8px rgba(57, 197, 188, 0.1); + } + + .tag-search-container::before { + content: '🔍 标签搜索'; + display: block; + margin-bottom: 10px; + color: #39c5bc; + font-weight: bold; + font-size: 0.9rem; } .tag-search-input { width: 100%; - padding: 10px 15px; + padding: 12px 40px 12px 15px; border-radius: 8px; border: 1px solid var(--border-color); background-color: var(--inputcolor); color: var(--inputcolor-font); - font-size: 0.9rem; + font-size: 1rem; + transition: all 0.3s ease; } .tag-search-input:focus { outline: none; border-color: #39c5bc; + box-shadow: 0 0 0 3px rgba(57, 197, 188, 0.2); + } + + .tag-search-input::placeholder { + color: #888; + font-style: italic; } .tag-search-clear { position: absolute; - right: 10px; + right: 25px; top: 50%; - transform: translateY(-50%); + transform: translateY(-5%); background: none; border: none; color: var(--fontcolor); cursor: pointer; - padding: 5px; + padding: 8px; opacity: 0.6; + font-size: 1.2rem; + transition: all 0.3s ease; + border-radius: 50%; + width: 30px; + height: 30px; + display: flex; + align-items: center; + justify-content: center; } .tag-search-clear:hover { opacity: 1; + background-color: rgba(57, 197, 188, 0.1); + transform: translateY(-5%) scale(1.1); + } + + @media (prefers-color-scheme: dark) { + .tag-search-container { + border-color: #39c5bc; + box-shadow: 0 2px 8px rgba(57, 197, 188, 0.2); + } + + .tag-search-input::placeholder { + color: #666; + } } .tag-title { @@ -887,12 +929,12 @@ docker pull ${fullRepoName} -
- - -
+
+ + +
`;