From cd9a2a504b155a679f255af07731dd7318b4dd47 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Sun, 9 Feb 2025 21:42:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93=E5=AF=BC=E8=88=AA=E6=A0=8F?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E5=90=8C=E6=AD=A5&=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 4 +++- src/button.scss | 3 +++ src/fontcolor.scss | 15 --------------- src/repo.scss | 12 ++++++++++++ 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/release.md b/.github/release.md index fd3c536..72f8899 100644 --- a/.github/release.md +++ b/.github/release.md @@ -7,4 +7,6 @@ - 仓库文件列表文件图标名称位置优化 - 下拉菜单分割线优化 - 顶部导航栏分割线优化 -- 动画效果优化 \ No newline at end of file +- 仓库导航栏颜色同步 +- 动画效果优化 +- 按钮大小优化 \ No newline at end of file diff --git a/src/button.scss b/src/button.scss index b79cb59..f64df30 100644 --- a/src/button.scss +++ b/src/button.scss @@ -1,4 +1,7 @@ // Made by Luting ^-^ +.ui.button { + padding: 10px 16px; +} .ui.primary.button { background-color: #238636; &:hover { diff --git a/src/fontcolor.scss b/src/fontcolor.scss index 5b71230..af90a88 100644 --- a/src/fontcolor.scss +++ b/src/fontcolor.scss @@ -3,21 +3,6 @@ color: var(--color-text); } -.ui.secondary.pointing.menu { - .active.item { - color: var(--color-text); - } - - .active.item, - .dropdown.item, - .link.item, - a.item { - &:hover { - color: var(--color-text); - } - } -} - .ui.cards > .card, .ui.card { > .extra a:not(.ui):hover { diff --git a/src/repo.scss b/src/repo.scss index 7789aad..9952c01 100644 --- a/src/repo.scss +++ b/src/repo.scss @@ -69,6 +69,18 @@ } } + .active.item, + .dropdown.item, + .link.item, + a.item { + color: var(--color-text); + + svg { + color: #9198A1; + margin-right: 8px; + } + } + .active.item { border-color: #ffffff00;