Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented Customized Scrollbar Feature #333

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Implemented customized scrollbar feature
Refactored the CSS code to introduce a custom scrollbar consistent with modern design trends. The new scrollbar design aligns with the desired appearance, replacing the default one.

Changes Made:
- Added custom scrollbar CSS rules.
- Removed the default scrollbar appearance.

These adjustments have been carefully implemented to maintain the smooth
and polished UI.

Resolves Issue: #327

Signed-off-by: Akhilender <akhilenderb9@gmail.com>
akhilender-bongirwar committed Aug 31, 2023
commit 87453af06a2321393ae307b43978428f83ed8b8e
16 changes: 16 additions & 0 deletions docs/_sass/layout.scss
Original file line number Diff line number Diff line change
@@ -542,3 +542,19 @@ hr {
grid-template-columns: 1fr;
}
}
/* Custom Scrollbar*/
::-webkit-scrollbar{
width: 8px;
}
::-webkit-scrollbar-track {
background-color: #ffffff;
}
::-webkit-scrollbar-thumb {
background-color: #393E46;
border-radius: 12px;
box-shadow: inset 0 0 6px rgba(0,0,0,.3);
transition: background-color 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
background: #555b66;
}