You can clone with
HTTPS or Subversion.
I have this error while compiling mixins
Expected a color. Got: transparent
/var/lib/gems/1.9.1/gems/bootstrap-sass-126.96.36.199/vendor/assets/stylesheets/bootstrap/_mixins.scss:457:in `gradient- striped'
Problem looks to be here :
Which Sass version are you running?
Sure? Your Gemfile.lock referenced to 3.1.15
Please run gem update sass or bundle update sass I'm not sure which one is right.
gem update sass
bundle update sass
bennett isn't my project and I have updated gems locally, here are the gems installed :
hydrogen:/home/raphael/sites/ci.imagineapp.com/bennett$ gem list | grep sass
bootstrap-sass (188.8.131.52, 2.0.3)
Can someone else reproduce this behaviour? in my senarios 'transparent' works well
I'm also experiencing this exact issue.
Is your setup definitely include sass (3.2)?
You must also have compass installed. This issue is caused by the compass opacity mixin overriding the one declared at lib/_mixins.scss#L443.
Here's the Compass version http://compass-style.org/reference/compass/css3/opacity/
The Compass mixin expects "A number between 0 and 1, where 0 is transparent and 1 is opaque." Whereas our custom opacity mixin wants us to use a range from 0 to 100.
// lib/_mixins.css expects this
//While Compass wants this
// Compass wins!
// Code Fails :-(
I'd suggest rewriting the custom mixin to fall inline with Compass, and just update the @includes in the bootstrap scss files. (there's only ten of them).
Props jlong, this project's been pretty helpful introducing me Sass!
Closing as there is now an official Bootstrap port! Please add an issue there if this is still a problem: https://github.com/twbs/bootstrap-sass