mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 13:00:31 +00:00
修复提交列表尾行圆角
This commit is contained in:
1
.github/release.md
vendored
1
.github/release.md
vendored
@@ -21,6 +21,7 @@
|
|||||||
- 修复后台管理的运维管理面板的样式
|
- 修复后台管理的运维管理面板的样式
|
||||||
- 取消修改编辑器字体大小, 避免光标错位
|
- 取消修改编辑器字体大小, 避免光标错位
|
||||||
- 修复文件预览时文件树右边框过粗
|
- 修复文件预览时文件树右边框过粗
|
||||||
|
- 修复提交列表尾行圆角
|
||||||
|
|
||||||
## 📃 English (From AI)
|
## 📃 English (From AI)
|
||||||
|
|
||||||
|
|||||||
@@ -42,14 +42,25 @@ export const commit = css`
|
|||||||
color: ${themeVars.color.text.light.num1};
|
color: ${themeVars.color.text.light.num1};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
tr {
|
||||||
// 整行悬停色
|
// 整行悬停色
|
||||||
tr:hover {
|
&:hover {
|
||||||
background-color: ${themeVars.color.hover.opaque};
|
background-color: ${themeVars.color.hover.opaque};
|
||||||
}
|
}
|
||||||
// 偶数行悬停色
|
// 偶数行悬停色
|
||||||
tr:nth-child(2n):hover {
|
&:nth-child(2n):hover {
|
||||||
background-color: ${themeVars.color.hover.opaque} !important;
|
background-color: ${themeVars.color.hover.opaque} !important;
|
||||||
}
|
}
|
||||||
|
// 尾行圆角
|
||||||
|
&:last-child {
|
||||||
|
td:first-child {
|
||||||
|
border-bottom-left-radius: ${otherThemeVars.border.radius};
|
||||||
|
}
|
||||||
|
td:last-child {
|
||||||
|
border-bottom-right-radius: ${otherThemeVars.border.radius};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user