diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-02-16 16:42:06 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-02-16 16:42:06 +0200 |
| commit | d9cd71848230ecb1e70e8e75c6f8f6619473d884 (patch) | |
| tree | a3ac4e27135fef9dd953f04af4e83b4325bd79fa | |
| parent | 911606c92b511eb94ab314294850ea5da1509bfc (diff) | |
add CSS / SCSS coding conventions
| -rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -64,6 +64,13 @@ To update the css files you need [sass](http://sass-lang.com/). To rebuild the c For dev mode(debbuging, manual file load) use `?debug=1` at end of URL: e.g. `file://rhizifolder/html.index?debug=1` +## CSS / SCSS Coding Conventions +- assume use of modern browsers +- indent files using 4 space characters +- use a combination of CSS classes / IDs to draw common/unique styling, eg. <code>class=form-Foo\_input-field id=email-field</code> +- minimize use of CSS directives, remove directives which have no effect +- avoid using browser-specific CSS directives when hand-writing CSS code + ## Neo4J DB management - to reset the DB: $ neo4j-shell -file res/neo4j/reset-db__clean.cypher |
