From eca01fc5c132848ea21f6c25f0a5657ab03abf09 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Fri, 10 Jan 2025 22:02:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93=E4=BB=A3=E7=A0=81=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E9=A1=B6=E9=83=A8=E7=BB=9F=E8=AE=A1=E6=A0=8F=E9=A2=9C?= =?UTF-8?q?=E8=89=B2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 3 +-- src/repo.scss | 28 +++++++++++++++++----------- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.github/release.md b/.github/release.md index 879df7c..bd0cdab 100644 --- a/.github/release.md +++ b/.github/release.md @@ -1,2 +1 @@ -添加默认过渡动画 -弹窗添加动画, 优化 Action 的日志动画 \ No newline at end of file +仓库代码页面顶部统计栏颜色(提交/分支/标签)类似 Github \ No newline at end of file diff --git a/src/repo.scss b/src/repo.scss index 6a03094..0d2e0ff 100644 --- a/src/repo.scss +++ b/src/repo.scss @@ -1,14 +1,4 @@ // Made by Luting ^-^ - -/* 用户仓库列表字体颜色 */ -/* .repo-list-link { - color: var(--color-blue) !important; -} */ - -/* 头部 */ -/* #navbar { - border-bottom: 0; -} */ .page-content > :first-child.secondary-nav { border-top: 0; background-color: var(--color-nav-bg) !important; @@ -102,6 +92,22 @@ // 仓库文件&提交列表 .page-content.repository { + // 顶部提交, 标签, 分支 + .repository-summary .segment.sub-menu { + &.ui.segment { + background-color: var(--color-box-header); + } + + .item { + color: #9198a1; + + b { + color: #f0f6fc; + margin: 0 2px; + } + } + } + // clone 按钮居中调整 .repo-button-row .repo-button-row-right .ui.primary.button span { display: flex; @@ -185,4 +191,4 @@ // 编程语言仅语言文字颜色 .language-stats-details .item .tw-font-semibold { color: #f0f6fc; -} \ No newline at end of file +}