less.ruby icon indicating copy to clipboard operation
less.ruby copied to clipboard

Less Ruby — now at http://github.com/cowboyd/less.rb

Results 93 less.ruby issues
Sort by recently updated
recently updated
newest added
trafficstars

http://www.w3.org/TR/CSS21/fonts.html#font-shorthand Examples from the w3c: ``` p { font: 12px/14px sans-serif; } p { font: x-large/110% "New Century Schoolbook", serif; } p { font: normal small-caps 120%/120% fantasy; } ```...

This code gives an error: ``` @base: 12px / 1em; div { width: 16px / @base; } ``` When it would generate valid CSS: ``` div {width: 1.333em;} ``` Ditto...

When defining rules using type selectors, it is not possible to use accessors or variables in new rules as mixins. Class or ID selector example (Works): ``` .a { width:...

Can a nested rule refer to an argument from its parent? This is what I want to do: .box(@width:200px){ width:@width; .column{margin:@width/5} } .content{.box(600px);} And this should produce: ``` .content{width:600px;} .content...

enhancement
2.0 - less.js

Version 1.2.19, this syntax: ``` background : transparent url( ../img/header_nav_bullet.png ) no-repeat 0% 50%; ``` generates this error: ``` ! Syntax Error: on line 159: expected one of , )...

I would be nice if using lessc -gw ... or any combination of watch and growl, that you didn't have to Press [return] to continue... when there's a syntax error...

enhancement

Is there any way to reference to the parent selector? To do something like this: a.button { height: 20px; width: 100px; background-repeat: no-repeat; ``` &.email { background-image: url(email.png); } &.twitter...

2.0 - less.js

Less code: .abc { background: url('data:image/png;base64,w8P+ivf') repeat-x scroll 0 0; } compiles to: .abc { background: url('data:image/png;base64,w8P ivf') repeat-x scroll 0 0; } which breaks MIME encoding. Adding '' or...

I forgot to close a nested class, at the time I was using the -w option - I got a failure and had to restart less. ``` p { margin:...

error-reporting

Less raises a SyntaxError when using a variable for the line-height in the `font` shorthand: ``` font: bold 12px/@line-height Arial, sans-serif; ``` I would expect it to substitute `@line-height` with...

bug