Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

makinacom

Authors

Changelog

1.0b1 (2011-11-12)

  • Initial release

Release files for collective.scss 1.0b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.scss 1.0b1
File Size Uploaded
collective.scss-1.0b1.tar.gz 15.9 kB Details

Release files / collective.scss-1.0b1.tar.gz

Download URL collective.scss-1.0b1.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
45c2ef09f83291cc40d8ef5187040ccc8c28fd0b55046cecbe69d92c7be0f86a
BLAKE2b-256 checksum
How to use checksums
ea666c83fda73767c8e38c25379d11729d911789e738984d60a01dffd1d2630d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0b1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page