bootstrap-sass

bootstrap-sass: Undefined variable: “$baseLineHeight”

痞子三分冷 提交于 2019-11-27 13:01:51
问题 I've integrated bootstrap into my app using bootstrap-sass. The app works fine on my local machine, but when I go to deploy via capistrano, I get this error: Undefined variable: "$baseLineHeight". (in /var/www/CollegeSportsBlueBook/shared/bundle/ruby/1.9.1/gems/bootstrap-sass-2.0.1/vendor/assets/stylesheets/bootstrap/_accordion.scss) When the capistrano attempts to run assets:precompile I think this variable is throwing the error because it is the first variable in the first scss file that is

Can't get CSS working on Heroku using Rails 4 with bootstrap-sass gem

人走茶凉 提交于 2019-11-27 09:16:35
问题 I have deployed an app to Heroku with one issue I can't seem to get figured out. The CSS for the app via Bootstrap-sass does not load up thus I have an un-styled app. At the moment this is just a collection of static pages. I have followed all but one step in the README https://github.com/thomas-mcdonald/bootstrap-sass The step I can't figure out and highly likely to be my issue is as follows. Due to a change in Rails that prevents images from being compiled in vendor and lib, you'll need to

rails bootstrap-sass assets compilation error - undefined variable alert-padding

冷暖自知 提交于 2019-11-27 03:46:07
问题 all roads point to bootstrap-sass Referral chain: railscast-328 (twitter bootstrap basics) refers to http://www.sitepoint.com/twitter-bootstrap-less-and-sass-understanding-your-options-for-rails-3-1/ which refers to https://github.com/jlong/sass-bootstrap which in turn exclaims there is a new official port of bootstrap to sass at https://github.com/twbs/bootstrap-sass which is another one of the options in the twitter-bootstrap article It is reported as an issue with the bootstrap-rails gem:

jQuery is not defined in bootstrap-sass

我的梦境 提交于 2019-11-26 16:47:37
I bootstrapped the Angular 2 app using angular-cli. Everything was easy-peasy until I decided to use bootstrap modal. I simply copied the code for opening the modal from our other project that doesn't use angular-cli. I added jquery and bootstrap dependencies to scripts in angular-cli.json file. jQuery is recognised in the project, but when I try to run this.$modalEl.modal(options) inside angular component I get an error that jQuery is not defined . Actually jQuery is imported into project but as a global $ . I've done some digging and apparently bootstrap expects jQuery to be passed into it

jQuery is not defined in bootstrap-sass

旧城冷巷雨未停 提交于 2019-11-26 04:56:40
问题 I bootstrapped the Angular 2 app using angular-cli. Everything was easy-peasy until I decided to use bootstrap modal. I simply copied the code for opening the modal from our other project that doesn\'t use angular-cli. I added jquery and bootstrap dependencies to scripts in angular-cli.json file. jQuery is recognised in the project, but when I try to run this.$modalEl.modal(options) inside angular component I get an error that jQuery is not defined . Actually jQuery is imported into project