From 3c8c36f34742a1231e066abdc5662a254fe00860 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 18 Jan 2025 12:51:44 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20(navbar):=20persistent=20navbar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../themes/koblog/css/koblog.bootstrap.css | 4 ++ bl-kernel/admin/themes/koblog/html/navbar.php | 63 ++++++++++++------- .../admin/themes/koblog/html/sidebar.php | 21 +------ bl-kernel/admin/themes/koblog/index.php | 8 +-- bl-kernel/login.class.php | 10 +++ 5 files changed, 61 insertions(+), 45 deletions(-) diff --git a/bl-kernel/admin/themes/koblog/css/koblog.bootstrap.css b/bl-kernel/admin/themes/koblog/css/koblog.bootstrap.css index 57db60c7..1b15cd23 100644 --- a/bl-kernel/admin/themes/koblog/css/koblog.bootstrap.css +++ b/bl-kernel/admin/themes/koblog/css/koblog.bootstrap.css @@ -23,6 +23,10 @@ body { padding: 1rem; } +.dropdown-item:focus, .dropdown-item:hover { + background-color: rgba(0,0,0,0.1); +} + .admin-sidebar h4 { font-weight: bolder; font-size: 1rem; diff --git a/bl-kernel/admin/themes/koblog/html/navbar.php b/bl-kernel/admin/themes/koblog/html/navbar.php index 6854f8fd..b627ce34 100644 --- a/bl-kernel/admin/themes/koblog/html/navbar.php +++ b/bl-kernel/admin/themes/koblog/html/navbar.php @@ -1,13 +1,12 @@ - diff --git a/bl-kernel/admin/themes/koblog/html/sidebar.php b/bl-kernel/admin/themes/koblog/html/sidebar.php index 771f6cad..8217e80c 100644 --- a/bl-kernel/admin/themes/koblog/html/sidebar.php +++ b/bl-kernel/admin/themes/koblog/html/sidebar.php @@ -1,19 +1,7 @@ diff --git a/bl-kernel/admin/themes/koblog/index.php b/bl-kernel/admin/themes/koblog/index.php index 99fbff08..608719a9 100644 --- a/bl-kernel/admin/themes/koblog/index.php +++ b/bl-kernel/admin/themes/koblog/index.php @@ -62,13 +62,13 @@ -
+
-
+
-
+
@@ -77,7 +77,7 @@ -
+
username()); + return $user; + } catch (Exception $e) { + // Continue without permissions + } + } + public function logout() { $this->invalidateRememberMe();