fix: not awful scrollbar on windows
This commit is contained in:
parent
c67c66e4fe
commit
9bd2aa4936
3 changed files with 27 additions and 2 deletions
|
@ -34,6 +34,7 @@
|
||||||
@import 'component/notice';
|
@import 'component/notice';
|
||||||
@import 'component/pagination';
|
@import 'component/pagination';
|
||||||
@import 'component/placeholder';
|
@import 'component/placeholder';
|
||||||
|
@import 'component/scrollbar';
|
||||||
@import 'component/search';
|
@import 'component/search';
|
||||||
@import 'component/snack-bar';
|
@import 'component/snack-bar';
|
||||||
@import 'component/spinner';
|
@import 'component/spinner';
|
||||||
|
|
|
@ -93,6 +93,8 @@
|
||||||
width: var(--header-height);
|
width: var(--header-height);
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
|
stroke: $lbry-black;
|
||||||
|
|
||||||
&:only-child {
|
&:only-child {
|
||||||
// Header icons are a little different because they are larger
|
// Header icons are a little different because they are larger
|
||||||
top: 0.25rem;
|
top: 0.25rem;
|
||||||
|
@ -112,8 +114,7 @@
|
||||||
.lbry-icon {
|
.lbry-icon {
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
top: 0.5rem;
|
top: 0.6rem;
|
||||||
color: $lbry-white;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
23
src/ui/scss/component/_scrollbar.scss
Normal file
23
src/ui/scss/component/_scrollbar.scss
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 6px;
|
||||||
|
height: 5px;
|
||||||
|
|
||||||
|
background-color: transparent;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background-color: $lbry-gray-3;
|
||||||
|
|
||||||
|
html[data-mode='dark'] & {
|
||||||
|
background-color: $lbry-gray-5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb:active {
|
||||||
|
background-color: $lbry-teal-3;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue