1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- @import 'file1.less'; // file found and imported
- @import "not-found";
- @import "something.css" media;
- @import url("something.css") media;
- @import url(something.css) media, screen, print;
- @color: maroon;
- @import url(file2); // found and imported
- body {
- line-height: 10em;
- @colors;
- }
- div {
- @color: fuchsia;
- @import "file2";
- }
- .mixin-import() {
- @import "file3";
- }
- .one {
- .mixin-import();
- color: blue;
- }
- .two {
- .mixin-import();
- }
- #merge-import-mixins {
- @import "a";
- @import "b";
- div { .just-a-class; }
- }
- @import "inner/file1";
- // test bubbling variables up from imports, while preserving order
- pre {
- color: @someValue;
- }
- @import "file3";
|