Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Integration of SCSS in the CMS Plone

Project Description

Introduction

This add-on provide 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>

Credits

Companies

Authors

Changelog

1.0b1 (2011-11-12)

  • Initial release
Release History

Release History

This version
History Node

1.0b1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.scss-1.0b1.tar.gz (15.9 kB) Copy SHA256 Checksum SHA256 Source Nov 12, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting