enhance(admin): show impersonation banner and keep password change with the user (#38924)

Follow-up to https://github.com/go-gitea/gitea/pull/38614

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
bircniandwxiaoguang authored and GitHub committed 2026-08-14 22:23:30 +08:00
1 parent b6368965fb
commit dbe311197c
15 files changed
+73 -22

No files matched your search

+6
View File
@@ -32,6 +32,12 @@
color: var(--color-text);
}
.ui.button.hover-opaque:hover {
/* ".ui.button:hover" uses alpha channel to "highlight", it doesn't work when the background is not body: the inherited color is not right
for such case, use this opaque color */
background: var(--color-hover-opaque);
}
.ui.active.button,
.ui.button:active,
.ui.active.button:active,