From 472647e7c1a55d4ee0da6d63d3411b9e71ab2991 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Wed, 10 Sep 2025 12:32:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=91=E5=B8=83=E9=A1=B5?= =?UTF-8?q?=E4=B8=BB=E8=89=B2=E8=B0=83=E6=8C=89=E9=92=AE=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=E9=98=B4=E5=BD=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/components/release.ts | 41 ++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/styles/components/release.ts b/styles/components/release.ts index e8e2961..ceca3ce 100644 --- a/styles/components/release.ts +++ b/styles/components/release.ts @@ -19,6 +19,27 @@ export const releaseTagMenu = css` } `; +// 顶部右侧按钮组 +export const rightButton = css` + .page-content.repository { + &.releases, + &.tags { + .ui.small.button { + background-color: ${themeVars.color.button}; + border-color: ${themeVars.color.light.border}; + box-shadow: none; + color: ${themeVars.color.text.light.self}; + padding: 5px 16px; + min-height: auto; + line-height: 20px; + &:hover { + background-color: ${themeVars.color.hover.self}; + } + } + } + } +`; + // 标签页样式 export const tags = css` .page-content.repository.tags { @@ -152,23 +173,3 @@ export const releases = css` } } `; - -// 顶部右侧按钮组 -export const rightButton = css` - .page-content.repository { - &.releases, - &.tags { - .ui.small.button { - background-color: ${themeVars.color.button}; - border-color: ${themeVars.color.light.border}; - color: ${themeVars.color.text.light.self}; - padding: 5px 16px; - min-height: auto; - line-height: 20px; - &:hover { - background-color: ${themeVars.color.hover.self}; - } - } - } - } -`;