Compare commits

..

2 Commits

Author SHA1 Message Date
lutinglt
9acfd21a9d Update README.md 2025-02-11 11:11:51 +08:00
lutinglt
a897230f2c 修复英文下Action页面执行时间换行&菜单文字粗细样式优化 2025-02-11 11:06:44 +08:00
4 changed files with 20 additions and 7 deletions

6
.github/release.md vendored
View File

@@ -2,4 +2,8 @@
#### 更符合 GitHub 风格 #### 更符合 GitHub 风格
- Action工作流页面同步 - 菜单文字粗细样式优化
## 🐞 Fix
- 修复英文下Action页面执行时间换行

View File

@@ -7,6 +7,8 @@
添加了短暂的过渡动画优化体验(与 GitHub Code 克隆列表动画一致) 添加了短暂的过渡动画优化体验(与 GitHub Code 克隆列表动画一致)
推荐搭配文件图标浏览器插件一起使用更佳 [github-file-explorer-icons](https://github.com/catppuccin/github-file-explorer-icons)
## 安装 ## 安装
1. 在发布页下载最新的 `theme-github.css` 放入 `gitea/public/assets/css` 目录下 1. 在发布页下载最新的 `theme-github.css` 放入 `gitea/public/assets/css` 目录下

View File

@@ -13,10 +13,6 @@
margin-top: 6px; margin-top: 6px;
margin-bottom: 24px; margin-bottom: 24px;
} }
.item {
font-weight: 400;
}
} }
.twelve.wide { .twelve.wide {
@@ -80,7 +76,9 @@
} }
.run-list-item-right { .run-list-item-right {
width: 80px; width: auto;
min-width: 80px;
max-width: 130px;
} }
} }
} }

View File

@@ -31,7 +31,6 @@
.item, .item,
.item > summary { .item > summary {
font-size: 1.1rem; font-size: 1.1rem;
font-weight: 500;
background: unset; background: unset;
padding: 6px 8px; padding: 6px 8px;
color: var(--color-white) !important; color: var(--color-white) !important;
@@ -41,6 +40,11 @@
background: unset; background: unset;
} }
.active.item,
.active.item > summary {
font-weight: 600;
}
.active.item:after { .active.item:after {
@extend %active-item-after-style; @extend %active-item-after-style;
} }
@@ -48,6 +52,7 @@
details { details {
&:has(.active.item) { &:has(.active.item) {
> summary { > summary {
font-weight: 600;
background: #161a21; background: #161a21;
&:hover { &:hover {
@@ -55,6 +60,10 @@
} }
} }
.active.item {
font-weight: 400;
}
&[open] { &[open] {
> summary { > summary {
background: unset; background: unset;