Compare commits

..

2 Commits

Author SHA1 Message Date
lutinglt
e9d2b62b0e 优化设置界面折叠项的显示效果 2024-12-26 17:13:36 +08:00
lutinglt
f357ee4181 修复仓库提交和Runner日志的一致性问题 2024-12-24 22:24:32 +08:00
5 changed files with 73 additions and 14 deletions

4
.github/release.md vendored
View File

@@ -1,3 +1 @@
提交查看页面增加了提交之间的间隔
隐藏仓库文件列表头部最后一次提交的 SHA
其他一些细节优化
优化设置界面折叠项的显示效果

View File

@@ -30,6 +30,6 @@ jobs:
run: |
export TZ=Asia/Shanghai
TAG="v${{ inputs.gitea_version }}-$(date +%Y%m%d-%H%M)"
gh release create "$TAG" dist/theme-github.css --notes-file .github/release.md -t $TAG
gh release create "$TAG" dist/theme-github.css --notes-file .github/release.md --draft -t $TAG
env:
GH_TOKEN: ${{ github.token }}

View File

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

View File

@@ -1,5 +1,18 @@
// Made by Luting ^-^
// 设置左边栏(包含 Actions 的工作流栏)
%active-item-after-style {
background: #1f6feb;
border-radius: 0.375rem;
content: '';
height: 1.8rem;
left: calc(0.5rem * -1);
position: absolute;
top: calc(50% - 13px);
width: 0.25rem;
}
.ui.vertical.menu {
background: var(--color-body);
border: 0;
@@ -30,14 +43,25 @@
}
.active.item:after {
background: #1f6feb;
border-radius: 0.375rem;
content: '';
height: 1.8rem;
left: calc(0.5rem * -1);
position: absolute;
top: calc(50% - 13px);
width: 0.25rem;
@extend %active-item-after-style;
}
details {
&:has(.active.item) {
background: #161a21;
&[open] {
background: unset;
&:after {
display: none;
}
}
&:after {
@extend %active-item-after-style;
}
}
}
}

View File

@@ -4,6 +4,7 @@ textarea,
tr,
td,
button,
details summary,
#navbar .item,
.header-wrapper .ui.tabular.menu .item,
.job-step-summary,