noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 05/26: Change color border


From: dwm
Subject: [Noalyss-commit] [noalyss] 05/26: Change color border
Date: Wed, 25 Sep 2024 06:44:48 -0400 (EDT)

sparkyx pushed a commit to branch pre-stable
in repository noalyss.

commit 8080d8e713652a6914710ff053c615cc31b13355
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Sep 18 17:57:20 2024 +0200

    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];



reply via email to

[Prev in Thread] Current Thread [Next in Thread]