collective.scss 1.0 Beta 1

Integration of SCSS in the CMS Plone
collective.scss is a Plone product that provides SCSS integration into Plone. It use python implementation from Kirill Klenov available on github.

You will be able to write scss stylesheets and register them into the css registry (portal_css).

How to use scss with Plone

You have to create a new file (mysheet.scss). Next register a css stylesheet as a browser view using your scss file:

< browser:page
 name="mysheet.css"
 for="*"
 class="collective.scss.stylesheet.SCSSView"
 template="mysheet.scss"
 permission="zope2.View
 / >

Now you just have to register your stylesheet in the css registry. Using a GenericSetup profile you just have to add an entry in the cssregistry.xml file, restart your zope server and apply the profile:

< ?xml version="1.0"? >
< object name="portal_css" >
 < stylesheet title=""
 id="mysheet.css"
 media="screen" rel="stylesheet" rendering="import"
 cacheable="True" compression="safe" cookable="True"
 enabled="1" expression="" / >
< /object >

last updated on:
November 14th, 2011, 13:30 GMT
price:
FREE!
homepage:
svn.plone.org
license type:
GPL (GNU General Public License) 
developed by:
JeanMichel FRANCOIS
category:
ROOT \ Internet \ Plone Extensions
collective.scss
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT