Skip to content

Commit

Permalink
fix: style and files for custom scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanzyTHEbar committed Jan 25, 2023
1 parent 966b4d5 commit a210543
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 24 deletions.
1 change: 1 addition & 0 deletions GUI/ETVR/src/styles/imports.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
/* Custom Imports */
@import 'index.css';
@import 'titlebar.css';
@import 'scrollbar.css';
24 changes: 0 additions & 24 deletions GUI/ETVR/src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,27 +73,3 @@ body {
/* Clothoid Gradient */
background: linear-gradient(247.32deg, #282830 0%, #181c28 100%);
}

/* width */
::-webkit-scrollbar {
width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey;
margin-top: 0.48rem;
margin-bottom: 0.48rem;
border-radius: 1rem;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #ae6d6d;
border-radius: 1rem;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #b24646;
}
21 changes: 21 additions & 0 deletions GUI/ETVR/src/styles/scrollbar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* width */
::-webkit-scrollbar {
width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey;
border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #6d7faeb4;
border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #6d7fae;
}

0 comments on commit a210543

Please sign in to comment.