From ebe3d1df2c0ce956ae26444165c338c9c1b4aa1c Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 7 Apr 2023 14:36:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/edu-purge.css | 20 +++++++++++++++----- src/forge/Head/Header.js | 11 +++++++---- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/public/css/edu-purge.css b/public/css/edu-purge.css index ee9473c83..96cbc4a78 100644 --- a/public/css/edu-purge.css +++ b/public/css/edu-purge.css @@ -3993,7 +3993,9 @@ html>body #ajax-indicator { .downMenus li:hover aside{ color: #165dff!important; } - +.namediv{ + display: flex; +} .head-nav ul#header-nav li a { display: flex; align-items: center; @@ -4001,19 +4003,27 @@ html>body #ajax-indicator { width: 100%; color: #fff; font-size: 16px; + position: relative; } .head-nav ul#header-nav li a:hover{ color: #c5c5c5!important; } -#header-nav li a i{ +#header-nav li .namediv i{ font-size: 14px!important; display: inline-block; color: #979797; margin:0px 3.58px 0px 3px; + transform: translateY(0.5px); } - -.head-nav ul#header-nav li a:hover,.head-nav ul#header-nav li.active a { - color: #5091FF; +#header-nav li.active a::before{ + content: ''; + width: 100%; + height: 2px; + background: #c5c5c5; + position: absolute; + bottom: 12px; + left: 0; + border-radius: 1px; } .head-nav ul#header-nav li:last-child { diff --git a/src/forge/Head/Header.js b/src/forge/Head/Header.js index 710cd43ba..89d036850 100644 --- a/src/forge/Head/Header.js +++ b/src/forge/Head/Header.js @@ -384,7 +384,7 @@ class NewHeader extends Component { { item.map((i,k)=>{ return( - !i.hidden &&