From a27c82df204c4a219d9a8445eafa1e12c9e24cea Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 18 Sep 2024 17:57:20 +0200 Subject: [PATCH] Change color border --- html/css/style-classic7.css | 7 +++++-- include/template/menu.php | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css index f983e7418..feb20acf6 100644 --- a/html/css/style-classic7.css +++ b/html/css/style-classic7.css @@ -3298,7 +3298,6 @@ margin:1px; } li.li-active { background-color: lightgray !important; - } .nav-level2 { background-color: hsl(240, 39%, 41.2%); @@ -3716,7 +3715,7 @@ h2.h-section { right:0; position:absolute; height:var(--border-size); - background-color:crimson; + background-color:lightgrey; transform:scaleX(0); transition:transform 300ms ease-in-out; } @@ -3727,3 +3726,7 @@ h2.h-section { transform:scaleX(1); } + .nav-item.li-active.nav-item-underline::before { + transform: scale(1); + background-color: darkred; + } \ No newline at end of file diff --git a/include/template/menu.php b/include/template/menu.php index de87e4c19..fa21b41f9 100644 --- a/include/template/menu.php +++ b/include/template/menu.php @@ -50,7 +50,7 @@ $a_request=explode('/', $access_code); if ( isset($a_request [$level+1]) && $a_request[$level+1]==$amenu[$i]['me_code']) { $class_link="nav-link active"; - $class_list_element="nav-item li-active"; + $class_list_element="nav-item li-active nav-item-underline"; } if ( $level == 0) { $url=$a_request[0];