Questions tagged [lessc]

8 questions
4
votes
1 answer

LESS CSS prepend mixin reference with child selector

Is there any way I can use the immediate child selector without having to do it inside the mixin to get the desired result? The real mixin is actually large and I want to be able to reuse it also without having to pollute it with child…
rory
  • 1,490
  • 3
  • 22
  • 50
2
votes
1 answer

Unable to load plugin clean-css please make sure that it is installed under or at the same level as less

I have a bash script that minifies all my less files and outputs the result into a .min.css file. I have already looked at other answers on similar questions, but nothing works. After updating to Mac OS Catalina today my bash script stopped working…
IT-Girl
  • 448
  • 5
  • 24
2
votes
2 answers

lesscss how to escape parentheses

I have the following pure CSS rule: #cboxOverlay{ background:url(images/overlay.png) repeat 0 0; opacity: 0.9; filter: alpha(opacity = 90); } When I compile it with less (lessc) It confuses the alpha(opacity = 90) to be a Less function. How…
Itay Moav -Malimovka
  • 52,579
  • 61
  • 190
  • 278
1
vote
0 answers

lessc command cannot find import inside another import

I have an issue with running lessc command when there is hierarchical imports. My folder structure is like this: (root)/ |--- website |--- styles |--- master.less |--- library |--- testDir |--- child.less …
Mojtaba
  • 93
  • 6
1
vote
0 answers

Web Compiler fails with message "lessc: EINVAL, fstat"

In my ASP.NET MVC solution I use Web Compiler for compiling LESS files to CSS. This used to work perfectly well for me - and still does for my colleagues - but at some point in the recent past LESS compilation has stopped working on my computer. My…
awj
  • 7,482
  • 10
  • 66
  • 120
0
votes
0 answers

Changes in imported less files don't trigger re-compilation of importing less file

I have a base.less file which defines a few global variables and their values. Then I have another less file called let's say test.less which imports base.less. Now when I change the base.less , those changes. do not reflect in the test.css unless I…
sdm
  • 1,236
  • 11
  • 9
0
votes
1 answer

Source-map files from lessc pointing to wrong less file

This is with regards to lessc I have three files:- less0.less (empty) (empty) less1.less @import "less0.less" less2.less @import "less1.less" @var-test: .trial; @{var-test}{ color: red; } I am…
CodeWar
  • 1
  • 3
0
votes
1 answer

Any modification of a .less file breaks Flask app, resulting in Program file not found: lessc

I am having an issue where a Flask app using flask_assets can't find lessc after a modify a certain .less file, and even changing it back to the original does not help. I have been trying to use this tutorial to learn about using Blueprints to…
Stonecraft
  • 860
  • 1
  • 12
  • 30