优化标签样式

This commit is contained in:
lutinglt
2025-08-12 15:34:53 +08:00
parent a90b72896b
commit 00737f5203
6 changed files with 31 additions and 7 deletions

1
.github/release.md vendored
View File

@@ -8,6 +8,7 @@
- 同步分页菜单样式 - 同步分页菜单样式
- 同步登录/注册页面样式 - 同步登录/注册页面样式
- 优化热力图和动态样式 - 优化热力图和动态样式
- 优化私有标签样式, 组织页面下的 RSS 订阅按钮样式
## 🎈 Perf ## 🎈 Perf

View File

@@ -4,4 +4,3 @@
- issue/PR 列表样式 github 布局 - issue/PR 列表样式 github 布局
- 色盲主题支持 - 色盲主题支持
- 打开文件时的文件导航树样式和滚动高度 - 打开文件时的文件导航树样式和滚动高度
- 私有库标签大小, 组织页面下的RSS订阅按钮样式

View File

@@ -38,10 +38,6 @@ export const repoList = css`
&:not(a) { &:not(a) {
color: ${themeVars.color.text.light.num1}; color: ${themeVars.color.text.light.num1};
} }
// 仓库类型和状态标签
> .label-list .label {
padding: 3px 6px;
}
} }
// 仓库语言, 星标 // 仓库语言, 星标
> .flex-item-trailing { > .flex-item-trailing {
@@ -113,7 +109,6 @@ export const userList = css`
// 用户标签 // 用户标签
> .label { > .label {
font-size: 12px; font-size: 12px;
padding: 3px 6px;
} }
} }
// 用户描述 // 用户描述

View File

@@ -7,8 +7,9 @@ import "./explore";
import "./filelist"; import "./filelist";
import "./heatmap"; import "./heatmap";
import "./issue"; import "./issue";
import "./signin";
import "./newrepo"; import "./newrepo";
import "./org";
import "./release"; import "./release";
import "./repo"; import "./repo";
import "./setting"; import "./setting";
import "./signin";

21
styles/components/org.ts Normal file
View File

@@ -0,0 +1,21 @@
import { css, themeVars } from "src/types/vars";
export const org = css`
.page-content.organization.profile {
#org-info {
.ui.header {
// 组织页面的 RSS 订阅按钮
.ui.label.button {
padding: 4px 16px;
.svg {
width: 20px;
min-width: 20px;
}
&:hover {
border-color: ${themeVars.color.light.border};
}
}
}
}
}
`;

View File

@@ -166,12 +166,19 @@ export const taskStatusLabel = css`
// 仓库标签 (私有/公开/内部) // 仓库标签 (私有/公开/内部)
export const repoLabel = css` export const repoLabel = css`
span, span,
// 用户切换面板的标签
.org-visibility div { .org-visibility div {
&.ui.basic.label { &.ui.basic.label {
background-color: unset; background-color: unset;
color: ${themeVars.color.text.light.num1}; color: ${themeVars.color.text.light.num1};
font-size: 12px;
font-weight: 500;
padding: 3px 6px;
} }
} }
.org-visibility span.ui.basic.label {
font-size: 14px;
}
`; `;
// 软件包列表 // 软件包列表