less.js
less.js copied to clipboard
Less. The dynamic stylesheet language.
Minimal Reproduction using less 3.12.0 fail.less: ```less .fail { background-image: url('/images/absolute.png'); } .works { background-image: url('images/relative.png'); } ``` run: ```bash lessc -rp=https://mycdn/url/folder fail.less ./out.css ``` out.css ```css .fail { background-image:...
Have this piece of code that imports component files based on a variable. ```less @components: { columns: true; ratios: false; }; each(@components, { & when (@value = true) { @import...
In `less-loader` we have custom `FileManager` plugin (https://github.com/webpack-contrib/less-loader/blob/master/src/utils.js#L27). Algorithm (https://github.com/webpack-contrib/less-loader/blob/master/src/utils.js#L87): - try to load less file using built-in `FileManager`, if it is fail - try to load less file using...
Less.js Version: 3.11.1 ```less /** a */ .modal { /** b */ &-header { font-size: 12px; } /** c */ &-title { font-size: 12px; } ``` Output: ```css /** a...
PhantomJS has long created issues for continuous integration tests, where it will timeout or not download, and more recently, fail to execute browser tests under Node 4. If someone had...
Heya guys. I have found an annoying issue, which is pretty basic use of two mechanics: I cant extend a class i generate by nesting it using "& {}" Heres...
extend does not work on a selector which has a variable (not extending a selector with a variable)
I understand from the docs that extends can't be used to extend a selector with a variable in it, but it is supposed to be able to be attached to...
the link to "Less.js Syntax Highlighting User Defined Language by Raúl Salitrero" is broken at [lesscss.org/tools/](http://lesscss.org/tools/) in section "Notepad++" (probably because the NPP project moved to github). The version by...
## Feature Request It would be very powerful if :extend could be passed a class name as a variable. e.g. something like: ``` &:extend(@{extending-class-string}); ``` or: ``` &:extend(@extending-class); ``` ##...
Can you add please an options to keep empty selectors, or at least point me at the file where i can add it myself. I need it to ease the...