-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sass::SyntaxError in gradient-striped #28
Conversation
while compiling
It has been compiling fine for me, what versions are you using? (aside from bootstrap-sass git) |
rails (3.2.0) Maybe it fails with rails 3.2 only |
For what it's worth, I'm also seeing this, and against a Rails 3.1 application.
The offending line: background-image: linear-gradient($angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent); Sounds similar to Compass/compass#356 |
It's compiling fine for me in development, but I'll merge this in anyway, once I've pushed the latest set of changes out. /* line 59, /Users/tom/.rvm/gems/ruby-1.9.3-p0/gems/bootstrap-sass-2.0.0/vendor/assets/stylesheets/bootstrap/progress-bars.css.scss */
.progress.striped .bar {
background-color: #62c462;
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
-webkit-background-size: 40px 40px;
-moz-background-size: 40px 40px;
-o-background-size: 40px 40px;
background-size: 40px 40px;
} |
Sass::SyntaxError in gradient-striped
i'm still seeing this bug: https://gist.github.com/1766607 (the stack trace is really long) using: bootstrap-sass latest on 2.0 branch, Rails 3.1.1, Sass 3.1.12, Sass-Rails 3.1.5, Compass 0.12.rc.0, Compass-Rails 1.0.0.rc.1. doing |
Fixed my issue. For me it was because I had bootstrap.css (from Twitter) in my app/assets/stylesheets, guess it was causing some conflicts. |
Expected a color. Got: transparent
mixins.css.scss:287:in `gradient-striped'
Not sure if this is a correct fix though.