修复仓库提交和Runner日志的一致性问题

This commit is contained in:
lutinglt
2024-12-24 22:24:32 +08:00
parent f521f3165c
commit f357ee4181
2 changed files with 42 additions and 5 deletions

7
.github/release.md vendored
View File

@@ -1,3 +1,4 @@
提交查看页面增加了提交之间的间隔 Merry Christmas!
隐藏仓库文件列表头部最后一次提交的 SHA
其他一些细节优化 修复仓库提交页面提交SHA的一致性问题
修复后台设置里Runner运行日志的状态标签显示问题

View File

@@ -111,6 +111,32 @@ a.ui.ui.ui {
border-radius: 25px; 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 { > a {
opacity: 1; opacity: 1;
} }
@@ -138,11 +164,21 @@ a.ui.label:not(.basic, .sha):hover {
#rev-list, #rev-list,
.timeline-item.commits-list .singular-commit { .timeline-item.commits-list .singular-commit {
.sha.label { .sha.label {
.detail.icon, .detail.icon {
&.isSigned.isVerified .detail.icon { border: 0;
background: unset;
}
&.isSigned {
&.isWarning,
&.isVerified,
&.isVerifiedUntrusted,
&.isVerifiedUnmatched {
.detail.icon {
border: 0; border: 0;
background: unset; background: unset;
} }
} }
} }
} }
}
}