Are you saying that ONE tiddler may have BOTH RezeptGetestet and
RezeptNICHTGetestet tags? In that case, you could add:
div.tc-tagged-RezeptGetestet.RezeptNICHTGetestet .tc-tiddler-title {
background-color: #012345;
}
If you run into specificity issues, make it more specific (double the
classes)...
div.tc-tagged-RezeptGetestet.RezeptNICHTGetestet.tc-tagged-RezeptGetestet.RezeptNICHTGetestet
.tc-tiddler-title {
background-color: #012345;
}
On Thursday, February 1, 2018 at 9:17:46 AM UTC-6, Surya wrote:
>
> Hello all,
>
> again I have a styling question.
>
> I know how to style the background-colour of tiddlertitles by a tag- with
> e.g.: div.tc-tagged-RezeptGetestet .tc-tiddler-title { background-color:
> lightgreen; }
>
> But, when I want to have something like an additional opposite styling,
> like "make the backgroundcolour orange of tiddlertitles tagged with
> RezeptNICHTGetestet", then it seems like they disturb each other. Doesn't
> matter, if I build one tiddler, tagged with $:/tags/Stylesheet and write
> both commands in that tiddler. Or if I build two tiddlers with that
> Stylesheet-tag and write the commands in there.
>
> I couldn't find out, how to solve it, that they don't disturb each other.
> Maybe with an additional command like: If they are NOT tagged with
> RezeptGetestet AND NOT tagged with RezeptNICHTGetestet, then make the
> background of the titles by default colour. But I cannot find out, how to
> write in that command "NOT tagged with XY".
>
> Or maybe, the solution is completely different... ??
>
> Any help?
> Surya
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/fd18617b-8be8-4003-9d9a-df390957d534%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.