Warning, /webapps/ocs-webserver/library/lessphp/tests/inputs/import.less is written in an unsupported language. File is not indexed.

0001 
0002 @import 'file1.less'; // file found and imported
0003 
0004 @import "not-found";
0005 
0006 @import "something.css" media;
0007 @import url("something.css") media;
0008 @import url(something.css) media, screen, print; 
0009 
0010 @color: maroon;
0011 
0012 @import url(file2); // found and imported
0013 
0014 body { 
0015         line-height: 10em;
0016         @colors;
0017 }
0018 
0019 div {
0020         @color: fuchsia;
0021         @import "file2";
0022 }
0023 
0024 
0025 .mixin-import() {
0026         @import "file3";
0027 }
0028 
0029 .one {
0030         .mixin-import();
0031         color: blue;
0032 }
0033 
0034 .two {
0035         .mixin-import();
0036 }
0037 
0038 
0039 #merge-import-mixins {
0040         @import "a";
0041         @import "b";
0042         div { .just-a-class; }
0043 }
0044 
0045 
0046 @import "inner/file1";
0047 
0048 
0049 // test bubbling variables up from imports, while preserving order
0050 
0051 pre {
0052         color: @someValue;
0053 }
0054 
0055 @import "file3";
0056