Is there anyway to use wildcards in CSS to only manipulate parts of a tag?
I format my Tags extensively to make the autocomplete more helpful, but the readability suffers as a result.
For instance:
##|Reply
##|Draft
##|Build
@@(City)Hamburg
@@(City)Oslo
Used in a task: “##|Build house in @@(City)Hamburg”
Should ideally become:
Reply
Draft
Build
Hamburg
Oslo
Used in a task: “Build house in Hamburg”
I know how to do it on a per tag basis, but that is a bit too manual for my taste. I want to target “##|” and “@@(City)” This way I can add tags without doing any more CSS customisation.
You can target all tags beginning with a string easily:
a[title^=“Filter @@(”]
Should match all your location tags.
As for removing parts of the text, you can‘t do that with CSS directly. But you might be able to use something like text-indent:-30px with overflow:hidden to obscure the beginning of the tag text. I haven‘t tried that, though. I‘d be happy to experiment a bit further if you like.