mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 21:20:31 +00:00
Compare commits
2 Commits
v1.22.6-20
...
v1.22.6-20
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9d2b62b0e | ||
|
|
f357ee4181 |
4
.github/release.md
vendored
4
.github/release.md
vendored
@@ -1,3 +1 @@
|
|||||||
提交查看页面增加了提交之间的间隔
|
优化设置界面折叠项的显示效果
|
||||||
隐藏仓库文件列表头部最后一次提交的 SHA
|
|
||||||
其他一些细节优化
|
|
||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -30,6 +30,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
export TZ=Asia/Shanghai
|
export TZ=Asia/Shanghai
|
||||||
TAG="v${{ inputs.gitea_version }}-$(date +%Y%m%d-%H%M)"
|
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:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
|||||||
@@ -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;
|
border: 0;
|
||||||
background: unset;
|
background: unset;
|
||||||
}
|
}
|
||||||
|
&.isSigned {
|
||||||
|
&.isWarning,
|
||||||
|
&.isVerified,
|
||||||
|
&.isVerifiedUntrusted,
|
||||||
|
&.isVerifiedUnmatched {
|
||||||
|
.detail.icon {
|
||||||
|
border: 0;
|
||||||
|
background: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,18 @@
|
|||||||
// Made by Luting ^-^
|
// Made by Luting ^-^
|
||||||
// 设置左边栏(包含 Actions 的工作流栏)
|
// 设置左边栏(包含 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 {
|
.ui.vertical.menu {
|
||||||
background: var(--color-body);
|
background: var(--color-body);
|
||||||
border: 0;
|
border: 0;
|
||||||
@@ -30,14 +43,25 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.active.item:after {
|
.active.item:after {
|
||||||
background: #1f6feb;
|
@extend %active-item-after-style;
|
||||||
border-radius: 0.375rem;
|
}
|
||||||
content: '';
|
|
||||||
height: 1.8rem;
|
details {
|
||||||
left: calc(0.5rem * -1);
|
&:has(.active.item) {
|
||||||
position: absolute;
|
background: #161a21;
|
||||||
top: calc(50% - 13px);
|
|
||||||
width: 0.25rem;
|
&[open] {
|
||||||
|
background: unset;
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
@extend %active-item-after-style;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ textarea,
|
|||||||
tr,
|
tr,
|
||||||
td,
|
td,
|
||||||
button,
|
button,
|
||||||
|
details summary,
|
||||||
#navbar .item,
|
#navbar .item,
|
||||||
.header-wrapper .ui.tabular.menu .item,
|
.header-wrapper .ui.tabular.menu .item,
|
||||||
.job-step-summary,
|
.job-step-summary,
|
||||||
|
|||||||
Reference in New Issue
Block a user