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
@@ -7,3 +7,4 @@
|
|||||||
### 🐞 Fix
|
### 🐞 Fix
|
||||||
|
|
||||||
- 修复后台账户管理排序菜单项的宽度问题
|
- 修复后台账户管理排序菜单项的宽度问题
|
||||||
|
- 修复合并提交中的主色调按钮组阴影问题
|
||||||
|
|||||||
@@ -35,10 +35,16 @@ export const baseButton = css`
|
|||||||
// 按钮组, PR 里的压缩合并按钮
|
// 按钮组, PR 里的压缩合并按钮
|
||||||
&.buttons .button {
|
&.buttons .button {
|
||||||
${primaryStyle}
|
${primaryStyle}
|
||||||
|
// 按钮组里的按钮无阴影
|
||||||
|
box-shadow: none;
|
||||||
&:hover {
|
&:hover {
|
||||||
${primaryHoverStyle}
|
${primaryHoverStyle}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 按钮组整体有阴影
|
||||||
|
&.buttons {
|
||||||
|
box-shadow: ${themeVars.github.shadow.resting.small};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 主色调基本按钮和普通按钮一样
|
// 主色调基本按钮和普通按钮一样
|
||||||
// 作者的关注按钮
|
// 作者的关注按钮
|
||||||
|
|||||||
Reference in New Issue
Block a user