From 443f9afe604a3ee9ef6f3a110d54290ecd6c3975 Mon Sep 17 00:00:00 2001 From: QQ Date: Tue, 3 Nov 2026 09:39:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E8=AF=AD=E8=A8=80=E5=9C=86=E7=82=B9?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=93=81=E7=89=8C=E8=93=9D=EF=BC=88=E5=8E=8B?= =?UTF-8?q?=E6=8E=89=20Shell=20=E7=9A=84=20#89e051=20=E7=BB=BF=EF=BC=89?= =?UTF-8?q?=EF=BC=8C=E9=A1=B5=E8=84=9A=E5=8E=BB=E9=87=8D=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=20Powered=20by=20Gitea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/public/assets/css/qq-ui.css | 9 +++++++++ custom/templates/custom/footer.tmpl | 20 ++++++++++---------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/custom/public/assets/css/qq-ui.css b/custom/public/assets/css/qq-ui.css index 6f11f11..7e42a98 100644 --- a/custom/public/assets/css/qq-ui.css +++ b/custom/public/assets/css/qq-ui.css @@ -207,3 +207,12 @@ samp, .qq-footer a:hover { color: var(--color-primary); } + +/* --------------------------------------------------------------------------- + 语言圆点:列表里的 + 颜色是 Go 侧按语言写死的内联样式,只有 !important 能压住。 + 统一收成品牌蓝,既消除 Shell 那个绿色,也避免彩虹点破坏极简感。 + --------------------------------------------------------------------------- */ +.color-icon { + background-color: var(--color-primary) !important; +} diff --git a/custom/templates/custom/footer.tmpl b/custom/templates/custom/footer.tmpl index 4493cc5..c776b2f 100644 --- a/custom/templates/custom/footer.tmpl +++ b/custom/templates/custom/footer.tmpl @@ -1,12 +1,12 @@ {{/* - custom/footer.tmpl —— 注入到 之前(见 base/footer.tmpl 第 30 行) - 极简页脚:品牌名 + 版本 + 备案位(默认注释,填好后取消注释即可生效) + custom/footer.tmpl —— 注入到 之前(base/footer.tmpl 第 30 行) + + Gitea 原生页脚已经带了「Powered by Gitea + 版本 + 语言/许可证/API」, + 所以这里默认**留空**,避免出现两行重复的品牌信息。 + + 需要挂备案号时,取消下面整段的注释并填上你的号即可(样式见 qq-ui.css 的 .qq-footer): + + */}} -