You are here: Home Plone products PloneNiftyCorners

PloneNiftyCorners (0.1)

1
by olena last modified 2009-02-10
0.0
0.0
0.0
0.0
Released on 2006-04-18 by Pan Junyong, Alessandro Fulciniti for Plone 2.1, Plone 2.5 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
A rounded corner solution without images for Plone, based on article "More nifty corners" by Alessandro Fulciniti.

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
  • ...
Document Actions
Powered by Plone