From c0c2d14e3de4edac104d01e4eaf1fd177760644a Mon Sep 17 00:00:00 2001 From: binary-husky Date: Sat, 23 Sep 2023 23:58:32 +0800 Subject: [PATCH] better scrollbar --- themes/common.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/themes/common.css b/themes/common.css index 033bb7a..8084d4d 100644 --- a/themes/common.css +++ b/themes/common.css @@ -50,3 +50,25 @@ gap: 4px; padding-block: 2px !important; } + + +/* Scrollbar Width */ +::-webkit-scrollbar { +width: 12px; +} + +/* Scrollbar Track */ +::-webkit-scrollbar-track { +background: #f1f1f1; +} + +/* Scrollbar Handle */ +::-webkit-scrollbar-thumb { +background: #888; +border-radius: 12px; /* Round the edges of the thumb */ +} + +/* Scrollbar Handle on hover */ +::-webkit-scrollbar-thumb:hover { +background: #555; +} \ No newline at end of file