mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-28 07:00:32 +00:00
Issue/PR 的时间线样式间隔和大小
This commit is contained in:
@@ -142,9 +142,18 @@ export const prMerge = css`
|
|||||||
// 时间线
|
// 时间线
|
||||||
export const timeline = css`
|
export const timeline = css`
|
||||||
.repository.view.issue {
|
.repository.view.issue {
|
||||||
.comment-list .timeline-item {
|
.comment-list {
|
||||||
|
.timeline-item,
|
||||||
|
.timeline-item-group {
|
||||||
|
padding: 16px 0;
|
||||||
// 事件
|
// 事件
|
||||||
&.event {
|
&.event {
|
||||||
|
// 修复覆盖后的位置问题
|
||||||
|
padding-left: 15px;
|
||||||
|
.avatar {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
.badge {
|
.badge {
|
||||||
border: 2px solid ${themeVars.color.body};
|
border: 2px solid ${themeVars.color.body};
|
||||||
}
|
}
|
||||||
@@ -158,12 +167,18 @@ export const timeline = css`
|
|||||||
}
|
}
|
||||||
// 提交
|
// 提交
|
||||||
&.commits-list {
|
&.commits-list {
|
||||||
|
// 每个提交之间的间隔
|
||||||
|
.flex-text-block {
|
||||||
|
padding-top: 4px;
|
||||||
|
}
|
||||||
.badge svg {
|
.badge svg {
|
||||||
color: ${themeVars.color.text.light.num1};
|
color: ${themeVars.color.text.light.num1};
|
||||||
}
|
}
|
||||||
// 仅覆盖左侧 commit 不覆盖右侧 SHA
|
// 仅覆盖左侧 commit 不覆盖右侧 SHA
|
||||||
a.muted {
|
a.muted {
|
||||||
|
font-size: 12px;
|
||||||
color: ${themeVars.color.text.light.num1};
|
color: ${themeVars.color.text.light.num1};
|
||||||
|
text-decoration-line: underline;
|
||||||
&:hover {
|
&:hover {
|
||||||
color: ${themeVars.color.primary.self};
|
color: ${themeVars.color.primary.self};
|
||||||
}
|
}
|
||||||
@@ -171,4 +186,5 @@ export const timeline = css`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user