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

A line like @media screen and (-webkit-min-device-pixel-ratio:0) is completely unparseable.

When trying to use this dynamic mixin, values are incorrect: ``` .linear_gradient (@startleft: 0%, @starttop: 0%, @endright: 0%, @endbottom: 0%, @startfrom: #000000, @endto: #ffffff, @fallback: '') { background-image: url(@fallback); background-image:...

.col-main { .main; } works, as expected. But .col-main:after { .main:after; } will result in an exception. Ran into this while trying to change some names from OOCSS.

I tried to use: .ie-opacity (@opacity: 0){ filter: alpha(opacity=@opacity); } And I always get opacity=0 ('cause it's default value), with any @opacity given.

Dynamic mixins are great, allowing for: .rnd (@radius: 5px){ border-radius: @radius; -moz-border-radius: @radius; -webkit-border-radius: @radius; } But suppose I wanted to change just one side of the border radius. It...

example: #cboxTopRight{ background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/images/pierre/js/colorbox/borderTopRight.png, sizingMethod="scale"); } spits out: on line 3: expected one of , ; } got " after: #cboxTopRight{ background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/images/pierre/js/colorbox/borderTopRight.png, sizingMethod=

#asset-help { background: #edf0f5 /*url(/images/education/css/share_bg.jpg)*/; padding: 0 6px 6px; margin-bottom: 24px; } for example - the background line throws an error, as a temporary solution have moved the comment after...

2.0 - less.js

This is an example that illustrates the problem. I tried using this pattern to simplify creating rules for a sprite: ``` @base_size: 178px; @top_position: 0px; @roll_top_position: -48px; .img (@pos: 0)...

``` .foo(@bar:1){ div{color:red;}} #test{.foo(2);} ``` Produces (note the rogue 'foo' that has been added to the nested property!): ``` #test { foo div { color: red; } } ```

dynamic mixins

This code ``` .example_one(@param:12px) { font-size: @param; // This works. @line_height: @param; line-height: @line_height; //This doesn't. } p { .example_one(16px); } ``` Gives this result (using 1.2.20): ``` p {...