mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 04:40:31 +00:00
Compare commits
3 Commits
8792a43644
...
0711f1e67d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0711f1e67d | ||
|
|
25ab06cf11 | ||
|
|
d0b177fe7e |
3
.github/release.md
vendored
3
.github/release.md
vendored
@@ -2,8 +2,7 @@
|
||||
|
||||
#### 更符合 GitHub 风格
|
||||
|
||||
- 同步 PR 的合并提交头像样式
|
||||
- 同步 PR 中的合并提交按钮颜色
|
||||
- 同步 PR 的合并提交操作面板样式
|
||||
- 同步 Issue/PR 的时间线样式
|
||||
|
||||
## 🎈 Perf
|
||||
|
||||
@@ -119,10 +119,11 @@ export const dropdown = css`
|
||||
}
|
||||
`;
|
||||
|
||||
// PR 界面的 PR 操作评论头像
|
||||
// PR 界面的 PR 操作评论
|
||||
export const prMerge = css`
|
||||
.repository.view.issue .comment-list .timeline-item.pull-merge-box {
|
||||
.timeline-avatar {
|
||||
// 头像
|
||||
.timeline-avatar.green {
|
||||
background-color: ${themeVars.github.bgColor.success.emphasis};
|
||||
color: ${themeVars.color.text.self} !important;
|
||||
border-radius: ${otherThemeVars.border.radius};
|
||||
@@ -136,6 +137,46 @@ export const prMerge = css`
|
||||
height: 24px;
|
||||
}
|
||||
}
|
||||
// 检查状态
|
||||
.commit-status-panel {
|
||||
.commit-status-header {
|
||||
background: ${themeVars.color.body};
|
||||
padding: 16px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
.ui.right {
|
||||
color: ${themeVars.color.text.light.num1};
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
// 检查状态列表
|
||||
.commit-status-list {
|
||||
background: ${themeVars.color.menu};
|
||||
.commit-status-item {
|
||||
border-radius: ${otherThemeVars.border.radius};
|
||||
padding: 2px 8px;
|
||||
margin: 0px 8px;
|
||||
height: 37px;
|
||||
&:first-child {
|
||||
margin-top: 8px;
|
||||
}
|
||||
&:last-child {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
&:hover {
|
||||
background-color: ${themeVars.color.hover.opaque};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// 合并信息和操作
|
||||
.merge-section {
|
||||
color: ${themeVars.color.text.light.num1};
|
||||
padding: 16px;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user