19
border-color: @z; // black
29
border-color: @z; // black
30
background-color: @local; // white
37
@local-will-be-made-global: green;
39
scoped-val: @local-will-be-made-global;
44
#namespace > .scoped_mixin();
46
.setHeight(@h) { @height: 1024px; }
47
.useHeightInMixinCall(@h) { .useHeightInMixinCall { mixin-height: @h; } }
49
.setHeight(@mainHeight);
50
.heightIsSet { height: @height; }
51
.useHeightInMixinCall(@height);
63
@parameterDefault: 'top level';
64
@anotherVariable: 'top level';
65
//mixin uses top-level variables
66
.mixinNoParam(@parameter: @parameterDefault) when (@parameter = 'top level') {
68
scope: @anotherVariable;
69
sub-scope-only: @subScopeOnly;
73
//redefine top-level variables in different scope
74
@parameterDefault: 'inside';
75
@anotherVariable: 'inside';
76
@subScopeOnly: 'inside';
80
#parentSelectorScope {
92
#parentSelectorScopeMixins {
100
.test-empty-mixin() {
101
should: never seee 2;