Plone Nifty Corners
A rounded corner solution without images for Plone, based on article "More nifty corners" by Alessandro Fulciniti.
Current release
Plone Nifty Corners 0.1.1
Released Apr 20, 2006 — tested with Plone 2.5, Plone 2.1.2, Plone 2.1.1, Plone 2.1
Bug fix release, use Plone 2.1.2 compatible API.
-
Get
Plone Nifty Corners
for
all platforms
(0 kB)
- Reuploaded. Should be 0.1.2.
Project Description
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
- ...
CREDIT
- Alessandro Fulciniti, the orginal author of the Nifty Corner technology.
- Junyong Pan (id: panjunyong), panjy at zopen.cn, some extension and integration for plone

