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; + } + } + } } } }