Unfortunately updating parents styles when something is done to children* is not possible in pure CSS. And currently dynalist also doesnāt mark Node-outer in any way when youāre working on nodes within it. But I think it can be done with custom JavaScript code injected through https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo . I might play with it in the future, itās a nice idea.
*It can only work with āhoverā event, but itās not good enough I suppose:
This works pretty well though, with the onhover, but I definitely want one based on where the current cursor is in dynalist (since I would definitely accidentally hover over things Iām not working on)
All the settings related to opacity / transition are pretty much spot on for what I wanted
If you did have a tampermonkey script, how would you integrate this with stylish anyhow?
thanks for the help piotr
also attached what it looks like on my screen:
EDIT Testing this a bit further, I think if somehow the tampermonkey script could use the unique URL I associated with it to do this āOn focusā effect. This way if i zoom into a mode that doesnāt have lots of information this effect doesnāt take place. Or by default, set it to work only on the 1st / 2nd bulletpoint from root document
Iāll probably experiment with this and write my own tampermonkey script to do this as well when i get around to it
I could see a lot of applications for this for other things like book writing in general
Tampermonkey gives you a lot of possibilities if you know JavaScript (I know a little bit). The problem here is that this is a dynamic application and AFAIK currently there is no way to listen to its events (onDocumentReady, onDocumentChanged, or sth similar) so itās doable, but not as simple as with typical websites.
Piotr I tested out your CSS code, this is how Iām using it right now:
2 Stylish CSS styles
One specific Dynalist URL (my main wiki/project pages of everything) has the āon hover effectā
My regular CSS sheet for my entire dynalist file
This way I can just choose between which effect I want. E.G. If I want to see the big picture with fading, or navigate to a specific bulletpoint with no fading