You've already forked gitea-banana-theme
banana v3
This commit is contained in:
@@ -33,7 +33,8 @@ export const clone = css`
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
background: ${themeVars.github.control.transparent.bgColor.hover};
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
&.active:after {
|
||||
content: "";
|
||||
@@ -89,6 +90,7 @@ export const clone = css`
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
background-color: ${themeVars.github.control.transparent.bgColor.hover};
|
||||
position: relative;
|
||||
transform: scale(1.05); // 轻微放大效果
|
||||
}
|
||||
svg {
|
||||
@@ -121,7 +123,8 @@ export const clone = css`
|
||||
color: ${themeVars.color.text.self};
|
||||
text-decoration: none;
|
||||
background: ${themeVars.github.control.transparent.bgColor.hover};
|
||||
transform: translateX(2px); // 轻微右移效果
|
||||
position: relative;
|
||||
left: 2px;
|
||||
}
|
||||
}
|
||||
> .item:hover {
|
||||
|
||||
Reference in New Issue
Block a user