This commit is contained in:
lutinglt committed 2026-10-19 09:35:58 +08:00
1 parent 0fe8140c10
commit dc86c2fb1a
8 files changed
+9 -19

No files matched your search

+1
View File
@@ -18,5 +18,6 @@
### 🐞 Fix
- Fix unnecessary background colors on subscription list pages under certain themes.
- Fix unnecessary background colors on packages detail pages under certain themes.
- Fix unnecessary spacing in the title icon of the subscription list page.
- Fix the missing floating border color of some elements in high contrast themes.
+2 -2
View File
@@ -44,8 +44,8 @@
<div class="navbar-right">
{{if and .IsSigned .MustChangePassword}}
<div class="ui dropdown jump item" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
<span class="text">
{{ctx.AvatarUtils.Avatar .SignedUser 24 "tw-mr-1"}}
<span class="flex-text-block">
{{ctx.AvatarUtils.Avatar .SignedUser 24}}
<span class="only-mobile">{{.SignedUser.Name}}</span>
<span class="not-mobile flex-text-block">{{svg "octicon-triangle-down"}}</span>
</span>
+1 -1
View File
@@ -1,6 +1,6 @@
{{- $itemExtraClass := .ItemExtraClass -}}
{{- $data := .PageGlobalData -}}
{{if and $data $data.IsSigned}}{{/* data may not exist, for example: rendering 503 page before the PageGlobalData middleware */}}
{{if and $data $data.IsSigned (not ctx.RootData.MustChangePassword)}}{{/* data may not exist, for example: rendering 503 page before the PageGlobalData middleware */}}
{{- $activeStopwatch := call $data.GetActiveStopwatch -}}
{{- $notificationUnreadCount := call $data.GetNotificationUnreadCount -}}
{{/* always rendered so a real-time push can reveal it without a reload */}}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lutinglt/gitea-github-theme",
"version": "28.1.0",
"version": "28.2.0",
"license": "Apache-2.0",
"author": {
"name": "lutinglt",
-12
View File
@@ -77,18 +77,6 @@ const navbarRight = css`
/* 带下拉菜单的按钮 */
&.ui.dropdown {
padding: 0 8px;
.text {
display: grid;
grid-auto-flow: column;
align-items: center;
> svg {
margin-right: 4px;
}
/* 三角号纠正高度保持居中 */
.not-mobile {
height: 16px;
}
}
&:hover {
background-color: ${themeVars.color.nav.hoverBg};
}
+1
View File
@@ -101,6 +101,7 @@ const packagesDetail = css`
}
}
.packages-content-right {
background: unset;
border: 0;
padding: 0px 16px;
width: 304px;
+2 -2
View File
@@ -33,8 +33,8 @@
<div class="navbar-right">
{{if and .IsSigned .MustChangePassword}}
<div class="ui dropdown jump item" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
<span class="text">
{{ctx.AvatarUtils.Avatar .SignedUser 24 "tw-mr-1"}}
<span class="flex-text-block">
{{ctx.AvatarUtils.Avatar .SignedUser 24}}
<span class="only-mobile">{{.SignedUser.Name}}</span>
<span class="not-mobile flex-text-block">{{svg "octicon-triangle-down"}}</span>
</span>
+1 -1
View File
@@ -1,6 +1,6 @@
{{- $itemExtraClass := .ItemExtraClass -}}
{{- $data := .PageGlobalData -}}
{{if and $data $data.IsSigned}}{{/* data may not exist, for example: rendering 503 page before the PageGlobalData middleware */}}
{{if and $data $data.IsSigned (not ctx.RootData.MustChangePassword)}}{{/* data may not exist, for example: rendering 503 page before the PageGlobalData middleware */}}
{{- $activeStopwatch := call $data.GetActiveStopwatch -}}
{{- $notificationUnreadCount := call $data.GetNotificationUnreadCount -}}
{{/* always rendered so a real-time push can reveal it without a reload */}}