mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-28 15:20:30 +00:00
issue 迁移
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
// Made by Luting ^-^
|
||||
// PR
|
||||
#issue-list .flex-item-body .branches .branch {
|
||||
color: var(--color-blue);
|
||||
background-color: #121d2f;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
// 评论焦点
|
||||
.comment:target {
|
||||
.comment-container {
|
||||
border-color: #1f6feb !important;
|
||||
box-shadow: 0 0 0 1px #4493f8 !important;
|
||||
}
|
||||
|
||||
.header:before {
|
||||
border-right-color: #1f6feb !important;
|
||||
filter: drop-shadow(-1px 0 0 #4493f8) !important;
|
||||
}
|
||||
}
|
||||
@@ -67,3 +67,35 @@ export const babel = css`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
// PR 分支标签
|
||||
export const prBranch = css`
|
||||
.repository.view.issue .pull-desc code,
|
||||
#issue-list .flex-item-body .branches .branch {
|
||||
color: ${themeVars.github.fgColor.accent};
|
||||
background-color: ${themeVars.github.bgColor.accent.muted};
|
||||
font-size: 12px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
`;
|
||||
|
||||
// 评论
|
||||
export const comment = css`
|
||||
.comment {
|
||||
// 去除评论标题左侧指向头像的小箭头
|
||||
.comment-header,
|
||||
&:target .comment-header {
|
||||
&:before,
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
// 评论焦点样式
|
||||
&:target {
|
||||
.comment-container {
|
||||
border-color: ${themeVars.github.borderColor.accent.emphasis} !important;
|
||||
box-shadow: 0 0 0 1px ${themeVars.color.primary.self} !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user