Skip to content

Commit

Permalink
pref(#6) - Remove Branding Styles
Browse files Browse the repository at this point in the history
  • Loading branch information
gaeaehrlich committed Feb 27, 2022
1 parent 6f612b7 commit 652e1e3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/components/Scrollable/Scrollable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@
--scrollable-track-thickness: 12px;
--scrollable-thumb-thickness: Calc(var(--scrollable-track-thickness)/2);
--scrollable-thumb-offset: 3px;
--scrollable-thumb-color: silver;

position: relative;
max-height: 100%;
max-width: 100%;
display: flex;

&:hover > .scrollbar-track .scrollbar-thumb .scrollbar-thumb-inner {
opacity: 1;
transition-delay: 0s;
}

.scrollbar-inner {
position: relative;
overflow: auto;
Expand All @@ -37,10 +33,7 @@
cursor: pointer;

.scrollbar-thumb-inner {
background-color: rgba(28, 34, 43, 0.6);
border-radius: 4px;
opacity: 0;
transition: opacity 0.2s ease-out 0.5s; // The transition delay is used to keep the thumb visible for a short time when the cursor leaves. (see `Scrollable.constants.js`)
background-color: var(--scrollable-thumb-color);
}
}
}
Expand Down

0 comments on commit 652e1e3

Please sign in to comment.