mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 21:20:31 +00:00
同步差异对比页面文件名标题栏样式
This commit is contained in:
1
.github/release.md
vendored
1
.github/release.md
vendored
@@ -22,6 +22,7 @@
|
|||||||
- 同步订阅页面样式
|
- 同步订阅页面样式
|
||||||
- 同步用户菜单样式
|
- 同步用户菜单样式
|
||||||
- 优化下拉菜单样式
|
- 优化下拉菜单样式
|
||||||
|
- 同步差异对比页面文件名标题栏样式
|
||||||
|
|
||||||
### 🐞 Fix
|
### 🐞 Fix
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ export const diff = css`
|
|||||||
.code-expander-button {
|
.code-expander-button {
|
||||||
color: ${themeVars.color.text.light.num1};
|
color: ${themeVars.color.text.light.num1};
|
||||||
height: 28px !important;
|
height: 28px !important;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: ${themeVars.github.bgColor.accent.emphasis};
|
background: ${themeVars.github.bgColor.accent.emphasis};
|
||||||
color: ${themeVars.color.white};
|
color: ${themeVars.color.white};
|
||||||
@@ -41,4 +40,33 @@ export const diff = css`
|
|||||||
.lines-num {
|
.lines-num {
|
||||||
text-align: center !important;
|
text-align: center !important;
|
||||||
}
|
}
|
||||||
|
// 差异对比文件盒子
|
||||||
|
.diff-file-box {
|
||||||
|
// 差异对比文件头
|
||||||
|
.diff-file-header {
|
||||||
|
// 文件名
|
||||||
|
.diff-file-name {
|
||||||
|
font-weight: 400;
|
||||||
|
.fold-file.btn svg {
|
||||||
|
min-width: 16px;
|
||||||
|
min-height: 16px;
|
||||||
|
height: 16px;
|
||||||
|
width: 16px;
|
||||||
|
}
|
||||||
|
.diff-stats-bar {
|
||||||
|
height: 8px;
|
||||||
|
}
|
||||||
|
> div,
|
||||||
|
.file-link {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 操作按钮
|
||||||
|
.diff-file-header-actions {
|
||||||
|
color: ${themeVars.color.text.light.num1};
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user