mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 13:00:31 +00:00
已合并颜色
This commit is contained in:
@@ -123,8 +123,7 @@ export const dropdown = css`
|
|||||||
export const prMerge = css`
|
export const prMerge = css`
|
||||||
.repository.view.issue .comment-list .timeline-item.pull-merge-box {
|
.repository.view.issue .comment-list .timeline-item.pull-merge-box {
|
||||||
// 头像
|
// 头像
|
||||||
.timeline-avatar.green {
|
.timeline-avatar {
|
||||||
background-color: ${themeVars.github.bgColor.success.emphasis};
|
|
||||||
color: ${themeVars.color.text.self} !important;
|
color: ${themeVars.color.text.self} !important;
|
||||||
border-radius: ${otherThemeVars.border.radius};
|
border-radius: ${otherThemeVars.border.radius};
|
||||||
width: 40px;
|
width: 40px;
|
||||||
@@ -136,14 +135,33 @@ export const prMerge = css`
|
|||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
}
|
}
|
||||||
+ .content > .ui.attached.segment {
|
// 可以合并
|
||||||
border-left-color: ${themeVars.github.bgColor.success.emphasis};
|
&.green {
|
||||||
border-right-color: ${themeVars.github.bgColor.success.emphasis};
|
background-color: ${themeVars.github.bgColor.success.emphasis};
|
||||||
&:first-child {
|
// 操作评论边框色
|
||||||
border-top-color: ${themeVars.github.bgColor.success.emphasis};
|
+ .content > .ui.attached.segment {
|
||||||
|
border-left-color: ${themeVars.github.bgColor.success.emphasis};
|
||||||
|
border-right-color: ${themeVars.github.bgColor.success.emphasis};
|
||||||
|
&:first-child {
|
||||||
|
border-top-color: ${themeVars.github.bgColor.success.emphasis};
|
||||||
|
}
|
||||||
|
&:last-child {
|
||||||
|
border-bottom-color: ${themeVars.github.bgColor.success.emphasis};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&:last-child {
|
}
|
||||||
border-bottom-color: ${themeVars.github.bgColor.success.emphasis};
|
// 已合并
|
||||||
|
&.purple {
|
||||||
|
background-color: ${themeVars.github.bgColor.done.emphasis};
|
||||||
|
+ .content > .ui.attached.segment {
|
||||||
|
border-left-color: ${themeVars.github.bgColor.done.emphasis};
|
||||||
|
border-right-color: ${themeVars.github.bgColor.done.emphasis};
|
||||||
|
&:first-child {
|
||||||
|
border-top-color: ${themeVars.github.bgColor.done.emphasis};
|
||||||
|
}
|
||||||
|
&:last-child {
|
||||||
|
border-bottom-color: ${themeVars.github.bgColor.done.emphasis};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user