You've already forked gitea-banana-theme
banana v3
This commit is contained in:
@@ -10,7 +10,8 @@ export const repoHeader = css`
|
||||
font-weight: 500; // 增加字体粗细
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
// 移除 transform 以避免创建新的层叠上下文
|
||||
// transform: translateY(-1px); // 轻微上移效果
|
||||
}
|
||||
&:active {
|
||||
animation: pulse-click 200ms cubic-bezier(0.4, 0, 0.2, 1); // 点击脉冲效果
|
||||
@@ -37,7 +38,8 @@ export const repoHeader = css`
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
background: ${themeVars.github.control.transparent.bgColor.hover};
|
||||
transform: translateX(2px); // 轻微右移效果
|
||||
position: relative;
|
||||
left: 2px;
|
||||
}
|
||||
&.muted:not(.tw-font-normal) {
|
||||
font-weight: 600;
|
||||
@@ -79,12 +81,14 @@ export const repoMenu = css`
|
||||
color: ${themeVars.color.text.light.num1};
|
||||
}
|
||||
&:hover {
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
&:hover:not(.active) {
|
||||
background-color: ${themeVars.github.control.transparent.bgColor.hover};
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -107,7 +111,8 @@ export const repoTopic = css`
|
||||
&:hover {
|
||||
background-color: ${themeVars.github.bgColor.accent.emphasis};
|
||||
color: ${themeVars.color.white};
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -120,7 +125,8 @@ export const closedIssueTableCell = css`
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
opacity: 0.9; // 悬停时降低不透明度
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user