Compare commits

..

3 Commits

Author SHA1 Message Date
lutinglt
c130e6c778 1.25.5 release 2026-03-13 21:03:41 +08:00
lutinglt
c6134161bf Fix no auto-focus of search filter on issue/PR properties #27 2026-02-26 11:51:55 +08:00
lutinglt
d65a5e8f67 navbar style 2026-02-02 15:53:43 +08:00
5 changed files with 9 additions and 4 deletions

View File

@@ -2,6 +2,8 @@
#### More aligned with GitHub style #### More aligned with GitHub style
##### Template File - Fine-tune the style of the navigation bar.
### 🐞 Fix ### 🐞 Fix
- Fix no auto-focus of search filter on issue/PR properties. #27

View File

@@ -1,6 +1,6 @@
{ {
"name": "gitea-github-theme", "name": "gitea-github-theme",
"version": "1.25.5.rc", "version": "1.25.5",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite build --mode dev", "dev": "vite build --mode dev",

View File

@@ -202,7 +202,7 @@ export function github2ThemeColor(githubColor: GithubColor): ThemeColor {
bg: githubColor.bgColor.emphasis, bg: githubColor.bgColor.emphasis,
}, },
nav: { nav: {
bg: githubColor.bgColor.muted, bg: githubColor.bgColor.inset,
hoverBg: githubColor.control.transparent.bgColor.hover, hoverBg: githubColor.control.transparent.bgColor.hover,
text: themeVars.color.text.self, text: themeVars.color.text.self,
}, },

View File

@@ -741,6 +741,10 @@ export const issueSidebar = css`
} }
} }
} }
// 修复菜单下拉打开时, 无法聚焦输入框
.menu input {
transition: none;
}
} }
// 时间追踪 // 时间追踪
> div:not([class]):not([id]) { > div:not([class]):not([id]) {

View File

@@ -3,7 +3,6 @@ import { css, customThemeVars, otherThemeVars, themeVars } from "src/types/vars"
export const navbarRight = css` export const navbarRight = css`
#navbar { #navbar {
border-bottom: 0;
padding: 8px 16px; // 上下内边距 + .navbar-left & .navbar-right 的 min-height = 64px padding: 8px 16px; // 上下内边距 + .navbar-left & .navbar-right 的 min-height = 64px
min-height: 64px; min-height: 64px;
.navbar-left, .navbar-left,