Metadata-Version: 2.0
Name: djangocms-style
Version: 1.6.0
Summary: Style Plugin for django CMS
Home-page: https://github.com/divio/djangocms-style
Author: Divio AG
Author-email: info@divio.ch
License: LICENSE.txt
Platform: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Communications
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: django (>=1.6)
Requires-Dist: django-cms (>=3.0)

djangocms-style
===============

A Plugin for django CMS to add CSS classes to other plugins


Installation
------------

This plugin requires `django CMS` 2.4 or higher to be properly installed.

* In your projects `virtualenv`, run ``pip install djangocms-style``.
* If using Django 1.6 and South < 1.0.2 add ``'djangocms_style': 'djangocms_style.south_migrations',``
  to ``SOUTH_MIGRATION_MODULES``  (or define ``SOUTH_MIGRATION_MODULES`` if it
  does not exist);
* Add ``'djangocms_style'`` to your ``INSTALLED_APPS`` setting.
* Run ``manage.py migrate djangocms_style``.


Usage
-----

You can define styles in your settings.py:

```
CMS_STYLE_NAMES = (
    ('info', _("info")),
    ('new', _("new")),
    ('hint', _("hint")),
)
```

After that you can place other plugins inside this style plugin.
It will create a div with a class that was prior selected around this plugin.

Translations
------------

If you want to help translate the plugin please do it on transifex:

https://www.transifex.com/projects/p/django-cms/resource/djangocms-style/


