summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-02-16 16:42:06 +0200
committerLV-426 <lv-426@taproot.org.il>2015-02-16 16:42:06 +0200
commitd9cd71848230ecb1e70e8e75c6f8f6619473d884 (patch)
treea3ac4e27135fef9dd953f04af4e83b4325bd79fa
parent911606c92b511eb94ab314294850ea5da1509bfc (diff)
add CSS / SCSS coding conventions
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 43401312..55826afc 100644
--- a/README.md
+++ b/README.md
@@ -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