On Thursday, January 23, 2020 at 4:43:27 AM UTC-8, bimlas wrote:
>
> Eric,
>
> It has an on-hover "more button" showing tools.
>>>
>>
>> Yes... this makes it easy to use "New Here" to add a new child item to
>> the tree
>>
>
> In my opinion, this solution is not really usable on the phone (although I
> have only tried it in DeveloperTools Responsive view), because hover is
> only possible with the mouse.
>
I created my custom TOC (and associated styles) for use in my TiddlyBook
framework. The expectation is that *authoring* activities would occur on a
fully-capable platform (e.g., a desktop system), while *reading* activities
could occur on both desktop and mobile platforms. In the TOC, the "hide
until hover" styles are applied to both the "more" (down arrow) menu button
and the "toggle favorite" (star) buttons. This was done to reduce visual
clutter. Note that both of these buttons are also available, *without
hovering*, directly in the titlebar of the currently displayed tiddler, so
it's not as if the TOC display is the ONLY way to access these functions.
Nonetheless, there is an easy modification that will bypass the "hide until
hover" behaviors for the TOC buttons. All you need to do is to re-define
the default (non-hovering) "opacity:0.0" styles for these buttons.
Create a stylesheet tiddler (tagged with $:/tags/Stylesheet) containing:
.tt-toc-item .tt-favorite { opacity:0.5; }
.tt-toc-item .tt-toc-tools { opacity:0.5; }
That's all you need to do to make those buttons available on a mobile
(non-hovering) platform.
enjoy,
-e
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/e2aaf9bd-f698-4739-ba32-bd805a74dbd2%40googlegroups.com.