mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2026-10-28 09:44:55 +00:00
fix some hover border style on high-contrast
This commit is contained in:
3 files changed
+6
No files matched your search
@@ -272,6 +272,8 @@ export const github = {
|
||||
* @commit `commit` 提交信息的 Action 按钮的悬停边框色
|
||||
* @repo_files `fileSearch` 文件搜索框子项的悬停边框色 `repoFiles` README 右侧操作悬停边框色
|
||||
* @clone `clone` 克隆按钮和面板操作列表的悬停边框色
|
||||
* @brach_dropdown `branchDropdown` 菜单中分支切换按钮的悬停边框色
|
||||
* @repo `repoHeader` 仓库标题的悬停边框色
|
||||
* @templates @commit_sign_badge `commitSignBadge` SHA 标签悬停时的边框色
|
||||
* @templates @commits_list `commitsList` 提交操作按钮悬停时的边框色
|
||||
* @templates @view_list `repoFileLastCommit` 提交历史按钮悬停时的边框色
|
||||
|
||||
@@ -50,6 +50,7 @@ const repoHeader = css`
|
||||
border-radius: ${otherThemeVars.border.radius};
|
||||
&:hover {
|
||||
background: ${themeVars.github.control.transparent.bgColor.hover};
|
||||
box-shadow: inset 0 0 0 1px ${themeVars.github.control.transparent.borderColor.active};
|
||||
}
|
||||
&.muted:not(.tw-font-normal) {
|
||||
font-weight: 600;
|
||||
@@ -63,6 +64,7 @@ const repoHeader = css`
|
||||
margin-left: 4px;
|
||||
&:hover + .ui.custom.dropdown {
|
||||
background: ${themeVars.github.control.transparent.bgColor.hover};
|
||||
box-shadow: inset 0 0 0 1px ${themeVars.github.control.transparent.borderColor.active};
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -74,6 +76,7 @@ const repoHeader = css`
|
||||
height: 32px;
|
||||
&:hover {
|
||||
background: ${themeVars.github.control.transparent.bgColor.hover};
|
||||
box-shadow: inset 0 0 0 1px ${themeVars.github.control.transparent.borderColor.active};
|
||||
}
|
||||
.menu {
|
||||
> .item {
|
||||
|
||||
@@ -51,6 +51,7 @@ const branchDropdown = css`
|
||||
}
|
||||
&:hover {
|
||||
background: ${themeVars.github.control.transparent.bgColor.hover};
|
||||
box-shadow: inset 0 0 0 1px ${themeVars.github.control.transparent.borderColor.active};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user