diff --git a/css/index.css b/css/index.css index 38e5d4a1..bac73b11 100644 --- a/css/index.css +++ b/css/index.css @@ -12,7 +12,39 @@ body { background: #dcdcdc !important; overflow-x: hidden; } - +/* Scrollbar */ +::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1); + background-color: #f5f5f5; + border-radius: 10px; +} +::-webkit-scrollbar { + width: 10px; + background-color: #f5f5f5; + transition: width 0.3s; +} +::-webkit-scrollbar-thumb { + border-radius: 10px; + background-color: #fff; + background-image: -webkit-gradient( + linear, + 40% 0%, + 75% 84%, + from(#0d6efd), + color-stop(0.4, #0d6efd), + color-stop(0.5, #1d7bfd), + color-stop(0.6, #3d8bfd), + to(#3d8bfd) + ); + transition: background-color 0.3s, width 0.3s; +} +/* Hover effect */ +::-webkit-scrollbar:hover { + width: 14px; +} +::-webkit-scrollbar-thumb:hover { + background-color: #0d6efd; +} .navname_ac .bi-chevron-up { display: none; }