From 8928eb815c4113ecd37a94aacc6baf5a8b2f21f0 Mon Sep 17 00:00:00 2001 From: Dong Xia Date: Thu, 23 Feb 2023 07:13:23 +0000 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E8=89=B2=E4=B8=BB=E9=A2=98=E4=BE=A7?= =?UTF-8?q?=E8=BE=B9=E6=A0=8F=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dong Xia --- src/assets/theme/red.scss | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/assets/theme/red.scss b/src/assets/theme/red.scss index b0b4484..4907e06 100644 --- a/src/assets/theme/red.scss +++ b/src/assets/theme/red.scss @@ -135,4 +135,40 @@ body[data-theme='red'] { } } + .ant-layout-sider{ + border-right: 1px solid rgba($color: #eee, $alpha: 0.1); + background: url('../assets/images/linx-red/sider-bg.png'); + .side-menu { + background: url('../assets/images/linx-red/sider-bg.png'); + } + } + .side-menu{ + .ant-menu-submenu{ + margin: 15px 0; + .ant-menu{ + .ant-menu-item{ + margin: 0; + &.ant-menu-item-selected{ + background-color: $linx-red-theme; + } + } + } + } + } + .ant-menu-item{ + &.ant-menu-item-selected{ + background-color: $linx-red-theme; + &::after{ + background-color: #000; + } + } + } + .ant-menu-submenu-popup { + &.ant-menu-dark { + .ant-menu-item-selected { + background-color: $linx-red-theme; + } + } + } + } -- Gitee