first import
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
.just-a-class { background: red; }
|
||||
|
||||
.some-mixin() {
|
||||
height: 200px;
|
||||
}
|
||||
|
12
sites/all/libraries/lessphp/tests/inputs/test-imports/b.less
Normal file
12
sites/all/libraries/lessphp/tests/inputs/test-imports/b.less
Normal file
@@ -0,0 +1,12 @@
|
||||
.just-a-class { background: blue; }
|
||||
|
||||
.hello {
|
||||
.some-mixin();
|
||||
}
|
||||
|
||||
|
||||
@media cool {
|
||||
color: red;
|
||||
.some-mixin();
|
||||
}
|
||||
|
@@ -0,0 +1,16 @@
|
||||
|
||||
|
||||
/**
|
||||
* This is a test import file
|
||||
*/
|
||||
|
||||
@colors {
|
||||
div.bright {
|
||||
color: red;
|
||||
}
|
||||
|
||||
div.sad {
|
||||
color: blue;
|
||||
}
|
||||
}
|
||||
|
@@ -0,0 +1,6 @@
|
||||
|
||||
b {
|
||||
color: @color;
|
||||
padding: 16px;
|
||||
}
|
||||
|
@@ -0,0 +1,7 @@
|
||||
|
||||
h2 {
|
||||
background: url("../images/logo.png") no-repeat;
|
||||
}
|
||||
|
||||
@someValue: hello-from-file-3;
|
||||
|
@@ -0,0 +1,6 @@
|
||||
|
||||
.inner {
|
||||
content: "inner/file1.less"
|
||||
}
|
||||
|
||||
@import "file2"; // should get the one in inner
|
@@ -0,0 +1,4 @@
|
||||
|
||||
.inner {
|
||||
content: "inner/file2.less"
|
||||
}
|
Reference in New Issue
Block a user