From f90c488d4503b2ab7cff5e46ddc6d83df5a1b881 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Tue, 12 Aug 2025 11:06:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B6=88=E6=81=AF=E5=8F=B3?= =?UTF-8?q?=E4=B8=8A=E8=A7=92=E5=B0=8F=E5=9B=BE=E6=A0=87=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 1 + styles/components/signin.ts | 2 +- styles/public/navbar.ts | 13 +++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/release.md b/.github/release.md index 178ba36..caca10d 100644 --- a/.github/release.md +++ b/.github/release.md @@ -12,6 +12,7 @@ - 略微增加仓库代码文件列表的单行高度与 GitHub 一致 - 优化创建仓库/迁移仓库/创建组织页面的样式与设置页面的样式一致 +- 优化消息右上角小图标样式 ## 🐞 Fix diff --git a/styles/components/signin.ts b/styles/components/signin.ts index 4460eb6..dfd1b57 100644 --- a/styles/components/signin.ts +++ b/styles/components/signin.ts @@ -15,7 +15,7 @@ export const signIn = css` font-size: 20px; font-weight: 600; background-color: unset !important; - margin-bottom: 0.25rem; + padding: 16px; } .ui.attached.segment { diff --git a/styles/public/navbar.ts b/styles/public/navbar.ts index 321728e..9d5e86c 100644 --- a/styles/public/navbar.ts +++ b/styles/public/navbar.ts @@ -77,6 +77,19 @@ export const navbarRight = css` left: 22px; } } + // 通知和计时器的圆点 + a.item { + .notification_count, + .header-stopwatch-dot { + background-color: ${themeVars.github.bgColor.accent.emphasis}; + border-radius: 25px; + color: ${themeVars.color.white}; + font-size: 8px; + font-weight: 600; + top: -14px; + left: 12px; + } + } } } // 手机下的创建菜单按钮