mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 21:20:31 +00:00
fix
This commit is contained in:
@@ -35,8 +35,6 @@ export const baseButton = css`
|
|||||||
// 按钮组, PR 里的压缩合并按钮
|
// 按钮组, PR 里的压缩合并按钮
|
||||||
&.buttons .button {
|
&.buttons .button {
|
||||||
${primaryStyle}
|
${primaryStyle}
|
||||||
// 按钮组里的按钮无阴影
|
|
||||||
box-shadow: none;
|
|
||||||
&:hover {
|
&:hover {
|
||||||
${primaryHoverStyle}
|
${primaryHoverStyle}
|
||||||
}
|
}
|
||||||
@@ -44,6 +42,10 @@ export const baseButton = css`
|
|||||||
// 按钮组整体有阴影
|
// 按钮组整体有阴影
|
||||||
&.buttons {
|
&.buttons {
|
||||||
box-shadow: ${themeVars.github.shadow.resting.small};
|
box-shadow: ${themeVars.github.shadow.resting.small};
|
||||||
|
.button {
|
||||||
|
// 按钮组里的按钮无阴影
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 主色调基本按钮和普通按钮一样
|
// 主色调基本按钮和普通按钮一样
|
||||||
|
|||||||
Reference in New Issue
Block a user