同步差异对比页面文件名标题栏样式

This commit is contained in:
lutinglt
2025-09-07 11:00:53 +08:00
parent f9d63e6fd1
commit 796c6f1519
2 changed files with 30 additions and 1 deletions

1
.github/release.md vendored
View File

@@ -22,6 +22,7 @@
- 同步订阅页面样式 - 同步订阅页面样式
- 同步用户菜单样式 - 同步用户菜单样式
- 优化下拉菜单样式 - 优化下拉菜单样式
- 同步差异对比页面文件名标题栏样式
### 🐞 Fix ### 🐞 Fix

View File

@@ -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;
}
}
}
`; `;