Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Theme package for OneGov

Project Description

plonetheme.onegov

This is the default theme for all OneGov Plone modules (http://onegov.ch).

https://raw.github.com/OneGov/plonetheme.onegov/master/docs/screenshot_onegov.png

Important this package doesn’t work with python 2.6, it requires at least python 2.7

Usage

  • Add plonetheme.onegov to your buildout configuration:
[instance]
eggs +=
    plonetheme.onegov
  • Install the generic import profile.

Features

  • Customize styles in control panel.
  • Responsive design for tablets and smartphones
  • Special path bar with children

Layout customizations

Theme is SCSS based and styles most things with variables which can easily be customized in a control panel.

Just visit the customization view: http://localhost:8080/Plone/customstyles_form

Here are some examples how the Layout can be customized:

https://raw.github.com/OneGov/plonetheme.onegov/master/docs/screenshot_zg_ch.png https://raw.github.com/OneGov/plonetheme.onegov/master/docs/screenshot_menzingen.png https://raw.github.com/OneGov/plonetheme.onegov/master/docs/screenshot_custom.png

Additional SCSS

You can easily register custom SCSS files in your addon package using ZCML, if you need to customize more than available through the web:

<configure
    xmlns:theme="http://namespaces.zope.org/plonetheme.onegov">

    <include package="plonetheme.onegov" />
    <theme:add_scss path="resources/custom.scss" />

</configure>

The SCSS files can also be restricted to a specific context interface or a specific request layer. Be aware that the context interface applies to the context the styles are rendered on, which is either the Plone site root or an INavigationRoot object.

<configure
    xmlns:theme="http://namespaces.zope.org/plonetheme.onegov">

    <include package="plonetheme.onegov" />
    <theme:add_scss
        path="resources/custom.scss"
        for="my.package.interfaces.ISubsite"
        layer="my.package.interfaces.IMyPackageLayer" />

</configure>

Special path bar

For another fast way to navigate between content, this theme includes a special path bar, which shows the breadcrumb’s children. This behavior can be disabled in the plone.app.registry, using the setting plonetheme.onegov.flyout_breadcrumbs.

https://raw.github.com/OneGov/plonetheme.onegov/master/docs/screenshot_flyout_breadcrumbs.png

Changelog

1.2.0 (2014-03-31)

  • Always hide ajax spinner. [Julian Infanger]
  • Replaced inline css with a browserview returning the theme css. This allows to cache the CSS efficient. [Julian Infanger]
  • Optimized accessibility: - lang attribute in HTML - use right doctype - move styles and script tags from body to head [Julian Infanger]
  • Added information that this package requires >= python2.7 [Julian Infanger]
  • Added path_bar with flyout children. [Julian Infanger]
  • Added styles for workspaces and other onegov modules. [Julian Infanger]
  • Adds styles for seantis.kantonsrat. [href]
  • Added special styles for batching in tabbedview. [Julian Infanger]
  • Improve the reading experience by a complete new styled ftw.book’s reader view. [jone, Julian Infanger]
  • Update style for newsportlet. Do not use a bigger font for news title. [Julian Infanger]
  • Fix ftw.book icons: interchange “PDF” and “Read” icons. [jone]
  • Added style for calendar portlet. [Julian Infanger]
  • Added margin in simplelayoutDropZonePortlet blocks. [Julian Infanger]
  • Added Norwegian translation. [espenmn]

1.1.1 (2014-02-10)

  • Fixed tinymce popup styles. [Julian Infanger]
  • Navigation portlet: add “content-expired” class on expired items. [jone]
  • Navigation portlet: add css class with item workflow state. [jone]
  • Customstyles: fix meta image inclusion (favicons, apple touch icons). [jone]
  • Fix customstyles caching reset bug when modifying existing configurations. [jone]
  • Adds styles for a number of Seantis products, including seantis.dir.contacts, seantis.dir.events and seantis.reservation. [href]
  • Added default plone collapsible style. [Julian Infanger]

1.1.0 (2014-01-29)

  • Change the navigation behavior to respect the “currentFolderOnly” portlet option. For the old behavior, the “currentFolderOnly” needs to be activated on the portlet. [jone]

1.0.0 (2014-01-29)

  • Initial release

Release history Release notifications

History Node

3.1.1

History Node

3.1.0

History Node

3.0.2

History Node

3.0.1

History Node

3.0.0

History Node

2.1.0

History Node

2.0.4

History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

History Node

2.0.0

History Node

1.8.0

History Node

1.7.1

History Node

1.7.0

History Node

1.6.5

History Node

1.6.4

History Node

1.6.3

History Node

1.6.2

History Node

1.6.1

History Node

1.6.0

History Node

1.5.3

History Node

1.5.2

History Node

1.5.1

History Node

1.5.0

History Node

1.4.1

History Node

1.4.0

History Node

1.3.3

History Node

1.3.2

History Node

1.3.1

History Node

1.3.0

History Node

1.2.9

History Node

1.2.8

History Node

1.2.7.3

History Node

1.2.7.2

History Node

1.2.7.1

History Node

1.2.7

History Node

1.2.6

History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

History Node

1.2.2

History Node

1.2.1

This version
History Node

1.2.0

History Node

1.1.1

History Node

1.1.0

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
plonetheme.onegov-1.2.0.zip (1.5 MB) Copy SHA256 hash SHA256 Source None Mar 31, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page