Stylus documentation: http://learnboost.github.io/stylus/

Stylus tutorial: http://learnboost.github.io/stylus/try.html

What is Stylus

Stylus is a CSS pre-processor, that runs in node.js or even a web browser.

Why Use a CSS pre-processor

Why Stylus

Stylus convention for Infusion

How to prevent grunt from compiling utility Stylus files

Utility Stylus files only contain mixins or functions for other Stylus files to import. Utility files should not be compiled down to CSS, to prevent the grunt task `grunt buildStylus` from compiling them, place these files in a "utils" directory. This is an example of the utility directory.

Steps to convert an infusion CSS to Stylus

To be converted

WhatPeopleEstimateNotes

Inline Editor - https://github.com/fluid-project/infusion/tree/master/src/components/inlineEdit/css

   

Pager - https://github.com/fluid-project/infusion/tree/master/src/components/pager/css

   

Reorderer - https://github.com/fluid-project/infusion/tree/master/src/components/reorderer/css

   

Table of contents - https://github.com/fluid-project/infusion/tree/master/src/components/tableOfContents/css

   

Uploader - https://github.com/fluid-project/infusion/tree/master/src/components/uploader/css

   

Framework core - https://github.com/fluid-project/infusion/tree/master/src/framework/core/css

   

Progressive enhancement - https://github.com/fluid-project/infusion/tree/master/src/framework/enhancement/css

   

Overview Panel - https://github.com/fluid-project/infusion/tree/master/src/components/overviewPanel/css (relatively difficult involving themes)