mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 13:00:31 +00:00
优化设置界面折叠项的显示效果
This commit is contained in:
5
.github/release.md
vendored
5
.github/release.md
vendored
@@ -1,4 +1 @@
|
||||
Merry Christmas!
|
||||
|
||||
修复仓库提交页面提交SHA的一致性问题
|
||||
修复后台设置里Runner运行日志的状态标签显示问题
|
||||
优化设置界面折叠项的显示效果
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ textarea,
|
||||
tr,
|
||||
td,
|
||||
button,
|
||||
details summary,
|
||||
#navbar .item,
|
||||
.header-wrapper .ui.tabular.menu .item,
|
||||
.job-step-summary,
|
||||
|
||||
Reference in New Issue
Block a user