CSS to show the expand arrows only when hovering the bullets content (not ONLY the arrow itself)
Does any body know the CSS to make the expand arrow show only when I hover over the bullets content. IE. like the plus sign used to.
Right now, all bullets with children show a faint arrow, that grows bolder when I hover over the bullet's content OR the arrow itself.
I'd like to ONLY show the bold arrow, and only when I hover over the line. In other words, I don't want to see the faint arrow, ever. I find it distracting and harmful to the overall legibilty!
In the blog post Pointing the way forward. Or downward. there's some CSS but it only shows the arrows when you hover over the arrows themselves. I want them to show when I hover over the bullet's content i.e. the text line itself.
THX
-
thanks guys for the prompt reply. My css also works with dark themes.
I do have and additional feature request.
The css also hides the bullets in the search/filter results.This is inconvenient because it doesn’t show the 45 degrees arrow of parent bullets that contain child bullets that match the search criteria but also contain additional child bullets not shown because they don’t match the search. This is a useful feature that gets lost with the modification.
the 45 degree bullets only show on hover.
any idea how I might tweak the css to show those?
-
If anybody is interested, I figured out how to do it.
I just added the CSS selectors for the light themes (both default and vintage) and for the dark theme. Workflowy uses another class when the app is in search mode, so that addind the themes selectors excludes the CSS rule application when in search mode.
/* hides the arrows in light theme (default and vintage, when not in search/filter mode) */
._cy0gf4 .expand {
color: transparent
}
/* hides the arrows in dark theme (when not in search/filter mode) */
._r3rifr .expand {
color: transparent
}
/* shows the arrows when hovering over the respective bullet's content */
.bullet:hover .expand {
color: rgb(75, 81, 85) ;
}
Please sign in to leave a comment.
Comments
7 comments