From 9d38c126a58ec01a3e1dd415fa9c4ad9766a8a8a Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Mon, 20 Apr 2026 17:24:01 +0000 Subject: [PATCH] update sidebar --- assets/css/custom.css | 23 +++++++++++++++++++++++ includes/header.php | 14 +++++++------- 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 0fdc9a2..8e59ccc 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -10,6 +10,7 @@ body { } #sidebar-wrapper { min-height: 100vh; + height: 100vh; margin-left: calc(-1 * var(--sidebar-width)); transition: margin .25s ease-out; width: var(--sidebar-width); @@ -17,6 +18,11 @@ body { top: 0; left: 0; z-index: 1000; + overflow-y: auto; + overflow-x: hidden; + scrollbar-gutter: stable; + scrollbar-width: thin; + scrollbar-color: rgba(255, 255, 255, 0.35) transparent; background: #343a40; /* Dark theme sidebar */ } [dir="rtl"] #sidebar-wrapper { @@ -25,6 +31,23 @@ body { left: auto; right: 0; } +#sidebar-wrapper::-webkit-scrollbar { + width: 10px; +} +#sidebar-wrapper::-webkit-scrollbar-track { + background: rgba(255, 255, 255, 0.06); +} +#sidebar-wrapper::-webkit-scrollbar-thumb { + background: rgba(255, 255, 255, 0.28); + border-radius: 999px; + border: 2px solid rgba(52, 58, 64, 0.9); +} +#sidebar-wrapper::-webkit-scrollbar-thumb:hover { + background: rgba(255, 255, 255, 0.42); +} +#sidebar-navigation { + padding-bottom: 1rem !important; +} #wrapper.toggled #sidebar-wrapper { margin-left: 0; } diff --git a/includes/header.php b/includes/header.php index d8d72bb..1308962 100644 --- a/includes/header.php +++ b/includes/header.php @@ -66,7 +66,7 @@ $isPublic = !empty($forcePublic) || !isset($user) || !$user;
·
-
+ -