From 0315b064c59fa99d68b8472fa3c052863bd395b3 Mon Sep 17 00:00:00 2001 From: liuwei Date: Thu, 26 Feb 2026 14:58:21 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"codex=20=20=E8=AF=95=E7=94=A8?= =?UTF-8?q?=EF=BC=8C=E7=BE=8E=E5=8C=96"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit b93c171d361c3cae953b2368d3f609a6959abf90. --- admin/dashboard/templates/base.html | 50 +++++++---------------------- 1 file changed, 12 insertions(+), 38 deletions(-) diff --git a/admin/dashboard/templates/base.html b/admin/dashboard/templates/base.html index 482a0e6..3879e67 100644 --- a/admin/dashboard/templates/base.html +++ b/admin/dashboard/templates/base.html @@ -98,56 +98,30 @@ ------------------------------ */ .sidebar { width: 190px; - background: #0b1d33; - border-right: 1px solid #0f2a4a; - box-shadow: 4px 0 14px rgba(0, 163, 255, 0.12); + background: #fafafa; + border-right: 1px solid #e5e6eb; + box-shadow: 2px 0 4px rgba(0,0,0,0.03); } /* Element 菜单自定义美化 */ .el-menu { border-right: none !important; - background: transparent !important; - padding: 6px 6px !important; } .el-menu-item { height: 46px !important; line-height: 46px !important; - margin: 4px 2px !important; - border-radius: 6px !important; - color: #cfe6ff !important; - transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease !important; - position: relative; + margin: 2px 4px !important; + border-radius: 0 !important; + transition: 0.2s !important; } .el-menu-item:hover { - background: rgba(60, 203, 255, 0.12) !important; - color: #e9f6ff !important; + background: #e5e6eb55 !important; } .el-menu-item.is-active { - background: rgba(60, 203, 255, 0.18) !important; - color: #5bd3ff !important; + background: #e3e6ff !important; + color: #2f54eb !important; font-weight: 600; - box-shadow: inset 0 0 0 1px rgba(91, 211, 255, 0.35), - 0 0 10px rgba(91, 211, 255, 0.25); - } - .el-menu-item.is-active::before { - content: ""; - position: absolute; - left: 0; - top: 10px; - bottom: 10px; - width: 3px; - background: #5bd3ff; - box-shadow: 0 0 10px rgba(91, 211, 255, 0.6); - border-radius: 2px; - } - .el-menu-item i { - color: #8db7e6 !important; - margin-right: 6px; - } - .el-menu-item.is-active i, - .el-menu-item:hover i { - color: #5bd3ff !important; } /* ------------------------------ @@ -225,9 +199,9 @@