wiki:BluePrint/CSS

Version 17 (modified by Fran Boon, 13 years ago) ( diff )

Print & Mobile views

BluePrint for CSS

The CSS could do with cleaning up to remove unused styles & some updating to give us maximal usability.

Filesystem Layout

The overall Layout is determined by: views/layout.html.

The main CSS file is: static/styles/S3/sahana.css with some supplementary styles in static/styles.

The styles are separated into different folders depending on which layer they come from, to ease debugging & maintenance as framework components get updated.

For production installs (s3.debug==False), they get consolidated into two file for faster downloads:

  • static/styles/S3/sahana.min.css
  • static/styles/gis/gis.min.css

This consolidation is done as part of the Release Process.

Print View

Provide a view which allows for better Printing

  • CSS sufficient?

Mobile View

Provide a cut-down version for use on low-screensize, low-bandwidth devices, such as Mobiles

  • CSS sufficient?

Use the RESTlike CRUD controller's ?format=plain

Currently the left-hand navbar has only 2 levels of hierarchy: Modules & Module Options
Some modules (e.g. DVI) need more.
This is also discussed in the BluePrintFramework


BluePrints

Note: See TracWiki for help on using the wiki.