aboutsummaryrefslogtreecommitdiff
path: root/vendors/lessphp/tests/inputs/nested.less
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:42:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:42:42 -0300
commit551497ef94f6239b109316d8fab32f0909b13f73 (patch)
tree236615e9881988ce05f40583ff891bf0fcef2c14 /vendors/lessphp/tests/inputs/nested.less
downloadelgg-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/nested.less')
-rw-r--r--vendors/lessphp/tests/inputs/nested.less60
1 files changed, 60 insertions, 0 deletions
diff --git a/vendors/lessphp/tests/inputs/nested.less b/vendors/lessphp/tests/inputs/nested.less
new file mode 100644
index 000000000..0b62ea19b
--- /dev/null
+++ b/vendors/lessphp/tests/inputs/nested.less
@@ -0,0 +1,60 @@
+#header {
+ color: black;
+
+ .navigation {
+ font-size: 12px;
+ .border {
+ .outside {
+ color: blue;
+ }
+ }
+ }
+ .logo {
+ width: 300px;
+ &:hover { text-decoration: none }
+ }
+}
+
+a { b { ul { li { color: green; } } } }
+
+this { will { not { show { } } } }
+
+.cool {
+ div & { color: green; }
+ p & span { color: yellow; }
+}
+
+another {
+ .cool;
+}
+
+b {
+ & .something {
+ color: blue;
+ }
+
+ &.something {
+ color: blue;
+ }
+}
+
+.foo {
+ .bar, .baz {
+ & .qux {
+ display: block;
+ }
+ .qux & {
+ display: inline;
+ }
+ .qux & .biz {
+ display: none;
+ }
+ }
+}
+
+b {
+ hello [x="&yeah"] {
+ color: red;
+ }
+}
+