For the record, this theme has been updated for Couch 1.3, the new features have been styled appropriately.
Sure klaus, the way I added the icons in my theme is a bit different, but this should work for the default theme. Add the following to your 'theme/styles.css' file:
For each template, you would use the appropriate 'tpl' number that is present in the URL and point it to a 16x16 image.
Note: Attribute selectors with pseudo elements do not behave correctly in Chrome. This is caused by white space in the markup. I reported the bug to Google.
Sure klaus, the way I added the icons in my theme is a bit different, but this should work for the default theme. Add the following to your 'theme/styles.css' file:
- Code: Select all
.templates a>img[src$="/copy.gif"]{display:none}
/* Clonable Templates */
.templates a[href$="tpl=2"]:before{content:url(images/icon.png);vertical-align:-3px}
/* Non-clonable Templates */
.templates a[href*="tpl=5&"]:before{content:url(images/icon.png);vertical-align:-3px;margin-right:4px}
For each template, you would use the appropriate 'tpl' number that is present in the URL and point it to a 16x16 image.
Note: Attribute selectors with pseudo elements do not behave correctly in Chrome. This is caused by white space in the markup. I reported the bug to Google.