dropdown 迁移

This commit is contained in:
lutinglt
2025-07-05 21:48:37 +08:00
parent 49b08975d2
commit f68ad71ddb
7 changed files with 83 additions and 151 deletions

View File

@@ -1,5 +1,5 @@
import { animation } from "src/core/theme";
import { css, themeVars } from "src/types/vars";
import { css, otherThemeVars, themeVars } from "src/types/vars";
// 一些界面内的提示框, 比如克隆按钮, PR信息, Runner信息 等
export const tippyBox = css`
@@ -23,5 +23,17 @@ export const tippyBox = css`
}
}
}
// 差异对比中文件路径行右侧的三个点菜单
&[data-theme="menu"] {
.tippy-content {
padding: 0.5rem;
.item {
border-radius: ${otherThemeVars.border.radius};
&:hover {
background-color: ${themeVars.github.control.transparent.bgColor.hover};
}
}
}
}
}
`;