less.ruby
less.ruby copied to clipboard
Less Ruby — now at http://github.com/cowboyd/less.rb
Take this example file: ``` .foo ~ .bar { color: red; } ``` Then, `lessc` crashes with the following exception: ``` /Library/Ruby/Gems/1.8/gems/less-1.2.21/bin/../lib/less/engine/nodes/selector.rb:20:in `const_get': uninitialized constant Less::Node::Sibling (NameError) from /Library/Ruby/Gems/1.8/gems/less-1.2.21/bin/../lib/less/engine/nodes/selector.rb:20:in `[]'...
Compression broke the CSS. Will need more investigation to narrow down the issue, but have to throw it out here so you know.
.milk { color: #fff; :hover { color: #eee; } } The 1.x branch of Less compiled this to ".milk:hover", whereas Less.js / Less 2.x compiles this to ".milk :hover". Is...
If you try to add the following code to a selector, a parse error will result: ``` filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=@top-color, endColorstr=@bottom-color, GradientType=1); ``` > on line 30: expected one of...
Bug in Less. Confirmed to be in (gem) less 1.2.21 and node.js less v1.0.6. Defining a variable that uses a value of an argument variable will erroneously always use the...
Nested mixins behave differently when the top level mixin is called with and without arguments. Here's an example: ``` @glob: red; .setup(@outside: green) { color: @outside; background-color: @glob; .run(@inside: blue)...
This is an illustrative example of my problem, below is real code/output. // less a, b, c { color:white; } // css output a { color:white; } b { color:white;...
In docs page http://lesscss.org/docs in the section **Operations** there is a code listing: @base: 5%; @filler: @base * 2; @other: @base + @filler; color: #888 / 4; background-color: @base-color +...
I want to set rules for `A`, `A:hover`, `A.highlighted` and `A *.child-element`. It all relates to `A` so it makes sense to write it all inside a nested rule as...
I sent this as a pull request, but I thought I should officially log it as an issue. It's minor, but may be helpful to others who have a similar...