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

Fixes issue #5 #7

Closed davidsulc closed 12 years ago

davidsulc commented 12 years ago

IE doesn't process gradient colors like '#333' in the DXImageTransform.Microsoft.gradient function (it considers it as '#000333' instead of '#333333')

add a Sass method to pad color arguments and pass strings to the DXImageTransform.Microsoft.gradient function. This allows for the principle of least surprise: if a user calls a mixin with a 3-digit color argument, transparently convert it to a 6-digit argument behind the scenes