CSS Scrollbar settings start working with FF64

66 views
Skip to first unread message

PMario

unread,
Dec 2, 2018, 5:03:39 AM12/2/18
to tiddl...@googlegroups.com
Hi,

FireFox 64 starts to support CSS style settings for Scrollbars! \o/


So if you create a stylesheet eg: scrollbarStyles with this content.

.tc-sidebar-scrollable:hover {
  scrollbar
-width: unset;
}

html
,
.tc-sidebar-scrollable {
/*  scrollbar-color: lightgray #eee;*/
  scrollbar
-width: thin;
}


It will create thin scroll-bars. If you hover the sidebar, it will increase the width, to indicate, which one is active.

You can disable, this behaviour if you don't like it. ... Just don't set the :hover state :)

--------------------

This also works for FF63 if you enter: about:config and set the variable: layout.css.scrollbar-width.enabled to true

--------------------

This setting doesn't really matter for Safari and for many unix versions, since scrollbars are handled by the OS already. ... But it's definitely worth a try for all windows users.

have fun!
Mario
PS:
I did add a json file, that you can import for less typing.


scrollbarStyles.json

PMario

unread,
Dec 2, 2018, 5:05:53 AM12/2/18
to TiddlyWiki
typo fixed

This also works for FF63 if you enter: about:config and set the variable: layout.css.scrollbar-width.enabled to true

-m

@TiddlyTweeter

unread,
Dec 2, 2018, 8:38:49 AM12/2/18
to TiddlyWiki
Molto benissimo! Grazie per il testa a testa!
Reply all
Reply to author
Forward
0 new messages