mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2026-10-28 09:44:55 +00:00
28.2.0
This commit is contained in:
8 files changed
+9
-19
No files matched your search
@@ -18,5 +18,6 @@
|
|||||||
### 🐞 Fix
|
### 🐞 Fix
|
||||||
|
|
||||||
- Fix unnecessary background colors on subscription list pages under certain themes.
|
- 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 unnecessary spacing in the title icon of the subscription list page.
|
||||||
- Fix the missing floating border color of some elements in high contrast themes.
|
- Fix the missing floating border color of some elements in high contrast themes.
|
||||||
+2
-2
@@ -44,8 +44,8 @@
|
|||||||
<div class="navbar-right">
|
<div class="navbar-right">
|
||||||
{{if and .IsSigned .MustChangePassword}}
|
{{if and .IsSigned .MustChangePassword}}
|
||||||
<div class="ui dropdown jump item" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
|
<div class="ui dropdown jump item" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
|
||||||
<span class="text">
|
<span class="flex-text-block">
|
||||||
{{ctx.AvatarUtils.Avatar .SignedUser 24 "tw-mr-1"}}
|
{{ctx.AvatarUtils.Avatar .SignedUser 24}}
|
||||||
<span class="only-mobile">{{.SignedUser.Name}}</span>
|
<span class="only-mobile">{{.SignedUser.Name}}</span>
|
||||||
<span class="not-mobile flex-text-block">{{svg "octicon-triangle-down"}}</span>
|
<span class="not-mobile flex-text-block">{{svg "octicon-triangle-down"}}</span>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{{- $itemExtraClass := .ItemExtraClass -}}
|
{{- $itemExtraClass := .ItemExtraClass -}}
|
||||||
{{- $data := .PageGlobalData -}}
|
{{- $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 -}}
|
{{- $activeStopwatch := call $data.GetActiveStopwatch -}}
|
||||||
{{- $notificationUnreadCount := call $data.GetNotificationUnreadCount -}}
|
{{- $notificationUnreadCount := call $data.GetNotificationUnreadCount -}}
|
||||||
{{/* always rendered so a real-time push can reveal it without a reload */}}
|
{{/* always rendered so a real-time push can reveal it without a reload */}}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@lutinglt/gitea-github-theme",
|
"name": "@lutinglt/gitea-github-theme",
|
||||||
"version": "28.1.0",
|
"version": "28.2.0",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "lutinglt",
|
"name": "lutinglt",
|
||||||
|
|||||||
@@ -77,18 +77,6 @@ const navbarRight = css`
|
|||||||
/* 带下拉菜单的按钮 */
|
/* 带下拉菜单的按钮 */
|
||||||
&.ui.dropdown {
|
&.ui.dropdown {
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
.text {
|
|
||||||
display: grid;
|
|
||||||
grid-auto-flow: column;
|
|
||||||
align-items: center;
|
|
||||||
> svg {
|
|
||||||
margin-right: 4px;
|
|
||||||
}
|
|
||||||
/* 三角号纠正高度保持居中 */
|
|
||||||
.not-mobile {
|
|
||||||
height: 16px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: ${themeVars.color.nav.hoverBg};
|
background-color: ${themeVars.color.nav.hoverBg};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ const packagesDetail = css`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.packages-content-right {
|
.packages-content-right {
|
||||||
|
background: unset;
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0px 16px;
|
padding: 0px 16px;
|
||||||
width: 304px;
|
width: 304px;
|
||||||
|
|||||||
@@ -33,8 +33,8 @@
|
|||||||
<div class="navbar-right">
|
<div class="navbar-right">
|
||||||
{{if and .IsSigned .MustChangePassword}}
|
{{if and .IsSigned .MustChangePassword}}
|
||||||
<div class="ui dropdown jump item" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
|
<div class="ui dropdown jump item" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
|
||||||
<span class="text">
|
<span class="flex-text-block">
|
||||||
{{ctx.AvatarUtils.Avatar .SignedUser 24 "tw-mr-1"}}
|
{{ctx.AvatarUtils.Avatar .SignedUser 24}}
|
||||||
<span class="only-mobile">{{.SignedUser.Name}}</span>
|
<span class="only-mobile">{{.SignedUser.Name}}</span>
|
||||||
<span class="not-mobile flex-text-block">{{svg "octicon-triangle-down"}}</span>
|
<span class="not-mobile flex-text-block">{{svg "octicon-triangle-down"}}</span>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{{- $itemExtraClass := .ItemExtraClass -}}
|
{{- $itemExtraClass := .ItemExtraClass -}}
|
||||||
{{- $data := .PageGlobalData -}}
|
{{- $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 -}}
|
{{- $activeStopwatch := call $data.GetActiveStopwatch -}}
|
||||||
{{- $notificationUnreadCount := call $data.GetNotificationUnreadCount -}}
|
{{- $notificationUnreadCount := call $data.GetNotificationUnreadCount -}}
|
||||||
{{/* always rendered so a real-time push can reveal it without a reload */}}
|
{{/* always rendered so a real-time push can reveal it without a reload */}}
|
||||||
|
|||||||
Reference in new issue
Block a user