PloneNiftyCorners (0.1)
- PloneNiftyCorners download link: http://plone.org/products/ploneniftycorners/releases
- Homepage of PloneNiftyCorners: http://plone.org/products/ploneniftycorners/
- PloneNiftyCorners repository: http://svn.plone.org/svn/collective/PloneNiftyCorners/trunk
- Description source: http://svn.plone.org/svn/collective/PloneNiftyCorners/trunk/README.txt
This product is a rounded corner solution without images for Plone,
based on article "More nifty corners" by Alessandro Fulciniti: http://pro.html.it/articoli/id_599/idcat_31/pag_1/pag.html
or, http://pro.html.it/esempio/nifty/
This product extended the selector to support unlimited descendant.
How to round corners for your site
Customize niftyCorners.csv.dtml and add your own corner definitions. ``niftyCorners.csv.dtml`` follows csv file format, each line can contain 4 or 5 values::
selector, corners, outer color, inner color, optional parameters
1. CSS style selector. Could be following format:
- Tag selector, i.e. "p" or "blockquote" or "h2"
- Id selector, with specified tag of the element: for example "div#content" or "p#news" or "li#home" or "#content"
- Class selector, with specified tag of the element: for example "div.entry" or "h2.highlight"
- Descendant selector, any combination of the previous selectors. such as:"div#news div" or "ul#menu li" or "#content li.selected" or "#content ul.selected li a"
2. Corners, can be combination of::
all|top|bottom|tl|tr|bl|br
3. outer color / inner color
They should be specified in hex code with # symbol in three or six digits. The outer color could be also set to transparent.
4. optional parameters
- small: small round corner
- border #color: add border with color
- ...