Closed cintaccs closed 4 years ago
Does it cover the UI on other OSes like Linux and Windows? I've yet to try this.
no it is ignored on FF e.g.
and in chrome
again the coloring can be discussed - but getting rid of the 90´s browserlook is generally appreciated :-)
I see no difference in this behavior in between Mac OS Chrome/Safari and Windows Chrome (as I recall).
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!
Description
I used
to get rid of the web effect of the scroll bars. I know it is only webkit / chrome / edge .. but ...