anjlab / bootstrap-rails

Twitter Bootstrap CSS (with Sass flavour) and JS toolkits for Rails 3 projects
https://github.com/anjlab/bootstrap-rails
729 stars 96 forks source link

Fix use of 'fadein' function which doesn't exist in SCSS #40

Closed zhusee2 closed 11 years ago

zhusee2 commented 11 years ago

The original fadein(rgba(0,0,0,.1), 15%) cannot be compiled under SCSS/SASS. It will result in the same fadein(rgba(0,0,0,.1), 15%) in compiled CSS stylesheets.

SCSS/SASS, however, provide a similar function opacify (or aliased as fade-in), which take the amount parameter from 0 to 1. This fix should make the compiled results correct again.

Ref: http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html#fade_in-instance_method

yury commented 11 years ago

Thank you.

Released v2.3.1.2 with our fix.