mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 04:40:31 +00:00
优化标签样式
This commit is contained in:
1
.github/release.md
vendored
1
.github/release.md
vendored
@@ -8,6 +8,7 @@
|
||||
- 同步分页菜单样式
|
||||
- 同步登录/注册页面样式
|
||||
- 优化热力图和动态样式
|
||||
- 优化私有标签样式, 组织页面下的 RSS 订阅按钮样式
|
||||
|
||||
## 🎈 Perf
|
||||
|
||||
|
||||
1
TODO.md
1
TODO.md
@@ -4,4 +4,3 @@
|
||||
- issue/PR 列表样式 github 布局
|
||||
- 色盲主题支持
|
||||
- 打开文件时的文件导航树样式和滚动高度
|
||||
- 私有库标签大小, 组织页面下的RSS订阅按钮样式
|
||||
|
||||
@@ -38,10 +38,6 @@ export const repoList = css`
|
||||
&:not(a) {
|
||||
color: ${themeVars.color.text.light.num1};
|
||||
}
|
||||
// 仓库类型和状态标签
|
||||
> .label-list .label {
|
||||
padding: 3px 6px;
|
||||
}
|
||||
}
|
||||
// 仓库语言, 星标
|
||||
> .flex-item-trailing {
|
||||
@@ -113,7 +109,6 @@ export const userList = css`
|
||||
// 用户标签
|
||||
> .label {
|
||||
font-size: 12px;
|
||||
padding: 3px 6px;
|
||||
}
|
||||
}
|
||||
// 用户描述
|
||||
|
||||
@@ -7,8 +7,9 @@ import "./explore";
|
||||
import "./filelist";
|
||||
import "./heatmap";
|
||||
import "./issue";
|
||||
import "./signin";
|
||||
import "./newrepo";
|
||||
import "./org";
|
||||
import "./release";
|
||||
import "./repo";
|
||||
import "./setting";
|
||||
import "./signin";
|
||||
|
||||
21
styles/components/org.ts
Normal file
21
styles/components/org.ts
Normal 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};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -166,12 +166,19 @@ export const taskStatusLabel = css`
|
||||
// 仓库标签 (私有/公开/内部)
|
||||
export const repoLabel = css`
|
||||
span,
|
||||
// 用户切换面板的标签
|
||||
.org-visibility div {
|
||||
&.ui.basic.label {
|
||||
background-color: unset;
|
||||
color: ${themeVars.color.text.light.num1};
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
padding: 3px 6px;
|
||||
}
|
||||
}
|
||||
.org-visibility span.ui.basic.label {
|
||||
font-size: 14px;
|
||||
}
|
||||
`;
|
||||
|
||||
// 软件包列表
|
||||
|
||||
Reference in New Issue
Block a user