Skip to content

Commit 8f80e88

Browse files
committed
Actions 工作流日志页面样式同步
1 parent 5e8475a commit 8f80e88

File tree

2 files changed

+71
-22
lines changed

2 files changed

+71
-22
lines changed

.github/release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
- 微调菜单项按钮样式
66
- Actions 工作流日志页面与浏览器同宽
7-
- Actions 工作流日志页面样式优化
7+
- Actions 工作流日志页面样式同步
88
- Actions 日志字体同步
99
- 全局激活颜色和悬停颜色优化

src/actions.scss

Lines changed: 70 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,37 +18,86 @@
1818
}
1919
}
2020
}
21+
2122
.ui.container.action-view-container {
2223
width: auto;
24+
max-width: 100%;
25+
padding: 0 24px 0 16px;
26+
27+
.action-view-header {
28+
margin-top: 20px;
29+
30+
.action-info-summary {
31+
margin-left: 14px;
32+
}
33+
34+
.action-commit-summary {
35+
margin-left: 28+14px;
36+
}
37+
}
2338
}
2439

2540
.action-view-left.action-view-left {
26-
margin-top: 16px;
27-
margin-right: 24px;
41+
width: 15.25%;
42+
}
43+
44+
.action-view-right.action-view-right {
45+
width: 84.75%
46+
}
2847

29-
.job-brief-item {
30-
border-radius: 0.5rem !important;
31-
padding: 8px;
48+
@media (max-width: 767.98px) {
49+
.action-view-left.action-view-left,
50+
.action-view-right.action-view-right {
51+
width: 100%;
52+
}
53+
}
54+
55+
.action-view-left {
56+
margin-top: 16px;
57+
margin-right: 28px;
58+
border-top: 1px solid #2f353d;
59+
60+
&:before {
61+
content: 'Jobs';
62+
color: #9198a1;
63+
font-size: 12px;
64+
font-weight: 600;
3265
position: relative;
33-
margin-left: 0.5rem;
66+
display: inline-block;
67+
margin-top: 22px;
68+
top: -8px;
69+
left: 15px;
70+
}
3471

35-
&.selected {
36-
background-color: #161a21;
72+
.job-group-section {
73+
padding-right: 8px;
74+
padding-bottom: 8px;
75+
border-bottom: 1px solid #2f353d;
3776

38-
&:hover {
39-
background-color: var(--color-hover);
40-
}
77+
.job-brief-item {
78+
border-radius: 0.5rem !important;
79+
padding: 8px;
80+
position: relative;
81+
margin-left: 0.5rem;
4182

42-
&:after {
43-
overflow: visible;
44-
background: #1f6feb;
45-
border-radius: 0.375rem;
46-
content: '';
47-
height: 24px;
48-
left: calc(0.5rem * -1);
49-
position: absolute;
50-
top: calc(50% - 12px);
51-
width: 4px;
83+
&.selected {
84+
background-color: #161a21;
85+
86+
&:hover {
87+
background-color: var(--color-hover);
88+
}
89+
90+
&:after {
91+
overflow: visible;
92+
background: #1f6feb;
93+
border-radius: 0.375rem;
94+
content: '';
95+
height: 24px;
96+
left: calc(0.5rem * -1);
97+
position: absolute;
98+
top: calc(50% - 12px);
99+
width: 4px;
100+
}
52101
}
53102
}
54103
}

0 commit comments

Comments
 (0)