diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:42:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:42:42 -0300 |
commit | 551497ef94f6239b109316d8fab32f0909b13f73 (patch) | |
tree | 236615e9881988ce05f40583ff891bf0fcef2c14 /vendors/lessphp/tests/inputs/selector_expressions.less | |
download | elgg-551497ef94f6239b109316d8fab32f0909b13f73.tar.gz elgg-551497ef94f6239b109316d8fab32f0909b13f73.tar.bz2 |
Squashed 'mod/less/' content from commit 380edad
git-subtree-dir: mod/less
git-subtree-split: 380edadb3a5e524a8e6ef6df063b678f2f00516f
Diffstat (limited to 'vendors/lessphp/tests/inputs/selector_expressions.less')
-rw-r--r-- | vendors/lessphp/tests/inputs/selector_expressions.less | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/vendors/lessphp/tests/inputs/selector_expressions.less b/vendors/lessphp/tests/inputs/selector_expressions.less new file mode 100644 index 000000000..a16c1d23a --- /dev/null +++ b/vendors/lessphp/tests/inputs/selector_expressions.less @@ -0,0 +1,29 @@ + +@color: blue; + +(~"something @{color}"), world { + color: blue; +} + +.div { + @color: red; + (3434) { + height: 100px; + } + + (~"cool @{color}") { + height: 4000px; + } +} + +.heck(@a) { color: @a+10 } + +.spanX (@index) when (@index > 0) { + (~".span@{index}") { .heck(@index) } + .spanX(@index - 1); +} +.spanX (0) {} + +.spanX (5); + + |