From 4855565c1d8dcd7d659b76a12d4b8b6d9a502c98 Mon Sep 17 00:00:00 2001 From: augushong Date: Fri, 2 Oct 2026 13:22:15 +0000 Subject: [PATCH] =?UTF-8?q?fix(theme):=20=E6=B8=85=E7=88=BD=E7=9A=AE?= =?UTF-8?q?=E8=82=A4=E5=BC=B9=E6=A1=86=E5=A4=B4=E9=83=A8=E6=B8=85=E6=96=B0?= =?UTF-8?q?=E5=8C=96=E4=B8=8Elogo=E5=9B=BE=E7=89=87=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/common/css/theme/_fresh.scss | 45 +++++++++++++++++++++- public/static/common/css/theme/index.css | 31 ++++++++++++++- 2 files changed, 74 insertions(+), 2 deletions(-) diff --git a/public/static/common/css/theme/_fresh.scss b/public/static/common/css/theme/_fresh.scss index 06ebb6c..f178eb2 100644 --- a/public/static/common/css/theme/_fresh.scss +++ b/public/static/common/css/theme/_fresh.scss @@ -52,7 +52,8 @@ $shadow-pop: 0 6px 16px rgba(31, 35, 41, .08); } .layui-layout-admin .layuimini-logo img { - height: 20px; + height : 30px; + vertical-align : middle; } .layui-layout-admin .layuimini-logo h1 { @@ -412,6 +413,48 @@ $shadow-pop: 0 6px 16px rgba(31, 35, 41, .08); border-bottom : 1px solid $border-light; } +// 弹框头部清新化(用户修正):public.css :394 `.layui-layer-easy .layui-layer-title` +// (0,2,0)! 深藏青 #2c3e50 压掉上方 (0,2,0) 白底(border-bottom 已生效、bg/color 失守, +// 实测 computed bg=rgb(44,62,80))。镜像其他皮肤同型做法(demo/sicfi/nes/win7/ +// neomorphic 均有此复合档),加 .layui-layer-easy 档以 (0,3,0)! 反杀;同源的深色 +// 附件一并清新化:setwin 关闭/最大化/最小化图标白色(public.css :449/:469/:485, +// 白底下不可见)、按钮区灰底灰钮蓝钮(public.css :421-440)。加载顺序上 +// theme/index.css 后于 public.css(顶层与 iframe 内容页均验证),同特异性 !important +// 亦稳赢。 +.layui-layer-easy .layui-layer-title { + background : #fff !important; + color : $text-main !important; + border-bottom: 1px solid $border-light !important; +} + +.layui-layer-easy .layui-layer-setwin > span, +.layui-layer-easy .layui-layer-setwin > a::after { + color: $text-sub !important; +} + +.layui-layer-easy .layui-layer-setwin .layui-layer-max::after, +.layui-layer-easy .layui-layer-setwin .layui-layer-max::before, +.layui-layer-easy .layui-layer-setwin .layui-layer-min::before { + border-color: $text-sub !important; +} + +.layui-layer-easy .layui-layer-btn { + background: #fafbfc; + border-top: 1px solid $border-light; +} + +.layui-layer-easy .layui-layer-btn a { + background-color: #fff !important; + border-color : $border !important; + color : $text-main !important; +} + +.layui-layer-easy .layui-layer-btn .layui-layer-btn0 { + background-color: $main !important; + border-color : $main !important; + color : #fff !important; +} + .layui-table thead tr, .layui-table-header { background-color: #fafbfc; diff --git a/public/static/common/css/theme/index.css b/public/static/common/css/theme/index.css index 4cd621f..733a21e 100644 --- a/public/static/common/css/theme/index.css +++ b/public/static/common/css/theme/index.css @@ -2190,7 +2190,8 @@ border-right: 1px solid #f0f2f5; } .elem-style-fresh .layui-layout-admin .layuimini-logo img { - height: 20px; + height: 30px; + vertical-align: middle; } .elem-style-fresh .layui-layout-admin .layuimini-logo h1 { color: #33383f !important; @@ -2439,6 +2440,34 @@ background-color: #fff; border-bottom: 1px solid #f0f2f5; } +.elem-style-fresh .layui-layer-easy .layui-layer-title { + background: #fff !important; + color: #33383f !important; + border-bottom: 1px solid #f0f2f5 !important; +} +.elem-style-fresh .layui-layer-easy .layui-layer-setwin > span, +.elem-style-fresh .layui-layer-easy .layui-layer-setwin > a::after { + color: #6b7280 !important; +} +.elem-style-fresh .layui-layer-easy .layui-layer-setwin .layui-layer-max::after, +.elem-style-fresh .layui-layer-easy .layui-layer-setwin .layui-layer-max::before, +.elem-style-fresh .layui-layer-easy .layui-layer-setwin .layui-layer-min::before { + border-color: #6b7280 !important; +} +.elem-style-fresh .layui-layer-easy .layui-layer-btn { + background: #fafbfc; + border-top: 1px solid #f0f2f5; +} +.elem-style-fresh .layui-layer-easy .layui-layer-btn a { + background-color: #fff !important; + border-color: #e5e9ef !important; + color: #33383f !important; +} +.elem-style-fresh .layui-layer-easy .layui-layer-btn .layui-layer-btn0 { + background-color: #1E9FFF !important; + border-color: #1E9FFF !important; + color: #fff !important; +} .elem-style-fresh .layui-table thead tr, .elem-style-fresh .layui-table-header { background-color: #fafbfc;