minor fixes
[redakcja.git] / apps / wiki / static--wiki--editor--node_modules--grunt-contrib-less--node_modules--less--test / less / merge.less
1 .first-transform() {
2   transform+: rotate(90deg), skew(30deg);
3 }
4 .second-transform() {
5   transform+: scale(2,4);
6 }
7 .third-transform() {
8   transform: scaleX(45deg);
9 }
10 .fourth-transform() {
11   transform+: scaleX(45deg);
12 }
13 .fifth-transform() {
14   transform+: scale(2,4) !important;
15 }
16 .first-background() {
17   background+: url(data://img1.png);
18 }
19 .second-background() {
20   background+: url(data://img2.png);
21 }
22
23 .test1 {
24   // Can merge values
25   .first-transform();
26   .second-transform();
27 }
28 .test2 {
29   // Wont merge values without +: merge directive, for backwards compatibility with css
30   .first-transform();
31   .third-transform();
32 }
33 .test3 {
34   // Wont merge values from two sources with different properties
35   .fourth-transform();
36   .first-background();
37 }
38 .test4 {
39   // Wont merge values from sources that merked as !important, for backwards compatibility with css 
40   .first-transform();
41   .fifth-transform();
42 }
43 .test5 {
44   // Wont merge values from mixins that merked as !important, for backwards compatibility with css 
45   .first-transform();
46   .second-transform() !important;
47 }
48 .test6 {
49   // Ignores !merge if no peers found
50   .second-transform();
51 }