Hi there,

I just started using TiddlyWiki and have to say it is a great tool ... I am 
shocked that I only hear about this in 2016 ... This has been around for 
such a long time?

Maybe somebody here can help me with this:

I want to use custom stylesheets - but just for certain input fields:

I have a stylesheet:
========================

input[type=text] {
  box-shadow: 0 0 5px rgba(255, 204, 204, 1);
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid rgba(255, 204, 204, 1);}

========================

By tagging a it's tiddler $:/tags/Stylesheet, I manage to get all input fields 
to glow red. However, I just want to do this for certain input boxes where text 
entries are mandatory.
<$edit-text tiddler="test" field="test" class='whatIsThisFor'/>

The <$edit-text> documentation mentions the class field, but I do not 
understand how to define a class that I can then use for specific widgets.

Any help would be greatly appreciated.

Best wishes,
Sebas

-- 
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/792bc47d-e405-4289-8295-779959b10806%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to