-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
for inspiration - scrollbars #173
Comments
Does it cover the UI on other OSes like Linux and Windows? I've yet to try this. |
I decided to add this suggestion to mimic that of Android datepicker's scrollbar. The following CSS works for all Webkit browsers and modern Firefox: .year-list-view__full-list {
max-height: calc(48px * 7);
overflow-y: auto;
scrollbar-color: var(--app-datepicker-scrollbar-thumb-bg-color, rgba(0, 0, 0, .35)) rgba(0, 0, 0, 0);
scrollbar-width: thin;
}
.year-list-view__full-list::-webkit-scrollbar {
width: 8px;
background-color: rgba(0, 0, 0, 0);
}
.year-list-view__full-list::-webkit-scrollbar-thumb {
background-color: var(--app-datepicker-scrollbar-thumb-bg-color, rgba(0, 0, 0, .35));
border-radius: 50px;
}
.year-list-view__full-list::-webkit-scrollbar-thumb:hover {
background-color: var(--app-datepicker-scrollbar-thumb-hover-bg-color, rgba(0, 0, 0, .5));
} 👍 Thanks for such suggestion! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I used
to get rid of the web effect of the scroll bars. I know it is only webkit / chrome / edge .. but ...
The text was updated successfully, but these errors were encountered: