mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2026-04-16 17:11:38 +08:00
1.25.0
This commit is contained in:
@@ -7,6 +7,7 @@ export const attached = css`
|
||||
.user-setting-content,
|
||||
.org-setting-content,
|
||||
.admin-setting-content,
|
||||
// 仓库动态页面
|
||||
// 新建页面内容
|
||||
.page-content.repository.new-repo,
|
||||
.page-content.repository.new.migrate,
|
||||
@@ -18,19 +19,45 @@ export const attached = css`
|
||||
font-weight: 400;
|
||||
background-color: unset !important;
|
||||
margin-bottom: 0.25rem;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
> .ui.right {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.ui.attached.segment {
|
||||
background-color: unset;
|
||||
border-radius: ${otherThemeVars.border.radius} !important;
|
||||
}
|
||||
|
||||
.ui.attached.segment:not(.error) {
|
||||
border-top-left-radius: ${otherThemeVars.border.radius} !important;
|
||||
border-top-right-radius: ${otherThemeVars.border.radius} !important;
|
||||
border-bottom-left-radius: 0 !important;
|
||||
border-bottom-right-radius: 0 !important;
|
||||
border: 1px solid ${themeVars.color.light.border} !important;
|
||||
+ .ui.attached.segment {
|
||||
border-top: 0 !important;
|
||||
border-top-left-radius: 0 !important;
|
||||
border-top-right-radius: 0 !important;
|
||||
}
|
||||
&:has(+ :not(.ui.attached.segment)),
|
||||
&:last-child {
|
||||
border-bottom-left-radius: ${otherThemeVars.border.radius} !important;
|
||||
border-bottom-right-radius: ${otherThemeVars.border.radius} !important;
|
||||
}
|
||||
}
|
||||
|
||||
.ui.attached.segment.error {
|
||||
border: 1px solid ${themeVars.color.error.border} !important;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
// 仓库活动页面下的边框线修复
|
||||
export const fixActivity = css`
|
||||
.page-content.repository.commits .flex-container-main:has(.ui.header.activity-header) {
|
||||
> .ui.attached.segment {
|
||||
border-radius: 0;
|
||||
&:has(+ :not(.ui.attached.segment)) {
|
||||
border-bottom-left-radius: ${otherThemeVars.border.radius};
|
||||
border-bottom-right-radius: ${otherThemeVars.border.radius};
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user