优化创建仓库/迁移仓库/创建组织页面的样式与设置页面的样式一致

This commit is contained in:
lutinglt
2025-08-12 09:47:43 +08:00
parent c5c1ca4a6b
commit 0df107a166
6 changed files with 38 additions and 31 deletions

35
styles/public/attached.ts Normal file
View File

@@ -0,0 +1,35 @@
import { css, themeVars } from "src/types/vars";
export const content = css`
// 设置右面板的内容
.user-main-content,
.repo-setting-content,
.user-setting-content,
.org-setting-content,
.admin-setting-content,
// 新建页面内容
.page-content.repository.new-repo,
.page-content.repository.new.migrate,
.page-content.organization.new.org {
.ui.top.attached.header {
border: 0;
font-size: 1.5rem;
font-weight: 400;
background-color: unset !important;
margin-bottom: 0.25rem;
}
.ui.attached.segment {
background-color: unset;
border-radius: 0.5rem !important;
}
.ui.attached.segment:not(.error) {
border: 1px solid ${themeVars.color.light.border} !important;
}
.ui.attached.segment.error {
border: 1px solid ${themeVars.color.error.border} !important;
}
}
`;