local changes from server
[redakcja.git] / apps / wiki / static--wiki--editor--node_modules--grunt-contrib-less--node_modules--less--test / less / mixins-named-args.less
1 .mixin (@a: 1px, @b: 50%) {
2   width: (@a * 5);
3   height: (@b - 1%);
4   args: @arguments;
5 }
6 .mixin (@a: 1px, @b: 50%) when (@b > 75%){
7   text-align: center;
8 }
9  
10 .named-arg {
11   color: blue;
12   .mixin(@b: 100%);
13 }
14  
15 .class {
16   @var: 20%;
17   .mixin(@b: @var);
18 }
19
20 .all-args-wrong-args {
21   .mixin(@b: 10%, @a: 2px);
22 }
23
24 .mixin2 (@a: 1px, @b: 50%, @c: 50) {
25   width: (@a * 5);
26   height: (@b - 1%);
27   color: (#000000 + @c);
28 }
29
30 .named-args2 {
31   .mixin2(3px, @c: 100);
32 }
33
34 .named-args3 {
35   .mixin2(@b: 30%, @c: #123456);
36 }