mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 13:00:31 +00:00
分支菜单项目添加动画效果
This commit is contained in:
2
.github/release.md
vendored
2
.github/release.md
vendored
@@ -1,5 +1,7 @@
|
|||||||
## 🌈 Style
|
## 🌈 Style
|
||||||
|
|
||||||
|
- 分支菜单项目添加动画效果
|
||||||
|
|
||||||
#### 更符合 GitHub 风格
|
#### 更符合 GitHub 风格
|
||||||
|
|
||||||
- 同步 PR 的合并提交操作面板样式
|
- 同步 PR 的合并提交操作面板样式
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ export const dropdown = css`
|
|||||||
box-shadow: ${themeVars.github.shadow.floating.small} !important;
|
box-shadow: ${themeVars.github.shadow.floating.small} !important;
|
||||||
// 忽略隐藏
|
// 忽略隐藏
|
||||||
> .item:not(.tw-hidden) {
|
> .item:not(.tw-hidden) {
|
||||||
animation: ${animationDown};
|
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
@@ -174,3 +173,10 @@ export const fixSelectionDropdown = css`
|
|||||||
min-height: 32px;
|
min-height: 32px;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
// 分支菜单
|
||||||
|
export const branchDropdown = css`
|
||||||
|
.ui.dropdown.branch-selector-dropdown .menu > .item {
|
||||||
|
animation: ${animationDown};
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user