From 55103f393bab46405f433ef4ae3755744455b5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com> Date: Fri, 10 Mar 2023 16:26:42 +0800 Subject: [PATCH] =?UTF-8?q?iconfont=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/compenents/left-menu/index.tsx | 2 +- src/index.less | 18 +----------------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/src/compenents/left-menu/index.tsx b/src/compenents/left-menu/index.tsx index 4931c25..1826d15 100644 --- a/src/compenents/left-menu/index.tsx +++ b/src/compenents/left-menu/index.tsx @@ -19,7 +19,7 @@ const items = [ getItem( "首页概览", "/", - , + , null, null ), diff --git a/src/index.less b/src/index.less index 540b414..a143aac 100644 --- a/src/index.less +++ b/src/index.less @@ -109,6 +109,7 @@ code { color: #04c877; } + .c-red { color: #ff4d4f; } @@ -153,10 +154,6 @@ code { margin-right: 16px !important; margin-top: 8px !important; margin-bottom: 8px !important; - color: rgba(#333333, 0.3); - .ant-menu-title-content { - color: #333333; - } } .ant-menu-submenu { @@ -165,10 +162,6 @@ code { margin-right: 12px !important; margin-top: 6px !important; margin-bottom: 6px !important; - color: rgba(#333333, 0.3); - .ant-menu-title-content { - color: #333333; - } } .ant-menu, @@ -191,24 +184,15 @@ code { .ant-menu-submenu-active > .ant-menu-submenu-title { background-color: rgba(#ff4d4f, 0.1) !important; - .iconfont { - color: rgba(#333333, 0.3); - } } .ant-menu-item-active { background-color: rgba(#ff4d4f, 0.1) !important; - .iconfont { - color: rgba(#333333, 0.3) !important; - } } .ant-menu-item-selected { background-color: #ff4d4f !important; color: white !important; - .ant-menu-title-content { - color: white; - } } .ant-menu-submenu-selected > .ant-menu-submenu-title {