Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Custom scrollbar style for webkit browser
#28
The sbw approach is doable.

@bitlab, for the Firefox case do you mean like below?

Code:
/* Use custom scroll bars for desktop monitors */
@media (pointer: fine) {
   .custom-scrollbars ::-webkit-scrollbar {
       width: 10px;
   }

   .custom-scrollbars ::-webkit-scrollbar-track {
       -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.25);
       border-radius: 10px;
   }

   .custom-scrollbars ::-webkit-scrollbar-thumb {
       border-radius: 10px;
       -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.25);
       background-color: var(--textvariant);
        opacity:.25;
   }

    /* Firefox */
    * {
        .custom-scrollbars scrollbar-width: thin;
        .custom-scrollbars scrollbar-color: auto;
    }
}
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Custom scrollbar style for webkit browser - by Tim Curtis - 06-18-2020, 12:16 PM

Forum Jump: