mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-11-02 18:15:28 +00:00
头像和动态样式 & Issue 样式修复
This commit is contained in:
@@ -7,7 +7,7 @@ export const label = css`
|
||||
span {
|
||||
&.ui.ui.ui {
|
||||
&.label {
|
||||
border-radius: 25px;
|
||||
border-radius: 9999px;
|
||||
padding: 1.5px 6px;
|
||||
// 多个标签的组合标签的圆角修复
|
||||
&.scope-parent {
|
||||
@@ -102,6 +102,9 @@ export const shaLabel = css`
|
||||
margin-left: 5px;
|
||||
height: 25px;
|
||||
}
|
||||
img.ui.avatar {
|
||||
border-radius: 9999px;
|
||||
}
|
||||
}
|
||||
}
|
||||
// 修复带验证的提交 SHA 标签的高度
|
||||
|
||||
@@ -22,3 +22,12 @@ export const svg = css`
|
||||
color: #429cf0 !important;
|
||||
}
|
||||
`;
|
||||
|
||||
export const avatar = css`
|
||||
img.ui.avatar,
|
||||
.ui.avatar img,
|
||||
.ui.avatar svg {
|
||||
background-color: ${themeVars.github.avatar.bgColor};
|
||||
box-shadow: 0 0 0 1px ${themeVars.github.avatar.borderColor};
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user