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
Show file tree
Hide file tree
Changes from 2 commits
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
2 changes: 1 addition & 1 deletion docs/_sass/getnighthawk.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5533,7 +5533,7 @@ div.globalFooterCard.card-environment {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: auto;
margin: 2rem 0rem;
margin: 2rem 0rem 12rem 0rem;
padding: 2rem 0rem;
.card-item {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion docs/_sass/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ $blue-munsell-3: #4392a4ff;
// nighthawk-description startups

.nighthawk-description-div {
margin: -23rem auto 3rem auto;
margin: -23rem auto 12rem auto;
z-index: 1;
}
.description-div {
Expand Down
16 changes: 16 additions & 0 deletions docs/_sass/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}