Skip to content

Commit 1cad42f

Browse files
committed
Action工作流页面同步
1 parent c5a1c1b commit 1cad42f

File tree

4 files changed

+97
-17
lines changed

4 files changed

+97
-17
lines changed

.github/release.md

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
11
## 🌈 Style
22

3-
- **移除字体 (不再集成个性化字体)**
4-
53
#### 更符合 GitHub 风格
64

7-
- 首页动态图标大小优化
8-
- 仓库代码页侧边栏宽度优化
9-
- 仓库文件列表在手机下隐藏提交信息
10-
- 仓库文件列表文件图标名称位置优化
11-
- 仓库导航栏颜色同步
12-
- 按钮大小和颜色优化
13-
- 输入框大小和颜色优化
14-
- 导航栏分割线优化
15-
- 下拉菜单分割线优化
16-
- 动画效果优化
17-
18-
## 🐞 Fix
19-
20-
- 修复 1.23 后仓库文件列表整行悬停时的背景颜色
21-
- 修复软件包页面下组织标签样式
5+
- Action工作流页面同步

screenshots/actions.png

-48 KB
Loading

screenshots/dispatch.png

58.3 KB
Loading

src/actions.scss

+96
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,99 @@
11
// Made by Luting ^-^
2+
3+
.page-content.repository.actions .ui.grid {
4+
.four.wide {
5+
border-right: 1px solid var(--color-light-border);
6+
min-height: calc(-104px + 100vh);
7+
8+
&:before {
9+
content: 'Actions';
10+
display: block;
11+
font-size: 20px;
12+
font-weight: 600;
13+
margin-top: 6px;
14+
margin-bottom: 24px;
15+
}
16+
17+
.item {
18+
font-weight: 400;
19+
}
20+
}
21+
22+
.twelve.wide {
23+
&:before {
24+
content: 'Workflow Runs';
25+
display: block;
26+
font-size: 20px;
27+
margin-top: 6px;
28+
margin-bottom: 24px;
29+
margin-left: 2px;
30+
}
31+
32+
.ui.secondary.menu {
33+
background-color: var(--color-box-header);
34+
border: 1px solid var(--color-light-border);
35+
border-bottom: 0;
36+
border-top-left-radius: var(--border-radius);
37+
border-top-right-radius: var(--border-radius);
38+
padding: 16px;
39+
margin-bottom: 0;
40+
41+
.item {
42+
padding: 6px 12px;
43+
}
44+
}
45+
46+
.ui.info.message {
47+
border-radius: 0;
48+
border-left-color: var(--color-light-border);
49+
border-right-color: var(--color-light-border);
50+
margin: 0;
51+
52+
~ .run-list {
53+
border-top: 0;
54+
}
55+
}
56+
57+
.run-list {
58+
border: 1px solid var(--color-light-border);
59+
border-bottom-left-radius: var(--border-radius);
60+
border-bottom-right-radius: var(--border-radius);
61+
62+
.flex-item {
63+
padding: 16px;
64+
65+
.flex-item-leading {
66+
align-self: flex-start;
67+
margin-top: 2px;
68+
}
69+
70+
.flex-item-main {
71+
gap: 0.5rem;
72+
}
73+
74+
.flex-item-trailing {
75+
justify-content: space-between;
76+
77+
> .ui.label {
78+
border-radius: var(--border-radius);
79+
margin-left: 32px;
80+
}
81+
82+
.run-list-item-right {
83+
width: 80px;
84+
}
85+
}
86+
}
87+
}
88+
}
89+
}
90+
91+
@media (max-width: 767.98px) {
92+
.page-content.repository.actions .ui.grid .four.wide {
93+
min-height: auto;
94+
}
95+
}
96+
297
// 工作流禁用标签
398
.ui.vertical.menu .item > .ui.red.label {
499
color: var(--color-error-text);
@@ -19,6 +114,7 @@
19114
}
20115
}
21116

117+
// 日志
22118
.ui.container.action-view-container {
23119
width: auto;
24120
max-width: 100%;

0 commit comments

Comments
 (0)