You've already forked gitea-banana-theme
banana v3
This commit is contained in:
@@ -41,7 +41,8 @@ export const issueList = css`
|
||||
}
|
||||
&:hover {
|
||||
background: ${themeVars.github.control.transparent.bgColor.hover} !important;
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
&.active {
|
||||
color: ${themeVars.color.text.self};
|
||||
@@ -63,7 +64,8 @@ export const issueList = css`
|
||||
font-weight: 500; // 增加字体粗细
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -91,7 +93,8 @@ export const issueList = css`
|
||||
}
|
||||
&:hover {
|
||||
background-color: ${themeVars.color.hover.opaque};
|
||||
transform: translateX(2px); // 轻微右移效果
|
||||
// 移除 transform 以避免创建新的层叠上下文
|
||||
// transform: translateX(2px); // 轻微右移效果
|
||||
}
|
||||
> .flex-item-icon {
|
||||
display: flex;
|
||||
@@ -134,7 +137,8 @@ export const issueList = css`
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
background-color: ${themeVars.color.hover.opaque};
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
.milestone-header {
|
||||
h3 {
|
||||
@@ -195,7 +199,8 @@ export const issuePins = css`
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); // 添加阴影
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
transform: translateY(-2px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -2px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); // 增强阴影
|
||||
}
|
||||
.content {
|
||||
@@ -233,7 +238,8 @@ export const button = css`
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
background-color: ${themeVars.color.hover.self};
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
// 移除 transform 以避免创建新的层叠上下文
|
||||
// transform: translateY(-1px); // 轻微上移效果
|
||||
}
|
||||
&:active {
|
||||
animation: pulse-click 200ms cubic-bezier(0.4, 0, 0.2, 1); // 点击脉冲效果
|
||||
@@ -248,7 +254,8 @@ export const button = 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); // 点击脉冲效果
|
||||
@@ -263,7 +270,8 @@ export const button = 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); // 点击脉冲效果
|
||||
@@ -304,7 +312,8 @@ export const babel = css`
|
||||
border-color: ${themeVars.github.bgColor.success.emphasis} !important;
|
||||
&:hover {
|
||||
opacity: 0.9; // 悬停时降低不透明度
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -314,7 +323,8 @@ export const babel = css`
|
||||
border-color: ${themeVars.github.bgColor.done.emphasis} !important;
|
||||
&:hover {
|
||||
opacity: 0.9; // 悬停时降低不透明度
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -324,7 +334,8 @@ export const babel = css`
|
||||
border-color: ${themeVars.github.bgColor.done.emphasis} !important;
|
||||
&:hover {
|
||||
opacity: 0.9; // 悬停时降低不透明度
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -345,7 +356,8 @@ export const prBranch = css`
|
||||
&:hover {
|
||||
background-color: ${themeVars.github.bgColor.accent.emphasis};
|
||||
color: ${themeVars.color.white};
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
// 移除 transform 以避免创建新的层叠上下文
|
||||
// transform: translateY(-1px); // 轻微上移效果
|
||||
}
|
||||
}
|
||||
|
||||
@@ -394,7 +406,8 @@ export const comment = css`
|
||||
border-radius: 25px; // 增加圆角
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
// 隐藏顶部菜单的表情按钮
|
||||
@@ -414,9 +427,9 @@ export const comment = css`
|
||||
border-radius: 8px; // 增加圆角
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
background-color: ${themeVars.color.red.badge.bg} !important;
|
||||
color: ${themeVars.color.red.light};
|
||||
transform: translateX(2px); // 轻微右移效果
|
||||
position: relative;
|
||||
left: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -436,7 +449,8 @@ export const comment = css`
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
background: ${themeVars.color.hover.self};
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
// 底部表情栏
|
||||
@@ -450,7 +464,8 @@ export const comment = css`
|
||||
&:hover {
|
||||
background-color: ${themeVars.color.reaction.hoverBg} !important;
|
||||
border-color: ${themeVars.color.light.border};
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
.reaction {
|
||||
font-size: 12px;
|
||||
@@ -498,7 +513,8 @@ export const dropdown = css`
|
||||
border-radius: 8px; // 增加圆角
|
||||
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); // 添加过渡效果
|
||||
&:hover {
|
||||
transform: translateX(2px); // 轻微右移效果
|
||||
position: relative;
|
||||
left: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -552,6 +568,7 @@ export const prMerge = css`
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
position: relative;
|
||||
transform: scale(1.05); // 轻微放大效果
|
||||
}
|
||||
}
|
||||
@@ -586,7 +603,8 @@ export const prMerge = css`
|
||||
}
|
||||
&:hover {
|
||||
background-color: ${themeVars.color.hover.opaque};
|
||||
transform: translateX(2px); // 轻微右移效果
|
||||
position: relative;
|
||||
left: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -721,7 +739,8 @@ export const issueSidebar = 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;
|
||||
}
|
||||
}
|
||||
.ui.list {
|
||||
@@ -739,7 +758,8 @@ export const issueSidebar = 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;
|
||||
}
|
||||
}
|
||||
// 选中日期颜色
|
||||
@@ -760,7 +780,8 @@ export const issueSidebar = css`
|
||||
margin: 0 !important;
|
||||
}
|
||||
&:hover {
|
||||
transform: translateY(-1px); // 轻微上移效果
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
// PIN 按钮
|
||||
@@ -778,7 +799,8 @@ export const issueSidebar = 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;
|
||||
}
|
||||
}
|
||||
.ui.show-modal.button[data-modal="#sidebar-delete-issue"] {
|
||||
|
||||
Reference in New Issue
Block a user