From f357ee4181827b4cb9fb6948fa4411d12c3b3860 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Tue, 24 Dec 2024 22:24:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=93=E5=BA=93=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E5=92=8CRunner=E6=97=A5=E5=BF=97=E7=9A=84=E4=B8=80?= =?UTF-8?q?=E8=87=B4=E6=80=A7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 7 ++++--- src/label.scss | 40 ++++++++++++++++++++++++++++++++++++++-- 2 files changed, 42 insertions(+), 5 deletions(-) diff --git a/.github/release.md b/.github/release.md index 2bc5dad..cfd3aba 100644 --- a/.github/release.md +++ b/.github/release.md @@ -1,3 +1,4 @@ -提交查看页面增加了提交之间的间隔 -隐藏仓库文件列表头部最后一次提交的 SHA -其他一些细节优化 \ No newline at end of file +Merry Christmas! + +修复仓库提交页面提交SHA的一致性问题 +修复后台设置里Runner运行日志的状态标签显示问题 \ No newline at end of file diff --git a/src/label.scss b/src/label.scss index 52f12e7..2b8df44 100644 --- a/src/label.scss +++ b/src/label.scss @@ -111,6 +111,32 @@ a.ui.ui.ui { border-radius: 25px; } + &.task-status-success { + color: var(--color-success-text); + border: 1px solid var(--color-success-border); + background: var(--color-success-bg); + } + + &.task-status-failure { + color: var(--color-error-text); + border: 1px solid var(--color-error-border); + background: var(--color-error-bg); + } + + &.task-status-running, + &.task-status-skipped { + color: var(--color-info-text); + border: 1px solid var(--color-info-border); + background: var(--color-info-bg); + } + + &.task-status-cancelled, + &.task-status-blocked { + color: var(--color-warning-text); + border: 1px solid var(--color-warning-border); + background: var(--color-warning-bg); + } + > a { opacity: 1; } @@ -138,11 +164,21 @@ a.ui.label:not(.basic, .sha):hover { #rev-list, .timeline-item.commits-list .singular-commit { .sha.label { - .detail.icon, - &.isSigned.isVerified .detail.icon { + .detail.icon { border: 0; background: unset; } + &.isSigned { + &.isWarning, + &.isVerified, + &.isVerifiedUntrusted, + &.isVerifiedUnmatched { + .detail.icon { + border: 0; + background: unset; + } + } + } } } }