/* CHECKLIST EXTENSION */
.check li{
list-style-type:none;
padding:5px;
}
.check li:before{
content: "\f00c";
color: #9bdd81;
font: normal normal normal 24px/1 FontAwesome;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-shadow: 1px 1px 1px rgba(150, 150, 150, 0.2);
position:absolute;
display: inline-block;
margin: 0 0 0 -35px;
width: 30px;
font-size: 24px;
vertical-align: middle;
}
@@.check
*First item
*Second item
*Third item
@@
*.check First item
*.check Second item
*.remove Third item
Thank you
.
/* CHECKLIST EXTENSION */
.check li{
list-style-type:none;
padding:5px;
}
.check li:before{
content: "\f00c";
color: #9bdd81;
font: normal normal normal 24px/1 FontAwesome;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-shadow: 1px 1px 1px rgba(150, 150, 150, 0.2);
position:absolute;
display: inline-block;
margin: 0 0 0 -35px;
width: 30px;
font-size: 24px;
vertical-align: middle;
}
.remove li{
list-style-type:none;
padding:5px;
}
.remove li:before{
content: "\f00d";
color: #9bdd81;
font: normal normal normal 24px/1 FontAwesome;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-shadow: 1px 1px 1px rgba(150, 150, 150, 0.2);
position:absolute;
display: inline-block;
margin: 0 0 0 -35px;
width: 30px;
font-size: 24px;
vertical-align: middle;
}
Enter code here...
then modify text-only checklist tiddler:
@@.check
* a one
@@
@@.check
* and a two
@@
@@.check
* and a three
@@
@@.remove
* and a four
@@

You can also assign a CSS class to an individual member of a list with this notation.
@@.check
*First item
@@
@@.check
*Second item
@@
@@.check
*Third item
@@<ul class="check">
<li>first item</li>
</ul>
<ul class="check">
<li>second item</li>
</ul>
<ul class="check">
<li>third item</li>
</ul>@@.check
*First item
*Second item
*Third item
@@
.remove li:before{
content: "\f00d";
color: #c9443d;
font: normal normal normal 24px/1 FontAwesome;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-shadow: 2px -2px 1px rgba(150, 150, 150, 0.2);
position:absolute;
display: inline-block;
margin: 0 0 0 -35px;
width: 30px;
font-size: 24px;
vertical-align: middle;
}
@@.remove
*First item
*Second item
*Third item
@@
<ul>
<li class="check">first item</li>
<li class="remove">second item</li>
<li class ="check">third item</li>
</ul>/* list styles */
.nomarker
li { list-style-type: none; margin-left:-2em; }
.lalpha
li {list-style-type: lower-alpha;}
.ualpha
li {list-style-type: upper-alpha;}
.lroman
li {list-style-type: lower-roman;}
.uroman
li {list-style-type: upper-roman;}
documentation
Thank you for the reply, but you did not offer anything new, that could hint towards an answer to my question(s). I have been referring that exact tiddler of the TiddlyWiki documentation within my posted questions. Look at the link hidden in the following:
Also, I didn't think someone would just drop me the URL to the documentation, as if saying: "there go look it up" or "figure it out yourself". I was already referring to that URL in my questions, so to just drop me the URL, especially without any comment/ explanation or anything, was just a bit of a disappointment to be honest.
li.done{ list-style-type:none; padding:5px; } li.done:before{ content: "\f00c"; color: #9bdd81; font: normal normal normal 24px/1 FontAwesome; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-shadow: 1px 1px 1px rgba(150, 150, 150, 0.2); position:absolute; display: inline-block; margin: 0 0 0 -35px; width: 30px; font-size: 24px; vertical-align: middle; }
I personally would try to make the stuff simpler with less dependencies. See my German version. http://tiddlywiki.com/languages/de-DE/#Task%20Management%20mit%20Listen:%5B%5BTask%20Management%20mit%20Listen%5D%5D%20%24%3A_TaskStylesheet%20%24%3A%2F_tags%2FListIcon
The concept is similar but has a simpler StyleSheet. ... Except creating the data:uri css..
I use MDN Mozilla Developers Network as my reference manual for HTML, CSS and JS stuff. https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors
have fun!
mario